cih api fix
This commit is contained in:
parent
e5a4187e57
commit
f0d5a8da98
2 changed files with 45 additions and 0 deletions
|
|
@ -37,6 +37,46 @@ models:
|
|||
data_tests:
|
||||
- not_null
|
||||
|
||||
- name: id_currency
|
||||
data_type: bigint
|
||||
description: "Id of the currency, works as a foreign key to the
|
||||
currency table"
|
||||
data_tests:
|
||||
- not_null
|
||||
- relationships:
|
||||
to: ref('stg_core__currency')
|
||||
field: id_currency
|
||||
|
||||
- name: currency_code
|
||||
data_type: character varying
|
||||
description: Currency ISO 4217 code used by user.
|
||||
data_tests:
|
||||
- not_null
|
||||
|
||||
- name: booking_fee_in_local_currency
|
||||
data_type: numeric
|
||||
description: "Fee charged to the user for each booking in the local currency."
|
||||
data_tests:
|
||||
- dbt_expectations.expect_column_values_to_be_between:
|
||||
min_value: 0
|
||||
strictly: true
|
||||
|
||||
- name: exchange_rate_to_gbp
|
||||
data_type: numeric
|
||||
description: "Exchange rate used to convert the local currency to GBP."
|
||||
data_tests:
|
||||
- dbt_expectations.expect_column_values_to_be_between:
|
||||
min_value: 0
|
||||
strictly: true
|
||||
|
||||
- name: booking_fee_in_gbp
|
||||
data_type: numeric
|
||||
description: "Total fee charged to the user for the month in gbp."
|
||||
data_tests:
|
||||
- dbt_expectations.expect_column_values_to_be_between:
|
||||
min_value: 0
|
||||
strictly: true
|
||||
|
||||
- name: guest_last_name
|
||||
data_type: text
|
||||
description: Last name of the guest checking in.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue