Skip to main content

GS1-128

GS1-128 encodes structured GS1 data using Application Identifiers (AIs).

Mandatory properties

The following properties are available in addition to the common label object properties and common barcode properties.

PropertyTypeDescription
typestringMust be GS1-128.
appsarrayArray of GS1 Application Identifier objects. Each entry has id (string) and value (string).
barHeightnumberBar height.

Each app in the apps array may be specified either as an object {"id": "01", "value": "..."} or as a two-element array ["01", "..."].

Example

{
"type": "GS1-128",
"x": 10.0,
"y": 10.0,
"barHeight": 15.0,
"barWidth": 0.3,
"apps": [
{"id": "01", "value": "12345678901231"},
{"id": "10", "value": "LOT001"}
]
}