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.
| Property | Type | Description |
|---|---|---|
| type | string | Must be GS1-QRCode. |
| apps | array | Array 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.
| Property | Type | Description |
|---|---|---|
| moduleSize | number | Size of one module in millimeters. Default is 5. |
| size | integer | Fixed symbol size in number of modules per side. If omitted, the minimum size that fits the data is used. |
| quietZone | boolean | Enable or disable the quiet zone. Default is true. |
| extraQuietZone | number | Extra quiet zone added on all sides. |
| color | string | Color of the dark modules. May contain dynamic text. Default is black. |
| eccLevel | string | Error 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"}
]
}