{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$defs": {},
  "operationId": "toc.get",
  "schemas": {
    "input": {
      "type": "object",
      "properties": {
        "target": {
          "type": "object",
          "properties": {
            "kind": {
              "const": "block"
            },
            "nodeType": {
              "const": "tableOfContents"
            },
            "nodeId": {
              "type": "string"
            }
          },
          "additionalProperties": false,
          "required": [
            "kind",
            "nodeType",
            "nodeId"
          ]
        }
      },
      "additionalProperties": false,
      "required": [
        "target"
      ]
    },
    "output": {
      "type": "object",
      "properties": {
        "nodeType": {
          "const": "tableOfContents"
        },
        "kind": {
          "const": "block"
        },
        "properties": {
          "type": "object",
          "properties": {
            "instruction": {
              "type": "string"
            },
            "sourceConfig": {
              "type": "object"
            },
            "displayConfig": {
              "type": "object"
            },
            "preservedSwitches": {
              "type": "object"
            },
            "entryCount": {
              "type": "integer"
            }
          },
          "additionalProperties": false,
          "required": [
            "instruction",
            "entryCount"
          ]
        }
      },
      "additionalProperties": false,
      "required": [
        "nodeType",
        "kind",
        "properties"
      ]
    }
  }
}
