GS1-DataMatrix-Plain
GS1-DataMatrix-Plain encodes raw GS1 data supplied as a plain text string.
Mandatory properties
The following properties are available in addition to the common label object properties.
| Property | Type | Description |
|---|---|---|
| type | string | Must be GS1-DataMatrix-Plain. |
| text | string | Raw GS1 data string. May contain dynamic text. |
Optional properties
The following properties are available in addition to the DataMatrix optional properties.
| Property | Type | Description |
|---|---|---|
| optimize | boolean | If true, optimizes the encoding. Default is false. |
Example
{
"type": "GS1-DataMatrix-Plain",
"x": 10.0,
"y": 10.0,
"text": "011234567890123110LOT001",
"moduleSize": 0.5
}