LogoLogo
WebsiteGitHubSlack
Social Registry v1.0.0
Social Registry v1.0.0
  • Social Registry and SP-MIS Interface
    • Introduction
    • Assumptions
    • Exception Handling
    • Social Registry with SP-MIS Standards
      • Process
        • PRS.SR.01: SP-MIS queries the social registry to verify eligibility for programme enrolment
          • Example 1: Unconditional Household Cash Transfer Scheme
          • Example 2: Widow Cash Transfer Scheme
          • Example 3: Conditional Girl’s Education Cash Transfer Scheme
          • Example 4: Conditional Child Benefit Cash Transfer Scheme
        • PRS.SR.02: SP-MIS updates attributes for a batch of beneficiaries in the social registry
          • Example 1: Conditional Girl’s Education Cash Transfer Scheme
        • PRS.SR.03: Social registry updates attributes for a batch of beneficiaries in SP-MIS
          • Example 1 : Conditional Child Benefit Cash Transfer Scheme
        • PRS.SR.04: Social registry updates attributes for a batch of beneficiaries in the IBR
      • Data
        • Data Objects
          • DO.SR.01 Person
          • DO.SR.02 Group
          • DO.SR.03 Member
          • DO.SR.04 RelatedPerson
          • DO.SR.05 DisabilityInfo
        • Code Directory
          • CD.COM.01 identifier_type
          • CD.COM.02 marital_status
          • CD.COM.03 sex
          • CD.COM.07: relationship_type
          • CD.COM.10: disability_type
          • CD.COM.11: functional_limitation_type
          • CD.COM.12: functional_severity
          • CD.COM.17: education_level
          • CD.SR.02 employment_status
          • CD.SR.03 income_level
          • CD.SR.04 occupation
        • Data Types and Formats
          • DF.COM.STRING.01 date_time
          • DF.COM.STRING.02 phone_number
          • DF.COM.STRING.07 email
          • DT.COM.03 integer
          • DT.COM.02 string
          • DT.COM.04 decimal
          • DT.COM.05 array
          • Copy of DT.COM.05 array
          • DT.COM.06 boolean
      • API
        • Design Principles
        • Versioning
        • Methods
          • API.COM.01 ASY Search (Async approach)
          • API.COM.01 SYN Search (Sync approach)
          • API.COM.02 Event Subscription
          • API.COM.03 Event Notification
          • API.COM.04 ASY Status (Async approach)
          • API.COM.04 SYN Status (Sync approach)
    • Previous Versions
  • Resources
    • Interoperability in Action #6
    • Standards Committee & Acknowledgments
Powered by GitBook
On this page
  • DO.SR.05 RelatedPerson
  • Example of JSON Data for the Related Person Data Object

Was this helpful?

  1. Social Registry and SP-MIS Interface
  2. Social Registry with SP-MIS Standards
  3. Data
  4. Data Objects

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

related_member

0...1

Member related to a member

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": ["sudarat.phumchai@example.com"]
  }
}

Last updated 2 months ago

Was this helpful?

DO.SR.01 Person
CD.COM.07 relationship_type
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 ."
      }
    ]
  }