{
  "openapi": "3.0.3",
  "info": {
    "title": "Knowledge graph L1: Publication section API",
    "description": "A chapter, annex or numbered section. Recommendations are located by section and page, which is what makes an extraction checkable. Class IRI: http://smart.who.int/kg/publication-section.",
    "version": "1.0.0"
  },
  "paths": {
    "/StructureDefinition-KGPublicationSection.schema.json": {
      "get": {
        "summary": "JSON Schema definition for the Logical Model StructureDefinition-KGPublicationSection",
        "description": "This endpoint serves the JSON Schema definition for the Logical Model StructureDefinition-KGPublicationSection.",
        "responses": {
          "200": {
            "description": "The JSON Schema for StructureDefinition-KGPublicationSection",
            "content": {
              "application/schema+json": {
                "schema": {
                  "$ref": "./StructureDefinition-KGPublicationSection.schema.json"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "StructureDefinition-KGPublicationSection": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "$id": "http://smart.who.int/base/StructureDefinition-KGPublicationSection.schema.json",
        "title": "Knowledge graph L1: Publication section",
        "description": "A chapter, annex or numbered section. Recommendations are located by section and page, which is what makes an extraction checkable. Class IRI: http://smart.who.int/kg/publication-section.",
        "type": "object",
        "properties": {
          "resourceType": {
            "type": "string",
            "const": "KGPublicationSection",
            "description": "Resource type identifier for KGPublicationSection logical model"
          },
          "heading": {
            "type": "string",
            "description": "The section heading, verbatim."
          },
          "number": {
            "type": "string",
            "description": "The section number as printed (\"1.2\", \"Annex 3\")."
          },
          "pageRange": {
            "type": "string",
            "description": "PDF page or page range the section occupies (\"12-18\")."
          }
        },
        "required": [
          "resourceType"
        ],
        "resourceDefinition": "http://smart.who.int/base/StructureDefinition/KGPublicationSection",
        "fhir:parent": "http://hl7.org/fhir/StructureDefinition/Base"
      }
    }
  }
}