flow-models/models/sources.yml
Jack Forgash 861e667d4b
AN-1870/allday ids (#51)
* allday nft ids

* silver topshot view for compat

* limit allday to 3000

* str

* add nfl all day metadata integration and refactor streamline process

* no longer needed

Co-authored-by: Desmond Hui <desmond@flipsidecrypto.com>
2022-08-26 11:07:40 -07:00

67 lines
2.1 KiB
YAML

version: 2
sources:
- name: prod
database: chainwalkers
schema: prod
tables:
- name: flow_blocks
- name: flow_txs
- name: crosschain
database: flipside_prod_db
schema: crosschain
tables:
- name: address_labels
- name: silver
database: flipside_prod_db
schema: silver
tables:
- name: market_asset_metadata
- name: prices_v2
- name: flow_external
schema: bronze
loader: S3
tables:
- name: moments_metadata_api
description: "External table of dapper labs moments metadata"
external:
location: "@{{target.database}}.bronze.analytics_external_tables/{{target.database}}/MOMENTS_MINTED_METADATA_API/"
file_format: "( type = json, strip_outer_array = TRUE )"
auto_refresh: true
columns:
- name: contract
data_type: string
description: "the contract for minting belonging to a certain collection"
- name: id
data_type: string
description: "id of the NFT"
- name: data
data_type: variant
description: ""
- name: rarible_collections_api
description: "External table of collections available on rarible"
external:
location: "@{{target.database}}.bronze.analytics_external_tables/{{target.database}}/RARIBLE_COLLECTIONS_API"
file_format: "( type = json, strip_outer_array = TRUE )"
auto_refresh: true
- name: rarible_nft_metadata_api
description: "External table of collections available on rarible"
external:
location: "@{{target.database}}.bronze.analytics_external_tables/{{target.database}}/RARIBLE_NFT_METADATA_API"
file_format: "( type = json, strip_outer_array = TRUE )"
auto_refresh: true
columns:
- name: contract
data_type: string
description: "the contract for minting belonging to a certain collection"
- name: id
data_type: string
description: "id of the NFT"
- name: data
data_type: variant
description: ""