Amazon Textract · Schema

DocumentAnalysis

Response object containing the results of document text detection or analysis, including detected blocks of text, tables, and forms.

Document ProcessingMachine-LearningOCR

Properties

Name Type Description
DocumentMetadata object Metadata about the document.
Blocks array The items detected in the document.
AnalyzeDocumentModelVersion string The version of the model used to analyze the document.
View JSON Schema on GitHub

JSON Schema

amazon-textract-document-analysis-schema.json Raw ↑
{
  "type": "object",
  "description": "Response object containing the results of document text detection or analysis, including detected blocks of text, tables, and forms.",
  "properties": {
    "DocumentMetadata": {
      "type": "object",
      "description": "Metadata about the document.",
      "properties": {
        "Pages": {
          "type": "integer",
          "description": "The number of pages detected in the document."
        }
      }
    },
    "Blocks": {
      "type": "array",
      "description": "The items detected in the document.",
      "items": {
        "type": "object",
        "properties": {
          "BlockType": {
            "type": "string",
            "description": "The type of text item detected.",
            "enum": [
              "KEY_VALUE_SET",
              "PAGE",
              "LINE",
              "WORD",
              "TABLE",
              "CELL",
              "SELECTION_ELEMENT",
              "MERGED_CELL",
              "TITLE",
              "QUERY",
              "QUERY_RESULT",
              "SIGNATURE",
              "TABLE_TITLE",
              "TABLE_FOOTER",
              "LAYOUT_TEXT",
              "LAYOUT_TITLE",
              "LAYOUT_HEADER",
              "LAYOUT_FOOTER",
              "LAYOUT_SECTION_HEADER",
              "LAYOUT_PAGE_NUMBER",
              "LAYOUT_LIST",
              "LAYOUT_FIGURE",
              "LAYOUT_TABLE",
              "LAYOUT_KEY_VALUE"
            ]
          },
          "Confidence": {
            "type": "number",
            "format": "float",
            "description": "The confidence score for the detected block."
          },
          "Text": {
            "type": "string",
            "description": "The word or line of text recognized."
          },
          "Geometry": {
            "type": "object",
            "properties": {
              "BoundingBox": {
                "type": "object",
                "properties": {
                  "Width": {
                    "type": "number"
                  },
                  "Height": {
                    "type": "number"
                  },
                  "Left": {
                    "type": "number"
                  },
                  "Top": {
                    "type": "number"
                  }
                }
              },
              "Polygon": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "X": {
                      "type": "number"
                    },
                    "Y": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          },
          "Id": {
            "type": "string",
            "description": "The identifier for the recognized text block."
          },
          "Relationships": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "Type": {
                  "type": "string",
                  "enum": [
                    "VALUE",
                    "CHILD",
                    "COMPLEX_FEATURES",
                    "MERGED_CELL",
                    "TITLE",
                    "ANSWER",
                    "TABLE",
                    "TABLE_TITLE",
                    "TABLE_FOOTER"
                  ]
                },
                "Ids": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "Page": {
            "type": "integer",
            "description": "The page on which the block was detected."
          }
        }
      }
    },
    "AnalyzeDocumentModelVersion": {
      "type": "string",
      "description": "The version of the model used to analyze the document."
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "DocumentAnalysis"
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/amazon-textract-document-analysis"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.