Standard Operating Procedure
sop-schema-2.0.0
Schema
The schema layer is the layer where the the data format is declared - the structure of the data. The schema layer is primarily expected to define policy rules related to the data strauctures, and secondarily to document the datastructure.
The schema definition is where the modelling work of the data structure is finalized, and serves as a library to lookup the message body of data transfer objects.
The different subsetss of schema are:
Entity
- the identifiable objects within the domain.Event
- in name describes something that has happen, and where the schma defines the resulting data of what has happend.Query
- the input model to commands.Value
- a value-object is an attributed value that does not have a specific identification in the domain.