capacitor-plugin-scanbot-sdk
    Preparing search index...

    Type Alias ValueConsistency

    ValueConsistency:
        | "OK"
        | "OK_PUNCTUATION_UPPER_CASE_CLEANED"
        | "OK_DEBURRED"
        | "OK_DEBURRED_EXTENDED"
        | "OK_TRUNCATED"
        | "INCONSISTENT"

    The status of the consistency verification.

    • OK: All values that correspond to the same logical field are exactly equal.
    • OK_PUNCTUATION_UPPER_CASE_CLEANED: All values that correspond to the same logical field are equal after punctuation is removed and all characters are converted to upper case.
    • OK_DEBURRED: All values that correspond to the same logical field are equal after punctuation is removed, all characters are converted to upper case and diacritics are replaced with their base characters.
    • OK_DEBURRED_EXTENDED: Same as OK_DEBURRED but allows replacing diacritics not only with their base characters but also with some more complex combinations. E.g., according to ICAO 9303 MRZ standard Ü can be replaced with U or UE or UXX.
    • OK_TRUNCATED: In addition to OK_DEBURRED_EXTENDED, allows one string to be a prefix of another string. Correctly works with complex diacritics replacements. In particular, if one string is MUEL and another is MÜLLER, then they are considered equal up to truncation.
    • INCONSISTENT: The values that correspond to the same logical field are inconsistent.

    Type Declaration

    • "OK"

      All values that correspond to the same logical field are exactly equal.

    • "OK_PUNCTUATION_UPPER_CASE_CLEANED"

      All values that correspond to the same logical field are equal after punctuation is removed and all characters are converted to upper case.

    • "OK_DEBURRED"

      All values that correspond to the same logical field are equal after punctuation is removed, all characters are converted to upper case and diacritics are replaced with their base characters.

    • "OK_DEBURRED_EXTENDED"

      Same as OK_DEBURRED but allows replacing diacritics not only with their base characters but also with some more complex combinations. E.g., according to ICAO 9303 MRZ standard Ü can be replaced with U or UE or UXX.

    • "OK_TRUNCATED"

      In addition to OK_DEBURRED_EXTENDED, allows one string to be a prefix of another string. Correctly works with complex diacritics replacements. In particular, if one string is MUEL and another is MÜLLER, then they are considered equal up to truncation.

    • "INCONSISTENT"

      The values that correspond to the same logical field are inconsistent.