# [Digital](../domain.md) ## 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. ```mermaid --- config: layout: elk --- classDiagram class Party{ <> } class Person{ Date of Birth : date Preferred Name : string Country of Residence : string } Person --|> Party class Party["Party"] ``` ```yaml 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. ``` ```yaml 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. ``` ```yaml 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.