From 6d7ee670af5cfe00c06c38ce5f5d25804e6b3203 Mon Sep 17 00:00:00 2001 From: khazelton Date: Thu, 19 Jul 2018 20:22:18 -0500 Subject: [PATCH] Create core-person.json --- core-person.json | 99 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 99 insertions(+) create mode 100644 core-person.json diff --git a/core-person.json b/core-person.json new file mode 100644 index 0000000..7740a8b --- /dev/null +++ b/core-person.json @@ -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" + } + } + } + } +}