change "tests:" to "data_tests:"
This commit is contained in:
parent
db1edf7a1c
commit
c3c628aec4
29 changed files with 1565 additions and 1565 deletions
|
|
@ -19,7 +19,7 @@ models:
|
|||
- name: id_payment
|
||||
data_type: bigint
|
||||
description: Superhog id for this Payment.
|
||||
tests:
|
||||
data_tests:
|
||||
- unique
|
||||
- not_null
|
||||
|
||||
|
|
@ -30,13 +30,13 @@ models:
|
|||
- name: payment_due_at_utc
|
||||
data_type: timestamp without time zone
|
||||
description: The point in time at which this payment had to be paid.
|
||||
tests:
|
||||
data_tests:
|
||||
- not_null
|
||||
|
||||
- name: payment_due_date_utc
|
||||
data_type: date
|
||||
description: The date on which this payment had to be paid.
|
||||
tests:
|
||||
data_tests:
|
||||
- not_null
|
||||
|
||||
- name: payment_paid_at_utc
|
||||
|
|
@ -88,13 +88,13 @@ models:
|
|||
- name: id_guest_user
|
||||
data_type: character varying
|
||||
description: The UUID of the guest user in the Superhog backend.
|
||||
tests:
|
||||
data_tests:
|
||||
- not_null
|
||||
|
||||
- name: id_verification
|
||||
data_type: bigint
|
||||
description: The ID of the verification that generated this payment.
|
||||
tests:
|
||||
data_tests:
|
||||
- not_null
|
||||
|
||||
- name: verification_payment_type
|
||||
|
|
@ -104,7 +104,7 @@ models:
|
|||
- name: amount_in_txn_currency
|
||||
data_type: numeric
|
||||
description: The payment amount in the currency in which the transaction actually happened. If the guest paid in Australian Dollars, this is measured in AUD. (To be decommissioned)
|
||||
tests:
|
||||
data_tests:
|
||||
- dbt_expectations.expect_column_values_to_be_between:
|
||||
min_value: 0
|
||||
strictly: false
|
||||
|
|
@ -112,13 +112,13 @@ models:
|
|||
- name: currency
|
||||
data_type: character varying
|
||||
description: The currency in which the transaction actually happened. If the guest paid in Australian Dollars, this is measured in AUD.
|
||||
tests:
|
||||
data_tests:
|
||||
- not_null
|
||||
|
||||
- name: amount_in_gbp
|
||||
data_type: numeric
|
||||
description: The payment amount value, converted to GBP, using the exchange rate for the day on which the payment happened.
|
||||
tests:
|
||||
data_tests:
|
||||
- dbt_expectations.expect_column_values_to_be_between:
|
||||
min_value: 0
|
||||
strictly: false
|
||||
|
|
@ -126,7 +126,7 @@ models:
|
|||
- name: payment_status
|
||||
data_type: character varying
|
||||
description: "The status of the payment. It can be one of: Paid, Refunded, Refund Failed, Cancelled, Paid Manually, Unpaid."
|
||||
tests:
|
||||
data_tests:
|
||||
- not_null
|
||||
|
||||
- name: notes
|
||||
|
|
@ -139,7 +139,7 @@ models:
|
|||
- name: total_amount_in_txn_currency
|
||||
data_type: numeric
|
||||
description: The payment amount in the currency in which the transaction actually happened. If the guest paid in Australian Dollars, this is measured in AUD.
|
||||
tests:
|
||||
data_tests:
|
||||
- dbt_expectations.expect_column_values_to_be_between:
|
||||
min_value: 0
|
||||
strictly: false
|
||||
|
|
@ -147,7 +147,7 @@ models:
|
|||
- name: amount_without_taxes_in_txn_currency
|
||||
data_type: numeric
|
||||
description: The payment amount without taxes in the currency in which the transaction actually happened. If the guest paid in Australian Dollars, this is measured in AUD. (To be decommissioned)
|
||||
tests:
|
||||
data_tests:
|
||||
- dbt_expectations.expect_column_values_to_be_between:
|
||||
min_value: 0
|
||||
strictly: false
|
||||
|
|
@ -155,7 +155,7 @@ models:
|
|||
- name: total_amount_in_gbp
|
||||
data_type: numeric
|
||||
description: The payment amount value, converted to GBP, using the exchange rate for the day on which the payment happened.
|
||||
tests:
|
||||
data_tests:
|
||||
- dbt_expectations.expect_column_values_to_be_between:
|
||||
min_value: 0
|
||||
strictly: false
|
||||
|
|
@ -163,7 +163,7 @@ models:
|
|||
- name: amount_without_taxes_in_gbp
|
||||
data_type: numeric
|
||||
description: The payment amount value without taxes, converted to GBP, using the exchange rate for the day on which the payment happened.
|
||||
tests:
|
||||
data_tests:
|
||||
- dbt_expectations.expect_column_values_to_be_between:
|
||||
min_value: 0
|
||||
strictly: false
|
||||
|
|
@ -185,7 +185,7 @@ models:
|
|||
- name: id_booking
|
||||
data_type: bigint
|
||||
description: The unique, Superhog generated id for this booking.
|
||||
tests:
|
||||
data_tests:
|
||||
- unique
|
||||
- not_null
|
||||
|
||||
|
|
@ -253,7 +253,7 @@ models:
|
|||
description: |
|
||||
Unique, incremental, internal ID for the related verification
|
||||
request.
|
||||
tests:
|
||||
data_tests:
|
||||
- not_null
|
||||
- unique
|
||||
|
||||
|
|
@ -632,7 +632,7 @@ models:
|
|||
- name: id_user
|
||||
data_type: character varying
|
||||
description: Unique, incremental, internal ID for the user.
|
||||
tests:
|
||||
data_tests:
|
||||
- unique
|
||||
- not_null
|
||||
|
||||
|
|
@ -795,7 +795,7 @@ models:
|
|||
- name: id_user_host
|
||||
data_type: character varying
|
||||
description: Unique id value for the user
|
||||
tests:
|
||||
data_tests:
|
||||
- not_null
|
||||
- unique
|
||||
|
||||
|
|
@ -853,7 +853,7 @@ models:
|
|||
- name: id_verification_request
|
||||
data_type: bigint
|
||||
description: Unique id value for the verification request
|
||||
tests:
|
||||
data_tests:
|
||||
- not_null
|
||||
- unique
|
||||
|
||||
|
|
@ -871,7 +871,7 @@ models:
|
|||
- PMS
|
||||
- OSL
|
||||
- API/MANUAL
|
||||
tests:
|
||||
data_tests:
|
||||
- not_null
|
||||
- accepted_values:
|
||||
values:
|
||||
|
|
@ -944,7 +944,7 @@ models:
|
|||
- name: id_user_host
|
||||
data_type: character varying
|
||||
description: Unique id value for the user
|
||||
tests:
|
||||
data_tests:
|
||||
- not_null
|
||||
|
||||
- name: id_deal
|
||||
|
|
@ -994,7 +994,7 @@ models:
|
|||
- name: id_accommodation
|
||||
data_type: bigint
|
||||
description: "Id of the accommodation or listing. It's the unique key for this model."
|
||||
tests:
|
||||
data_tests:
|
||||
- not_null
|
||||
- unique
|
||||
|
||||
|
|
@ -1037,7 +1037,7 @@ models:
|
|||
- name: id_booking
|
||||
data_type: bigint
|
||||
description: "The unique, Superhog generated id for this booking."
|
||||
tests:
|
||||
data_tests:
|
||||
- unique
|
||||
- not_null
|
||||
|
||||
|
|
@ -1048,7 +1048,7 @@ models:
|
|||
- name: id_user_host
|
||||
data_type: character varying
|
||||
description: The UUID of the Superhog user playing the host role in the booking.
|
||||
tests:
|
||||
data_tests:
|
||||
- not_null
|
||||
|
||||
- name: id_accommodation
|
||||
|
|
@ -1066,7 +1066,7 @@ models:
|
|||
- NoFlags
|
||||
- Flagged
|
||||
- IncompleteInformation"
|
||||
tests:
|
||||
data_tests:
|
||||
- accepted_values:
|
||||
values:
|
||||
- "Approved"
|
||||
|
|
@ -1129,7 +1129,7 @@ models:
|
|||
description: |
|
||||
The unique identifier of this table. It corresponds to the host users
|
||||
that have been migrated to the New Dashboard.
|
||||
tests:
|
||||
data_tests:
|
||||
- not_null
|
||||
- unique
|
||||
|
||||
|
|
@ -1142,7 +1142,7 @@ models:
|
|||
description: |
|
||||
The migration phase in which this user was migrated, for informative
|
||||
purposes.
|
||||
tests:
|
||||
data_tests:
|
||||
- not_null
|
||||
|
||||
- name: has_user_moved_from_old_dash
|
||||
|
|
@ -1155,7 +1155,7 @@ models:
|
|||
data_type: date
|
||||
description: |
|
||||
The estimated date in which this user was migrated.
|
||||
tests:
|
||||
data_tests:
|
||||
- not_null
|
||||
|
||||
- name: company_name
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue