{ "$schema": "http://json-schema.org/draft-04/schema#", "id": "http://schemata.hasdai.org/historic-persons/historic-person-entry-v0.0.2.json", "additionalProperties": false, "title": "Historic person entry", "type": "object", "properties": { "$schema": { "description": "schema/version reference", "type": "string" }, "id": { "description": "local unique identifier", "type": "string" }, "date" : { "description" : "date of reference", "type" : "date" }, "status" : { "description" : "status of person", "type" : "string", "enum" : ["foreign resident", "captive person"] }, "name" : { "type" : "object", "properties" : { "transcription" : { "description" : "name as written", "type" :"string" }, "title": { "description": "title / salutation", "type": "string" }, "familyname": { "description": "family name", "type": "string" }, "givenname": { "description": "given name / initial", "type": "string" }, "middlenames": { "description": "other given names / initials", "type": "string" }, "postnominals": { "description": "postnominals", "type": "string" } } }, "source" : { "description" : "source", "type" : "object", "properties" : { "title" : { "description" : "title of source", "type" : "string" }, "$ref" : { "description" : "reference", "type" : "string" }, "selector" : { "page": { "number" : { "description" : "page number", "type" : "string" }, "$ref" : { "description" : "IIIF (canvas) reference", "type" : "string" } }, "position" : { "$ref" : { "description" : "annotation id reference", "type" : "string" }, "xywh" : { "description" : "xywh position in page", "type" : "string" } } } } }, "location" : { "type" : "array", "items" : { "type" : "object", "properties" : { "transcription" : { "description" : "location information as written", "type" : "string" }, "scheme": { "description" : "scheme for this location entry (tgn etc)", "type" : "string" }, "id" : { "description" : "location id", "type" : "string" }, "association" : { "description" : "description of association with the location", "type" : "string" } } } }, "set" : { "id" : { "description" : "ID", "type" : "string" }, "partof" : { "description" : "PID this dataset is a part of", "type" : "string" }, "title" : { "description" : "title of set", "type" : "string" } } }}