mirror of
https://github.com/FlipsideCrypto/flow-models.git
synced 2026-02-06 11:47:00 +00:00
38 lines
1.2 KiB
YAML
38 lines
1.2 KiB
YAML
version: 2
|
|
|
|
models:
|
|
- name: rewards__dim_storefront_items
|
|
description: "{{ doc('rewards__dim_storefront_items') }}"
|
|
tests:
|
|
- dbt_utils.recency:
|
|
datepart: day
|
|
field: INSERTED_TIMESTAMP
|
|
interval: 1
|
|
severity: warn
|
|
|
|
columns:
|
|
- name: STORE_ID
|
|
description: "{{ doc('store_id') }}"
|
|
- name: ITEM_ID
|
|
description: "{{ doc('item_id') }}"
|
|
- name: ITEM_TYPE
|
|
description: "{{ doc('item_type') }}"
|
|
- name: ITEM_NAME
|
|
description: "{{ doc('item_name') }}"
|
|
- name: ITEM_DESCRIPTION
|
|
description: "{{ doc('item_description') }}"
|
|
- name: ITEM_PRICE
|
|
description: "{{ doc('item_price') }}"
|
|
- name: ITEM_CURRENCY
|
|
description: "{{ doc('item_currency') }}"
|
|
- name: ITEM_IMAGE_URL
|
|
description: "{{ doc('item_image_url') }}"
|
|
- name: ITEM_AVAILABLE
|
|
description: "{{ doc('item_available') }}"
|
|
- name: DIM_STORE_ID
|
|
description: "{{ doc('pk_id') }}"
|
|
- name: INSERTED_TIMESTAMP
|
|
description: "{{ doc('inserted_timestamp') }}"
|
|
- name: MODIFIED_TIMESTAMP
|
|
description: "{{ doc('modified_timestamp') }}"
|