"Digital Core" is to be the name of a canonical data product the domain will run, so the domain itself is Digital: its title, description and owner address in domain.md, the back-link heading of every entity, enum and product file, and the README, CLAUDE.md, Copilot instructions and package description. A breaking change by MD-DDL's test: a product generated from 1.0.0, such as Canonical Party, names its domain, and would come out different now. So version 2.0.0. v1.0.0 is tagged on the commit Canonical Party was generated from, which was never tagged. Lint: no findings. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1.5 KiB
1.5 KiB
Digital
Entities
Product
A Product is something the business sells or provides. Accounts are instances of it, and its commercial terms come from an Agreement.
Product is deliberately thin here. The catalogue — pricing tiers, features, eligibility — is a domain of its own in most businesses; what the core needs is a stable identifier to hang accounts off.
---
config:
layout: elk
---
classDiagram
class Product{
* Product Identifier : string
Product Name : string
Product Category : string
}
Product "0..*" --> "1" Agreement : in terms of
Account "0..*" --> "1" Product : holds
class Agreement["<a href='./agreement.md'>Agreement</a>"]
class Account["<a href='./account.md'>Account</a>"]
existence: independent
mutability: slowly_changing
attributes:
Product Identifier:
type: string
identifier: primary
description: Unique identifier of the product definition.
Product Name:
type: string
description: Business name of the product as customers see it.
Product Category:
type: string
description: Classification used for grouping and reporting.
governance:
retention_basis: Inherited from the domain default of 7 years post relationship end
Relationships
Product In Terms Of Agreement
A Product is offered on the terms of an Agreement template.
source: Product
type: references
target: Agreement
cardinality: many-to-one
granularity: atomic
ownership: Product