GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiUiv1beta3SchemaEntityType (google_api_document_ai v0.6.0) View Source

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.

Attributes

  • baseType (type: String.t, default: nil) - Type of the entity. It can be either a value type (such as "text", "numeric", "date" and "address"), or an object type which may contain nested entities (such as "document" and "table").
  • description (type: String.t, default: nil) - Description of the entity type.
  • occurrenceType (type: String.t, default: nil) - Occurrence type limits the number of times an entity type appears in the document.
  • properties (type: list(GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiUiv1beta3SchemaEntityType.t), default: nil) - Describing the nested structure of an entity. An EntityType may consist of several other EntityTypes. For example, in a document there can be an EntityType 'ID', which consists of EntityType 'name' and 'address', with corresponding attributes, such as TEXT for both types and ONCE for occurrence types.
  • source (type: String.t, default: nil) - Source of this entity type.
  • type (type: String.t, default: nil) - Name of the type. It must be unique within the set of same level types.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() ::
  %GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiUiv1beta3SchemaEntityType{
    baseType: String.t(),
    description: String.t(),
    occurrenceType: String.t(),
    properties: [
      GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiUiv1beta3SchemaEntityType.t()
    ],
    source: String.t(),
    type: String.t()
  }

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.