Field

data class Field(val type: FieldType, val value: OcrResult?, val validationStatus: ValidationStatus?)

Constructors

Link copied to clipboard
constructor(source: Map<String, Any?>)
constructor(json: JsonObject)
constructor(type: FieldType, value: OcrResult?, validationStatus: ValidationStatus?)

Properties

Link copied to clipboard

The type of the field.

Link copied to clipboard

Field validation status. Applicable only to fields that support some kind of validation.

Link copied to clipboard

Optional value of the field

Functions

Link copied to clipboard
fun toJson(): JsonObject