DocumentFieldOutput interface
An object representing the content and location of a field value.
Properties
bounding |
Bounding regions covering the field. |
confidence | Confidence of correctly extracting the field. |
content | Field content. |
spans | Location of the field in the reading order concatenated content. |
type | Data type of the field value. Possible values: "string", "date", "time", "phoneNumber", "number", "integer", "selectionMark", "countryRegion", "signature", "array", "object", "currency", "address", "boolean", "selectionGroup" |
value |
Address value. |
value |
Array of field values. |
value |
Boolean value. |
value |
3-letter country code value (ISO 3166-1 alpha-3). |
value |
Currency value. |
value |
Date value in YYYY-MM-DD format (ISO 8601). |
value |
Integer value. |
value |
Floating point value. |
value |
Dictionary of named field values. |
value |
Phone number value in E.164 format (ex. +19876543210). |
value |
Selection group value. |
value |
Selection mark value. Possible values: "selected", "unselected" |
value |
Presence of signature. Possible values: "signed", "unsigned" |
value |
String value. |
value |
Time value in hh:mm:ss format (ISO 8601). |
Property Details
boundingRegions
Bounding regions covering the field.
boundingRegions?: BoundingRegionOutput[]
Property Value
confidence
Confidence of correctly extracting the field.
confidence?: number
Property Value
number
content
Field content.
content?: string
Property Value
string
spans
Location of the field in the reading order concatenated content.
spans?: DocumentSpanOutput[]
Property Value
type
Data type of the field value.
Possible values: "string", "date", "time", "phoneNumber", "number", "integer", "selectionMark", "countryRegion", "signature", "array", "object", "currency", "address", "boolean", "selectionGroup"
type: string
Property Value
string
valueAddress
valueArray
valueBoolean
Boolean value.
valueBoolean?: boolean
Property Value
boolean
valueCountryRegion
3-letter country code value (ISO 3166-1 alpha-3).
valueCountryRegion?: string
Property Value
string
valueCurrency
valueDate
Date value in YYYY-MM-DD format (ISO 8601).
valueDate?: string
Property Value
string
valueInteger
Integer value.
valueInteger?: number
Property Value
number
valueNumber
Floating point value.
valueNumber?: number
Property Value
number
valueObject
Dictionary of named field values.
valueObject?: Record<string, DocumentFieldOutput>
Property Value
Record<string, DocumentFieldOutput>
valuePhoneNumber
Phone number value in E.164 format (ex. +19876543210).
valuePhoneNumber?: string
Property Value
string
valueSelectionGroup
Selection group value.
valueSelectionGroup?: string[]
Property Value
string[]
valueSelectionMark
Selection mark value.
Possible values: "selected", "unselected"
valueSelectionMark?: string
Property Value
string
valueSignature
Presence of signature.
Possible values: "signed", "unsigned"
valueSignature?: string
Property Value
string
valueString
String value.
valueString?: string
Property Value
string
valueTime
Time value in hh:mm:ss format (ISO 8601).
valueTime?: string
Property Value
string