{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "http://smart.who.int/trust/ValueSet-Participants-DEV.schema.json",
  "title": "WHO GDHCN Trust Network Participant - DEV Schema",
  "description": "JSON Schema for WHO GDHCN Trust Network Participant - DEV 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/trust/CodeSystems/Participants-DEV"
        },
        "code": {
          "enum": [
            "WHO",
            "XCL",
            "XML",
            "XXA",
            "XXB",
            "XXC",
            "XXD",
            "XXE",
            "XXF",
            "XXG",
            "XXH",
            "XXI",
            "XXJ",
            "XXK",
            "XXO",
            "XXP",
            "XXU",
            "XXV",
            "XXX",
            "XYK"
          ]
        }
      }
    },
    {
      "properties": {
        "system": {
          "const": "http://smart.who.int/refmart/CodeSystems/REF_COUNTRY"
        },
        "code": {
          "enum": [
            "AND",
            "ARG",
            "ARM",
            "BHS",
            "BLZ",
            "BRA",
            "BRB",
            "CHL",
            "COL",
            "CRI",
            "CYP",
            "DOM",
            "ECU",
            "EST",
            "GTM",
            "HND",
            "IDN",
            "LVA",
            "OMN",
            "PAN",
            "PER",
            "PRY",
            "SGP",
            "SLV",
            "SMR",
            "SUR",
            "SVN",
            "TGO",
            "URY",
            "USA"
          ]
        }
      }
    }
  ],
  "narrative": "This schema validates Coding-shaped objects for the WHO GDHCN Trust Network Participant - DEV 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/trust/ValueSet-Participants-DEV.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/trust/ValueSet-Participants-DEV.displays.json",
  "fhir:valueSet": "http://smart.who.int/trust/ValueSet/Participants-DEV",
  "fhir:version": "1.5.0",
  "fhir:expansionTimestamp": "2026-04-27T07:15:30+00:00"
}