{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "zplCore label",
  "x-schemaVersion": 4,
  "type": "object",
  "properties": {
    "unit": {
      "enum": [
        "Mm",
        "Cm",
        "Inch",
        "Point",
        "Dots"
      ],
      "default": "Mm"
    },
    "width": {
      "type": "number",
      "default": 100
    },
    "height": {
      "type": "number",
      "default": 150
    },
    "contour": {
      "enum": [
        "Rectangle",
        "Ellipse"
      ],
      "default": "Rectangle"
    },
    "gapLength": {
      "type": "number",
      "default": 0
    },
    "darkness": {
      "type": [
        "integer",
        "null"
      ]
    },
    "printSpeed": {
      "type": [
        "integer",
        "null"
      ]
    },
    "printInverted": {
      "type": "boolean",
      "default": false
    },
    "printMirror": {
      "type": "boolean",
      "default": false
    },
    "cutAfterPrinting": {
      "type": "boolean",
      "default": false
    },
    "cutAfterLastLabel": {
      "type": "boolean",
      "default": false
    },
    "rotation": {
      "enum": [
        "None",
        "Rotate90",
        "Rotate180",
        "Rotate270"
      ],
      "default": "None"
    },
    "labelTop": {
      "type": "number",
      "default": 0
    },
    "labelShift": {
      "type": "number",
      "default": 0
    },
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "type"
        ],
        "anyOf": [
          {
            "properties": {
              "type": {
                "const": "text"
              },
              "text": {
                "type": "string",
                "default": ""
              },
              "markup": {
                "enum": [
                  "Plain",
                  "Html"
                ],
                "default": "Plain"
              },
              "font": {
                "type": "string",
                "default": "0"
              },
              "fontSize": {
                "type": "number",
                "default": 10
              },
              "fontUnit": {
                "enum": [
                  "Point",
                  "Pixel",
                  "Millimeter",
                  "Inch"
                ],
                "default": "Point"
              },
              "fontWidthScale": {
                "type": "number",
                "default": 1
              },
              "scaleY": {
                "type": "number",
                "default": 1
              },
              "rotation": {
                "enum": [
                  "None",
                  "Rotate90",
                  "Rotate180",
                  "Rotate270"
                ],
                "default": "None"
              },
              "width": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "height": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "maxLines": {
                "type": "integer",
                "default": 1
              },
              "lineSpacing": {
                "type": "number",
                "default": 0
              },
              "alignment": {
                "enum": [
                  "Left",
                  "Center",
                  "Right",
                  "Justify"
                ],
                "default": "Left"
              },
              "verticalAlignment": {
                "enum": [
                  "Top",
                  "Middle",
                  "Bottom"
                ],
                "default": "Top"
              },
              "padding": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "left": {
                    "type": "number",
                    "default": 0
                  },
                  "top": {
                    "type": "number",
                    "default": 0
                  },
                  "right": {
                    "type": "number",
                    "default": 0
                  },
                  "bottom": {
                    "type": "number",
                    "default": 0
                  }
                }
              },
              "sizing": {
                "enum": [
                  "None",
                  "ShrinkToFit",
                  "FitToBox",
                  "Stretch",
                  "Arc",
                  "OuterArc",
                  "Vertical",
                  "OverflowSplit"
                ],
                "default": "None"
              },
              "overflowItemName": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "charSpacing": {
                "type": "number",
                "default": 0
              },
              "foreColor": {
                "enum": [
                  "None",
                  "Black",
                  "White"
                ],
                "default": "Black"
              },
              "background": {
                "enum": [
                  "None",
                  "Black",
                  "White"
                ],
                "default": "None"
              },
              "borderThickness": {
                "type": "number",
                "default": 0
              },
              "borderCornerRounding": {
                "type": "integer",
                "default": 0
              },
              "outlineThickness": {
                "type": "number",
                "default": 0
              },
              "bold": {
                "type": "boolean",
                "default": false
              },
              "italic": {
                "type": "boolean",
                "default": false
              },
              "shortHyphen": {
                "type": "boolean",
                "default": false
              },
              "underline": {
                "type": "boolean",
                "default": false
              },
              "strikeout": {
                "type": "boolean",
                "default": false
              },
              "slashedZero": {
                "type": "boolean",
                "default": false
              },
              "rightToLeft": {
                "type": "boolean",
                "default": false
              },
              "cultureName": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "counterStep": {
                "type": "integer",
                "default": 0
              },
              "counterUseLeadingZeros": {
                "type": "boolean",
                "default": true
              },
              "frameThickness": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "left": {
                    "type": "number",
                    "default": 0
                  },
                  "top": {
                    "type": "number",
                    "default": 0
                  },
                  "right": {
                    "type": "number",
                    "default": 0
                  },
                  "bottom": {
                    "type": "number",
                    "default": 0
                  }
                }
              },
              "inputMaskPromptChar": {
                "type": [
                  "string",
                  "null"
                ],
                "minLength": 1,
                "maxLength": 1
              },
              "validationErrorMessage": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "maxLength": {
                "type": "integer",
                "default": 0
              },
              "hideIfEmpty": {
                "type": "boolean",
                "default": false
              },
              "autoFit": {
                "type": "boolean",
                "default": false
              },
              "minFontSize": {
                "type": "number",
                "default": 4
              },
              "validationRegex": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "inputMask": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "mask": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "maskIncrement": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "name": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "x": {
                "type": "number",
                "default": 0
              },
              "y": {
                "type": "number",
                "default": 0
              },
              "visible": {
                "type": "boolean",
                "default": true
              },
              "unit": {
                "enum": [
                  "Mm",
                  "Cm",
                  "Inch",
                  "Point",
                  "Dots",
                  null
                ]
              },
              "rotationAngle": {
                "type": "number",
                "default": 0
              },
              "dataField": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "dataFieldFormat": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "expression": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "reverse": {
                "type": "boolean",
                "default": false
              },
              "printAsGraphic": {
                "type": "boolean",
                "default": false
              }
            }
          },
          {
            "properties": {
              "type": {
                "const": "barcode"
              },
              "symbology": {
                "enum": [
                  "Code128",
                  "Code39",
                  "Code93",
                  "Ean13",
                  "Ean8",
                  "UpcA",
                  "UpcE",
                  "Interleaved2of5",
                  "Codabar",
                  "Msi",
                  "Plessey",
                  "Gs1_128",
                  "QrCode",
                  "DataMatrix",
                  "Pdf417",
                  "Aztec",
                  "MaxiCode",
                  "MicroQr",
                  "Code11",
                  "Industrial2of5",
                  "Standard2of5",
                  "Logmars",
                  "Postnet",
                  "Planet",
                  "UpcEanExtension",
                  "DataBarOmnidirectional",
                  "DataBarTruncated",
                  "DataBarStacked",
                  "DataBarStackedOmnidirectional",
                  "DataBarLimited",
                  "DataBarExpanded",
                  "CodablockF",
                  "Code49",
                  "MicroPdf417",
                  "IntelligentMail",
                  "Code16K",
                  "Pdf417Compact",
                  "DataBarExpandedStacked",
                  "Code39Extended",
                  "Telepen",
                  "Pharmacode",
                  "Leitcode",
                  "Identcode",
                  "Pzn",
                  "Code32",
                  "RoyalMail",
                  "Kix",
                  "AustraliaPost",
                  "JapanPost",
                  "Daft",
                  "RectMicroQrCode",
                  "Gs1QrCode",
                  "SwissQrCode",
                  "EpcQrCode",
                  "DataMatrixRectangular",
                  "Gs1DataMatrix",
                  "AztecRune",
                  "Gs1Aztec",
                  "HanXin",
                  "DotCode",
                  "Ultracode",
                  "Isbn",
                  "Issn",
                  "Ismn",
                  "Jan",
                  "Vin",
                  "HibcCode39",
                  "HibcCode128",
                  "Code93Extended",
                  "Matrix2of5",
                  "Iata2of5",
                  "Datalogic2of5",
                  "Coop2of5",
                  "TelepenNumeric",
                  "ChannelCode",
                  "PharmacodeTwoTrack",
                  "Sscc18",
                  "Ean14",
                  "Itf14",
                  "Ean13Composite",
                  "Ean8Composite",
                  "UpcAComposite",
                  "UpcEComposite",
                  "Gs1_128Composite",
                  "DataBarOmniComposite",
                  "DataBarStackedComposite",
                  "DataBarLimitedComposite",
                  "DataBarExpandedComposite",
                  "DataBarExpandedStackedComposite",
                  "UspsFim",
                  "SwissPostParcel",
                  "UspsTrayLabel",
                  "UspsSackLabel",
                  "UspsImpb",
                  "UspsPic",
                  "FedExGround96",
                  "VicsBol",
                  "VicsScacPro",
                  "ItalianPost2of5",
                  "DhlAwb",
                  "Dun14Itf",
                  "Jan8",
                  "Ean99",
                  "Numly",
                  "Isbt128",
                  "Isbt128DataMatrix",
                  "HibcDataMatrix",
                  "HibcQrCode",
                  "HibcAztec",
                  "HibcCodablockF",
                  "HibcMicroPdf417",
                  "IfaDataMatrix",
                  "PpnDataMatrix",
                  "VinQrCode",
                  "VinDataMatrix",
                  "Semacode",
                  "MailmarkCmdm",
                  "KoreaPost",
                  "Mailmark4State",
                  "Dpd",
                  "UpuS10",
                  "Flattermarken",
                  "Bc412",
                  "UpnQr",
                  "GridMatrix",
                  "CodeOne",
                  "DataBarTruncatedComposite",
                  "DataBarStackedOmniComposite",
                  "EanVelocity",
                  "DanishPostal39",
                  "FrenchPostal39AR",
                  "TriOptic",
                  "Opc",
                  "KodakPatch",
                  "UspsHorizontalBars",
                  "Imcb",
                  "AusPostEParcel",
                  "Scc14",
                  "Gs1RectMicroQrCode",
                  "DinSpecDataMatrix",
                  "DinSpecQrCode",
                  "JabCode",
                  "Tlc39",
                  "DeutschePostBzl"
                ],
                "default": "Code128"
              },
              "code": {
                "type": "string",
                "default": ""
              },
              "moduleWidth": {
                "type": "integer",
                "default": 2
              },
              "wideRatio": {
                "type": "number",
                "default": 3
              },
              "barHeight": {
                "type": "number",
                "default": 15
              },
              "hideIfEmpty": {
                "type": "boolean",
                "default": false
              },
              "humanReadable": {
                "type": "boolean",
                "default": true
              },
              "humanReadableAbove": {
                "type": "boolean",
                "default": false
              },
              "addChecksum": {
                "type": "boolean",
                "default": false
              },
              "rotation": {
                "enum": [
                  "None",
                  "Rotate90",
                  "Rotate180",
                  "Rotate270"
                ],
                "default": "None"
              },
              "qrErrorCorrection": {
                "type": "string",
                "minLength": 1,
                "maxLength": 1,
                "default": "M"
              },
              "logoImageData": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "logoSizePercent": {
                "type": "number",
                "default": 20
              },
              "logoPosition": {
                "enum": [
                  "Center",
                  "Top",
                  "Bottom"
                ],
                "default": "Center"
              },
              "logoOpacity": {
                "type": "number",
                "default": 1
              },
              "logoBackground": {
                "type": "boolean",
                "default": true
              },
              "halftoneImageData": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "halftoneStrength": {
                "type": "number",
                "default": 0.6
              },
              "barArt": {
                "enum": [
                  "None",
                  "RoundedEnds",
                  "Skyline",
                  "Grass",
                  "Waves",
                  "Image"
                ],
                "default": "None"
              },
              "barArtHeightPercent": {
                "type": "number",
                "default": 30
              },
              "barArtImageData": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "verifyReadability": {
                "type": "boolean",
                "default": true
              },
              "validationErrorMessage": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "width": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "height": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "humanReadableHeight": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "humanReadableGap": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "fitSample": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "foreColor": {
                "type": "string",
                "default": "#000000"
              },
              "backColor": {
                "type": "string",
                "default": "#FFFFFF"
              },
              "quietZone": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "humanReadableText": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "textFontSize": {
                "type": "number",
                "default": 0
              },
              "textFormatPattern": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "textAlignment": {
                "enum": [
                  "Center",
                  "Left",
                  "Right",
                  "Justify"
                ],
                "default": "Center"
              },
              "lightMarginIndicator": {
                "type": "boolean",
                "default": false
              },
              "guardBars": {
                "type": "boolean",
                "default": true
              },
              "bearerBars": {
                "enum": [
                  "None",
                  "Frame",
                  "HorizontalRules"
                ],
                "default": "None"
              },
              "bearerBarWidth": {
                "type": "number",
                "default": 4
              },
              "supplement": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "qrVersion": {
                "type": "integer",
                "default": 0
              },
              "qrMask": {
                "type": "integer",
                "default": -1
              },
              "moduleShape": {
                "enum": [
                  "Square",
                  "Circle",
                  "RoundedSquare",
                  "Diamond",
                  "Dot",
                  "ZebraHorizontal",
                  "ZebraVertical"
                ],
                "default": "Square"
              },
              "finderShape": {
                "enum": [
                  "Square",
                  "Rounded",
                  "Circle"
                ],
                "default": "Square"
              },
              "codeEncoding": {
                "enum": [
                  "Text",
                  "Base64",
                  "Hex"
                ],
                "default": "Text"
              },
              "processTilde": {
                "type": "boolean",
                "default": false
              },
              "pdf417SecurityLevel": {
                "type": "integer",
                "default": 2
              },
              "pdf417Columns": {
                "type": "integer",
                "default": 0
              },
              "pdf417Rows": {
                "type": "integer",
                "default": 0
              },
              "code128Mode": {
                "enum": [
                  "Automatic",
                  "None",
                  "Ucc",
                  "Gs1"
                ],
                "default": "Automatic"
              },
              "pdf417RowHeight": {
                "type": "integer",
                "default": 0
              },
              "pdf417Truncated": {
                "type": "boolean",
                "default": false
              },
              "upcENumberSystem": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "maxiCodeMode": {
                "type": "integer",
                "default": 4
              },
              "dataBarSegments": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "options": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "sizing": {
                    "enum": [
                      "None",
                      "Fill",
                      "FitProportional",
                      "AutoSize",
                      null
                    ]
                  },
                  "targetWidth": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "targetHeight": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "alignment": {
                    "enum": [
                      "TopLeft",
                      "TopCenter",
                      "TopRight",
                      "MiddleLeft",
                      "MiddleCenter",
                      "MiddleRight",
                      "BottomLeft",
                      "BottomCenter",
                      "BottomRight",
                      null
                    ]
                  },
                  "paddingLeft": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "paddingTop": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "paddingRight": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "paddingBottom": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "borderWidth": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "borderColor": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "borderRadius": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "barWidthReduction": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "barWidthReductionPercent": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "textPosition": {
                    "enum": [
                      "None",
                      "Below",
                      "Above",
                      "Left",
                      "Right",
                      null
                    ]
                  },
                  "useQuietZoneForText": {
                    "type": [
                      "boolean",
                      "null"
                    ]
                  },
                  "displayChecksum": {
                    "type": [
                      "boolean",
                      "null"
                    ]
                  },
                  "displayStartStopChar": {
                    "type": [
                      "boolean",
                      "null"
                    ]
                  },
                  "textUnderline": {
                    "type": [
                      "boolean",
                      "null"
                    ]
                  },
                  "textStrikeout": {
                    "type": [
                      "boolean",
                      "null"
                    ]
                  },
                  "rightToLeft": {
                    "type": [
                      "boolean",
                      "null"
                    ]
                  },
                  "codeFormatPattern": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "itfHMarks": {
                    "type": [
                      "boolean",
                      "null"
                    ]
                  },
                  "supplementSpacing": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "supplementTopMargin": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "guardBarHeight": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "magnificationFactor": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "postalShortBarRatio": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "postalTrackerRatio": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "postalBarSpacing": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "gs1StrictValidation": {
                    "type": [
                      "boolean",
                      "null"
                    ]
                  },
                  "msiChecksum": {
                    "enum": [
                      "None",
                      "Mod10",
                      "Mod11",
                      "Mod1010",
                      "Mod1110",
                      null
                    ]
                  },
                  "codabarStartChar": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "minLength": 1,
                    "maxLength": 1
                  },
                  "codabarStopChar": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "minLength": 1,
                    "maxLength": 1
                  },
                  "maxiCodePixelAligned": {
                    "type": [
                      "boolean",
                      "null"
                    ]
                  },
                  "byteEncodingName": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "code128Subset": {
                    "enum": [
                      "Auto",
                      "A",
                      "B",
                      "C",
                      null
                    ]
                  },
                  "code16KMode": {
                    "enum": [
                      "Auto",
                      "Mode0",
                      "Mode1",
                      "Mode2",
                      null
                    ]
                  },
                  "code16KRows": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "dataMatrixSize": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "dataMatrixDmre": {
                    "type": [
                      "boolean",
                      "null"
                    ]
                  },
                  "dataMatrixEncodation": {
                    "enum": [
                      "Auto",
                      "Ascii",
                      "C40",
                      "Text",
                      "X12",
                      "Edifact",
                      "Base256",
                      null
                    ]
                  },
                  "pdf417AspectRatio": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "pdf417Compaction": {
                    "enum": [
                      "Auto",
                      "Numeric",
                      "Binary",
                      null
                    ]
                  },
                  "microPdf417Columns": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "microPdf417Rows": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "qrEncodingMode": {
                    "enum": [
                      "Auto",
                      "Numeric",
                      "Alphanumeric",
                      "Byte",
                      "Kanji",
                      null
                    ]
                  },
                  "microQrVersion": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "rectMicroQrVersion": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "aztecFormat": {
                    "enum": [
                      "Auto",
                      "Compact",
                      "Full",
                      null
                    ]
                  },
                  "aztecLayers": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "aztecErrorCorrection": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "hanXinVersion": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "hanXinErrorCorrection": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "hanXinMode": {
                    "enum": [
                      "Auto",
                      "Numeric",
                      "Text",
                      "Binary",
                      null
                    ]
                  },
                  "dotCodeColumns": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "dotCodeRows": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "dotCodeAspectRatio": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "ultracodeErrorCorrection": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "compositeComponent": {
                    "enum": [
                      "Auto",
                      "CcA",
                      "CcB",
                      "CcC",
                      null
                    ]
                  },
                  "tlc39Gap": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "tlc39MicroPdfRowHeight": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  }
                }
              },
              "name": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "x": {
                "type": "number",
                "default": 0
              },
              "y": {
                "type": "number",
                "default": 0
              },
              "visible": {
                "type": "boolean",
                "default": true
              },
              "unit": {
                "enum": [
                  "Mm",
                  "Cm",
                  "Inch",
                  "Point",
                  "Dots",
                  null
                ]
              },
              "rotationAngle": {
                "type": "number",
                "default": 0
              },
              "dataField": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "dataFieldFormat": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "expression": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "reverse": {
                "type": "boolean",
                "default": false
              },
              "printAsGraphic": {
                "type": "boolean",
                "default": false
              }
            }
          },
          {
            "properties": {
              "type": {
                "const": "rectangle"
              },
              "width": {
                "type": "number",
                "default": 10
              },
              "height": {
                "type": "number",
                "default": 10
              },
              "strokeThickness": {
                "type": "number",
                "default": 0.3
              },
              "cornerRounding": {
                "type": "integer",
                "default": 0
              },
              "cornerRadius": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "topLeft": {
                    "type": "number",
                    "default": 0
                  },
                  "topRight": {
                    "type": "number",
                    "default": 0
                  },
                  "bottomRight": {
                    "type": "number",
                    "default": 0
                  },
                  "bottomLeft": {
                    "type": "number",
                    "default": 0
                  }
                }
              },
              "filled": {
                "type": "boolean",
                "default": false
              },
              "white": {
                "type": "boolean",
                "default": false
              },
              "fill": {
                "enum": [
                  "None",
                  "Black",
                  "White"
                ],
                "default": "None"
              },
              "strokeStyle": {
                "enum": [
                  "Solid",
                  "Dash",
                  "Dot",
                  "DashDot"
                ],
                "default": "Solid"
              },
              "name": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "x": {
                "type": "number",
                "default": 0
              },
              "y": {
                "type": "number",
                "default": 0
              },
              "visible": {
                "type": "boolean",
                "default": true
              },
              "unit": {
                "enum": [
                  "Mm",
                  "Cm",
                  "Inch",
                  "Point",
                  "Dots",
                  null
                ]
              },
              "rotationAngle": {
                "type": "number",
                "default": 0
              },
              "dataField": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "dataFieldFormat": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "expression": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "reverse": {
                "type": "boolean",
                "default": false
              },
              "printAsGraphic": {
                "type": "boolean",
                "default": false
              }
            }
          },
          {
            "properties": {
              "type": {
                "const": "line"
              },
              "x2": {
                "type": "number",
                "default": 0
              },
              "y2": {
                "type": "number",
                "default": 0
              },
              "strokeThickness": {
                "type": "number",
                "default": 0.3
              },
              "strokeStyle": {
                "enum": [
                  "Solid",
                  "Dash",
                  "Dot",
                  "DashDot"
                ],
                "default": "Solid"
              },
              "white": {
                "type": "boolean",
                "default": false
              },
              "name": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "x": {
                "type": "number",
                "default": 0
              },
              "y": {
                "type": "number",
                "default": 0
              },
              "visible": {
                "type": "boolean",
                "default": true
              },
              "unit": {
                "enum": [
                  "Mm",
                  "Cm",
                  "Inch",
                  "Point",
                  "Dots",
                  null
                ]
              },
              "rotationAngle": {
                "type": "number",
                "default": 0
              },
              "dataField": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "dataFieldFormat": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "expression": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "reverse": {
                "type": "boolean",
                "default": false
              },
              "printAsGraphic": {
                "type": "boolean",
                "default": false
              }
            }
          },
          {
            "properties": {
              "type": {
                "const": "ellipse"
              },
              "width": {
                "type": "number",
                "default": 10
              },
              "height": {
                "type": "number",
                "default": 10
              },
              "strokeThickness": {
                "type": "number",
                "default": 0.3
              },
              "fill": {
                "enum": [
                  "None",
                  "Black",
                  "White"
                ],
                "default": "None"
              },
              "strokeStyle": {
                "enum": [
                  "Solid",
                  "Dash",
                  "Dot",
                  "DashDot"
                ],
                "default": "Solid"
              },
              "name": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "x": {
                "type": "number",
                "default": 0
              },
              "y": {
                "type": "number",
                "default": 0
              },
              "visible": {
                "type": "boolean",
                "default": true
              },
              "unit": {
                "enum": [
                  "Mm",
                  "Cm",
                  "Inch",
                  "Point",
                  "Dots",
                  null
                ]
              },
              "rotationAngle": {
                "type": "number",
                "default": 0
              },
              "dataField": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "dataFieldFormat": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "expression": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "reverse": {
                "type": "boolean",
                "default": false
              },
              "printAsGraphic": {
                "type": "boolean",
                "default": false
              }
            }
          },
          {
            "properties": {
              "type": {
                "const": "circle"
              },
              "diameter": {
                "type": "number",
                "default": 10
              },
              "strokeThickness": {
                "type": "number",
                "default": 0.3
              },
              "fill": {
                "enum": [
                  "None",
                  "Black",
                  "White"
                ],
                "default": "None"
              },
              "strokeStyle": {
                "enum": [
                  "Solid",
                  "Dash",
                  "Dot",
                  "DashDot"
                ],
                "default": "Solid"
              },
              "name": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "x": {
                "type": "number",
                "default": 0
              },
              "y": {
                "type": "number",
                "default": 0
              },
              "visible": {
                "type": "boolean",
                "default": true
              },
              "unit": {
                "enum": [
                  "Mm",
                  "Cm",
                  "Inch",
                  "Point",
                  "Dots",
                  null
                ]
              },
              "rotationAngle": {
                "type": "number",
                "default": 0
              },
              "dataField": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "dataFieldFormat": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "expression": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "reverse": {
                "type": "boolean",
                "default": false
              },
              "printAsGraphic": {
                "type": "boolean",
                "default": false
              }
            }
          },
          {
            "properties": {
              "type": {
                "const": "image"
              },
              "imageData": {
                "type": "string"
              },
              "sourceFile": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "sourceDpi": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "hideIfNotFound": {
                "type": "boolean",
                "default": false
              },
              "width": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "height": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "lockAspectRatio": {
                "enum": [
                  "None",
                  "Width",
                  "Height",
                  "Fit"
                ],
                "default": "None"
              },
              "flip": {
                "enum": [
                  "None",
                  "X",
                  "Y",
                  "XY"
                ],
                "default": "None"
              },
              "reverseEffect": {
                "type": "boolean",
                "default": false
              },
              "dither": {
                "type": "boolean",
                "default": false
              },
              "ditherMethod": {
                "enum": [
                  "Threshold",
                  "FloydSteinberg",
                  "Atkinson",
                  "Bayer",
                  "Otsu"
                ],
                "default": "Threshold"
              },
              "threshold": {
                "type": "integer",
                "default": 128
              },
              "usePrinterStorage": {
                "type": "boolean",
                "default": false
              },
              "storageName": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "name": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "x": {
                "type": "number",
                "default": 0
              },
              "y": {
                "type": "number",
                "default": 0
              },
              "visible": {
                "type": "boolean",
                "default": true
              },
              "unit": {
                "enum": [
                  "Mm",
                  "Cm",
                  "Inch",
                  "Point",
                  "Dots",
                  null
                ]
              },
              "rotationAngle": {
                "type": "number",
                "default": 0
              },
              "dataField": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "dataFieldFormat": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "expression": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "reverse": {
                "type": "boolean",
                "default": false
              },
              "printAsGraphic": {
                "type": "boolean",
                "default": false
              }
            }
          },
          {
            "properties": {
              "type": {
                "const": "zpl"
              },
              "zpl": {
                "type": "string",
                "default": ""
              },
              "name": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "x": {
                "type": "number",
                "default": 0
              },
              "y": {
                "type": "number",
                "default": 0
              },
              "visible": {
                "type": "boolean",
                "default": true
              },
              "unit": {
                "enum": [
                  "Mm",
                  "Cm",
                  "Inch",
                  "Point",
                  "Dots",
                  null
                ]
              },
              "rotationAngle": {
                "type": "number",
                "default": 0
              },
              "dataField": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "dataFieldFormat": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "expression": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "reverse": {
                "type": "boolean",
                "default": false
              },
              "printAsGraphic": {
                "type": "boolean",
                "default": false
              }
            }
          },
          {
            "properties": {
              "type": {
                "const": "table"
              },
              "columnWidths": {
                "type": "array",
                "items": {
                  "type": "number"
                },
                "default": [
                  30,
                  30
                ]
              },
              "rowHeights": {
                "type": "array",
                "items": {
                  "type": "number"
                },
                "default": [
                  8,
                  8
                ]
              },
              "cells": {
                "type": "array",
                "items": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              },
              "strokeThickness": {
                "type": "number",
                "default": 0.3
              },
              "fontSize": {
                "type": "number",
                "default": 8
              },
              "font": {
                "type": "string",
                "default": "0"
              },
              "cellPadding": {
                "type": "number",
                "default": 1
              },
              "alignment": {
                "enum": [
                  "Left",
                  "Center",
                  "Right",
                  "Justify"
                ],
                "default": "Left"
              },
              "headerRow": {
                "type": "boolean",
                "default": false
              },
              "showLeft": {
                "type": "boolean",
                "default": true
              },
              "showTop": {
                "type": "boolean",
                "default": true
              },
              "showRight": {
                "type": "boolean",
                "default": true
              },
              "showBottom": {
                "type": "boolean",
                "default": true
              },
              "showRowLines": {
                "type": "boolean",
                "default": true
              },
              "showColumnLines": {
                "type": "boolean",
                "default": true
              },
              "cornerRounding": {
                "type": "integer",
                "default": 0
              },
              "rowFills": {
                "type": "array",
                "items": {
                  "enum": [
                    "None",
                    "Black",
                    "White"
                  ]
                }
              },
              "columnFills": {
                "type": "array",
                "items": {
                  "enum": [
                    "None",
                    "Black",
                    "White"
                  ]
                }
              },
              "name": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "x": {
                "type": "number",
                "default": 0
              },
              "y": {
                "type": "number",
                "default": 0
              },
              "visible": {
                "type": "boolean",
                "default": true
              },
              "unit": {
                "enum": [
                  "Mm",
                  "Cm",
                  "Inch",
                  "Point",
                  "Dots",
                  null
                ]
              },
              "rotationAngle": {
                "type": "number",
                "default": 0
              },
              "dataField": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "dataFieldFormat": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "expression": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "reverse": {
                "type": "boolean",
                "default": false
              },
              "printAsGraphic": {
                "type": "boolean",
                "default": false
              }
            }
          },
          {
            "properties": {
              "type": {
                "const": "repeater"
              },
              "items": {
                "type": "array",
                "items": {
                  "$ref": "#/properties/items/items"
                }
              },
              "offsetX": {
                "type": "number",
                "default": 0
              },
              "offsetY": {
                "type": "number",
                "default": 10
              },
              "maxCount": {
                "type": "integer",
                "default": 10
              },
              "name": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "x": {
                "type": "number",
                "default": 0
              },
              "y": {
                "type": "number",
                "default": 0
              },
              "visible": {
                "type": "boolean",
                "default": true
              },
              "unit": {
                "enum": [
                  "Mm",
                  "Cm",
                  "Inch",
                  "Point",
                  "Dots",
                  null
                ]
              },
              "rotationAngle": {
                "type": "number",
                "default": 0
              },
              "dataField": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "dataFieldFormat": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "expression": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "reverse": {
                "type": "boolean",
                "default": false
              },
              "printAsGraphic": {
                "type": "boolean",
                "default": false
              }
            }
          },
          {
            "properties": {
              "type": {
                "const": "rfid"
              },
              "data": {
                "type": "string",
                "default": ""
              },
              "format": {
                "type": "string",
                "minLength": 1,
                "maxLength": 1,
                "default": "H"
              },
              "bank": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "tagType": {
                "enum": [
                  "None",
                  "EpcClass0",
                  "EpcClass0Plus",
                  "EpcClass1_64Bit",
                  "EpcClass1_96Bit",
                  "UcodeEpc119",
                  "ImpinjClass0Plus",
                  "Iso18000_06A",
                  "EpcClass1Gen2",
                  "Iso18000_06B",
                  "Default"
                ],
                "default": "Default"
              },
              "memoryBank": {
                "enum": [
                  "Default",
                  "Epc",
                  "Tid",
                  "User",
                  "Reserved",
                  "EpcAutoPc"
                ],
                "default": "Default"
              },
              "startingBlock": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "numberOfBytes": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "epcDataStructure": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "accessPassword": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "killPassword": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "accessPasswordLock": {
                "enum": [
                  "None",
                  "Lock",
                  "Open",
                  "Unlock",
                  "Protected"
                ],
                "default": "None"
              },
              "killPasswordLock": {
                "enum": [
                  "None",
                  "Lock",
                  "Open",
                  "Unlock",
                  "Protected"
                ],
                "default": "None"
              },
              "memoryBankLock": {
                "enum": [
                  "None",
                  "Lock",
                  "Open",
                  "Unlock",
                  "Protected"
                ],
                "default": "None"
              },
              "epcLock": {
                "enum": [
                  "None",
                  "Lock",
                  "Open",
                  "Unlock",
                  "Protected"
                ],
                "default": "None"
              },
              "userLock": {
                "enum": [
                  "None",
                  "Lock",
                  "Open",
                  "Unlock",
                  "Protected"
                ],
                "default": "None"
              },
              "permaLockStartBlock": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "permaLockBlockCount": {
                "type": "integer",
                "default": 0
              },
              "skipEmptyWrite": {
                "type": "boolean",
                "default": false
              },
              "name": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "x": {
                "type": "number",
                "default": 0
              },
              "y": {
                "type": "number",
                "default": 0
              },
              "visible": {
                "type": "boolean",
                "default": true
              },
              "unit": {
                "enum": [
                  "Mm",
                  "Cm",
                  "Inch",
                  "Point",
                  "Dots",
                  null
                ]
              },
              "rotationAngle": {
                "type": "number",
                "default": 0
              },
              "dataField": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "dataFieldFormat": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "expression": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "reverse": {
                "type": "boolean",
                "default": false
              },
              "printAsGraphic": {
                "type": "boolean",
                "default": false
              }
            }
          }
        ]
      }
    },
    "fonts": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    },
    "downloadFonts": {
      "type": "boolean",
      "default": true
    },
    "pages": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/properties/items/items"
            }
          }
        }
      }
    },
    "duplex": {
      "type": "boolean",
      "default": false
    },
    "optimization": {
      "enum": [
        "None",
        "Safe",
        "Aggressive"
      ],
      "default": "None"
    },
    "graphicCompression": {
      "enum": [
        "Hex",
        "Acs",
        "Z64",
        "B64",
        "Auto",
        null
      ]
    },
    "fontAsGraphicThreshold": {
      "type": "integer",
      "default": 0
    },
    "tag": {
      "type": [
        "string",
        "null"
      ]
    },
    "culture": {
      "type": [
        "string",
        "null"
      ]
    },
    "strings": {
      "type": "object",
      "additionalProperties": {
        "type": "object",
        "additionalProperties": {
          "type": "string"
        }
      }
    },
    "schemaVersion": {
      "type": "integer",
      "default": 4
    }
  }
}
