{
  "$defs": {
    "IdentifierValue": {
      "additionalProperties": true,
      "properties": {
        "@id": {
          "title": "@Id",
          "type": "string"
        }
      },
      "required": [
        "@id"
      ],
      "title": "IdentifierValue",
      "type": "object"
    }
  },
  "properties": {
    "@id": {
      "title": "@Id",
      "type": "string"
    },
    "name": {
      "title": "Name",
      "type": "string"
    },
    "@type": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": "https://schema.org/Patient",
      "title": "@Type"
    },
    "sdPublisher": {
      "minLength": 4,
      "title": "Sdpublisher",
      "type": "string"
    },
    "isPartOf": {
      "anyOf": [
        {
          "items": {
            "$ref": "#/$defs/IdentifierValue"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "default": [],
      "title": "Ispartof"
    },
    "diagnosis": {
      "anyOf": [
        {
          "items": {
            "$ref": "#/$defs/IdentifierValue"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "default": [],
      "title": "Diagnosis"
    },
    "drug": {
      "anyOf": [
        {
          "items": {
            "$ref": "#/$defs/IdentifierValue"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "default": [],
      "title": "Drug"
    },
    "healthCondition": {
      "anyOf": [
        {
          "items": {
            "$ref": "#/$defs/IdentifierValue"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "default": [],
      "title": "Healthcondition"
    },
    "gender": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Gender"
    },
    "birthDate": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Birthdate"
    },
    "deathDate": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Deathdate"
    },
    "fairscapeVersion": {
      "default": "1.0.20",
      "title": "Fairscapeversion",
      "type": "string"
    }
  },
  "required": [
    "@id",
    "name",
    "sdPublisher",
    "gender"
  ],
  "title": "Patient",
  "type": "object"
}