{ "$defs": { "Affiliation": { "description": "A model representing an affiliation (either education or employment).", "properties": { "name": { "title": "Name", "type": "string" }, "start": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "title": "Start Year" }, "end": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "title": "End Year" }, "role": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Role" }, "xrefs": { "additionalProperties": { "type": "string" }, "title": "Database Cross-references", "type": "object" } }, "required": [ "name" ], "title": "Affiliation", "type": "object" }, "Work": { "description": "A model representing a creative work.", "properties": { "pubmed": { "title": "PubMed identifier", "type": "string" } }, "required": [ "pubmed" ], "title": "Work", "type": "object" } }, "description": "A model representing a person.", "properties": { "orcid": { "title": "ORCID", "type": "string" }, "name": { "title": "Name", "type": "string" }, "aliases": { "items": { "type": "string" }, "title": "Aliases", "type": "array" }, "xrefs": { "additionalProperties": { "type": "string" }, "title": "Database Cross-references", "type": "object" }, "works": { "items": { "$ref": "#/$defs/Work" }, "title": "Works", "type": "array" }, "employments": { "items": { "$ref": "#/$defs/Affiliation" }, "title": "Employments", "type": "array" }, "educations": { "items": { "$ref": "#/$defs/Affiliation" }, "title": "Educations", "type": "array" }, "emails": { "items": { "type": "string" }, "title": "Emails", "type": "array" } }, "required": [ "orcid", "name" ], "title": "Record", "type": "object" }