Contract creation
Define schema rules
Specify columns, types, keys, allowed enums, and null constraints. Import from Avro/JSON Schema/SQL DDL when supported to avoid transcription errors.
Add quality checks
Layer row-level rules (for example,
amount >= 0, country in ISO set) beyond raw types.Set severity
Decide whether violations fail the pipeline, quarantine rows, or only emit warnings to diagnostics.
Schema validation
During runs, Planasonix compares incoming batches to the contract:- Additive changes (new nullable columns) often pass automatically when policy allows.
- Breaking changes (type narrowing, dropped columns) fail fast or require a new contract version.
- Producer-driven
- Consumer-driven
Owning teams update contracts when they ship schema changes; CI blocks merges that skip contract bumps.
Violation tracking
The violations view lists timestamps, rule names, sample offending rows (redacted per policy), and pipeline runs. Export violations for incident tickets or compliance evidence.Enforcement
Enforcement hooks include:- Failing the pipeline before writes commit
- Writing bad rows to a quarantine table or dead letter queue
- Emitting alerts to Notifications channels
Related topics
Data catalog
Document datasets contracts protect.
Impact analysis
See who breaks when contracts change.