Class DocumentSchema (2.29.0)

DocumentSchema(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The schema defines the output of the processed document by a processor.

Attributes

Name Description
display_name str
Display name to show to users.
description str
Description of the schema.
entity_types MutableSequence[google.cloud.documentai_v1beta3.types.DocumentSchema.EntityType]
Entity types of the schema.
metadata google.cloud.documentai_v1beta3.types.DocumentSchema.Metadata
Metadata of the schema.

Classes

EntityType

EntityType(mapping=None, *, ignore_unknown_fields=False, **kwargs)

EntityType is the wrapper of a label of the corresponding model with detailed attributes and limitations for entity-based processors. Multiple types can also compose a dependency tree to represent nested types.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Metadata

Metadata(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Metadata for global schema behavior.