"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>
54 lines
1.3 KiB
Markdown
54 lines
1.3 KiB
Markdown
# [Digital](../domain.md)
|
|
|
|
## Entities
|
|
|
|
### Subscription Agreement
|
|
|
|
A Subscription Agreement is a specialised Agreement covering a recurring service billed on a cycle — a streaming plan, a phone plan, a maintenance contract, a SaaS seat.
|
|
|
|
What distinguishes it from a one-off purchase is that it keeps charging until somebody stops it, so the cycle, the amount and any minimum term are the terms that matter.
|
|
|
|
```mermaid
|
|
---
|
|
config:
|
|
layout: elk
|
|
---
|
|
classDiagram
|
|
class SubscriptionAgreement{
|
|
Billing Cycle : string
|
|
Recurring Amount : decimal
|
|
Minimum Term Months : integer
|
|
}
|
|
|
|
SubscriptionAgreement --|> Agreement
|
|
|
|
class Agreement["<a href='./agreement.md'>Agreement</a>"]
|
|
```
|
|
|
|
```yaml
|
|
extends: Agreement
|
|
existence: independent
|
|
mutability: slowly_changing
|
|
attributes:
|
|
Billing Cycle:
|
|
type: string
|
|
description: How often the subscription is billed, such as monthly or annually.
|
|
|
|
Recurring Amount:
|
|
type: decimal
|
|
description: Amount charged each billing cycle.
|
|
|
|
Minimum Term Months:
|
|
type: integer
|
|
description: Minimum committed term in months, if any.
|
|
```
|
|
|
|
```yaml
|
|
governance:
|
|
retention_basis: Inherited from the domain default of 7 years post relationship end
|
|
```
|
|
|
|
## Relationships
|
|
|
|
No relationships are sourced directly from Subscription Agreement in the current domain model.
|