{ "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-comprehend/refs/heads/main/json-structure/openapi.yml-block-structure.json", "name": "Block", "description": "

Information about each word or line of text in the input document.

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

", "type": "object", "properties": { "Id": { "allOf": [ { "$ref": "#/components/schemas/String" }, { "description": "Unique identifier for the block." } ] }, "BlockType": { "allOf": [ { "$ref": "#/components/schemas/BlockType" }, { "description": "

The block represents a line of text or one word of text.

" } ] }, "Text": { "allOf": [ { "$ref": "#/components/schemas/String" }, { "description": "The word or line of text extracted from the block." } ] }, "Page": { "allOf": [ { "$ref": "#/components/schemas/Integer" }, { "description": "Page number where the block appears." } ] }, "Geometry": { "allOf": [ { "$ref": "#/components/schemas/Geometry" }, { "description": "Co-ordinates of the rectangle or polygon that contains the text." } ] }, "Relationships": { "allOf": [ { "$ref": "#/components/schemas/ListOfRelationships" }, { "description": "A list of child blocks of the current block. For example, a LINE object has child blocks for each WORD block that's part of the line of text. " } ] } } }