Examples / person-contact
person-contact.json
targets v0.17.0 4 entities 10 schemas
A contact, an employer, and a character. Person parts compose: rig.person.name, vital (sex and gender identity are different fields), contact, employment (employer is an entity), portrait (photo is an asset_ref), and rig.party.account (ISO 20022 CashAccount). The organisation carries rig.organisation.identity. Formatted name stays on rig.meta.named; postal fields stay on rig.place.address. Document createdAt is envelope metadata, not a person field.
Speaks
rig.media.asset_ref · rig.meta.named · rig.organisation.identity · rig.party.account · rig.person.contact · rig.person.employment · rig.person.name · rig.person.portrait · rig.person.vital · rig.place.address
Document
Validates under npm run check —
raw file.
{
"rig": "0.17.0",
"document": {
"title": "Person contact (ISO 20022 party)",
"createdAt": "2026-08-18"
},
"entities": [
{
"id": "analytical-engines",
"components": {
"rig.meta.named": {
"name": "Analytical Engines",
"stableId": "analytical-engines"
},
"rig.organisation.identity": {
"registrationNumber": "AE-1843"
},
"rig.place.address": {
"streetName": "St James's Square",
"buildingNumber": "12",
"townName": "London",
"postCode": "SW1Y 4LE",
"country": "GB"
}
}
},
{
"id": "ada-portrait",
"components": {
"rig.media.asset_ref": {
"kind": "image",
"path": "portraits/ada.jpg"
}
}
},
{
"id": "ada",
"components": {
"rig.meta.named": {
"name": "Ada Lovelace",
"stableId": "ada"
},
"rig.person.name": {
"givenName": "Ada",
"familyName": "Lovelace"
},
"rig.person.vital": {
"sex": "female",
"gender": "woman",
"birthDate": "1815-12-10",
"birthTown": "London",
"birthCountry": "GB",
"nationality": "GB",
"countryOfResidence": "GB"
},
"rig.person.contact": {
"email": "ada@example.org",
"phone": "+442079460000",
"preferredMethod": "email"
},
"rig.person.employment": {
"jobTitle": "Analyst",
"department": "Mathematics",
"employeeId": "AE-001",
"organisation": "analytical-engines",
"startDate": "1843-01-01"
},
"rig.person.portrait": {
"asset": "ada-portrait"
},
"rig.party.account": {
"iban": "GB82WEST12345698765432",
"accountName": "ADA LOVELACE",
"currency": "GBP",
"bic": "WESTGB2L",
"bankName": "Westminster Example Bank"
},
"rig.place.address": {
"streetName": "St James's Square",
"buildingNumber": "12",
"townName": "London",
"postCode": "SW1Y 4LE",
"country": "GB"
}
}
},
{
"id": "portia",
"components": {
"rig.meta.named": {
"name": "Portia"
},
"rig.person.name": {
"givenName": "Portia"
},
"rig.person.vital": {
"sex": "female",
"gender": "woman"
}
}
}
]
}