{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$defs": {},
  "operationId": "contentControls.getContent",
  "schemas": {
    "input": {
      "type": "object",
      "properties": {
        "target": {
          "type": "object",
          "properties": {
            "kind": {
              "enum": [
                "block",
                "inline"
              ]
            },
            "nodeType": {
              "const": "sdt"
            },
            "nodeId": {
              "type": "string"
            }
          },
          "additionalProperties": false,
          "required": [
            "kind",
            "nodeType",
            "nodeId"
          ]
        }
      },
      "additionalProperties": false,
      "required": [
        "target"
      ]
    },
    "output": {
      "type": "object",
      "properties": {
        "content": {
          "type": "string"
        },
        "format": {
          "enum": [
            "text",
            "html"
          ]
        }
      },
      "additionalProperties": false,
      "required": [
        "content",
        "format"
      ]
    }
  }
}
