{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "http://smart.who.int/base/ValueSet-CoreDataElementTypeVS.schema.json",
  "title": "Core Data Element Type Value Set Schema",
  "description": "JSON Schema for Core Data Element Type Value Set ValueSet codes. Values are represented as Coding objects with 'system' and 'code' properties.",
  "type": "object",
  "required": [
    "system",
    "code"
  ],
  "additionalProperties": false,
  "properties": {
    "system": {
      "type": "string",
      "const": "http://smart.who.int/base/CodeSystem/CoreDataElementType"
    },
    "code": {
      "type": "string",
      "enum": [
        "valueset",
        "codesystem",
        "conceptmap",
        "logicalmodel"
      ]
    }
  },
  "narrative": "This schema validates Coding-shaped objects for the Core Data Element Type Value Set 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/base/ValueSet-CoreDataElementTypeVS.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/base/ValueSet-CoreDataElementTypeVS.displays.json",
  "fhir:valueSet": "http://smart.who.int/base/ValueSet/CoreDataElementTypeVS",
  "fhir:version": "0.2.0",
  "fhir:expansionTimestamp": "2026-04-01T14:12:12+00:00"
}