mirror of
https://github.com/FlipsideCrypto/osmosis-models.git
synced 2026-02-06 13:57:16 +00:00
50 lines
1.4 KiB
YAML
50 lines
1.4 KiB
YAML
version: 2
|
|
models:
|
|
- name: silver__validator_metadata
|
|
tests:
|
|
- dbt_utils.unique_combination_of_columns:
|
|
combination_of_columns:
|
|
- CREATOR
|
|
- ADDRESS
|
|
- BLOCKCHAIN
|
|
columns:
|
|
- name: ADDRESS
|
|
description: "{{ doc('address') }}"
|
|
tests:
|
|
- not_null
|
|
- name: BLOCKCHAIN
|
|
description: "{{ doc('blockchain') }}"
|
|
tests:
|
|
- not_null
|
|
- dbt_expectations.expect_column_values_to_be_in_set:
|
|
value_set: ['osmosis']
|
|
- name: CREATOR
|
|
description: "{{ doc('creator') }}"
|
|
tests:
|
|
- not_null
|
|
- name: LABEL_TYPE
|
|
description: "{{ doc('label_type') }}"
|
|
tests:
|
|
- not_null
|
|
- dbt_expectations.expect_column_values_to_be_in_set:
|
|
value_set: ['operator']
|
|
- name: LABEL_SUBTYPE
|
|
description: "{{ doc('label_subtype') }}"
|
|
tests:
|
|
- not_null
|
|
- dbt_expectations.expect_column_values_to_be_in_set:
|
|
value_set: ['validator']
|
|
- name: LABEL
|
|
description: "{{ doc('label') }}"
|
|
tests:
|
|
- not_null
|
|
- name: PROJECT_NAME
|
|
description: "{{ doc('project_name') }}"
|
|
tests:
|
|
- not_null
|
|
tests:
|
|
- not_null
|
|
- name: RAW_METADATA
|
|
description: "{{ doc('raw_metadata') }}"
|
|
tests:
|
|
- not_null |