diff --git a/core-person.json b/core-person.json index 157a98f..68245f7 100644 --- a/core-person.json +++ b/core-person.json @@ -1,18 +1,18 @@ { - "$id": "https://example.com/address.schema.json", + "$id": "https://github.internet2.edu/TIER/schema/edit/master/core-person.json", "$schema": "http://json-schema.org/draft-07/schema#", - "description": "A representation of a person, company, organization, or place", + "description": "A core representation of a person", "type": "object", - "required": [ "familyName", "givenName" ], + "required": [ "name", "email" ], "properties": { "fn": { "description": "Formatted Name", "type": "string" }, - "inspections" : { + "name" : { "type" : "array", "items" : { - "$ref" : "#/definitions/inspection" + "$ref" : "#/definitions/schema/name" } }, "familyName": { @@ -101,5 +101,24 @@ } } } + }, + "components": + { + "schemas": + { + name: { + "type": "object", + "properties": { + "lastName": { + "type": "string" + }, + "nameType": { + "type": "string" + } + }, + "required": [ + "lastName" + ] + } } }