LinedatLinedat
Beta

Glossary

Key Data Governance concepts explained clearly and practically

What is a Data Contract?

A Data Contract is a formal agreement between the producer and consumer of a dataset that defines the expectations and commitments around the data: what schema it will have, what quality levels the producer guarantees, how frequently it is updated, who is responsible for what, and what happens if the terms are not met.

Data Contracts emerge as a response to a common problem: changes in upstream data break downstream applications and reports without warning. Without an explicit contract, there is no way to know what constitutes a "breaking change" or who should notify whom. The contract formalizes these expectations so that both parties know exactly what to expect.

A typical Data Contract includes: schema definition (fields, types, nullable), minimum quality rules (completeness > 99%, uniqueness on field X), freshness SLAs (data updated every 4 hours), change policy (semantic versioning, notification period), and metadata about the owner, consumers, and communication channels.

Why it matters

In organizations with dozens or hundreds of data pipelines, uncoordinated changes are the main cause of incidents. A study by Monte Carlo Data reveals that data teams spend up to 40% of their time resolving quality and pipeline problems, many of them caused by uncommunicated upstream changes.

Data Contracts reduce these incidents by making expectations explicit. When a producer knows they have consumers depending on a specific schema, they think twice before renaming a column. And when a consumer knows they have a quality SLA, they can design their processes assuming that the data will meet certain standards.

How it works in practice

Data Contracts are typically defined in a machine-readable format (YAML, JSON) and integrated into the CI/CD pipeline. Before a schema change is deployed, it is validated against existing contracts. If the change violates a contract (for example, removing a column that the consumer expects), the pipeline stops and notifies the affected parties.

The lifecycle of a contract includes phases: draft (being authored), proposed (consumers review it), active (in force), and deprecated (replaced by a new version). Data governance tools automatically monitor compliance, detecting quality or freshness violations and notifying the owner.

Data Contract in Linedat

Linedat implements Data Contracts with a status system (draft, proposed, active, deprecated) and automated compliance validation. The compliance service continuously verifies that data meets contract terms and generates documented violations when breaches are detected, integrating contracts with lineage and the catalog.

FAQ

Respuestas sobre implementación y capacidades

Ideally, contracts are defined collaboratively between producer and consumer. The producer proposes the guarantees they can offer (schema, quality, freshness) and the consumer specifies the minimum requirements they need. The Data Steward or governance team mediates and formalizes the agreement. In practice, it is common for the producer to publish a base contract and consumers to request adjustments.

Implement Data Contract with Linedat

Connect your databases and in minutes get a documented catalog, visual lineage and sensitive data classified. Free to get started.