From 2d27f89d31146724afecec8f1975a16548ada4b9 Mon Sep 17 00:00:00 2001 From: Keith Hazelton Date: Mon, 17 Aug 2020 11:32:07 -0500 Subject: [PATCH] Update minimalRegistryPerson.json --- schema/minimalRegistryPerson.json | 66 ++++++++++--------------------- 1 file changed, 21 insertions(+), 45 deletions(-) diff --git a/schema/minimalRegistryPerson.json b/schema/minimalRegistryPerson.json index e9c0725..9e128c0 100644 --- a/schema/minimalRegistryPerson.json +++ b/schema/minimalRegistryPerson.json @@ -1,6 +1,6 @@ {"title": "Minimal Registry Person Schema from Internet2 T&I", "$schema": "http://json-schema.org/draft-07/schema#", -"description": "Minimal Registry Person Schema from Internet2 T&I", +"description": "Minimal Registry Person Schema from Internet2 T&I (2020-08-17)", "type": "object", "properties": { @@ -8,51 +8,25 @@ "name": { "type": "object", "properties": { - "familyName": {"type": "string"}, - "givenName": {"type": "string"}, - "middleName": {"type": "string"}, - "nameType": {"type": "string"} + "family": {"type": "string"}, + "given": {"type": "string"}, + "middle": {"type": "string"}, + "type": {"type": "string"} } }, - - "logonId": { - "type": "string", - "description": "same as identifier/network in Core Attribute Specification. Mapped to target system ID, (__NAME__, in ConnID)" - }, - - "iamId": { - "type": "string", - "description": "same as identifier/enterprise in Core Attribute Specification; created on inbound mapping(?)" - }, - - "priorId": { + + "identifier": { "type": "array", "items": { - "type": "string" + "type": "object", + "properties": + "value": {"type": "string"}, + "type": {"type": "string"}, + "description": {"type": "string"} + } } }, - - "sorId": { - "type": "array", - "items": { - "type": "object", - "properties": { - "source": {"type": "string"}, - "id": {"type": "string"} - } - } - }, - - "subjId": { - "type": "string", - "description": "corresponds to SAML subject-id or pairwise-id and OAuth2 subject attribute" - }, - - "ePPN": { - "type": "string", - "description": "eduPersonPrincipalName, but only trustworthy for sites that do NOT reassign ePPNs once they have been assigned to some other person" - }, - + "dateOfBirth": { "type": "string", "description": "Date of birth, string representtion of dateOfBirth in Core Attribute Specification" @@ -63,19 +37,21 @@ "items": { "type": "object", "properties": { - "emailAddress": {"type": "string"}, - "emailType": {"type": "string"} } + "address": {"type": "string"}, + "type": {"type": "string"}, } + "verified": {"type": "string"} } }, - "phone": { + "telephoneNumber": { "type": "array", "description": "same as telephoneNumber in Core Attribute Specification", "items": { "type": "object", "properties": { - "phoneNumber": {"type": "string"}, - "phoneType": {"type": "string"} + "number": {"type": "string"}, + "type": {"type": "string"}, + "verified": {"type": "string"} } } },