MDM Academy lessons and materials are in Portuguese. You can take the program from any country, and an English version is on our roadmap, with no committed date. The certificate is issued in Brazil, in Portuguese, and is valid in Brazil. To earn it you need to follow the lessons in Portuguese.

BlogGovernance

Data contracts: what they are, how they work, and why they keep your data from breaking

Data contracts: what they are, how they work, who is responsible, and why they ensure data quality and trust for the business and for AI.

Paulo Cordeiro10 min read

Every company has lived this: a report that stopped adding up overnight. Nobody touched the dashboard, nobody changed the business rule, and still the numbers came out wrong. After hours of investigation, the discovery is always similar. Someone, in another area, renamed a field, changed a date format, or started sending the CNPJ (Brazil's company registration number) with punctuation. A technical detail on the side of whoever produces the data broke everything on the side of whoever consumes it. This is exactly the problem that data contracts set out to solve.

Data contracts are one of the topics that has grown the most in data governance discussions in recent years, along with data mesh, observability, and data fabric. And it's not a fad. It is the answer to a concrete pain that shows up every day: whoever produces the data and whoever uses the data almost never agreed on what was supposed to be delivered. In this article I explain what a data contract is, how it works in practice, who is responsible for it, which tools exist, and why this connects directly with governance and master data.

What a data contract is

A data contract is a formal agreement between whoever produces a piece of data and whoever consumes it. It explicitly defines four things: the structure (which fields exist and in what format), the semantics (what each field means), the expected quality (what is acceptable and what is not), and the availability (how often and how reliably the data arrives). Instead of being a document sitting idle on SharePoint, the modern data contract is written as code, usually in YAML or JSON, so it can be checked automatically.

The analogy I use with leadership is simple. Think of a contract with a raw material supplier. You don't receive the material and hope it works out. The contract states the specification, the deadline, the defect tolerance, and who is accountable if something falls outside it. With data it is the same logic. The team that generates the customer master commits to delivering the document field always filled in, in the same format, and validated. And the team that consumes it, whether finance, BI, or an AI model, can rely on it without checking field by field.

The central point is that the contract turns an implicit expectation into an explicit agreement. Before, everyone assumed the data would keep arriving the way it always had, without that ever being written down anywhere. When the source changed, the break only showed up further downstream, in the wrong report or the bad decision.

How it works in practice

In practice, the data contract is born from a conversation between whoever needs the data and whoever produces it. The consumer describes what they need and what for. The technical area translates that into concrete requirements: which fields, which formats, what update frequency, what level of quality. That agreement is recorded in a versioned file, the same way code is versioned.

From there comes the part that changes the game. Because the contract is in code, it becomes a rule that the machine checks on its own. Every time someone tries to change the structure of the data at the source, an automatic check warns whether that breaks the contract. If the production team decides to remove a field that finance uses, the release pipeline blocks it or raises an alert before it goes to production. And when the real data violates the contract, such as a required field that arrived empty, the system fires an alert right away, not three weeks later when the number has already reached the board.

This changes the moment at which the problem shows up. Without a contract, the error is noticed at the end of the line, usually by whoever is least to blame. With a contract, it is blocked at the source, close to whoever can fix it. It is the difference between catching the defect at receiving inspection and discovering it with the product already at the customer.

Who uses it and who is responsible

A data contract always has two sides. On one side, the producer, which is the team that owns the source of the data. It could be the team that maintains the master record system, the ERP team, the team that runs the application that generates transactions. On the other side, the consumer, which could be a data engineer building a pipeline, a data scientist training a model, or a business area that depends on that number to decide.

The formal responsibility for data is what governance calls data ownership. The contract puts it in writing. It names who the owner is, who the stakeholders are, and where to ask for support when something goes wrong. It sounds like bureaucracy, but it is the opposite. What holds governance back in most companies is precisely that nobody knows whose data it is. When the report breaks, the finger-pointing starts between IT, master records, and the business area. The data contract ends that discussion before it begins, because responsibility was already defined.

Anyone who has taken part in a data project knows the hard part is almost never the technology. It is getting agreement on who answers for what. The contract is the tool that makes that agreement concrete.

What goes into a data contract

A good contract describes a few elements. The schema, which is the structure: fields, types, and formats. The semantics, which is the meaning of each field, so nobody interprets "active customer" one way in marketing and another way in finance. The quality rules, with objective metrics such as completeness, validity, uniqueness, and null counts. And the SLA, which covers availability: how often the data is updated, how long it is retained, and what performance is expected. Add to that the administrative basics, such as unique identifier, version, owner, and support channels, and you have in the contract almost everything data governance has always asked for. The difference is that now it is in a format the machine reads and enforces.

Market tools and standards

On the standards side, the best known today is the Open Data Contract Standard, ODCS, an open framework maintained by the Linux Foundation. It defines a common format for writing contracts, which avoids being locked into a specific vendor. There is also the Data Contract Specification, along the same lines of open standardization.

On the tools side, the topic connects with the data quality and data observability ecosystem. Solutions such as Great Expectations and Soda help write and run the quality checks the contract requires. Catalog and governance platforms such as Collibra, Alation, and Microsoft Purview come in to record the semantics, lineage, and ownership. And in master data environments, MDM platforms such as Informatica, Stibo Systems, Reltio, Semarchy, Profisee, Ataccama, and SAP Master Data Governance already take care of ensuring that the delivered master data follows standard and quality rules, which is the same idea as a contract applied to the master. It is worth citing these tools neutrally: the choice depends on the size, the ecosystem, and the maturity of each company, and there is no single right answer.

Data contracts, MDM, and governance

Here is the connection that interests me most. A data contract is not a loose idea from engineering. It is data governance applied at the exact point where data changes hands, combining the four elements I have always defended: clear definition, named responsibility, a verification process, and technology that holds it all up.

And there is a special case almost everyone forgets: master data. Customer, supplier, material, product. These are the data that cut across every area and every system in the company. If a contract makes sense for any table in a pipeline, it makes even more sense for the master record that feeds procurement, sales, finance, logistics, and tax at the same time. A duplicate material or a poorly classified supplier doesn't break just one report, it breaks several, in different areas, at the same time. Applying contract logic to master data is saying that this master has a specification, an owner, and a quality bar that nobody can skip.

This connects with a point I repeat often when the subject is artificial intelligence. Enterprise AI doesn't fix bad data by magic. If the data feeding the model arrives out of standard, incomplete, or with ambiguous meaning, AI only speeds up the wrong decision. The data contract is one of the most concrete ways to ensure that what goes into the model has agreed structure, meaning, and quality. It is the foundation for trustworthy AI, not decoration.

How to learn data contracts

The study path here is more about fundamentals than tools. Before going off to write YAML, it is worth understanding governance, quality, and master data concepts well, because the data contract is their practical application. Whoever masters the quality dimensions, understands data ownership, and knows what a golden record is will pick up the topic naturally, because they already think in the right terms.

On the formal side, the market reference in data management is the DAMA body of knowledge, the DAMA-DMBOK, and the CDMP certification. They don't address the data contract under that name, but they cover everything that underpins the concept: quality, metadata, architecture, and governance. From that foundation, the practical step is to get to know the open ODCS standard and experiment with the quality and catalog tools I mentioned. Learning by doing, on a real case from your own company, is worth more than any isolated theoretical course.

Career opportunities

Demand for people who understand data governance and quality has been growing consistently, driven by AI adoption and the pressure for trustworthy data. The data contract is a skill that still few people truly master, which opens room for those who position themselves early. Roles such as data steward, data engineer, data architect, and governance specialist are the ones that touch this topic most in their day to day.

The interesting thing is that this is a skill that crosses the technical and the business. Writing a contract requires understanding both the format of the data and what the business area really needs. Whoever moves between those two worlds, translating business requirements into technical rules and vice versa, becomes a rare piece. It is the kind of profile companies look for and don't easily find.

Main questions about data contracts

Is a data contract the same as a schema? No. The schema is only the structure, the fields and formats. The contract includes the schema but goes further: it defines meaning, quality, availability, and who is responsible. The schema says what the data looks like. The contract says what you can expect from it.

Do I need an expensive tool to start? No. You can start with an open standard like ODCS and free data quality tools. The most important thing is not the tool, it is the agreement between producer and consumer. Technology supports the agreement, but it doesn't replace the conversation.

Does a data contract work for master data? It does, and perhaps that is where it pays off most. Customer, supplier, and material are data that several areas use at the same time. Putting a specification, an owner, and a quality bar on those masters keeps an error from spreading across the entire company.

Is this a topic only for the technical team? No. The technical side writes the contract, but what goes into it comes from the business need. Whoever uses the data needs to say what they expect. Without that participation, the contract becomes one more formality nobody follows.

How does it relate to data mesh? In data mesh, each domain publishes its data as a product. The data contract is the quality control for that product, the guarantee that whoever consumes it will receive something reliable and stable. One doesn't replace the other, they complement each other.

MDM Academy

The data contract is a good example of how governance stopped being theory and became day-to-day practice. And understanding this solidly requires a well-built foundation in master data, quality, and governance. That is the purpose of MDM Academy, the governance and master data school of 4MDG.

MDM Academy was created to train professionals able to solve real data problems inside companies, with a practical approach connected to the corporate world, far from the academicism that helps nobody in operations. It is where those who work with master record maintenance, governance, procurement, supply chain, and technology build the repertoire to turn bad data into trustworthy data. If you want to go deeper into data governance and MDM and position yourself in a field that only grows, it is worth getting to know MDM Academy and joining the Data Club, our community of professionals who live these challenges up close.

Conclusion

The data contract is not a new technology that came to replace governance. It is governance finally arriving at the right point: the moment data changes hands. It takes an old pain, that of discovering the problem too late, and moves the fix to where it costs the least, close to whoever produces the data.

At bottom, the lesson is the same one I learned in almost thirty years of projects. Good data doesn't happen by chance or by luck. It happens because someone agreed on what was to be delivered, put the name of a person responsible on it, and created a way to hold it to account. The data contract only gave a modern format to an old principle. And if your company still discovers its data problems through the report that doesn't add up, maybe it is time to ask who agreed on what, and where it is written down.

Want to become a data governance specialist? Talk to our specialists now and get to know MDM Academy

I want to be a student

By submitting your email, you agree to the privacy policy of MDM Academy | 4MDG.

Talk to a specialist