Updating with Ray's comments

This commit is contained in:
Joaquin Ossa 2024-09-02 11:16:51 +02:00
parent 7a77691b89
commit 46d5e7c3c5
2 changed files with 39 additions and 15 deletions

View file

@ -6,7 +6,11 @@ models:
"This table holds records on verifications for e-deposit bookings.
It contains details on validations checked on the guests, guest information
and some booking details like checkin-checkout date or the status of the verification.
The id values found here are completely unrelated to the ones found in Core DWH."
The id values found here are completely unrelated to the ones found in Core DWH.
Note that id_verifications and booking_id should normally be 1 to 1.
Though there are exception, the API will accept a duplicate booking and the users
will be charged for it. A duplicate would return a unique id_verification."
columns:
- name: id_verification
data_type: text
@ -53,10 +57,6 @@ models:
data_type: text
description: "status of the verification"
- name: verification_status_reason
data_type: text
description: "short explanation for status"
- name: nightly_fee_local
data_type: double precision
description: "fee charged per night"
@ -67,15 +67,15 @@ models:
- name: email_flag
data_type: text
description: ""
description: "screening result for email"
- name: phone_flag
data_type: text
description: ""
description: "screening result for phone"
- name: watch_list
data_type: text
description: ""
description: "screening result of the guest"
- name: channel
data_type: text
@ -87,7 +87,7 @@ models:
- name: checkin_date_utc
data_type: date
description: "Timestamp of checkin for the booking"
description: "Date of checkin for the booking"
- name: checkout_at_utc
data_type: timestamp without time zone
@ -95,7 +95,7 @@ models:
- name: checkout_date_utc
data_type: date
description: "Timestamp of checkout for the booking"
description: "Date of checkout for the booking"
- name: is_cancelled
data_type: boolean
@ -105,6 +105,10 @@ models:
data_type: timestamp without time zone
description: "Timestamp of cancellation of the booking"
- name: cancelled_date_utc
data_type: date
description: "Date of cancellation for the booking"
- name: user_email
data_type: text
description: ""
@ -169,14 +173,30 @@ models:
data_type: timestamp without time zone
description: "Timestamp when status was last updated"
- name: status_updated_date_utc
data_type: date
description: "Date of last status update of the verification"
- name: updated_at_utc
data_type: timestamp without time zone
description: "Timestamp of last updated"
description: "Timestamp of last updated of the verification"
- name: updated_date_utc
data_type: date
description: "Date of last update of the verification"
- name: creation_at_utc
data_type: timestamp without time zone
description: ""
description: "Athena timestamp field of when the booking was created"
- name: creation_date_utc
data_type: date
description: "Athena date field of when the booking was created"
- name: created_at_utc
data_type: timestamp without time zone
description: ""
description: "Timestamp of creation of the verification in the system"
- name: created_date_utc
data_type: date
description: "Date of creation of the verification in the system"