Skip to main content

GS1-QRCode

GS1-QRCode encodes structured GS1 data using Application Identifiers (AIs) in a QR Code symbol.

Mandatory properties

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

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

Optional properties

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

PropertyTypeDescription
moduleSizenumberSize of one module in millimeters. Default is 5.
sizeintegerFixed symbol size in number of modules per side. If omitted, the minimum size that fits the data is used.
quietZonebooleanEnable or disable the quiet zone. Default is true.
extraQuietZonenumberExtra quiet zone added on all sides.
colorstringColor of the dark modules. May contain dynamic text. Default is black.
eccLevelstringError correction level. Allowed values: L, M, Q, H. Default is L.

Example

{
"type": "GS1-QRCode",
"x": 10.0,
"y": 10.0,
"moduleSize": 0.5,
"apps": [
{"id": "01", "value": "12345678901231"},
{"id": "10", "value": "LOT001"}
]
}