Share from 0:00
0:00
/

A source change broke your dashboard? Try Data Contracts Agree and Check

Done in 60 Seconds

A data contract is an agreement between the team that supplies data and the team that uses it. You agree and write down what you will accept, such as the schema, the rules and how fresh the data must be, and both sides agree it. Then you check every delivery as it arrives, so data that breaks the contract stops there and everyone can see where it broke.

That’s the short version. If you want to go deeper, these are the sources I’d start with. Andrew Jones came up with data contracts at GoCardless and explains them more plainly than anyone, Chad Sanderson wrote the article that got the rest of the data world talking about them, and Simon Harrer and Arif Wider’s guide on martinfowler.com is the place to go when you want to write one down and have code check it.

Online

  • Andrew Jones, Data contracts are a simple concept: a contract is a document describing your data that people and machines can both read, and once it holds schemas, service levels and quality rules you can automate a lot from it.

  • Andrew Jones, Improving Data Quality with Data Contracts: the 2021 GoCardless post that proposed contracts as an explicit interface between the teams that produce data and the teams that use it.

  • Shane Gibson and Andrew Jones, Data Contracts with Andrew Jones: Andrew and I talked through what a data contract is, why it matters and how to put one in place, with most of the time spent on the people and the agreement rather than the tooling.

  • Thoughtworks Technology Podcast, Data contracts: What are they and why do they matter?: Andrew Jones and Ryan Collingwood on where the idea came from, how to bring it into an organisation and why it needs teams to cooperate, with a full transcript.

  • Chad Sanderson, The Rise of Data Contracts: why production databases end up being used as APIs that nobody agreed to, and how a contract lets the source team change its system without breaking the data downstream.

  • Chad Sanderson, The Consumer-Defined Data Contract: why contracts written by the source team alone often fail, and why to start from what the people using the data need.

  • Simon Harrer and Arif Wider, Data Contracts: a long, current guide on martinfowler.com covering what goes in a contract, how to version it and how to check it automatically.

  • Bitol, Open Data Contract Standard (ODCS): an open standard from a Linux Foundation project for writing a contract down in a form that tools can read and check.

Books

  • Andrew Jones, Driving Data Quality with Data Contracts (Packt, 2023).

  • Chad Sanderson, Mark Freeman and B. E. Schmidt, Data Contracts (O’Reilly, 2025).

Follow Done in 60 Seconds on YouTube, Instagram, TikTok and Substack.

Discussion about this video

User's avatar

Ready for more?