Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The message format is a JSON object with a single member, sorAttributes. sorAttributes, in turn, is an object whose members are from the following list of available attributes, as defined in the SOR-Registry Core Schema Specification:

  • Affiliationaddresses*
  • DateOfBirthaffiliation
  • DepartmentdateOfBirth
  • EmailAddressesdepartment
  • emailAddresses*
  • Identifiersidentifiers*
  • Namesnames*
  • Organizationorganization
  • TitletelephoneNumbers*
  • title
  • urls*
  • validFrom / validThrough

*Plural attributes may have multiple values, provided via a JSON array

...

Code Block
languagejs
titleSample Request Message
{ 
    "sorAttributes": {
        "names": [
            {
                "type": "official",
                "given": "Pat",
                "middle": "X",
                "family": "Lee"
            }
        ],
        "affiliation": "faculty",
        "organization": "School of Philosophy and Biopharmacology",
        "department": "Department of Metaphysics",
        "title": "Associate Professor of Metaphysical Microbiology",
        "dateOfBirth": "1990-04-25",
        "validFrom": "2019-09-01T00:00:00Z",
        "validThrough": "2020-08-31T23:59:59Z",
        "identifiers": [
            {
                "type": "national",
                "identifier": "541-00-3732"
            }
        ],
        "emailAddresses": [
            {
                "type": "personal",
                "address": "patxlee@email.nil",
				"verified": true
            }
        ],
        "addresses": [
            {
                "type": "home",
                "streetAddress": "3593 Red Maple Drive",
                "locality": "Los Angeles",
                "region": "CA",
                "postalCode": "90046",
                "country": "US"
            }
        ],
        "telephoneNumbers": [
            {
                "type": "home",
                "number": "323-555-1208"
            }
        ],
        "urls": [
            {
                "type": "personal",
                "url": "https://metaphysics.spb.ac.nil/plee"
            }
        ]
    }
}

PUT (Response)

The message format is a JSON object, currently with a single member: identifiers, representing a list of identifiers associated with the CO Person created by or attached to the SOR record. Additional attributes may be returned in the future.

...