Pantheum is a home for open-source parsers for the data standards that move goods around
the world. Every project is Apache-licensed, built against the published specification, and
documented in dozens of languages.
A GS1 barcode often carries several pieces of data in one unbroken string. Each piece
starts with an Application Identifier, a short numeric prefix that says what the
value after it means:
010950600013435210LOT-ABC
AI (01) GTIN = 09506000134352 · AI (10) BATCH/LOT = LOT-ABC
GAIA splits strings like this into typed values and checks each one
against the rules GS1 defines for that AI. It handles all 541 Application Identifiers and
GS1 Digital Link URIs. Use GAIA Library in your own Java code,
or GAIA Desktop, a desktop application that can take its input
straight from a barcode scanner.
ParseResult result = new GaiaParser().parse("010950600013435210LOT-ABC");
result.isValid(); // true