106 lines
2.5 KiB
JSON
106 lines
2.5 KiB
JSON
{
|
|
"$id": "https://example.com/card.schema.json",
|
|
"$schema": "https://json-schema.org/draft/2020-12/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": "https://json-schema.org/learn/examples/address.schema.json"
|
|
},
|
|
"geo": {
|
|
"$ref": "https://json-schema.org/learn/examples/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"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |