near-models/models/silver/atlas/silver__atlas_nft_detailed.yml

62 lines
1.4 KiB
YAML
Raw Normal View History

2023-11-07 15:10:43 +00:00
version: 2
models:
- name: silver__atlas_nft_detailed
description: |-
This is an incremental dbt model that gives an overview of NFT transactions in NEAR.
columns:
2023-11-09 17:38:15 +00:00
- name: atlas_nft_detailed_id
2023-11-09 02:53:38 +00:00
description: "{{ doc('id')}}"
2023-11-07 15:10:43 +00:00
tests:
- not_null
- unique
- name: day
description: "{{ doc('date')}}"
tests:
- not_null
- name: receiver_id
description: "The identifier of the receiver in the NFT transaction."
tests:
- not_null
- name: tokens
description: "The count of unique tokens transferred to the receiver on the given day."
tests:
- not_null
- name: all_transfers
description: "The total number of 'nft_transfer' method transactions that occurred."
tests:
- not_null
- name: owners
description: "The count of distinct owners who have interacted with the NFT."
tests:
- not_null
- name: transactions
description: "{{ doc('tx_count')}}"
tests:
- not_null
- name: mints
description: "The count of transactions where the 'method_name' is not 'nft_transfer', indicating minting actions."
tests:
- not_null
2023-11-08 19:36:09 +00:00
- name: inserted_timestamp
description: "{{doc('inserted_timestamp')}}"
tests:
- not_null
- name: modified_timestamp
description: "{{doc('modified_timestamp')}}"
tests:
- not_null
2023-12-11 17:34:32 +00:00
- name: _invocation_id
2023-11-08 19:36:09 +00:00
description: "{{doc('invocation_id')}}"