Amazon Comprehend · Schema

Geometry

Information about the location of items on a document page.

For additional information, see Geometry in the Amazon Textract API reference.

Machine LearningNatural Language ProcessingNLPText Analysis

Properties

Name Type Description
BoundingBox object
Polygon object
View JSON Schema on GitHub

JSON Schema

openapi.yml-geometry-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-comprehend/refs/heads/main/json-schema/openapi.yml-geometry-schema.json",
  "title": "Geometry",
  "description": "<p>Information about the location of items on a document page.</p> <p>For additional information, see <a href=\"https://docs.aws.amazon.com/textract/latest/dg/API_Geometry.html\">Geometry</a> in the Amazon Textract API reference.</p>",
  "type": "object",
  "properties": {
    "BoundingBox": {
      "allOf": [
        {
          "$ref": "#/components/schemas/BoundingBox"
        },
        {
          "description": "An axis-aligned coarse representation of the location of the recognized item on the document page."
        }
      ]
    },
    "Polygon": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Polygon"
        },
        {
          "description": "Within the bounding box, a fine-grained polygon around the recognized item."
        }
      ]
    }
  }
}