ODCS contracts
BetaImport, export and validate Open Data Contract Standard v3.1 contracts, and check them for schema drift with Catalog.
Proven todayReads contract files and calls no vendor service, so there is nothing to test live.
Use the open standard for data contracts, and let Nistor check that reality still matches them.
What Nistor collects
- Contracts written in ODCS v3.1, validated and imported as Data Trust contracts.
- Drift, with Catalog (Enterprise): missing or extra columns and type mismatches between a contract and the live columns in the Catalog. Drift covers the schema only.
- Quality rules in a contract become checks with Data quality (Enterprise).
Contracts can also be exported back to ODCS.
Set it up
This integration is in beta and on by default; an operator can turn it off. Contracts reach Nistor in one of two ways: pushed from CI with nistor odcs sync, or uploaded in Nistor. Nistor does not pull them from your repository itself. The README in the repository explains both.
Example
Configuration
As the open-source docs show it, in docs/integrations/odcs.md.
apiVersion: v3.1.0
kind: DataContract
id: acme-orders
name: acme_orders
version: 1.0.0
status: active
domain: sales
description:
purpose: One row per order, for finance reporting.
team:
- username: data-team@example.com
role: owner
schema:
- name: orders
physicalName: orders
physicalType: table
properties:
- name: order_id
physicalType: STRING
logicalType: string
required: true
primaryKey: true
- name: amount
physicalType: NUMERIC
logicalType: number
required: true
- name: ordered_at
physicalType: TIMESTAMP
logicalType: date
required: true
quality:
- type: library
rule: rowCount
dimension: completeness
mustBeGreaterOrEqualTo: 1000
slaProperties:
- property: latency
value: 24
unit: hours
element: orders.ordered_at
customProperties:
- property: nodeId
value: BigqueryTable_acme-data-prod.sales.orders
What Nistor reads
- The node the contract binds to, from its nodeId custom property.
- The columns of its first schema object, with required columns as non-nullable.
- Its dimensions: schema, freshness from the latency SLA, volume and quality.


This view does not show where its contracts come from: it shows contracts as the console lists them.
What it means for a tool to be in Nistor: the integration standard →