From 19f050d013cf44fee18c56a4e13fa4f37d93c4bc Mon Sep 17 00:00:00 2001 From: Keith Hazelton Date: Fri, 3 Apr 2020 12:22:07 -0500 Subject: [PATCH] Update core-person.json --- schema/core-person.json | 24 ++++++------------------ 1 file changed, 6 insertions(+), 18 deletions(-) diff --git a/schema/core-person.json b/schema/core-person.json index 570262c..42fdc58 100644 --- a/schema/core-person.json +++ b/schema/core-person.json @@ -1,22 +1,10 @@ -{ +{"title": "Minimal Registry Person Schema from Internet2 T&I", "$schema": "http://json-schema.org/draft-07/schema#", -"title": "JSON Schema for Minimal Registry Person from Internet2 T&I", -"description": "JSON Schema for Minimal Registry Person from Internet2 T&I", +"description": "Minimal Registry Person Schema from Internet2 T&I", "type": "object", + "properties": { - "name": {"$ref": "#/components/schemas/name"}, - "logonId": {"$ref": "#/components/schemas/logon-id"}, - "iamId": {"$ref": "#/components/schemas/iam-id"}, - "priorId": {"$ref": "#/components/schemas/prior-id"}, - "sorId": {"$ref": "#/components/schemas/sor-id"}, - "subjId": {"$ref": "#/components/schemas/subj-id"}, - "datOfBirth": {"$ref": "#/components/schemas/dateofbirth"}, - "email": {"$ref": "#/components/schemas/email"}, - "phone": {"$ref": "#/components/schemas/phone"}, - "personalPronoun": {"$ref": "#/components/schemas/personalPronoun"} -}, -"components": { - "schemas": { + "name": { "type": "object", "properties": { @@ -90,6 +78,6 @@ "personalPronoun": { "type": "string", "description": "Preferred personal pronoun"} - } + } -} + }