"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.2 KiB
1.2 KiB
Digital
Entities
Currency
Currency is a monetary unit that amounts are expressed in. Reference data, shared by accounts, transactions and exchange rates.
---
config:
layout: elk
---
classDiagram
class Currency{
* Currency Code : string
Currency Name : string
Minor Unit : integer
}
ExchangeRate "0..*" --> "1" Currency : from
ExchangeRate "0..*" --> "1" Currency : to
class ExchangeRate["<a href='./exchange-rate.md'>Exchange Rate</a>"]
existence: independent
mutability: reference
attributes:
Currency Code:
type: string
identifier: primary
description: ISO 4217 alphabetic currency code.
Currency Name:
type: string
description: Official display name of the currency.
Minor Unit:
type: integer
description: >
Number of decimal places the currency uses. Not universally two — the Japanese yen
uses none — which is why it is stored rather than assumed.
governance:
retention_basis: Inherited from the domain default of 7 years post relationship end
Relationships
No relationships are sourced directly from Currency in the current domain model.