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:

  • Affiliation
  • DateOfBirth
  • EmailAddress
  • Identifier
  • Name
  • Department
  • EmailAddresses*
  • Identifiers*
  • Names*
  • Organization
  • Title

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

The message should be sent with a Content-Type header of text/json.

Code Block
languagejs
titleSample Request Message
{ 
    "sorAttributes": {
        "names": [
            {
                "type": "official",
                "given": "Pat",
                "middle": "X",
                "family": "Lee"
            }
        ],
        "affiliation": "faculty",
        "dateOfBirth": "1990-04-25",
        "identifiers": [
            {
                "type": "national",
                "identifier": "541-00-3732"
            }
        ],
        "emailAddresses": [
            {
                "type": "personal",
                "address": "patxlee@email.nil",
				"verified": true
            }
        ]
    }
}

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.

...