Skip to content

IdentityDocument

Source code in docs_src/capo_textract/types/identity_document.py
class IdentityDocument(TypedDict, closed=True):
    document_index: NotRequired["capo_textract.types.u_integer.UInteger"]
    """<p>Denotes the placement of a document in the IdentityDocument list. The first document is marked 1, the second 2 and so on.</p>"""
    identity_document_fields: NotRequired[
        "capo_textract.types.identity_document_field_list.IdentityDocumentFieldList"
    ]
    """<p>The structure used to record information extracted from identity documents. Contains both normalized field and value of the extracted text.</p>"""
    blocks: NotRequired["capo_textract.types.block_list.BlockList"]
    """<p>Individual word recognition, as returned by document detection.</p>"""

blocks instance-attribute

blocks: NotRequired[BlockList]

Individual word recognition, as returned by document detection.

document_index instance-attribute

document_index: NotRequired[UInteger]

Denotes the placement of a document in the IdentityDocument list. The first document is marked 1, the second 2 and so on.

identity_document_fields instance-attribute

identity_document_fields: NotRequired[IdentityDocumentFieldList]

The structure used to record information extracted from identity documents. Contains both normalized field and value of the extracted text.