Data contract (MS)

= the format of the data communicated in an event

Used by

Components

  • Data definition (= what will be produced = e.g. fields, types…)
  • Trigggering logic (= why it is prodcued = e.g. which business logic)

Rules

  • backwards & forwards compatible

Consumption

  • Code generator to turn event data into objects and vice versa