Class Metadata (2.32.0)

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

Metadata for global schema behavior.

Attributes

Name Description
document_splitter bool
If true, a document entity type can be applied to subdocument (splitting). Otherwise, it can only be applied to the entire document (classification).
document_allow_multiple_labels bool
If true, on a given page, there can be multiple document annotations covering it.
prefixed_naming_on_properties bool
If set, all the nested entities must be prefixed with the parents.
skip_naming_validation bool
If set, we will skip the naming format validation in the schema. So the string values in DocumentSchema.EntityType.name and DocumentSchema.EntityType.Property.name will not be checked.