{
  "$defs": {
    "Affiliation": {
      "description": "A model representing an affiliation (either education or employment).",
      "properties": {
        "name": {
          "title": "Name",
          "type": "string"
        },
        "start": {
          "anyOf": [
            {
              "$ref": "#/$defs/Date"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Start Year"
        },
        "end": {
          "anyOf": [
            {
              "$ref": "#/$defs/Date"
            },
            {
              "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"
    },
    "Date": {
      "description": "A model representing a date.",
      "properties": {
        "year": {
          "title": "Year",
          "type": "integer"
        },
        "month": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Month"
        },
        "day": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Day"
        }
      },
      "required": [
        "year"
      ],
      "title": "Date",
      "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": {
      "bioregistry": {
        "mappings": {
          "bartoc": "2021",
          "biocontext": "ORCID",
          "biolink": "ORCID",
          "fairsharing": "FAIRsharing.nx58jg",
          "go": "orcid",
          "miriam": "orcid",
          "n2t": "orcid",
          "wikidata": "P496"
        },
        "prefix": "orcid"
      },
      "description": "<p>This field corresponds to a local unique identifier from <i>Open Researcher and Contributor</i></a>.\n</p><h4>Provenance</h4><p>The semantics of this field are derived from the\n<a href=\"https://bioregistry.io/orcid\"><code>orcid</code></a> entry in\nthe <a href=\"https://bioregistry.io\">Bioregistry</a>: a registry of semantic web and linked\nopen data compact URI (CURIE) prefixes and URI prefixes.\n</p><h4>Description of Semantic Space</h4>ORCID (Open Researcher and Contributor ID) is an open, non-profit, community-based effort to create and maintain a registry of unique identifiers for individual researchers. ORCID records hold non-sensitive information such as name, email, organization name, and research activities.",
      "pattern": "^\\d{4}-\\d{4}-\\d{4}-\\d{3}(\\d|X)$",
      "title": "Open Researcher and Contributor",
      "type": "string"
    },
    "name": {
      "title": "Name",
      "type": "string"
    },
    "homepage": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Homepage"
    },
    "locale": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Locale"
    },
    "countries": {
      "description": "The ISO 3166-1 alpha-2 country codes (uppercase)",
      "items": {
        "pattern": "^\\w{2}$",
        "type": "string"
      },
      "title": "Countries",
      "type": "array"
    },
    "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"
    },
    "memberships": {
      "items": {
        "$ref": "#/$defs/Affiliation"
      },
      "title": "Memberships",
      "type": "array"
    },
    "emails": {
      "items": {
        "type": "string"
      },
      "title": "Emails",
      "type": "array"
    },
    "keywords": {
      "items": {
        "type": "string"
      },
      "title": "Keywords",
      "type": "array"
    },
    "commons_image": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Commons Image"
    }
  },
  "required": [
    "orcid",
    "name"
  ],
  "title": "Record",
  "type": "object"
}