Data Contracts and Data Products
A data contract is an explicit agreement between the producer and consumers of data about what will be delivered, what it means, how reliable it should be and how changes will be managed. A data product treats a dataset or data service as a maintained capability with identifiable users, accountable ownership, documentation, quality expectations and a lifecycle.
A table becomes a data product when somebody is responsible for whether its receivers can depend on it.
Data estates become fragile when dependencies are implicit. One team produces a table. Another team builds a dashboard on it. A third trains a model from the same fields. Months later the producer changes a status meaning, removes a column or delays the refresh. The source still “works”, but downstream trust breaks because the shared expectations were never made explicit.
ARTICLE ID: DATA.MANAGEMENT.022
Canonical function: producer–consumer responsibility, dependable delivery and data-as-product
Series route: Data Engineering and Pipelines → Data Contracts and Data Products.
The Simple Answer
A data contract answers: what are you promising me? A data product answers: who is responsible for keeping that promise useful over time?
The route is:
Producer → Contract → Data Product → Consumer → Receipt → Feedback → Repair
The contract defines expectations. The product operating model keeps those expectations alive.
Why Data Contracts Exist
In tightly coupled systems, consumers often depend on undocumented behaviour. They assume a field will always exist, that nulls never appear, that refresh completes by 6 a.m., that one code always means the same thing, and that IDs remain stable.
Those assumptions are contracts already. Formal data contracts make them visible enough to test, negotiate and change deliberately.
What a Data Contract Can Cover
- schema;
- field definitions;
- units;
- identifiers and keys;
- reference-data values;
- freshness;
- delivery frequency;
- completeness;
- quality thresholds;
- allowed nulls;
- security classification;
- ownership;
- support and escalation;
- versioning;
- deprecation and change notice;
- retention and lifecycle expectations.
Schema Is Only One Layer
Many teams treat schema as the entire contract. But a perfectly stable schema can hide a broken semantic promise.
A field called status can remain a string forever while its values change meaning. A numeric field can remain decimal while its unit changes. A date field can remain valid while the business switches from event date to settlement date.
The strongest contract protects meaning, not only shape.
Semantic Contracts
Semantic contracts define what the data represents. They can specify:
- business definitions;
- grain;
- population;
- inclusions and exclusions;
- unit;
- time basis;
- meaning of missing values;
- meaning of status codes;
- interpretation limits.
This protects consumers from technically valid but semantically changed data.
Freshness Contracts
A freshness contract defines when consumers can expect usable data. For example, a daily dataset may be promised by 7 a.m., while a streaming feed may have a target latency of minutes.
Freshness should follow receiver need. Real-time delivery is costly and unnecessary when a daily decision is sufficient.
Completeness Contracts
Completeness can mean more than “all required columns filled”. It can mean all expected source partitions arrived, all campuses contributed, every business unit is represented or all mandatory records were included.
A contract should identify which form of completeness matters to the receiver.
Quality Contracts
Quality contracts can define thresholds for validity, uniqueness, missingness, reconciliation or business rules.
Examples:
- critical identifiers must be unique;
- mandatory fields must be populated above a defined threshold;
- daily source and target totals must reconcile within agreed tolerance;
- no transaction date may precede the related account creation date;
- quality exceptions must be published with the dataset.
See Data Quality.
Service Levels
Some data products define service-level objectives for availability, freshness, incident response or recovery. These should be proportionate to consequence.
A mission-critical payment data product and a monthly exploratory dataset do not need the same operational guarantees.
The Producer
The producer owns the source-side responsibility for delivering data according to the contract. Producers should understand that downstream consumers may depend on behaviour that seems locally unimportant.
A producer should know:
- who consumes the data;
- which fields are critical;
- which changes are breaking;
- which quality limits matter;
- what incident communication is expected;
- which historical versions must remain interpretable.
The Consumer
Consumers also have responsibilities. They should not invent hidden dependencies, scrape unstable interfaces or assume a dataset can support purposes beyond the contract without discussion.
A mature consumer uses the documented interface, honours sensitivity and reports important new requirements before local workarounds become permanent.
Contract Ownership
A contract needs a named owner. Otherwise breaking changes become nobody’s responsibility.
Ownership may be shared between a domain owner, technical owner and steward, but the escalation route should be clear.
What Is a Data Product?
A data product is a maintained capability designed for identifiable consumers. It can be a table, API, dataset, event stream, semantic model, feature set or other governed data service.
The “product” language matters because it changes the success criterion from we produced data to the consumer can reliably use the data.
Data Product Characteristics
- discoverable;
- well described;
- owned;
- addressable by stable identity;
- understood by intended users;
- quality-monitored;
- secure;
- versioned;
- supported;
- measured by receiver outcome.
Product Documentation
Useful documentation can include:
- purpose;
- consumer use cases;
- schema;
- definitions;
- examples;
- known limitations;
- freshness;
- quality state;
- access route;
- owner;
- change history;
- support contact.
A technically perfect dataset with no understandable documentation is a weak product.
Discoverability
Consumers should be able to find the product in a data catalogue and distinguish it from obsolete or experimental alternatives.
See Data Catalogues and Discovery.
Product Identity
A data product should have a stable identifier or canonical address so references survive renaming or platform migration.
Stable identity also helps attach versions, incidents, ownership and lineage through time.
Contracts and Schema Registries
Schema registries can store and validate message or dataset schemas and enforce compatibility rules. They are especially useful for event-driven systems where many independent producers and consumers depend on shared structures.
A schema registry supports the contract; it does not replace semantic ownership.
Versioning Contracts
Contracts should have versions when material expectations change. The contract version should be distinct from the dataset version where appropriate.
A dataset can refresh every day under the same contract. A new contract version is needed when the promise itself changes.
See Data Versioning and Change Management.
Breaking Changes
A breaking change is one that existing consumers cannot safely absorb without modification.
Breaking changes can include:
- removing fields;
- changing types;
- changing identifiers;
- changing units;
- reusing codes for new meanings;
- changing grain;
- changing delivery time materially;
- changing data sensitivity or access requirements.
Consumers should receive enough notice and migration support to adapt safely.
Deprecation
Deprecation gives consumers a transition window before retirement. A useful deprecation notice states the replacement, deadline and migration path.
Deprecation without a retirement date often creates permanent legacy support.
Contract Testing
Contract testing checks whether producer output still satisfies agreed expectations. Tests can run before deployment and against live data.
- schema compatibility;
- required fields;
- allowed values;
- freshness;
- quality thresholds;
- reference-data compatibility;
- access and classification rules.
Testing converts the contract from documentation into an enforceable interface.
Observing Contract Health
Production telemetry should show whether the data product is meeting its contract. Useful signals include freshness, quality, availability, incident age and consumer impact.
See Data Observability and Monitoring.
Consumer Feedback
Data products should have a feedback route. Consumers often discover ambiguity and edge cases that producers cannot see from source-side monitoring.
Feedback should feed the product backlog rather than disappear into private messages.
Data Product Metrics
Useful product metrics can include:
- contract compliance;
- freshness success rate;
- quality incidents;
- time to repair;
- active consumers;
- deprecated consumers remaining;
- support requests;
- failed access requests;
- consumer satisfaction or adoption.
Usage alone is not success. A widely used product can still be unreliable.
Data Product Lifecycle
Data products should move through deliberate states:
Proposed → Experimental → Supported → Trusted → Deprecated → Retired
Lifecycle state should be visible in the catalogue so consumers know whether a product is safe for production use.
Experimental Data Products
Exploration is valuable. Not every dataset needs full production guarantees immediately. The key is to label experimental products honestly and prevent consumers from mistaking them for canonical sources.
Trusted Products
A trusted or certified data product should have clear criteria. Trust should be earned through ownership, quality, lineage, documented meaning and reliable operation.
A badge without criteria is branding, not governance.
Domain Ownership
Data-product thinking often works well when the domain closest to the meaning owns the data product while shared infrastructure handles common platform capabilities.
Domain ownership should not become domain isolation. Enterprise standards for identifiers, security, lineage and contracts are still needed.
Data Products and Architecture
Architecture determines where data products sit, which source owns each fact and how products interact through stable interfaces.
See Data Architecture.
Data Products and Security
Contracts should state sensitivity and access expectations. A consumer should not learn after integration that the dataset requires stronger controls than its environment supports.
See Data Classification and Sensitivity.
Education Example
An education organisation may publish an Attendance Data Product. The enrolment domain owns student identity and active enrolment. Attendance events arrive by a defined time. The product promises one row per student per school day, documented absence codes, known freshness and quality thresholds, and a clear access model.
Analytics teams can now build reports without guessing what “present” means or which source is authoritative.
Commerce Example
A Product Catalogue Data Product may promise canonical product identity, current lifecycle state, versioned categories and daily freshness. Consumers include e-commerce, warehouse, finance and analytics systems.
A category change becomes a managed contract event rather than an invisible local edit.
AI Example
A Retrieval Corpus Data Product may guarantee source identity, document version, access metadata, refresh cadence and removal of superseded documents. AI applications consume the product through a stable interface instead of building private shadow indexes.
The product contract protects the AI system from stale and unauthorised knowledge.
Common Failure Modes
- Schema-only contract: technical shape survives while meaning changes.
- Consumer assumptions: critical expectations remain undocumented.
- No owner: incidents and changes have no accountable route.
- Product in name only: a table is relabelled without support or lifecycle.
- Permanent experimental state: prototype datasets become production dependencies.
- Version confusion: dataset and contract versions are mixed together.
- Deprecation forever: old interfaces never retire.
- Popularity equals trust: usage substitutes for quality and lineage.
- Domain isolation: products cannot interoperate across teams.
- No feedback loop: consumer problems never change producer behaviour.
A Data Contract Checklist
- Who is the producer?
- Who are the intended consumers?
- What does one record or event represent?
- Which schema and fields are guaranteed?
- What do fields, codes and units mean?
- What freshness is promised?
- What completeness and quality thresholds apply?
- Which identifiers are stable?
- What sensitivity and access rules apply?
- Who owns incidents and support?
- How are versions managed?
- Which changes are considered breaking?
- How much notice is required?
- What deprecation and retirement route applies?
A Data Product Checklist
- Does the product have a clear purpose and user?
- Is there accountable ownership?
- Can authorised users discover it?
- Is documentation understandable?
- Are quality and freshness visible?
- Is lineage available?
- Is access controlled appropriately?
- Can consumers report issues?
- Is lifecycle state visible?
- Can the product be deprecated and retired safely?
A Maturity Ladder
- Implicit: consumers depend on undocumented behaviour.
- Documented: schema and basic expectations are written down.
- Contracted: semantics, freshness and quality are explicit.
- Tested: contracts are validated automatically.
- Productised: ownership, documentation and support are operational.
- Observable: contract health is measured in production.
- Lifecycle-managed: versions, deprecation and retirement are controlled.
- Trusted: consumers can depend on the product without local guesswork.
The Deeper Principle: Trust Is a Maintained Promise
Data trust does not emerge because a dataset exists in a modern platform. It emerges because somebody has made a promise about identity, meaning, quality and delivery—and continues to maintain that promise as systems change.
Data contracts make the promise explicit. Data products give the promise an owner, operating model and lifecycle.
Data Management Series
- Data Engineering and Pipelines
- Data Contracts and Data Products
- Data Integration and Interoperability
- Data Catalogues and Discovery
- Data Observability and Monitoring
Final idea: a data contract tells a receiver what can be trusted. A data product makes somebody responsible for keeping that trust alive across quality incidents, new consumers, changing schemas and the full lifecycle of the data service.
