Files
semprini-domain-digital-dat…/data_model/entities/subscription-agreement.md
T
paulandClaude Opus 5 aeba56e5f2 Add the Digital Core domain model from semprini-blog-dataproducts
The MD-DDL model (domain, entities, enums, the Canonical Party product
declaration) moves into its own repository, owned by the domain's modelling
team. Engineering teams consume its product declarations and generate products
from semprini-data-product-templates.

Adds the MD-DDL agent wrappers (md-ddl init), pyproject with md-ddl, and
README/CLAUDE.md describing the team split and the handoff interface.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-17 22:51:50 +12:00

54 lines
1.3 KiB
Markdown

# [Digital Core](../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.