version: 2 models: - name: atlas__ez_nft_contract_metrics_daily description: |- Deprecating Soon - these tables previously supported NEAR Atlas which is no longer live. These tables will be removed on Febreary 1, 2025. Please cease using these tables. tests: - dbt_utils.recency: datepart: days field: inserted_timestamp interval: 1 columns: - name: EZ_NFT_CONTRACT_METRICS_DAILY_ID description: "{{ doc('id')}}" tests: - unique: where: inserted_timestamp BETWEEN SYSDATE() - INTERVAL '7 days' AND SYSDATE() - INTERVAL '2 hours' - not_null: where: inserted_timestamp BETWEEN SYSDATE() - INTERVAL '7 days' AND SYSDATE() - INTERVAL '2 hours' - name: DAY description: "{{ doc('date')}}" tests: - not_null - name: RECEIVER_ID description: "{{ doc('tx_receiver')}}" tests: - not_null - dbt_expectations.expect_column_values_to_be_in_type_list: column_type_list: - STRING - VARCHAR - name: TOKENS description: "{{ doc('tokens_count')}}" tests: - not_null - dbt_expectations.expect_column_values_to_be_in_type_list: column_type_list: - NUMBER - INTEGER - name: ALL_TRANSFERS description: "{{ doc('all_transfers')}}" tests: - not_null - dbt_expectations.expect_column_values_to_be_in_type_list: column_type_list: - NUMBER - INTEGER - name: OWNERS description: "{{ doc('owner_count')}}" tests: - not_null - dbt_expectations.expect_column_values_to_be_in_type_list: column_type_list: - NUMBER - INTEGER - name: TRANSACTIONS description: "{{ doc('tx_count')}}" tests: - not_null - dbt_expectations.expect_column_values_to_be_in_type_list: column_type_list: - NUMBER - INTEGER - name: MINTS description: "{{ doc('mint_count')}}" tests: - not_null - dbt_expectations.expect_column_values_to_be_in_type_list: column_type_list: - NUMBER - INTEGER - name: INSERTED_TIMESTAMP description: "{{ doc('inserted_timestamp')}}" - name: MODIFIED_TIMESTAMP description: "{{ doc('modified_timestamp')}}"