Permalink
Fetching contributors…
Cannot retrieve contributors at this time
59 lines (58 sloc) 1020 Bytes
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"required": [
"entity_type",
"entity_properties"
],
"oneOf": [
{
"properties": {
"entity_type": {
"enum": [
"company"
]
},
"entity_properties": {
"$ref": "company-for-nesting.json"
}
}
},
{
"properties": {
"entity_type": {
"enum": [
"person"
]
},
"entity_properties": {
"$ref": "person.json"
}
}
},
{
"properties": {
"entity_type": {
"enum": [
"organisation"
]
},
"entity_properties": {
"$ref": "organisation.json"
}
}
},
{
"properties": {
"entity_type": {
"enum": [
"unknown"
]
},
"entity_properties": {
"$ref": "unknown-entity-type.json"
}
}
}
]
}