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>
1.2 KiB
1.2 KiB
Digital Core
Entities
Payee
A Payee is a Party Role representing the party value goes to in a transaction. Kept distinct from Merchant: every merchant being paid is a payee, but plenty of payees are not merchants — a refunded customer, an employee reimbursed, a partner receiving a share.
---
config:
layout: elk
---
classDiagram
class Payee{
* Payee Identifier : string
Beneficiary Reference : string
}
Payee --|> PartyRole
class PartyRole["<a href='./party_role.md'>Party Role</a>"]
extends: Party Role
existence: independent
mutability: slowly_changing
attributes:
Payee Identifier:
type: string
identifier: primary
description: Unique identifier for the payee role instance.
Beneficiary Reference:
type: string
description: Reference identifying the beneficiary in payment instructions.
governance:
retention_basis: Inherited from the domain default of 7 years post relationship end
Relationships
No relationships are sourced directly from Payee. The canonical direction is Transaction-owned — see Transaction Has Payee.