Validation
public enum Validation : UInt32
Optional AI validation procedures that may be applied to detect invalid inputs.
These validation procedures are applied when AI data is provided using
setAIdataStr(_:), setDataStr(_:) or setScanData(_:).
Note
Some validation procedures are “locked” (always enabled and cannot be modified). All validation procedures are listed to maintain correct enum value alignment with the native library.-
Mutually exclusive AIs (locked: always enabled)
Declaration
Swift
case MutexAIs = 0 -
Mandatory associations between AIs
Declaration
Swift
case RequisiteAIs -
Repeated AIs having same value (locked: always enabled)
Declaration
Swift
case RepeatedAIs -
Unknown AIs not permitted as GS1 DL URI data attributes
Declaration
Swift
case UnknownAInotDLattr -
Value is the number of validations
Declaration
Swift
case NUMVALIDATIONS
View on GitHub
Install in Dash