CompositeFieldValueSemantics

data class CompositeFieldValueSemantics(val overallFieldValueSemantics: ValueSemantics, val fieldDetails: List<FieldValueSemantics>) : Parcelable

Report of a logical field value semantics verification. If some logical field, e.g. expiry date is present in multiple places in the document, it can occur that some entries are semantically correct and some are semantically incorrect. This report shows the overall status of the logical field value semantics verification and details for each field that was verified.

Constructors

Link copied to clipboard
constructor(source: Map<String, Any?>)
constructor(json: JSONObject)
constructor(overallFieldValueSemantics: ValueSemantics, fieldDetails: List<FieldValueSemantics>)

Properties

Link copied to clipboard

List of value semantics for each field corresponding to the same logical field.

Link copied to clipboard

Overall status of the logical value semantics verification. Corresponds to the most severe status of all fields, i.e. if at least one field is semantically incorrect, the overall status is semantically incorrect. If no fields are present, the overall status is SKIPPED.

Functions

Link copied to clipboard
Link copied to clipboard
fun toJson(config: ToJsonConfiguration = ToJsonConfiguration.default()): JSONObject