{ "$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.
WORD - A word that's detected on a document page. A word is one or more ISO basic Latin script characters that aren't separated by spaces.
LINE - A string of tab-delimited, contiguous words that are detected on a document page