Add Canonical Party as generated in semprini-blog-dataproducts
The canonical data product for the Digital Core domain, copied unchanged from the blog repository's products/canonical-party (generated by /agent-product from data_model/data_products/canonical.md, 65 of 65 checks on the blog's stack on 2026-09-09). The next commit adapts it to the domain platform. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
commit
cfb32d2d1b
20 files changed
+2222
No files matched your search
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "urn:digital-core:canonical-party:person",
|
||||
"title": "Person",
|
||||
"description": "A Person is a human being. Person specialises Party, inheriting everything that is true of any party and adding what only applies to people. Canonical record published by Canonical Party. Property names are the ODS column names. Used for both the inbound topic (records producers publish) and the compacted outbound topic (every change, keyed by person_id).",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["person_id"],
|
||||
"properties": {
|
||||
"person_id": {
|
||||
"type": "string",
|
||||
"format": "uuid",
|
||||
"description": "The Party Identifier of the party this person extends (extends Party)."
|
||||
},
|
||||
"date_of_birth": {
|
||||
"type": ["string", "null"],
|
||||
"format": "date",
|
||||
"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", "null"],
|
||||
"description": "What the person actually wants to be called, when that differs from their legal name. Used for greetings and correspondence."
|
||||
},
|
||||
"country_of_residence": {
|
||||
"type": ["string", "null"],
|
||||
"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."
|
||||
},
|
||||
"created_at": {
|
||||
"type": ["string", "null"],
|
||||
"format": "date-time",
|
||||
"description": "Set by the ODS. Optional on the inbound topic."
|
||||
},
|
||||
"updated_at": {
|
||||
"type": ["string", "null"],
|
||||
"format": "date-time",
|
||||
"description": "Set by the ODS on every change. Optional on the inbound topic."
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user