version: 2
models:
  - name: price__ez_prices
    description: Contains token prices in USD for assets that can be traded on Osmosis.
    tests:
      - dbt_utils.unique_combination_of_columns:
          combination_of_columns:
            - RECORDED_HOUR
            - CURRENCY
          where: CURRENCY is not null
    columns:
      - name: RECORDED_HOUR
        description: The time, including the day and hour, that the price of the token corresponds to. 
        tests: 
          - dbt_expectations.expect_column_to_exist
      - name: SYMBOL
        description: The token's symbol
        tests: 
          - dbt_expectations.expect_column_to_exist
      - name: CURRENCY
        description: "{{ doc('currency') }}"
        tests: 
          - dbt_expectations.expect_column_to_exist
      - name: PRICE
        description: The price of the token in USD. 
        tests: 
          - dbt_expectations.expect_column_to_exist
