Skip to content

Commit

Permalink
Update core-person.json
Browse files Browse the repository at this point in the history
  • Loading branch information
khazelton authored Jul 20, 2018
1 parent 738448e commit f1e6293
Showing 1 changed file with 24 additions and 5 deletions.
29 changes: 24 additions & 5 deletions core-person.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down Expand Up @@ -101,5 +101,24 @@
}
}
}
},
"components":
{
"schemas":
{
name: {
"type": "object",
"properties": {
"lastName": {
"type": "string"
},
"nameType": {
"type": "string"
}
},
"required": [
"lastName"
]
}
}
}

0 comments on commit f1e6293

Please sign in to comment.