DO.SR.04 RelatedPerson
DO.SR.05 RelatedPerson
This data object outlines the relationships among members within a group, such as a household or family.
Attribute
Type
Cardinality
Description
relationship_type
0...1
Type of relationship a member has with another member of the group
Example of JSON Data for the Related Person Data Object
{
"@context": {
"spdci": "https://schema.spdci.org/extensions/social/v1/",
"rdfs": "http://www.w3.org/2000/01/rdf-schema#",
"xsd": "http://www.w3.org/2001/XMLSchema#",
"owl": "http://www.w3.org/2002/07/owl#",
"common": "https://schema.spdci.org/common/v1/"
},
"@id": "https://example.org/relatedPerson/123456789",
"@type": "spdci:RelatedPerson",
"relationship_type": "Parent",
"related_member": {
"@type": "SRPerson",
"identifier": [
{
"@type": "Identifier",
"identifier_type": "UIN",
"identifier_value": "847951632"
}
],
"name":
{
"@type": "common:Name",
"surname": "Phumchai",
"given_name": "Sudarat",
"prefix": "Dr.",
"suffix": "PhD"
},
"birth_date": "1995-09-21T11:20:00",
"sex": "female",
"address": [
{
"@type": "Address",
"address_line1": "Bophut Koh Samui",
"address_line2": "Surat, Near Big Buddha Beach",
"locality": "Thani",
"sub_region_code": "SH",
"region_code": "A205",
"postal_code": "84320",
"country_code": "TH"
}
],
"phone_number": ["+66891234567"],
"email": ["[email protected]"]
}
}
https://github.com/spdci/schemas/blob/main/extensions/social/v1/RelatedPerson.jsonld
{
"@context": {
"spdci": "https://schema.spdci.org/extensions/social/v1/",
"rdfs": "http://www.w3.org/2000/01/rdf-schema#",
"xsd": "http://www.w3.org/2001/XMLSchema#",
"owl": "http://www.w3.org/2002/07/owl#",
"common": "https://schema.spdci.org/common/v1/"
},
"@id": "spdci:RelatedPerson",
"@type": "rdfs:Class",
"rdfs:comment": "This data object contains the information on people and households held in the social registry.",
"rdfs:label": "RelatedPerson",
"rdfs:subClassOf": [
{
"@type": "rdfs:Class",
"rdfs:label": "Structured Entity"
}
],
"rdfs:property": [
{
"@id": "spdci:relationship_type",
"@type": "rdfs:Datatype",
"rdfs:domain": "spdci:RelatedPerson",
"rdfs:range": "spdci:RelationshipTypeEnum",
"rdfs:comment": "The type of relationship a member has with another member of the group."
},
{
"@id": "spdci:related_member",
"@type": "rdfs:Datatype",
"rdfs:domain": "spdci:RelatedPerson",
"rdfs:range": "spdci:Person",
"rdfs:comment": "the related person object ."
}
]
}
Last updated
Was this helpful?