version: 2
models:
  - name: silver__nft_collection
    columns:
      - name: COLLECTION_ID
        description: "The address of the NFT collection"
        tests:
          - not_null
          - unique
      - name: NFT_COLLECTION_NAME
        description: "The name of the collection provided by Solscan"
      - name: SOLSCAN_COLLECTION_ID
        description: "Solscan's unique id for the collection"
      - name: _inserted_timestamp
        description: "{{ doc('_inserted_timestamp') }}"
        tests:
          - not_null
      - name: inserted_timestamp
        description: "{{ doc('inserted_timestamp') }}"
        tests:
          - not_null
          - dbt_expectations.expect_row_values_to_have_recent_data:
              datepart: day
              interval: 2
   