Check types
Seven yaml check types — connect through index.
- connect — DB accepts connections
- schema — expect_tables: [a, b]
- row_count — table, min, max (optional)
- foreign_key — table, references (no orphans)
- golden_query — query, expect_min
- freshness — table, column, max_age
- index — expect_indexes: [name, …]
checks:
- type: connect
- type: schema
expect_tables: [customers, orders]
- type: row_count
table: orders
min: 1
- type: foreign_key
table: orders
references: customers
- type: golden_query
query: "SELECT count(*) FROM orders"
expect_min: 1
- type: freshness
table: orders
column: created_at
max_age: 24hFull field reference: CONFIG.md in revenant-cli. Proof Composer in the cloud UI drafts schema-aware YAML from a live DB.