Files
semprini-domain-digital-dat…/data_model/entities/customer-preferences.md
T
paulandClaude Opus 5.5 f66230b1fb Rename the domain Digital Core to Digital (2.0.0)
"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>
2026-09-27 16:19:39 +13:00

2.2 KiB

Digital

Entities

Customer Preferences

Customer Preferences captures how a customer wants to be contacted and what they have agreed to be contacted about.

Consent is worth modelling explicitly rather than as a flag buried in a marketing tool. It has to be honoured across every channel the business owns, it has to be provable after the fact, and it changes independently of everything else about the customer.

---
config:
  layout: elk
---
classDiagram
  class CustomerPreferences{
    * Preference Identifier : string
    Contact Preference : enum~ContactPreference~
    Marketing Consent : boolean
    Effective From : date
  }

  Customer "1" --> "0..1" CustomerPreferences : has

  class ContactPreference["<a href='../enums.md#contact-preference'>Contact Preference</a>"]{<<enumeration>>}
  class Customer["<a href='./customer.md'>Customer</a>"]
existence: dependent
mutability: slowly_changing
attributes:
  Preference Identifier:
    type: string
    identifier: primary
    description: Unique identifier for the preference profile.

  Contact Preference:
    type: enum:Contact Preference
    description: >
      The channel the customer prefers for outbound contact. Honoured for everything except
      messages the business is obliged to send, such as a service outage or a billing notice.

  Marketing Consent:
    type: boolean
    description: >
      Whether the customer has agreed to marketing communications. Separate from contact
      preference: knowing how to reach someone is not permission to sell to them.

  Effective From:
    type: date
    description: Date the current preference set took effect.
governance:
  pii: true
  classification: Confidential
  retention: 7 years
  retention_basis: Domain default
  description: >
    Consent records are the evidence that outbound contact was permitted, so they are kept
    for the full retention period even after a customer opts out. An opt-out is a change of
    preference, never a deletion of the record that the preference changed.
  access_role:
    - CUSTOMER_SERVICE
    - MARKETING
    - PRIVACY_OFFICER

Relationships

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