What is Data Contract?
Data contract is a formal, versioned agreement between a data producer (like a scraping pipeline) and a downstream consumer regarding the schema, semantics, and quality of the delivered dataset. It moves validation upstream, ensuring that structural drift—like a price field changing from an integer to a string—is caught and quarantined before it pollutes the data warehouse. Without a contract, your pipeline is just throwing JSON over the wall and hoping the analytics team doesn't notice the breakage.