A bounded context definition. Bounded contexts provide a definitional boundary on the language used to describe some aspect of a system. They imply a tightly integrated ecosystem of one or more microservices that share a common purpose. Context can be used to house entities, read side projectors, sagas, adaptations to other contexts, apis, and etc.
Value parameters
adaptors
Adaptors to messages from other contexts
brief
A brief description (one sentence) for use in documentation
description
An optional description of the context
entities
Entities defined for the scope of this context
functions
Features specified for the context
id
The name of the context
loc
The location of the bounded context definition
options
The options for the context
sagas
Sagas with all-or-none semantics across various entities
Compute the 'maturity' of a definition. Maturity is a score with no maximum but with scoring rules that target 100 points per definition. Maturity is broken down this way:
has a description - up to 50 points depending on # of non empty lines
has a brief description - 5 points
has options specified - 5 points
has terms defined -
has an author in or above the definition - 5 points \-
Compute the completeness of this definition. Vital definitions should have options, terms, and authors but includes are optional. Incompleteness is signalled by child definitions that are empty.