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:
paulandClaude Opus 5 committed 2026-09-17 23:21:27 +12:00
commit cfb32d2d1b
20 files changed
+2222

No files matched your search

+114
View File
@@ -0,0 +1,114 @@
# Run by `semprini-blog-dataproducts test` against POST /rpc/canonical_party_graphql.
# It must return a `data` object and no `errors`; it does not need to return rows. The
# relationship traversals exercise the field names documented in schema.graphql.
query CanonicalPartySmoke {
partyCollection(first: 5) {
edges {
node {
partyId
partyType
legalName
partyStatus
createdAt
updatedAt
person { preferredName }
company { legalStructure }
}
}
}
addressCollection(first: 5) {
edges {
node {
addressId
addressType
city
country
createdAt
updatedAt
}
}
}
personCollection(first: 5) {
edges {
node {
personId
preferredName
createdAt
updatedAt
party { legalName }
}
}
}
companyCollection(first: 5) {
edges {
node {
companyId
companyRegistrationNumber
createdAt
updatedAt
party { legalName }
}
}
}
partyRoleCollection(first: 5) {
edges {
node {
partyRoleId
partyRoleType
roleStatus
createdAt
updatedAt
party { legalName }
customer { customerNumber }
}
}
}
customerCollection(first: 5) {
edges {
node {
customerId
customerNumber
createdAt
updatedAt
partyRole { roleStatus }
}
}
}
contactAddressCollection(first: 5) {
edges {
node {
contactAddressId
addressPurpose
isPrimary
createdAt
updatedAt
party { legalName }
address { city }
}
}
}
partyRoleContactAddressCollection(first: 5) {
edges {
node {
partyRoleContactAddressId
createdAt
updatedAt
partyRole { partyRoleType }
contactAddress { addressPurpose }
}
}
}
partyAssociationCollection(first: 5) {
edges {
node {
partyAssociationId
associationType
verified
createdAt
updatedAt
sourceParty { legalName }
targetParty { legalName }
}
}
}
}