{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "http://smart.who.int/base/StructureDefinition-HCert.schema.json",
  "title": "Health Certificate",
  "description": "Logical Model for the HCERT",
  "type": "object",
  "properties": {
    "resourceType": {
      "type": "string",
      "const": "HCert",
      "description": "Resource type identifier for HCert logical model"
    },
    "1": {
      "$ref": "http://smart.who.int/base/StructureDefinition-HCertDCC.schema.json",
      "description": "HCERT EU DCC"
    },
    "3": {
      "type": "array",
      "items": {
        "$ref": "http://smart.who.int/base/StructureDefinition-DDCCCoreDataSet.schema.json"
      },
      "description": "DDCC Vaccination claim (PROPOSED)"
    },
    "4": {
      "type": "array",
      "items": {
        "$ref": "http://smart.who.int/base/StructureDefinition-DDCCCoreDataSet.schema.json"
      },
      "description": "DDCC Test Result claim (PROPOSED)"
    },
    "5": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "URI of a Verifiable Health Link.  Of the form 'vhlink:/eyJ1cmwiOiJodHRwczovL2Vo....'"
    },
    "-6": {
      "type": "array",
      "items": {
        "$ref": "http://smart.who.int/base/StructureDefinition-DVC.schema.json"
      },
      "description": "Digital Vaccination Certificate (Proposed)"
    }
  },
  "required": [
    "resourceType"
  ],
  "resourceDefinition": "http://smart.who.int/trust/StructureDefinition/HCert",
  "fhir:parent": "http://hl7.org/fhir/StructureDefinition/Base"
}