Domain Vision Statement

The Domain Vision Statement pattern from the “blue book” is implemented as a String attribute on the bounded context, the domain, and the subdomain.

Syntax

The following two code snippets show an example for a bounded context, a domain, and a subdomain accordingly:

BoundedContext CustomerContext {
  domainVisionStatement = "This context is responsible for ..."
}
Domain Insurance {
  domainVisionStatement = "Insurance domain vision ..."

  Subdomain Customers {
    /* subdomain specification */
  }

  Subdomain PolicyManagement {
    /* subdomain specification */
  }
}
Subdomain CustomerManagementDomain {
  type = CORE_DOMAIN
  domainVisionStatement = "Subdomain managing everything customer-related."
}