{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "http://smart.who.int/base/ValueSet-SGPersonaTypesVS.schema.json",
  "title": "Smart Guidelines Persona Types Value Set Schema",
  "description": "JSON Schema for Smart Guidelines Persona Types 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/SGPersonaTypes"
    },
    "code": {
      "type": "string",
      "enum": [
        "key",
        "related",
        "system",
        "hardware"
      ]
    }
  },
  "narrative": "This schema validates Coding-shaped objects for the Smart Guidelines Persona Types 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-SGPersonaTypesVS.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-SGPersonaTypesVS.displays.json",
  "fhir:valueSet": "http://smart.who.int/base/ValueSet/SGPersonaTypesVS",
  "fhir:version": "0.2.0",
  "fhir:expansionTimestamp": "2026-03-23T14:45:00+00:00"
}