# 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.

<table><thead><tr><th width="250">Attribute</th><th width="171">Type</th><th width="122">Cardinality</th><th>Description</th></tr></thead><tbody><tr><td>relationship_type</td><td><a data-mention href="https://app.gitbook.com/s/F9fu0tIY1rJUsF03WdAv/standards-for-interoperability-interfaces/common-standards-for-interoperability-interfaces/data/code-directory/cd.com.07-relationship_type">CD.COM.07 relationship_type</a></td><td>0...1</td><td>Type of relationship a member has with another member of the group</td></tr><tr><td>related_member</td><td><a data-mention href="https://app.gitbook.com/s/F9fu0tIY1rJUsF03WdAv/standards-for-interoperability-interfaces/common-standards-for-interoperability-interfaces/data/data-objects/do.com.08-person">DO.COM.08 Person</a></td><td>0...1</td><td>Member related to a member </td></tr></tbody></table>

## Example of JSON Data for the Related Person Data Object

```json
{
  "@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"]
  }
}

```

{% @github-files/github-code-block url="<https://github.com/spdci/schemas/blob/main/extensions/social/v1/RelatedPerson.jsonld>" %}
