DocumentVerificationReport

data class DocumentVerificationReport(val overallVerificationStatus: DocumentVerificationStatus, val consistencyVerificationReport: ConsistencyVerificationReport, val semanticsVerificationReport: SemanticsVerificationReport, val suspiciousDataVerificationReport: SuspiciousDataVerificationReport, val invalidDataVerificationReport: InvalidDataVerificationReport) : Parcelable

Report of the document verification.

Constructors

Link copied to clipboard
constructor(source: Map<String, Any?>)
constructor(json: JSONObject)
constructor(overallVerificationStatus: DocumentVerificationStatus, consistencyVerificationReport: ConsistencyVerificationReport, semanticsVerificationReport: SemanticsVerificationReport, suspiciousDataVerificationReport: SuspiciousDataVerificationReport, invalidDataVerificationReport: InvalidDataVerificationReport)

Properties

Link copied to clipboard

Report of the document consistency verification. Shows whether information in the fields that correspond to the same logical field and is present in different parts of the document is consistent.

Link copied to clipboard

Some fields in the documents allow validation, for example, MRZ contains check digits to verify the data. This report shows whether there are any invalid fields in the document.

Link copied to clipboard

Overall status of the document verification.

Link copied to clipboard

Report of the semantics verification. Shows whether the values in the fields are semantically correct.

Link copied to clipboard

Shows whether the data in the document is suspicious, e.g. contains word "Sample" in the name.

Functions

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