From a2bfd99b4e7dbb3c51ac141f3454c5627675ad09 Mon Sep 17 00:00:00 2001 From: khazelton Date: Fri, 20 Jul 2018 08:43:36 -0500 Subject: [PATCH] Update core-person.json --- core-person.json | 110 +++++++---------------------------------------- 1 file changed, 16 insertions(+), 94 deletions(-) diff --git a/core-person.json b/core-person.json index 13b1297..223190c 100644 --- a/core-person.json +++ b/core-person.json @@ -5,100 +5,24 @@ "type": "object", "required": [ "name", "email" ], "properties": { - "fn": { - "description": "Formatted Name", - "type": "string" + "name": { + "$ref": "#/components/schemas/name" }, - "name" : { - "type" : "array", - "items" : { - "$ref" : "#/components/schemas/name" - } + "userName": { + "$ref": "#/components/schemas/userName" }, - "familyName": { - "type": "string" + "institutionalId": { + "$ref": "#/components/schemas/institutionalId" }, - "givenName": { - "type": "string" - }, - "additionalName": { - "type": "array", - "items": { - "type": "string" - } - }, - "honorificPrefix": { - "type": "array", - "items": { - "type": "string" - } - }, - "honorificSuffix": { - "type": "array", - "items": { - "type": "string" - } - }, - "nickname": { - "type": "string" - }, - "url": { - "type": "string" + "birthDate": { + "$ref": "#/components/schemas/birthDate" }, "email": { - "type": "object", - "properties": { - "type": { - "type": "string" - }, - "value": { - "type": "string" - } - } - }, - "tel": { - "type": "object", - "properties": { - "type": { - "type": "string" - }, - "value": { - "type": "string" - } - } - }, - "tz": { - "type": "string" - }, - "photo": { - "type": "string" - }, - "logo": { - "type": "string" - }, - "sound": { - "type": "string" - }, - "bday": { - "type": "string" - }, - "title": { - "type": "string" + "$ref": "#/components/schemas/email" }, - "role": { - "type": "string" + "phoneNumber": { + "$ref": "#/components/schemas/phoneNumber" }, - "org": { - "type": "object", - "properties": { - "organizationName": { - "type": "string" - }, - "organizationUnit": { - "type": "string" - } - } - } }, "components": { @@ -123,6 +47,9 @@ "type": "string" } }, + "userName": { + "type": "string" + }, "institutionalId": { "type": "string" }, @@ -146,11 +73,6 @@ }, "phoneType": { "type": "string" - }, - "required": [ - "familyName" - ] + } + } } - } -} -}