From 0a0ef84c4c811dfaed823fd430cde017fdd2365e Mon Sep 17 00:00:00 2001 From: Joaquin Ossa Date: Mon, 10 Feb 2025 14:51:03 +0100 Subject: [PATCH] commit wip --- models/intermediate/core/schema.yml | 37 +++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/models/intermediate/core/schema.yml b/models/intermediate/core/schema.yml index 4cef264..f5dfccb 100644 --- a/models/intermediate/core/schema.yml +++ b/models/intermediate/core/schema.yml @@ -768,6 +768,23 @@ models: versions: - v: 2 columns: + - name: is_host_taking_waiver_risk + data_type: boolean + description: Boolean indicating whether the host is taking the risk + + - name: payaway_percentage + data_type: numeric + description: Percentage of the payment that goes to Superhog. + data_tests: + - dbt_expectations.expect_column_values_to_be_between: + min_value: 0 + max_value: 0.99 + strictly: false + + - name: payaway_minimum_commission_local_curr + data_type: numeric + description: Minimum commission amount in local currency. + - name: total_amount_in_txn_currency data_type: numeric description: | @@ -859,6 +876,26 @@ models: data_tests: - not_null + - name: amount_due_to_host_in_txn_currency + data_type: numeric + description: | + The amount payable to the host, in local currency. + + - name: amount_due_to_host_in_gbp + data_type: numeric + description: | + The amount payable to the host, in GBP. + + - name: superhog_fee_in_txn_currency + data_type: numeric + description: | + The service fee charged by Superhog, in local currency. + + - name: superhog_fee_in_gbp + data_type: numeric + description: | + The service fee charged by Superhog, in GBP. + - name: is_missing_user_country data_type: boolean description: |