Domain
A Domain represents a major business domain or department within your organization.
Key Fields
- Name: Domain identifier
- Description: Purpose and scope of this business domain
How It Works
graph LR
Company[Company] -->|contains| Domain[Domains]
Domain -->|contains| Subdomain[Subdomains]
Subdomain -->|contains| Context[Contexts]
Domains provide the top-level organizational structure:
- Sales Domain
- Operations Domain
- Finance Domain
- IT Domain
Organizational Structure
Korgraph uses a 4-level hierarchy:
- Company (root)
- Domain (major business area)
- Subdomain (sub-area within domain)
- Context (specific bounded context)
Scope Inheritance
Child elements (subdomains, contexts) can inherit:
- Business products
- Regions
- Other scope attributes
Unless explicitly overridden.
Integration
- Storage:
korgraph database, type domain
- Hierarchy: Child of
company, parent of subdomain
Tips
- Use high-level business terms (not technical terms)
- Align with organizational structure where possible
- Keep the number of domains manageable (5-15 typically)
- Use descriptions to clarify domain boundaries