Added schema

This commit is contained in:
Joaquin Ossa 2025-01-28 12:41:03 +01:00
parent 8bd5851235
commit 88e86ea9ed

View file

@ -1779,3 +1779,54 @@ models:
"Expected MRR for each new deal." "Expected MRR for each new deal."
data_tests: data_tests:
- not_null - not_null
- name: int_mtd_agg_onboarding_mrr_metrics
description: |
This model contains the month-to-date aggregated metrics for the onboarding MRR.
It includes the expected MRR per deal and the total expected MRR, which is obtained
by summing the expected MRRs for all new deals.
data_tests:
- dbt_utils.unique_combination_of_columns:
combination_of_columns:
- date
- dimension
- dimension_value
columns:
- name: date
data_type: date
description: The date for the month-to-date metrics.
data_tests:
- not_null
- name: dimension
data_type: string
description: The dimension or granularity of the metrics.
data_tests:
- accepted_values:
values:
- global
- by_number_of_listings
- by_billing_country
- name: dimension_value
data_type: string
description: The value or segment available for the selected dimension.
data_tests:
- not_null
- name: number_of_new_deals
data_type: numeric
description: Number of new deals in the month.
- name: expected_mrr_per_deal
data_type: numeric
description: Expected Onboarding MRR per new deal.
- name: expected_mrr
data_type: numeric
description: |
Total expected Onboarding MRR.
This is calculated by multiplying the expected MRR per deal by the number of new deals.
For the "global" dimension, it is the sum of all expected MRRs across segments.