← Back to all products

Data Contract Framework

$59

Complete data contract implementation with YAML spec, CLI generator, schema validation, SLA monitoring, and breaking change detection.

📁 17 files🏷 v1.0.0
Production-ready
✓ Instant download✓ Lifetime updates✓ MIT licensed✓ MIT license✓ Secure checkout (Stripe)

📋 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

data-contract-framework/
├── 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

ComponentDescription
`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

cli/contract_generator.py""" Data Contract Generator — CLI Tool Datanest Digital — https://datanest.dev Generates data contract YAML files from existing Databricks Unity Catalog tables. Introspects table schemas, column metadata, and table properties to produce a ready-to-customize contract definition. Usage: python contract_generator.py --catalog main --schema analytics --table events --output ./contracts/ python contract_generator.py --catalog main --schema analytics --all --output ./contracts/ """ from __future__ import annotations import argparse import json import re import sys from dataclasses import dataclass, field from datetime import datetime, timezone from pathlib import Path from typing import Any, Optional try: import yaml except ImportError: print("ERROR: PyYAML is required. Install with: pip install pyyaml>=6.0") sys.exit(1) # --------------------------------------------------------------------------- # Data models # --------------------------------------------------------------------------- @dataclass class FieldSpec: """Represents a single field in a data contract schema.""" name: str

⚙ Requirements & Compatibility

RequirementDetails
Python>=3.9
LicenseMIT (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?

How do I download after purchase?

Do I get updates?

What if it doesn't work for me?

Can I get a refund?

Is there support?

Buy Now — $59 Back to Products