{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$defs": {},
  "operationId": "info",
  "schemas": {
    "input": {
      "type": "object",
      "properties": {},
      "additionalProperties": false
    },
    "output": {
      "type": "object",
      "properties": {
        "counts": {
          "type": "object",
          "properties": {
            "words": {
              "type": "integer"
            },
            "characters": {
              "type": "integer"
            },
            "paragraphs": {
              "type": "integer"
            },
            "headings": {
              "type": "integer"
            },
            "tables": {
              "type": "integer"
            },
            "images": {
              "type": "integer"
            },
            "comments": {
              "type": "integer"
            },
            "trackedChanges": {
              "type": "integer"
            },
            "sdtFields": {
              "type": "integer"
            },
            "lists": {
              "type": "integer"
            },
            "pages": {
              "type": "integer"
            }
          },
          "additionalProperties": false,
          "required": [
            "words",
            "characters",
            "paragraphs",
            "headings",
            "tables",
            "images",
            "comments",
            "trackedChanges",
            "sdtFields",
            "lists"
          ]
        },
        "outline": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "level": {
                "type": "integer"
              },
              "text": {
                "type": "string"
              },
              "nodeId": {
                "type": "string"
              }
            },
            "additionalProperties": false,
            "required": [
              "level",
              "text",
              "nodeId"
            ]
          }
        },
        "capabilities": {
          "type": "object",
          "properties": {
            "canFind": {
              "type": "boolean"
            },
            "canGetNode": {
              "type": "boolean"
            },
            "canComment": {
              "type": "boolean"
            },
            "canReplace": {
              "type": "boolean"
            }
          },
          "additionalProperties": false,
          "required": [
            "canFind",
            "canGetNode",
            "canComment",
            "canReplace"
          ]
        },
        "revision": {
          "type": "string"
        },
        "styles": {
          "type": "object",
          "properties": {
            "paragraphStyles": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "styleId": {
                    "type": "string",
                    "description": "Style identifier (e.g. 'Normal', 'Heading1', 'BodyText')."
                  },
                  "count": {
                    "type": "integer",
                    "description": "Number of paragraphs using this style."
                  },
                  "fontFamily": {
                    "type": "string",
                    "description": "Font family used by text in this style."
                  },
                  "fontSize": {
                    "type": "number",
                    "description": "Font size in half-points used by text in this style."
                  }
                },
                "additionalProperties": false,
                "required": [
                  "styleId",
                  "count"
                ]
              },
              "description": "Paragraph styles in use, sorted by frequency (most common first)."
            }
          },
          "additionalProperties": false,
          "required": [
            "paragraphStyles"
          ],
          "description": "Styles currently in use in the document."
        },
        "defaults": {
          "type": "object",
          "properties": {
            "fontFamily": {
              "type": "string",
              "description": "Most common body text font family."
            },
            "fontSize": {
              "type": "number",
              "description": "Most common body text font size in half-points."
            },
            "styleId": {
              "type": "string",
              "description": "Most common body paragraph style ID."
            }
          },
          "additionalProperties": false,
          "description": "Document's default body text formatting. Use these values when creating new content to match existing style."
        }
      },
      "additionalProperties": false,
      "required": [
        "counts",
        "outline",
        "capabilities",
        "revision"
      ]
    }
  }
}
