{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "http://smart.who.int/immunizations/ValueSet-IMMZ.Z.DE22.schema.json",
  "title": "IMMZ.Z.DE22 ValueSet for Varicella-containing vaccines Schema",
  "description": "JSON Schema for IMMZ.Z.DE22 ValueSet for Varicella-containing vaccines ValueSet codes. Values are represented as Coding objects with 'system' and 'code' properties.",
  "type": "object",
  "required": [
    "system",
    "code"
  ],
  "additionalProperties": false,
  "properties": {
    "system": {
      "type": "string"
    },
    "code": {
      "type": "string"
    }
  },
  "oneOf": [
    {
      "properties": {
        "system": {
          "const": "http://smart.who.int/immunizations/CodeSystem/IMMZ.Z"
        },
        "code": {
          "enum": [
            "DE22"
          ]
        }
      }
    },
    {
      "properties": {
        "system": {
          "const": "http://id.who.int/icd/release/11/mms"
        },
        "code": {
          "enum": [
            "XM8DG3",
            "XM0NS8"
          ]
        }
      }
    },
    {
      "properties": {
        "system": {
          "const": "http://snomed.info/sct"
        },
        "code": {
          "enum": [
            "836495005",
            "2221000221107",
            "871908002"
          ]
        }
      }
    },
    {
      "properties": {
        "system": {
          "const": "http://www.whocc.no/atc"
        },
        "code": {
          "enum": [
            "J07BK",
            "J07BK01",
            "J07BD54"
          ]
        }
      }
    }
  ],
  "narrative": "This schema validates Coding-shaped objects for the IMMZ.Z.DE22 ValueSet for Varicella-containing vaccines ValueSet. Each value must be an object with 'system' (CodeSystem URI) and 'code' (fragment after '#') properties. Display values are available at http://smart.who.int/immunizations/ValueSet-IMMZ.Z.DE22.displays.json. The canonical IRI for a code can be reconstructed as system + '#' + code. For a complete listing of all ValueSets, see artifacts.html#terminology-value-sets.",
  "fhir:displays": "http://smart.who.int/immunizations/ValueSet-IMMZ.Z.DE22.displays.json",
  "fhir:valueSet": "http://smart.who.int/immunizations/ValueSet/IMMZ.Z.DE22",
  "fhir:version": "0.2.0",
  "fhir:expansionTimestamp": "2025-06-25T16:39:07.092Z"
}