new approach for S&P users data extraction
This commit is contained in:
parent
24aa9b7021
commit
0cebdcf160
4 changed files with 209 additions and 32 deletions
|
|
@ -4427,3 +4427,150 @@ models:
|
|||
description: |
|
||||
Check-in Cover fees revenue paid without taxes in GBP.
|
||||
Can be null.
|
||||
|
||||
- name: int_core__screen_and_protect_users
|
||||
description: |
|
||||
"Contains information about Screen & Protect API users.
|
||||
It includes all user details related with the service."
|
||||
columns:
|
||||
- name: id_apim_user
|
||||
data_type: character varying
|
||||
description: "Identifier of the User. Acts as primary
|
||||
key for this table."
|
||||
tests:
|
||||
- not_null
|
||||
- unique
|
||||
|
||||
- name: id_apim_user_type
|
||||
data_type: bigint
|
||||
description: "Identifier of the type of user."
|
||||
|
||||
- name: id_deal
|
||||
data_type: text
|
||||
description: ""
|
||||
|
||||
- name: account_type
|
||||
data_type: text
|
||||
description: ""
|
||||
|
||||
- name: client_markup
|
||||
data_type: text
|
||||
description: ""
|
||||
|
||||
- name: tech_email_address
|
||||
data_type: text
|
||||
description: ""
|
||||
|
||||
- name: invoicing_email_address
|
||||
data_type: text
|
||||
description: ""
|
||||
|
||||
- name: is_protected
|
||||
data_type: boolean
|
||||
description: |
|
||||
Indicates if the user's bookings are protected or not.
|
||||
tests:
|
||||
- not_null
|
||||
|
||||
- name: price_increase
|
||||
data_type: numeric
|
||||
description: The percentage or value of the price increase
|
||||
applied to the user's account.
|
||||
tests:
|
||||
- dbt_expectations.expect_column_values_to_be_between:
|
||||
min_value: 0
|
||||
strictly: true
|
||||
|
||||
- name: price_increase_start_date_utc
|
||||
data_type: date
|
||||
description: The date when the price increase becomes effective.
|
||||
This is the first day of the month.
|
||||
tests:
|
||||
- is_first_day_of_month
|
||||
|
||||
- name: monthly_volume_discount
|
||||
data_type: numeric
|
||||
description: The discount percentage or value offered based on the
|
||||
volume of bookings achieved within a month.
|
||||
No user can have more than one discount per month.
|
||||
tests:
|
||||
- dbt_expectations.expect_column_values_to_be_between:
|
||||
min_value: 0
|
||||
max_value: 100
|
||||
strictly: true
|
||||
|
||||
- name: threshold_approved_booking_volume
|
||||
data_type: numeric
|
||||
description: The minimum number of bookings required to qualify for
|
||||
the monthly volume discount.
|
||||
tests:
|
||||
- dbt_expectations.expect_column_values_to_be_between:
|
||||
min_value: 0
|
||||
strictly: true
|
||||
|
||||
- name: monthly_volume_discount_start_date_utc
|
||||
data_type: date
|
||||
description: The date when the monthly volume discount period begins.
|
||||
This is the first day of the month.
|
||||
tests:
|
||||
- is_first_day_of_month
|
||||
|
||||
- name: monthly_volume_discount_end_date_utc
|
||||
data_type: date
|
||||
description: The date when the monthly volume discount period ends.
|
||||
This is the last day of the month.
|
||||
tests:
|
||||
- is_last_day_of_month
|
||||
|
||||
- name: monthly_general_discount
|
||||
data_type: numeric
|
||||
description: The general discount percentage or value applied to all
|
||||
bookings within the applicable period.
|
||||
No user can have more than one discount per month.
|
||||
tests:
|
||||
- dbt_expectations.expect_column_values_to_be_between:
|
||||
min_value: 0
|
||||
max_value: 100
|
||||
strictly: true
|
||||
|
||||
- name: monthly_general_discount_start_date_utc
|
||||
data_type: date
|
||||
description: The date when the general discount period begins.
|
||||
This is the first day of the month.
|
||||
tests:
|
||||
- is_first_day_of_month
|
||||
|
||||
- name: monthly_general_discount_end_date_utc
|
||||
data_type: date
|
||||
description: The date when the general discount period ends.
|
||||
This is the last day of the month.
|
||||
tests:
|
||||
- is_last_day_of_month
|
||||
|
||||
- name: created_at_utc
|
||||
data_type: timestamp
|
||||
description: |
|
||||
Timestamp of when this user was created.
|
||||
tests:
|
||||
- not_null
|
||||
|
||||
- name: created_date_utc
|
||||
data_type: date
|
||||
description: |
|
||||
Date of when this user was created.
|
||||
tests:
|
||||
- not_null
|
||||
|
||||
- name: updated_at_utc
|
||||
data_type: timestamp
|
||||
description: |
|
||||
Timestamp of when this user was last updated.
|
||||
tests:
|
||||
- not_null
|
||||
|
||||
- name: updated_date_utc
|
||||
data_type: date
|
||||
description: |
|
||||
Date of when this user was last updated.
|
||||
tests:
|
||||
- not_null
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue