"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.3 KiB
1.3 KiB
Digital
Entities
Purchase Agreement
A Purchase Agreement is a specialised Agreement covering a one-off purchase of goods or services — an order, a booking, a single licence.
It contrasts with a Subscription Agreement: a purchase completes, whereas a subscription recurs. Both are Agreements, which is why they share status, effective dates and the roles they bind.
---
config:
layout: elk
---
classDiagram
class PurchaseAgreement{
Order Reference : string
Total Amount : decimal
Fulfilment Terms : string
}
PurchaseAgreement --|> Agreement
class Agreement["<a href='./agreement.md'>Agreement</a>"]
extends: Agreement
existence: independent
mutability: slowly_changing
attributes:
Order Reference:
type: string
description: Customer-facing reference for the order this agreement covers.
Total Amount:
type: decimal
description: Total contracted amount for the purchase.
Fulfilment Terms:
type: string
description: How and when the goods or services are to be delivered.
governance:
retention_basis: Inherited from the domain default of 7 years post relationship end
Relationships
No relationships are sourced directly from Purchase Agreement in the current domain model.