View Source GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta3DocumentSchema (google_api_document_ai v0.39.0)

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

Attributes

  • description (type: String.t, default: nil) - Description of the schema.
  • displayName (type: String.t, default: nil) - Display name to show to users.
  • entityTypes (type: list(GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta3DocumentSchemaEntityType.t), default: nil) - Entity types of the schema.
  • metadata (type: GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta3DocumentSchemaMetadata.t, default: nil) - Metadata of the schema.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta3DocumentSchema{
    description: String.t() | nil,
    displayName: String.t() | nil,
    entityTypes:
      [
        GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta3DocumentSchemaEntityType.t()
      ]
      | nil,
    metadata:
      GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta3DocumentSchemaMetadata.t()
      | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.