{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "http://smart.who.int/base/StructureDefinition-ICVPEvent.schema.json",
  "title": "ICVP (single)",
  "description": "ICVP for a single vaccincation event",
  "type": "object",
  "properties": {
    "resourceType": {
      "type": "string",
      "const": "ICVPEvent",
      "description": "Resource type identifier for ICVPEvent logical model"
    },
    "ICVP": {
      "type": "array",
      "items": {
        "type": "object",
        "description": "FHIR "
      },
      "description": "Data elements for the Model International Certificate of Vaccination or Prophylaxis."
    },
    "name": {
      "type": "string",
      "description": "The full name of the client"
    },
    "dob": {
      "type": "string",
      "format": "date",
      "description": "Date of Birth"
    },
    "sex": {
      "type": "string",
      "description": "Sex"
    },
    "nationality": {
      "type": "string",
      "description": "Nationality"
    },
    "nid": {
      "type": "object",
      "description": "National Identification Document"
    },
    "ndt": {
      "$ref": "ValueSet-v2-0203|2.0.0.schema.json",
      "description": "National ID Document Type"
    },
    "guardian": {
      "type": "string",
      "description": "Name of Parent or Guardian"
    },
    "issuer": {
      "type": "object",
      "description": "Document issuer"
    },
    "vaccineDetails": {
      "$ref": "http://smart.who.int/base/StructureDefinition-ICVPVaccineDetails.schema.json",
      "description": "Vaccine Details"
    }
  },
  "required": [
    "resourceType",
    "name",
    "dob",
    "vaccineDetails"
  ],
  "resourceDefinition": "http://smart.who.int/icvp/StructureDefinition/ICVPEvent",
  "fhir:parent": "http://smart.who.int/icvp/StructureDefinition/ICVP|0.2.0"
}