ApplicationIdentifier

A GS1 Application Identifier, as defined by the GS1 Barcode Syntax Dictionary.

Look one up with find; all lists every AI known to this library.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The AI digits, e.g. "01" or "3103".

Link copied to clipboard
Link copied to clipboard

For a primary key, the alternative qualifier sequences allowed after it in the URI path, e.g. [[22, 10, 21], [235]] for (01): any of 22, 10, 21 in that order, or 235. Empty otherwise.

Link copied to clipboard

true if the AI may appear as a query parameter of a GS1 Digital Link URI (e.g. ?17=261231).

Link copied to clipboard

true if the AI is a GS1 Digital Link primary key, e.g. (01) GTIN or (00) SSCC.

Link copied to clipboard

true when the AI belongs to GS1's table of predefined-length AIs. Only these may be followed by another element string without an FNC1 separator.

Link copied to clipboard

Maximum length of the data field.

Link copied to clipboard

Minimum length of the data field.

Link copied to clipboard

true when an FNC1 separator must follow this element string if another one comes after it.

Link copied to clipboard

GS1 data title, e.g. "GTIN" or "BATCH/LOT".

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
fun validate(value: String): Gs1Error?

Validates value as the data field of this AI. Returns null when it is valid.