"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>
392 lines
10 KiB
Markdown
392 lines
10 KiB
Markdown
# [Digital](domain.md)
|
|
|
|
## Enums
|
|
|
|
### Party Status
|
|
|
|
Where a party sits in its lifecycle with the business.
|
|
|
|
```yaml
|
|
values:
|
|
Prospect:
|
|
description: Known to the business but no relationship has started yet
|
|
Active:
|
|
description: Party is active and may hold roles, accounts and agreements
|
|
Suspended:
|
|
description: Party is temporarily blocked from new activity pending resolution of an issue
|
|
Inactive:
|
|
description: Relationship is dormant with no recent activity
|
|
Closed:
|
|
description: Relationship has ended and no new activity is permitted
|
|
```
|
|
|
|
---
|
|
|
|
### Party Role Status
|
|
|
|
Lifecycle status of a specific role a party holds.
|
|
|
|
```yaml
|
|
values:
|
|
Pending:
|
|
description: Role created but not yet activated
|
|
Active:
|
|
description: Role is active and confers its business permissions
|
|
Suspended:
|
|
description: Role is temporarily paused
|
|
Closed:
|
|
description: Role has ended and is no longer effective
|
|
```
|
|
|
|
---
|
|
|
|
### Address Type
|
|
|
|
Structural type of an address record.
|
|
|
|
```yaml
|
|
values:
|
|
Street Address:
|
|
description: Standard physical street address
|
|
PO Box:
|
|
description: Postal box address
|
|
Registered Office:
|
|
description: Registered office address for an organisation
|
|
Overseas Address:
|
|
description: Address located outside the primary operating country
|
|
```
|
|
|
|
---
|
|
|
|
### Address Purpose
|
|
|
|
What a party uses an address for.
|
|
|
|
```yaml
|
|
values:
|
|
Home:
|
|
description: Where an individual lives
|
|
Mailing:
|
|
description: Address used for correspondence
|
|
Business:
|
|
description: Primary business operating address
|
|
Registered Office:
|
|
description: Registered legal address for an organisation
|
|
Billing:
|
|
description: Address used for billing and statement delivery
|
|
Delivery:
|
|
description: Address goods are shipped to
|
|
```
|
|
|
|
---
|
|
|
|
### Address Verification Status
|
|
|
|
Whether an address has been confirmed as real and current.
|
|
|
|
```yaml
|
|
values:
|
|
Unverified:
|
|
description: Address has not been checked
|
|
Verified:
|
|
description: Address confirmed against acceptable evidence
|
|
Failed:
|
|
description: Verification was attempted and did not succeed
|
|
Expired:
|
|
description: Verification is old enough that it is no longer relied on
|
|
```
|
|
|
|
---
|
|
|
|
### Verification Method
|
|
|
|
How an address was confirmed.
|
|
|
|
```yaml
|
|
values:
|
|
Documentary:
|
|
description: Confirmed from a document supplied by the party
|
|
Electronic:
|
|
description: Confirmed against a third-party data source
|
|
In Person:
|
|
description: Confirmed face-to-face at a service location
|
|
Self Declared:
|
|
description: Supplied by the party with no independent check
|
|
```
|
|
|
|
---
|
|
|
|
### Contact Preference
|
|
|
|
The channel a customer prefers to be contacted on.
|
|
|
|
```yaml
|
|
values:
|
|
Email:
|
|
description: Customer prefers communications delivered by email
|
|
SMS:
|
|
description: Customer prefers text message notifications
|
|
Post:
|
|
description: Customer prefers physical mail correspondence
|
|
Phone:
|
|
description: Customer prefers to be contacted by telephone call
|
|
In App:
|
|
description: Customer prefers push notifications and in-app messages
|
|
No Contact:
|
|
description: Customer has opted out of all non-essential outbound communications
|
|
```
|
|
|
|
---
|
|
|
|
### Company Legal Structure
|
|
|
|
The legal form under which an organisation is constituted. Determines who can sign, who is liable, and what the business needs on file.
|
|
|
|
```yaml
|
|
values:
|
|
Private Company:
|
|
description: Privately held limited liability company not listed on a public exchange
|
|
Public Company:
|
|
description: Company whose shares are listed and traded on a public exchange
|
|
Partnership:
|
|
description: Two or more persons carrying on a business in common
|
|
Sole Trader:
|
|
description: Unincorporated individual carrying on business in their own name
|
|
Trust:
|
|
description: Arrangement where a trustee holds assets for the benefit of beneficiaries
|
|
Cooperative:
|
|
description: Member-owned and democratically controlled organisation
|
|
Government Entity:
|
|
description: Entity owned or controlled by national, state or local government
|
|
Non-Profit:
|
|
description: Organisation operating for a purpose other than profit
|
|
```
|
|
|
|
---
|
|
|
|
### Association Type
|
|
|
|
The nature of a relationship between two parties. Used to map ownership, control and household structures.
|
|
|
|
```yaml
|
|
values:
|
|
Parent Organisation:
|
|
description: Organisation that owns or controls the related organisation
|
|
Subsidiary:
|
|
description: Organisation owned or controlled by the related organisation
|
|
Owner:
|
|
description: Individual or organisation holding an ownership interest
|
|
Director:
|
|
description: Individual appointed to the board or equivalent governing body
|
|
Authorised Signatory:
|
|
description: Individual authorised to act on behalf of an organisation
|
|
Employer:
|
|
description: Organisation that employs the related party
|
|
Employee:
|
|
description: Individual employed by the related organisation
|
|
Partner:
|
|
description: Spouse or domestic partner
|
|
Family Member:
|
|
description: Related by family
|
|
Household Member:
|
|
description: Shares a household with the related party
|
|
```
|
|
|
|
---
|
|
|
|
### Account Holder Type
|
|
|
|
How a customer holds an account.
|
|
|
|
```yaml
|
|
values:
|
|
Primary Holder:
|
|
description: The principal account owner responsible for the relationship
|
|
Joint Holder:
|
|
description: Co-owner with equal rights to the primary holder
|
|
Authorised User:
|
|
description: Permitted to use the account but without ownership rights
|
|
Guardian:
|
|
description: Acting on behalf of a minor or someone unable to act for themselves
|
|
```
|
|
|
|
---
|
|
|
|
### Account Status
|
|
|
|
Operational lifecycle state of an account.
|
|
|
|
```yaml
|
|
values:
|
|
Pending:
|
|
description: Account created but not yet activated
|
|
Active:
|
|
description: Account is open and available for use
|
|
Dormant:
|
|
description: No customer activity for an extended period
|
|
Suspended:
|
|
description: Temporarily blocked pending resolution of a dispute or overdue balance
|
|
Closed:
|
|
description: Permanently closed; no further activity is permitted
|
|
```
|
|
|
|
---
|
|
|
|
### Account Type
|
|
|
|
Classification of an account by what it is for.
|
|
|
|
```yaml
|
|
values:
|
|
Billing:
|
|
description: Account charges accrue to and invoices are raised against
|
|
Subscription:
|
|
description: Account tracking a recurring service and its billing cycle
|
|
Prepaid:
|
|
description: Account funded in advance and drawn down by usage
|
|
Wallet:
|
|
description: Stored-value account holding a spendable balance
|
|
Credit:
|
|
description: Account representing an extended line of credit
|
|
Savings:
|
|
description: Account holding funds for accumulation
|
|
Settlement:
|
|
description: Account used to settle amounts owed to a merchant or partner
|
|
Loyalty:
|
|
description: Account holding points, credits or rewards rather than money
|
|
```
|
|
|
|
---
|
|
|
|
### Agreement Status
|
|
|
|
Lifecycle state of an agreement.
|
|
|
|
```yaml
|
|
values:
|
|
Draft:
|
|
description: Created but not yet accepted by all parties
|
|
Active:
|
|
description: Fully executed and currently in force
|
|
Suspended:
|
|
description: Temporarily paused pending resolution of a dispute
|
|
Expired:
|
|
description: Reached its scheduled end date with obligations fulfilled
|
|
Terminated:
|
|
description: Ended early by agreement or under agreed termination rights
|
|
Cancelled:
|
|
description: Cancelled before it took effect
|
|
```
|
|
|
|
---
|
|
|
|
### Transaction Type
|
|
|
|
The mechanism by which value moved.
|
|
|
|
```yaml
|
|
values:
|
|
Card Payment:
|
|
description: Payment made with a debit or credit card
|
|
Bank Transfer:
|
|
description: Credit transfer between bank accounts
|
|
Direct Debit:
|
|
description: Pull payment authorised by the account holder and initiated by the biller
|
|
Direct Credit:
|
|
description: Push payment credited directly to a beneficiary account
|
|
Wallet Transfer:
|
|
description: Movement of stored value between wallet accounts
|
|
Internal Transfer:
|
|
description: Movement between two accounts held by the same business
|
|
Refund:
|
|
description: Return of value to a payer for a previous transaction
|
|
Chargeback:
|
|
description: Reversal forced by the payer's provider following a dispute
|
|
Adjustment:
|
|
description: Correction raised by the business to fix a prior error
|
|
Fee:
|
|
description: Charge raised by the business for a service
|
|
```
|
|
|
|
---
|
|
|
|
### Transaction Status
|
|
|
|
Lifecycle state of a transaction, from request to settlement.
|
|
|
|
```yaml
|
|
values:
|
|
Pending:
|
|
description: Submitted and awaiting authorisation
|
|
Authorised:
|
|
description: Authorised but not yet settled
|
|
Settled:
|
|
description: Final settlement has occurred and value has moved
|
|
Failed:
|
|
description: Could not be processed and no value moved
|
|
Reversed:
|
|
description: A previously settled transaction has been reversed
|
|
Cancelled:
|
|
description: Cancelled before settlement at the request of an authorised party
|
|
Under Review:
|
|
description: Held pending a fraud or dispute review; settlement is suspended
|
|
```
|
|
|
|
---
|
|
|
|
### Transaction Channel
|
|
|
|
Where the transaction came from.
|
|
|
|
```yaml
|
|
values:
|
|
Web:
|
|
description: Initiated through the business's website
|
|
Mobile App:
|
|
description: Initiated through the business's mobile application
|
|
Point Of Sale:
|
|
description: Initiated at a physical point-of-sale terminal
|
|
Service Location:
|
|
description: Handled by a service agent at a physical location
|
|
Contact Centre:
|
|
description: Initiated by phone or chat through the contact centre
|
|
Partner API:
|
|
description: Submitted by an authorised third party through an API
|
|
Batch:
|
|
description: Submitted as part of a scheduled bulk file
|
|
Internal System:
|
|
description: Generated automatically by an internal process, such as a recurring fee
|
|
```
|
|
|
|
---
|
|
|
|
### Currency Code
|
|
|
|
ISO 4217 alphabetic currency codes used across account balances and transaction amounts. This is a representative subset — the full ISO 4217 code list is the normative reference.
|
|
|
|
Standard: [ISO 4217 — Currency codes](https://www.iso.org/iso-4217-currency-codes.html)
|
|
|
|
```yaml
|
|
values:
|
|
AUD:
|
|
description: Australian Dollar
|
|
NZD:
|
|
description: New Zealand Dollar
|
|
USD:
|
|
description: United States Dollar
|
|
EUR:
|
|
description: Euro
|
|
GBP:
|
|
description: Pound Sterling
|
|
JPY:
|
|
description: Japanese Yen
|
|
SGD:
|
|
description: Singapore Dollar
|
|
HKD:
|
|
description: Hong Kong Dollar
|
|
CHF:
|
|
description: Swiss Franc
|
|
CAD:
|
|
description: Canadian Dollar
|
|
```
|