message contract
The written agreement about what a message contains, so sender and receiver agree without reading each other's code.
A message contract specifies a message's topic or endpoint, fields, types, units, optionality and version, and the rules for changing it compatibly.
Examples
The greenhouse contract for
gh1/gh-a1/telemetry/climatelists each field, its type, unit and whether it is required:van integer,temp_ca number in degrees Celsius,rh_pcta percentage.
See also