Contracts, rules and SLOs you can copy.
Each comes from the Nistor docs, with its path, and a paragraph on what it promises and when it fires.
The entries
- Contract
Freshness contract
An ODCS contract that gives a BigQuery table a 24-hour freshness target, bound to its node on the graph.
The YAML and what it does → - Contract
Volume contract
An open-source ODCS contract asking a BigQuery table for at least 1000 rows, measured by Enterprise Data quality.
The YAML and what it does → - Contract
Schema contract
An ODCS contract that declares the columns of a BigQuery table, checked against the node's columns on the graph.
The YAML and what it does → - Contract · Enterprise
Quality contract
With the Enterprise Data quality module, an ODCS null-value rule on a column becomes a proposed Nistor check.
The YAML and what it does → - Contract
Contract through the API
The Data Trust contract Nistor projects from the ODCS orders example (schema, freshness, volume and quality), written through the API.
The YAML and what it does → - Contract · Enterprise
Payments quality contract
An ODCS contract for seller payments whose quality rules the Enterprise Data quality module proposes as Nistor checks.
The YAML and what it does → - Rule
Dataform on landing
A scheduling rule that runs the Dataform actions with one tag when the tables they read are updated.
The YAML and what it does → - Rule
Debounce fan-in
A scheduling rule that waits until every table a mart reads has a new write, then rebuilds the mart once.
The YAML and what it does → - Rule
Cost gate
A scheduling rule that blocks a Dataform run when its BigQuery dry-run estimate is above 5 US dollars.
The YAML and what it does → - Rule
Cube refresh
A scheduling rule that refreshes a MicroStrategy cube once the tables it reads are loaded.
The YAML and what it does → - Rule
Weekday morning build
A scheduling rule that runs a Dataform release every weekday at 06:30, Paris time, before the teams start.
The YAML and what it does → - Rule
Rebuild on write
A scheduling rule that runs a Dataform release whenever BigQuery writes to the table the action builds.
The YAML and what it does → - Rule
Quiet period
A rule that waits until a BigQuery table has been quiet for five minutes, then runs the Dataform actions downstream.
The YAML and what it does → - Rule
Platform job
A rule that runs one of Nistor's maintenance jobs every six hours, on the Cloud Run service that hosts them.
The YAML and what it does → - Rule
Failsafe deadline
A scheduling rule that rebuilds a sales mart once its sources settle, or at 07:30 if no load came.
The YAML and what it does → - Rule
Retry with backoff
A rule's limits: a two-hour cap per run, three runs a day at most, and three retries with exponential backoff.
The YAML and what it does → - SLO
Freshness SLO
The default freshness SLO of every monitored asset: fresh 99% of the time over 30 days, with two burn alerts.
The YAML and what it does → - SLO
Freshness expectation
A promise to people: the sales mart fresh by 08:00 weekdays, London time, or a high-severity incident opens.
The YAML and what it does → - SLO · Enterprise
Quality pass rate
A contract dimension: 95% of an asset's data-quality runs must pass, set when an imported contract has an executable rule.
The YAML and what it does →