PANTHEUM Open-source parsers
Last updated:

Parsers you can read, run and rely on

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.

Projects

Project group

GAIA

GS1 Application Identifier Analyzer

Tools for reading, checking and building the data in GS1 barcodes and GS1 Digital Link URIs: a Java library, and a desktop application built on it.

One string, many fields

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

Get started with GAIA →

What every Pantheum project offers

Open sourceApache License 2.0. Use it in commercial and open-source software, and change it to suit you.
Built from the standardEach parser names the specification release it implements. Bug reports are checked against that specification.
Clear error messagesBad input produces a coded error that says what is wrong and how to fix it.
Many languagesMessages, interpretations and guides are translated into 35 languages, including right-to-left scripts.
Small footprintGAIA has one runtime dependency, Jackson, and the same jar runs on Java 11 and every later JVM.