Data contracts should be stored with the data generation
·1 min
Data contracts should be stored as close as possible to the place the data is generated.
That could be:
- As part of the code that generates the data (including dbt models)
- With the infrastructure as code platform
- Part of the dbt models metadata
By having it close to the data generation, it’s much more likely to be kept up to date, by those who own the data.