Skip to main content
Back to insights

Agree on an Integration Data Contract

An interface can pass schema validation and still confuse consumers when field meaning, timing or allowed absence is undocumented. A data contract makes those expectations reviewable.

  • Architecture
  • Integration

Arinao Tshamano7 October 20262 min read

An interface can pass schema validation and still confuse consumers when field meaning, timing or allowed absence is undocumented. A data contract makes those expectations reviewable. Two teams can agree on a field name yet disagree on its unit, allowed values or time of measurement. A data contract should make those meanings visible before records move. The contract also needs a named owner and a process for changing it without surprising consumers.

What good engineering looks like

Can a consumer understand the meaning, owner and change policy of every field it relies on? Answer this for a named workflow and an accountable team. Identify the information needed at the moment of decision, the system that can settle a dispute, and the route for correcting dependent copies. The technical design should make those business rules visible to the people who operate and support the handoff.

  • Define field meaning, type, units and whether a value may be missing.

  • Record source ownership, freshness and correction behaviour.

  • Agree on versioning, compatibility tests and a route for proposed changes.

  • A named owner for a rejected, delayed or repeated item.

  • Evidence that the receiving system applied the intended business state.

A practical starting point

  1. Choose one real case and write down its trigger, expected outcome and responsible team.

  2. Give a sample payload to a producer and consumer separately.

  3. Ask each to explain required fields, missing values, freshness, version and rejection behaviour. Then test an older consumer against a proposed change. The contract is useful when both sides can predict the same outcome.

  4. Record what the test exposed, who will resolve each open question and how the fix will be checked.

Keep the first design small enough to review with the people who run the process. Test an exception alongside the normal case. A successful transport test shows that data moved; it does not by itself prove that the receiving team can make the right decision or recover from a partial failure.

The decision to make

A contract is only useful when producers and consumers review it together and verify it against running data. Decide what level of timing, traceability and recovery this workflow actually needs. Document assumptions that remain untested and revisit the choice when a partner, process or business rule changes. The point is a dependable operating decision, not simply a working interface.

Explore Algoza's related services: https://algoza.co.za/services/integration

Apply the thinking

Working through a related technology decision?

Share the operational context, current systems, constraints, and decision you need to make.

Discuss a requirement