{
  "openapi": "3.0.3",
  "info": {
    "title": "Knowledge graph L1: Indicator API",
    "description": "A programme indicator defined normatively at L1. Distinct from the DAK's ProgramIndicator component, which is its L2 expression; that model already carries `references 0..* id` pointing at health intervention ids. Corresponds to ProgramIndicator: same element names and types (markdown), identifier = ProgramIndicator.id; not a Parent because ProgramIndicator makes name, definition, numerator, denominator and disaggregation 1..1 and an L1 indicator is recorded with what its source states. Class IRI: http://smart.who.int/kg/indicator.",
    "version": "1.0.0"
  },
  "paths": {
    "/StructureDefinition-KGIndicator.schema.json": {
      "get": {
        "summary": "JSON Schema definition for the Logical Model StructureDefinition-KGIndicator",
        "description": "This endpoint serves the JSON Schema definition for the Logical Model StructureDefinition-KGIndicator.",
        "responses": {
          "200": {
            "description": "The JSON Schema for StructureDefinition-KGIndicator",
            "content": {
              "application/schema+json": {
                "schema": {
                  "$ref": "./StructureDefinition-KGIndicator.schema.json"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "StructureDefinition-KGIndicator": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "$id": "http://smart.who.int/base/StructureDefinition-KGIndicator.schema.json",
        "title": "Knowledge graph L1: Indicator",
        "description": "A programme indicator defined normatively at L1. Distinct from the DAK's ProgramIndicator component, which is its L2 expression; that model already carries `references 0..* id` pointing at health intervention ids. Corresponds to ProgramIndicator: same element names and types (markdown), identifier = ProgramIndicator.id; not a Parent because ProgramIndicator makes name, definition, numerator, denominator and disaggregation 1..1 and an L1 indicator is recorded with what its source states. Class IRI: http://smart.who.int/kg/indicator.",
        "type": "object",
        "properties": {
          "resourceType": {
            "type": "string",
            "const": "KGIndicator",
            "description": "Resource type identifier for KGIndicator logical model"
          },
          "identifier": {
            "type": "string",
            "description": "Identifier for the program indicator"
          },
          "name": {
            "type": "string",
            "description": "Name of the indicator"
          },
          "definition": {
            "type": "string",
            "description": "Definition of what the indicator measures"
          },
          "numerator": {
            "type": "string",
            "description": "Description of the numerator calculation"
          },
          "denominator": {
            "type": "string",
            "description": "Description of the denominator calculation"
          },
          "disaggregation": {
            "type": "string",
            "description": "Description of how the indicator should be disaggregated"
          }
        },
        "required": [
          "resourceType"
        ],
        "resourceDefinition": "http://smart.who.int/base/StructureDefinition/KGIndicator",
        "fhir:parent": "http://hl7.org/fhir/StructureDefinition/Base"
      }
    }
  }
}