version: 2
models:
  - name: gov__fact_block_production
    description: "{{ doc('fact_block_production') }}"
    columns:
      - name: EPOCH
        description: "{{ doc('epoch') }}"
        tests:
          - dbt_expectations.expect_column_to_exist
      - name: NODE_PUBKEY
        description: "{{ doc('node_pubkey') }}"
        tests:
          - dbt_expectations.expect_column_to_exist
      - name: NUM_LEADER_SLOTS
        description: "{{ doc('num_leader_slots') }}"
        tests:
          - dbt_expectations.expect_column_to_exist
      - name: NUM_BLOCKS_PRODUCED
        description: "{{ doc('num_blocks_produced') }}"
        tests:
          - dbt_expectations.expect_column_to_exist
      - name: START_SLOT
        description: "{{ doc('start_slot') }}"
        tests:
          - dbt_expectations.expect_column_to_exist
      - name: END_SLOT
        description: "{{ doc('end_slot') }}"
        tests:
          - dbt_expectations.expect_column_to_exist
      - name: FACT_BLOCK_PRODUCTION_ID
        description: '{{ doc("pk") }}'   
      - name: INSERTED_TIMESTAMP
        description: '{{ doc("inserted_timestamp") }}'   
      - name: MODIFIED_TIMESTAMP
        description: '{{ doc("modified_timestamp") }}' 