{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/ValueSets.schema.json",
  "title": "ValueSet Enumeration Schema",
  "description": "JSON Schema defining the structure of the ValueSet enumeration endpoint response",
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "valueset"
    },
    "count": {
      "type": "integer"
    },
    "schemas": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "filename": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "valueSetUrl": {
            "type": "string"
          },
          "codeCount": {
            "type": "integer"
          }
        },
        "required": [
          "filename",
          "title",
          "url"
        ]
      }
    }
  },
  "required": [
    "type",
    "count",
    "schemas"
  ],
  "example": {
    "type": "valueset",
    "count": 22,
    "schemas": [
      {
        "filename": "ValueSet-CDHIv2.2.schema.json",
        "id": "http://smart.who.int/base/ValueSet-CDHIv2.2.schema.json",
        "title": "Digital Health Interventions for Healthcare Providers Schema",
        "description": "JSON Schema for Digital Health Interventions for Healthcare Providers ValueSet codes. Generated from FHIR expansions using IRI format.",
        "url": "./ValueSet-CDHIv2.2.schema.json",
        "valueSetUrl": "http://smart.who.int/base/ValueSet/CDHIv2.2",
        "codeCount": 185
      },
      {
        "filename": "ValueSet-CDHIv2.1.schema.json",
        "id": "http://smart.who.int/base/ValueSet-CDHIv2.1.schema.json",
        "title": "Digital Health Interventions for Persons Schema",
        "description": "JSON Schema for Digital Health Interventions for Persons ValueSet codes. Generated from FHIR expansions using IRI format.",
        "url": "./ValueSet-CDHIv2.1.schema.json",
        "valueSetUrl": "http://smart.who.int/base/ValueSet/CDHIv2.1",
        "codeCount": 166
      },
      {
        "filename": "ValueSet-CDHIv2.3.schema.json",
        "id": "http://smart.who.int/base/ValueSet-CDHIv2.3.schema.json",
        "title": "Digital Health Interventions for Health Management and Support Personnel Schema",
        "description": "JSON Schema for Digital Health Interventions for Health Management and Support Personnel ValueSet codes. Generated from FHIR expansions using IRI format.",
        "url": "./ValueSet-CDHIv2.3.schema.json",
        "valueSetUrl": "http://smart.who.int/base/ValueSet/CDHIv2.3",
        "codeCount": 176
      },
      {
        "filename": "ValueSet-CDSCv1.schema.json",
        "id": "http://smart.who.int/base/ValueSet-CDSCv1.schema.json",
        "title": "Health System Challenges Schema",
        "description": "JSON Schema for Health System Challenges ValueSet codes. Generated from FHIR expansions using IRI format.",
        "url": "./ValueSet-CDSCv1.schema.json",
        "valueSetUrl": "http://smart.who.int/base/ValueSet/CDSCv1",
        "codeCount": 25
      },
      {
        "filename": "ValueSet-SGAuthoringPersonaTypesVS.schema.json",
        "id": "http://smart.who.int/base/ValueSet-SGAuthoringPersonaTypesVS.schema.json",
        "title": "SMART Guidelines Authoring Persona Types ValueSet Schema",
        "description": "JSON Schema for SMART Guidelines Authoring Persona Types ValueSet ValueSet codes. Generated from FHIR expansions using IRI format.",
        "url": "./ValueSet-SGAuthoringPersonaTypesVS.schema.json",
        "valueSetUrl": "http://smart.who.int/base/ValueSet/SGAuthoringPersonaTypesVS",
        "codeCount": 10
      },
      {
        "filename": "ValueSet-CDHIv1.2.schema.json",
        "id": "http://smart.who.int/base/ValueSet-CDHIv1.2.schema.json",
        "title": "Digital Health Interventions for Health Workers Schema",
        "description": "JSON Schema for Digital Health Interventions for Health Workers ValueSet codes. Generated from FHIR expansions using IRI format.",
        "url": "./ValueSet-CDHIv1.2.schema.json",
        "valueSetUrl": "http://smart.who.int/base/ValueSet/CDHIv1.2",
        "codeCount": 162
      },
      {
        "filename": "ValueSet-CDSCv2.D.schema.json",
        "id": "http://smart.who.int/base/ValueSet-CDSCv2.D.schema.json",
        "title": "Services and Application Types: Data Management Services Schema",
        "description": "JSON Schema for Services and Application Types: Data Management Services ValueSet codes. Generated from FHIR expansions using IRI format.",
        "url": "./ValueSet-CDSCv2.D.schema.json",
        "valueSetUrl": "http://smart.who.int/base/ValueSet/CDSCv2.D",
        "codeCount": 52
      },
      {
        "filename": "ValueSet-CDSCv2.C.schema.json",
        "id": "http://smart.who.int/base/ValueSet-CDSCv2.C.schema.json",
        "title": "Services and Application Types: Registries and Directories Schema",
        "description": "JSON Schema for Services and Application Types: Registries and Directories ValueSet codes. Generated from FHIR expansions using IRI format.",
        "url": "./ValueSet-CDSCv2.C.schema.json",
        "valueSetUrl": "http://smart.who.int/base/ValueSet/CDSCv2.C",
        "codeCount": 55
      },
      {
        "filename": "ValueSet-CDHIv1.schema.json",
        "id": "http://smart.who.int/base/ValueSet-CDHIv1.schema.json",
        "title": "Classification of Digital Health Interventions v1 Schema",
        "description": "JSON Schema for Classification of Digital Health Interventions v1 ValueSet codes. Generated from FHIR expansions using IRI format.",
        "url": "./ValueSet-CDHIv1.schema.json",
        "valueSetUrl": "http://smart.who.int/base/ValueSet/CDHIv1",
        "codeCount": 119
      },
      {
        "filename": "ValueSet-CoreDataElementTypeVS.schema.json",
        "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. Generated from FHIR expansions using IRI format.",
        "url": "./ValueSet-CoreDataElementTypeVS.schema.json",
        "valueSetUrl": "http://smart.who.int/base/ValueSet/CoreDataElementTypeVS",
        "codeCount": 4
      },
      {
        "filename": "ValueSet-CDHIv1.3.schema.json",
        "id": "http://smart.who.int/base/ValueSet-CDHIv1.3.schema.json",
        "title": "Digital Health Interventions for Health System Managers Schema",
        "description": "JSON Schema for Digital Health Interventions for Health System Managers ValueSet codes. Generated from FHIR expansions using IRI format.",
        "url": "./ValueSet-CDHIv1.3.schema.json",
        "valueSetUrl": "http://smart.who.int/base/ValueSet/CDHIv1.3",
        "codeCount": 154
      },
      {
        "filename": "ValueSet-SGAuthoringSkillsVS.schema.json",
        "id": "http://smart.who.int/base/ValueSet-SGAuthoringSkillsVS.schema.json",
        "title": "SMART Guidelines Authoring Skills ValueSet Schema",
        "description": "JSON Schema for SMART Guidelines Authoring Skills ValueSet ValueSet codes. Generated from FHIR expansions using IRI format.",
        "url": "./ValueSet-SGAuthoringSkillsVS.schema.json",
        "valueSetUrl": "http://smart.who.int/base/ValueSet/SGAuthoringSkillsVS",
        "codeCount": 42
      },
      {
        "filename": "ValueSet-CDSCv2.A.schema.json",
        "id": "http://smart.who.int/base/ValueSet-CDSCv2.A.schema.json",
        "title": "Services and Application Types: Point of Service Schema",
        "description": "JSON Schema for Services and Application Types: Point of Service ValueSet codes. Generated from FHIR expansions using IRI format.",
        "url": "./ValueSet-CDSCv2.A.schema.json",
        "valueSetUrl": "http://smart.who.int/base/ValueSet/CDSCv2.A",
        "codeCount": 53
      },
      {
        "filename": "ValueSet-SGPersonaTypesVS.schema.json",
        "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. Generated from FHIR expansions using IRI format.",
        "url": "./ValueSet-SGPersonaTypesVS.schema.json",
        "valueSetUrl": "http://smart.who.int/base/ValueSet/SGPersonaTypesVS",
        "codeCount": 4
      },
      {
        "filename": "ValueSet-CDHIv1.4.schema.json",
        "id": "http://smart.who.int/base/ValueSet-CDHIv1.4.schema.json",
        "title": "Digital Health Interventions: Data Services Schema",
        "description": "JSON Schema for Digital Health Interventions: Data Services ValueSet codes. Generated from FHIR expansions using IRI format.",
        "url": "./ValueSet-CDHIv1.4.schema.json",
        "valueSetUrl": "http://smart.who.int/base/ValueSet/CDHIv1.4",
        "codeCount": 136
      },
      {
        "filename": "ValueSet-CDHIv1.1.schema.json",
        "id": "http://smart.who.int/base/ValueSet-CDHIv1.1.schema.json",
        "title": "Digital Health Interventions for Clients Schema",
        "description": "JSON Schema for Digital Health Interventions for Clients ValueSet codes. Generated from FHIR expansions using IRI format.",
        "url": "./ValueSet-CDHIv1.1.schema.json",
        "valueSetUrl": "http://smart.who.int/base/ValueSet/CDHIv1.1",
        "codeCount": 143
      },
      {
        "filename": "ValueSet-CDSCv2.B.schema.json",
        "id": "http://smart.who.int/base/ValueSet-CDSCv2.B.schema.json",
        "title": "Services and Application Types: Health System/Provider Administration Schema",
        "description": "JSON Schema for Services and Application Types: Health System/Provider Administration ValueSet codes. Generated from FHIR expansions using IRI format.",
        "url": "./ValueSet-CDSCv2.B.schema.json",
        "valueSetUrl": "http://smart.who.int/base/ValueSet/CDSCv2.B",
        "codeCount": 52
      },
      {
        "filename": "ValueSet-CDHIv2.4.schema.json",
        "id": "http://smart.who.int/base/ValueSet-CDHIv2.4.schema.json",
        "title": "Digital Health Interventions: Data Services Schema",
        "description": "JSON Schema for Digital Health Interventions: Data Services ValueSet codes. Generated from FHIR expansions using IRI format.",
        "url": "./ValueSet-CDHIv2.4.schema.json",
        "valueSetUrl": "http://smart.who.int/base/ValueSet/CDHIv2.4",
        "codeCount": 163
      },
      {
        "filename": "ValueSet-CDSCv2.schema.json",
        "id": "http://smart.who.int/base/ValueSet-CDSCv2.schema.json",
        "title": "Services and Application Types Schema",
        "description": "JSON Schema for Services and Application Types ValueSet codes. Generated from FHIR expansions using IRI format.",
        "url": "./ValueSet-CDSCv2.schema.json",
        "valueSetUrl": "http://smart.who.int/base/ValueSet/CDSCv2",
        "codeCount": 43
      },
      {
        "filename": "ValueSet-DecisionTableActions.schema.json",
        "id": "http://smart.who.int/base/ValueSet-DecisionTableActions.schema.json",
        "title": "Smart Guidelines Decision Table Actions Schema",
        "description": "JSON Schema for Smart Guidelines Decision Table Actions ValueSet codes. Generated from FHIR expansions using IRI format.",
        "url": "./ValueSet-DecisionTableActions.schema.json",
        "valueSetUrl": "http://smart.who.int/base/ValueSet/DecisionTableActions",
        "codeCount": 3
      },
      {
        "filename": "ValueSet-CDSCv2.E.schema.json",
        "id": "http://smart.who.int/base/ValueSet-CDSCv2.E.schema.json",
        "title": "Services and Application Types: Surveillance and Response Schema",
        "description": "JSON Schema for Services and Application Types: Surveillance and Response ValueSet codes. Generated from FHIR expansions using IRI format.",
        "url": "./ValueSet-CDSCv2.E.schema.json",
        "valueSetUrl": "http://smart.who.int/base/ValueSet/CDSCv2.E",
        "codeCount": 46
      },
      {
        "filename": "ValueSet-CDHIv2.schema.json",
        "id": "http://smart.who.int/base/ValueSet-CDHIv2.schema.json",
        "title": "Classification of Digital Health Interventions v2 Schema",
        "description": "JSON Schema for Classification of Digital Health Interventions v2 ValueSet codes. Generated from FHIR expansions using IRI format.",
        "url": "./ValueSet-CDHIv2.schema.json",
        "valueSetUrl": "http://smart.who.int/base/ValueSet/CDHIv2",
        "codeCount": 138
      }
    ]
  }
}