RIDDL Documentation
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Context

A context definition in RIDDL represents the notion of a bounded context per DDD. Contexts are introduced with the contextkeyword and have a name, like this:

context BBQ is { ??? }

In the above, the context is named BBQ and its definition is 3 question marks. ??? means “unknown” or “to be determined”

Contained Definitions

Common

Options

A context may define options. Options help the translation tools know what to do with

Type

Types are used in bounded contexts to define messages, function input and output, the state of entities, etc. For more on type definitions see types

Specific

Context definitions are containers and they may contain definitions that are specific to being defined in a context: