Skip to main content

Bounded Context

Description

Represents a Bounded Context, a primary organizational unit in DDD, encapsulating a specific part of the domain.

Definition Schema

The definition for a bounded_context component expects the following structure:

{
"example": {
"name": "ordering"
},
"properties": {
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Name of the Bounded Context. If not provided in definition, will be derived from operation name.",
"title": "Name"
}
},
"title": "BoundedContextInputDTO",
"type": "object"
}

Naming and Location Conventions

Directory Name: snake_case (e.g., 'bounded_ctx_name'). Defines structure at/under app/application/${bounded_ctx}.

Example Definition

{
"name": "ordering"
}