Skip to content

Commit

Permalink
Create core-person.json
Browse files Browse the repository at this point in the history
  • Loading branch information
khazelton authored Jul 20, 2018
1 parent 8e60800 commit 6d7ee67
Showing 1 changed file with 99 additions and 0 deletions.
99 changes: 99 additions & 0 deletions core-person.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
{
"$id": "https://example.com/address.schema.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"description": "A representation of a person, company, organization, or place",
"type": "object",
"required": [ "familyName", "givenName" ],
"properties": {
"fn": {
"description": "Formatted Name",
"type": "string"
},
"familyName": {
"type": "string"
},
"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"
},
"email": {
"type": "object",
"properties": {
"type": {
"type": "string"
},
"value": {
"type": "string"
}
}
},
"tel": {
"type": "object",
"properties": {
"type": {
"type": "string"
},
"value": {
"type": "string"
}
}
},
"adr": { "$ref": "http://example.com/address.schema.json" },
"geo": { "$ref": "http://example.com/geographical-location.schema.json" },
"tz": {
"type": "string"
},
"photo": {
"type": "string"
},
"logo": {
"type": "string"
},
"sound": {
"type": "string"
},
"bday": {
"type": "string"
},
"title": {
"type": "string"
},
"role": {
"type": "string"
},
"org": {
"type": "object",
"properties": {
"organizationName": {
"type": "string"
},
"organizationUnit": {
"type": "string"
}
}
}
}
}

0 comments on commit 6d7ee67

Please sign in to comment.