From 1ebc188264dcd3b4138f730a8781ef78d7fcb35a Mon Sep 17 00:00:00 2001 From: khazelton Date: Wed, 25 Jul 2018 14:58:58 -0500 Subject: [PATCH] Update core-person.json --- schema/core-person.json | 79 +++++++++++++++++++++++++++++------------ 1 file changed, 56 insertions(+), 23 deletions(-) diff --git a/schema/core-person.json b/schema/core-person.json index 7617611..3dcc63f 100644 --- a/schema/core-person.json +++ b/schema/core-person.json @@ -8,11 +8,14 @@ "name": { "$ref": "#/components/schemas/name" }, - "userName": { - "$ref": "#/components/schemas/userName" + "userLogon": { + "$ref": "#/components/schemas/userLogon" }, "institutionalId": { "$ref": "#/components/schemas/institutionalId" + }, + "priorInstId": { + "$ref": "#/components/schemas/priorInstId" }, "identifier": { "$ref": "#/components/schemas/identifier" @@ -26,6 +29,9 @@ }, "phone": { "$ref": "#/components/schemas/phone" + }, + "personalPronoun": { + "$ref": "#/components/schemas/personalPronoun" } }, "components": @@ -49,20 +55,37 @@ } } }, - "userName": { + "userLogon": { "type": "string" }, "institutionalId": { "type": "string" }, + "priorInstId": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "source": { + "type": "string" + } + } + } + }, "identifier": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "source": { - "type": "string" + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "source": { + "type": "string" + } } } }, @@ -70,27 +93,37 @@ "type": "string" }, "email": { - "type": "object", - "properties": { - "emailAddress": { + "type": "array", + "items": { + "type": "object", + "properties": { + "emailAddress": { "type": "string" }, - "emailType": { + "emailType": { "type": "string" } } - }, + } + }, "phone": { - "type": "object", - "properties": { - "phoneNumber": { - "type": "string" - }, - "phoneType": { - "type": "string" + "type": "array", + "items": { + "type": "object", + "properties": { + "phoneNumber": { + "type": "string" + }, + "phoneType": { + "type": "string" } + } + } + }, + "personalPronoun": { + "type": "string" } } } } -} +