updatepatient

UpdatePatientInfo Schema

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "firstName": {
      "type": "string"
    },
    "lastName": {
      "type": "string"
    },
    "gender": {
      "type": "string",
      "enum": [
        "Male",
        "Female",
        "Other"
      ]
    },
    "age": {
      "type": "number",
      "minimum": 0,
      "maximum": 99
    },
    "preExistingHealthConditions": {
      "type": "string"
    }
  },
  "required": [
    "firstName",
    "lastName",
    "gender",
    "age",
    "preExistingHealthConditions"
  ]
}