Files
semprini-domain-digital-dat…/data_model/entities/person.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

2.3 KiB

Digital Core

Entities

Person

A Person is a human being. Person specialises Party, inheriting everything that is true of any party and adding what only applies to people.

The split matters because the questions you ask of a person and of an organisation are genuinely different. A person has a birthday and a name they prefer to be called; a company has a registration number and a legal structure. Forcing both into one record produces a table where most columns are empty most of the time.

---
config:
  layout: elk
---
classDiagram
  class Party{
    <<abstract>>
  }

  class Person{
    Date of Birth : date
    Preferred Name : string
    Country of Residence : string
  }

  Person --|> Party

  class Party["<a href='./party.md'>Party</a>"]
extends: Party
existence: independent
mutability: slowly_changing
attributes:
  Date of Birth:
    type: date
    pii: true
    description: >
      The individual's date of birth. Used to confirm identity, to check age eligibility for age-restricted products, and to avoid confusing two people with the same name.

  Preferred Name:
    type: string
    pii: true
    description: >
      What the person actually wants to be called, when that differs from their legal name. Used for greetings and correspondence. Getting this right is cheap and getting it wrong is conspicuous.

  Country of Residence:
    type: string
    pii: true
    description: >
      ISO 3166-1 alpha-2 code for the country the individual currently lives in. Drives tax treatment, applicable consumer law, currency defaults and delivery options.
constraints:
  Date of Birth Not In Future:
    check: "Date of Birth IS NULL OR Date of Birth <= Today"
    description: >
      A date of birth in the future is a data entry error, not a person.
governance:
  pii: true
  classification: Confidential
  retention: 7 years
  retention_basis: Domain default
  description: >
    Person carries the domain's most sensitive personal data. Date of Birth is the attribute most often requested for masking by downstream products — consumer-aligned products that only need an age band should derive one rather than publish the raw date.
  access_role:
    - CUSTOMER_SERVICE
    - PRIVACY_OFFICER

Relationships

No relationships are sourced directly from Person in the current domain model.