Final clarifications

This commit is contained in:
Joaquin Ossa 2024-12-04 16:33:50 +01:00
parent 0b6612f25b
commit 1f683ec651
6 changed files with 132 additions and 26 deletions

View file

@ -43,17 +43,35 @@ models:
- "DAMAGE WAIVER"
- "PET PROTECTION"
- name: protection_basic_amount
- name: protection_starting_level
data_type: numeric
description: Basic protection amount for the booking.
description: Field used for protection type "STANDALONE PROTECTION" to
indicate the starting level of protection.
tests:
- dbt_expectations.expect_column_values_to_be_between:
min_value: 0
max_value: 100000
strictly: true
- name: protection_basic_amount
data_type: numeric
description: Field used for protection type "SCREEN & PROTECT",
"BASIC PROTECTION" or "DAMAGE WAIVER" to show the basic amount of protection.
tests:
- dbt_expectations.expect_column_values_to_be_between:
min_value: 0
max_value: 100000
strictly: true
- name: protection_extended_amount
data_type: numeric
description: Extended protection amount for the booking.
description: Field used for protection type "SCREEN & PROTECT",
or "STANDALONE PROTECTION" to show the basic amount of protection.
tests:
- dbt_expectations.expect_column_values_to_be_between:
min_value: 0
max_value: 50000000
strictly: true
- name: pet_protection
data_type: boolean
@ -200,14 +218,23 @@ models:
tests:
- not_null
- name: created_at_utc
- name: cosmos_creation_at_utc
data_type: timestamp without time zone
description: Internal timestamp when the record was created.
description: |
Timestamp of when the verification request was created in Cosmos DB.
tests:
- not_null
- name: cosmos_creation_date_utc
data_type: date
description: |
Date of when the verification request was created in Cosmos DB.
tests:
- not_null
- name: created_date_utc
data_type: date
description: Internal date when the record was created.
description: |
Date when the reservation was created.
tests:
- not_null