Data Contract Framework
Complete data contract implementation with YAML spec, CLI generator, schema validation, SLA monitoring, and breaking change detection.
📋 What's Inside 17 files
- ✓ README.md—
- ✓ manifest.json—
- ✓ spec/contract_schema.yaml—
- ✓ spec/example_contracts/customer_events.yaml—
- ✓ spec/example_contracts/financial_transactions.yaml—
- ✓ spec/example_contracts/product_catalog.yaml—
- ✓ cli/contract_generator.py—
- ✓ cli/contract_validator.py—
- ✓ notebooks/sla_monitoring.py—
- ✓ notebooks/breaking_change_detector.py—
- ✓ notebooks/contract_compliance_dashboard.py—
- ✓ registry/contract_registry.py—
- ✓ templates/producer_consumer_agreement.md—
- ✓ templates/contract_templates/api_source.yaml—
- ✓ templates/contract_templates/database_source.yaml—
📁 File Structure 17 files
├── README.md
├── manifest.json
├── spec/
│ ├── contract_schema.yaml
│ ├── example_contracts/
│ │ ├── customer_events.yaml
│ │ ├── financial_transactions.yaml
│ │ ├── product_catalog.yaml
├── cli/
│ ├── contract_generator.py
│ ├── contract_validator.py
├── notebooks/
│ ├── sla_monitoring.py
│ ├── breaking_change_detector.py
│ ├── contract_compliance_dashboard.py
├── registry/
│ ├── contract_registry.py
├── templates/
│ ├── producer_consumer_agreement.md
│ ├── contract_templates/
│ │ ├── api_source.yaml
│ │ ├── database_source.yaml
│ │ ├── file_source.yaml
├── guides/
│ ├── implementation_guide.md
📖 Documentation Preview README excerpt
Data Contract Framework
Product by [Datanest Digital](https://datanest.dev)
A production-ready framework for defining, validating, and monitoring data contracts across
your data platform. Enforce schema guarantees, SLA compliance, and breaking change detection
with a structured, version-controlled approach to data ownership.
What's Included
| Component | Description |
|---|---|
| `spec/` | YAML-based contract specification format with example contracts |
| `cli/` | Command-line tools for generating and validating contracts |
| `notebooks/` | Databricks notebooks for SLA monitoring, breaking change detection, and compliance dashboards |
| `registry/` | Contract catalog with full versioning and search support |
| `templates/` | Ready-to-use contract templates and producer/consumer agreement |
| `guides/` | Step-by-step implementation guide |
Quick Start
1. Define a Contract
contract:
name: customer_events
version: 1.0.0
owner:
team: data-engineering
contact: team-lead@company.com
schema:
fields:
- name: event_id
type: string
required: true
description: Unique event identifier
- name: event_timestamp
type: timestamp
required: true
description: UTC timestamp of the event
sla:
freshness:
max_delay_minutes: 30
completeness:
min_percentage: 99.5
2. Generate Contracts from Existing Tables
python cli/contract_generator.py \
--catalog main \
--schema analytics \
--table customer_events \
--output spec/example_contracts/
3. Validate Data Against Contracts
... preview truncated, see full README in product download.
📄 Code Sample .py preview
⚙ Requirements & Compatibility
| Requirement | Details |
|---|---|
| Python | >=3.9 |
| License | MIT (see license-terms page) |
📅 Changelog
v1.0.0 — Initial release.
Purchases include lifetime updates. Check the product page for the latest version.
📄 Product Preview
Try the interactive reader and demo tools below, or get the full product with all content unlocked.
📖 Interactive Reader (Free Preview)⚙ Try Demo Tools📦 Download Free Sample❓ Frequently Asked Questions
What license is this under?
MIT License. You can use it in commercial, client, and internal projects. See our license terms page for details.
How do I download after purchase?
Immediately after purchase, you'll be redirected to a download page. A download link is also sent to your email.
Do I get updates?
Yes. All products include lifetime updates at no extra cost. Re-download anytime for the latest version.
What if it doesn't work for me?
DM @DatanestDigital on X and we'll make it right.
Can I get a refund?
DM @DatanestDigital on X with your order number and we'll help.
Is there support?
DM @DatanestDigital on X. We respond within 1-2 business days.