changedInput schema / properties / objects / items / oneOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "angle": {
- "description": "Rotation in degrees around the origin",
- "maximum": 360,
- "minimum": -360,
- "type": "number"
- },
- "backgroundColor": {
- "description": "Box fill behind the text; black + white fill makes an inverse band",
- "enum": [
- "black",
- "white",
- "transparent"
- ],
- "type": "string"
- },
- "charSpacing": {
- "description": "Tracking in 1/1000 em",
- "maximum": 1000,
- "minimum": -200,
- "type": "number"
- },
- "fill": {
- "description": "Text colour (default black)",
- "enum": [
- "black",
- "white",
- "transparent"
- ],
- "type": "string"
- },
- "fontAutoSize": {
- "description": "Shrinks the font only when a field filled in at print time ({dt…} or a rows value) adds lines or widens the text; a long word never shrinks it",
- "type": "boolean"
- },
- "fontSize": {
- "description": "Font size in dots; ≥16 at 203 dpi",
- "maximum": 999,
- "minimum": 6,
- "type": "number"
- },
- "fontStyle": {
- "description": "italic is a synthetic oblique",
- "enum": [
- "normal",
- "italic"
- ],
- "type": "string"
- },
- "fontWeight": {
- "description": "Noto Sans Variable weight (default 600); ≥500 under 24 dots",
- "maximum": 900,
- "minimum": 100,
- "type": "integer"
- },
- "left": {
- "description": "x of the origin point, in dots",
- "maximum": 5000,
- "minimum": -1000,
- "type": "number"
- },
- "lineHeight": {
- "description": "Line height in font sizes (default 1)",
- "maximum": 3,
- "minimum": 0.7,
- "type": "number"
- },
- "originX": {
- "description": "Which point left refers to (default left)",
- "enum": [
- "left",
- "center",
- "right"
- ],
- "type": "string"
- },
- "originY": {
- "description": "Which point top refers to (default top)",
- "enum": [
- "top",
- "center",
- "bottom"
- ],
- "type": "string"
- },
- "scaleX": {
- "description": "Horizontal scale; 0.8–0.9 gives a condensed look",
- "maximum": 1.5,
- "minimum": 0.6,
- "type": "number"
- },
- "text": {
- "description": "Text; \\n breaks lines. {dt}, {dt|DD.MM.YYYY} or {dt+7d|DD.MM} print the date at print time; {key} fills from rows",
- "maxLength": 2000,
- "minLength": 1,
- "type": "string"
- },
- "textAlign": {
- "description": "Default center, as in the app",
- "enum": [
- "left",
- "center",
- "right",
- "justify"
- ],
- "type": "string"
- },
- "top": {
- "description": "y of the origin point, in dots",
- "maximum": 5000,
- "minimum": -1000,
- "type": "number"
- },
- "type": {
- "const": "Textbox",
- "type": "string"
- },
- "width": {
- "description": "Wrap width in dots (long words widen the box)",
- "maximum": 5000,
- "minimum": 1,
- "type": "number"
- }
- },
- "required": [
- "type",
- "left",
- "top",
- "text",
- "width",
- "fontSize"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "angle": {
- "description": "Rotation in degrees around the origin",
- "maximum": 360,
- "minimum": -360,
- "type": "number"
- },
- "fill": {
- "description": "Glyph colour (default black)",
- "enum": [
- "black",
- "white",
- "transparent"
- ],
- "type": "string"
- },
- "fontSize": {
- "description": "Glyph size in dots; ≥32 at 203 dpi",
- "maximum": 999,
- "minimum": 8,
- "type": "number"
- },
- "left": {
- "description": "x of the origin point, in dots",
- "maximum": 5000,
- "minimum": -1000,
- "type": "number"
- },
- "name": {
- "description": "Material Icons name in snake_case, e.g. lan, kitchen, wine_bar",
- "maxLength": 60,
- "minLength": 1,
- "type": "string"
- },
- "originX": {
- "description": "Which point left refers to (default left)",
- "enum": [
- "left",
- "center",
- "right"
- ],
- "type": "string"
- },
- "originY": {
- "description": "Which point top refers to (default top)",
- "enum": [
- "top",
- "center",
- "bottom"
- ],
- "type": "string"
- },
- "top": {
- "description": "y of the origin point, in dots",
- "maximum": 5000,
- "minimum": -1000,
- "type": "number"
- },
- "type": {
- "const": "Icon",
- "type": "string"
- }
- },
- "required": [
- "type",
- "left",
- "top",
- "name",
- "fontSize"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "angle": {
- "description": "Rotation in degrees around the origin",
- "maximum": 360,
- "minimum": -360,
- "type": "number"
- },
- "fill": {
- "description": "Fill (default transparent)",
- "enum": [
- "black",
- "white",
- "transparent"
- ],
- "type": "string"
- },
- "height": {
- "description": "Height in dots",
- "maximum": 5000,
- "minimum": 1,
- "type": "number"
- },
- "left": {
- "description": "x of the origin point, in dots",
- "maximum": 5000,
- "minimum": -1000,
- "type": "number"
- },
- "originX": {
- "description": "Which point left refers to (default left)",
- "enum": [
- "left",
- "center",
- "right"
- ],
- "type": "string"
- },
- "originY": {
- "description": "Which point top refers to (default top)",
- "enum": [
- "top",
- "center",
- "bottom"
- ],
- "type": "string"
- },
- "rx": {
- "description": "Corner radius x",
- "maximum": 500,
- "minimum": 0,
- "type": "number"
- },
- "ry": {
- "description": "Corner radius y",
- "maximum": 500,
- "minimum": 0,
- "type": "number"
- },
- "stroke": {
- "description": "Outline (default black)",
- "enum": [
- "black",
- "white",
- "transparent"
- ],
- "type": "string"
- },
- "strokeWidth": {
- "description": "Stroke width in dots (default 3); ≥2 at 203 dpi",
- "maximum": 50,
- "minimum": 0,
- "type": "number"
- },
- "top": {
- "description": "y of the origin point, in dots",
- "maximum": 5000,
- "minimum": -1000,
- "type": "number"
- },
- "type": {
- "const": "Rect",
- "type": "string"
- },
- "width": {
- "description": "Width in dots",
- "maximum": 5000,
- "minimum": 1,
- "type": "number"
- }
- },
- "required": [
- "type",
- "left",
- "top",
- "width",
- "height"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "angle": {
- "description": "Rotation in degrees around the origin",
- "maximum": 360,
- "minimum": -360,
- "type": "number"
- },
- "fill": {
- "description": "Fill (default transparent)",
- "enum": [
- "black",
- "white",
- "transparent"
- ],
- "type": "string"
- },
- "left": {
- "description": "x of the origin point, in dots",
- "maximum": 5000,
- "minimum": -1000,
- "type": "number"
- },
- "originX": {
- "description": "Which point left refers to (default left)",
- "enum": [
- "left",
- "center",
- "right"
- ],
- "type": "string"
- },
- "originY": {
- "description": "Which point top refers to (default top)",
- "enum": [
- "top",
- "center",
- "bottom"
- ],
- "type": "string"
- },
- "radius": {
- "description": "Radius in dots",
- "maximum": 2500,
- "minimum": 1,
- "type": "number"
- },
- "stroke": {
- "description": "Outline (default black)",
- "enum": [
- "black",
- "white",
- "transparent"
- ],
- "type": "string"
- },
- "strokeWidth": {
- "description": "Stroke width in dots (default 3); ≥2 at 203 dpi",
- "maximum": 50,
- "minimum": 0,
- "type": "number"
- },
- "top": {
- "description": "y of the origin point, in dots",
- "maximum": 5000,
- "minimum": -1000,
- "type": "number"
- },
- "type": {
- "const": "Circle",
- "type": "string"
- }
- },
- "required": [
- "type",
- "left",
- "top",
- "radius"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "angle": {
- "description": "Rotation in degrees around the origin",
- "maximum": 360,
- "minimum": -360,
- "type": "number"
- },
- "fill": {
- "description": "Fills the shape the points enclose, closed implicitly (default transparent): chevrons, arrows, marks; add stroke transparent for a clean edge",
- "enum": [
- "black",
- "white",
- "transparent"
- ],
- "type": "string"
- },
- "left": {
- "description": "Omit: points are absolute",
- "maximum": 5000,
- "minimum": -1000,
- "type": "number"
- },
- "originX": {
- "description": "Which point left refers to (default left)",
- "enum": [
- "left",
- "center",
- "right"
- ],
- "type": "string"
- },
- "originY": {
- "description": "Which point top refers to (default top)",
- "enum": [
- "top",
- "center",
- "bottom"
- ],
- "type": "string"
- },
- "points": {
- "description": "Absolute canvas points in dots",
- "items": {
- "additionalProperties": false,
- "properties": {
- "x": {
- "maximum": 5000,
- "minimum": -1000,
- "type": "number"
- },
- "y": {
- "maximum": 5000,
- "minimum": -1000,
- "type": "number"
- }
- },
- "required": [
- "x",
- "y"
- ],
- "type": "object"
- },
- "maxItems": 64,
- "minItems": 2,
- "type": "array"
- },
- "stroke": {
- "description": "Line colour (default black)",
- "enum": [
- "black",
- "white",
- "transparent"
- ],
- "type": "string"
- },
- "strokeWidth": {
- "description": "Line width in dots (default 3); ≥2 at 203 dpi",
- "maximum": 50,
- "minimum": 1,
- "type": "number"
- },
- "top": {
- "description": "Omit: points are absolute",
- "maximum": 5000,
- "minimum": -1000,
- "type": "number"
- },
- "type": {
- "const": "Polyline",
- "type": "string"
- }
- },
- "required": [
- "type",
- "points"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "angle": {
- "description": "Rotation in degrees around the origin",
- "maximum": 360,
- "minimum": -360,
- "type": "number"
- },
- "ecl": {
- "description": "Error correction (default M); L fits more on small labels",
- "enum": [
- "L",
- "M",
- "Q",
- "H"
- ],
- "type": "string"
- },
- "left": {
- "description": "x of the origin point, in dots",
- "maximum": 5000,
- "minimum": -1000,
- "type": "number"
- },
- "originX": {
- "description": "Which point left refers to (default left)",
- "enum": [
- "left",
- "center",
- "right"
- ],
- "type": "string"
- },
- "originY": {
- "description": "Which point top refers to (default top)",
- "enum": [
- "top",
- "center",
- "bottom"
- ],
- "type": "string"
- },
- "text": {
- "description": "Encoded text or URL",
- "maxLength": 1200,
- "minLength": 1,
- "type": "string"
- },
- "top": {
- "description": "y of the origin point, in dots",
- "maximum": 5000,
- "minimum": -1000,
- "type": "number"
- },
- "type": {
- "const": "QRCode",
- "type": "string"
- },
- "width": {
- "description": "Side of the square in dots; modules must be ≥3 dots",
- "maximum": 2000,
- "minimum": 42,
- "type": "number"
- }
- },
- "required": [
- "type",
- "left",
- "top",
- "text",
- "width"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "angle": {
- "description": "Rotation in degrees around the origin",
- "maximum": 360,
- "minimum": -360,
- "type": "number"
- },
- "encoding": {
- "description": "Symbology",
- "enum": [
- "CODE128B",
- "EAN13"
- ],
- "type": "string"
- },
- "fontSize": {
- "description": "Size of the printed text (default 12)",
- "maximum": 60,
- "minimum": 6,
- "type": "number"
- },
- "height": {
- "description": "Height in dots, including the printed text",
- "maximum": 2000,
- "minimum": 10,
- "type": "number"
- },
- "left": {
- "description": "x of the origin point, in dots",
- "maximum": 5000,
- "minimum": -1000,
- "type": "number"
- },
- "originX": {
- "description": "Which point left refers to (default left)",
- "enum": [
- "left",
- "center",
- "right"
- ],
- "type": "string"
- },
- "originY": {
- "description": "Which point top refers to (default top)",
- "enum": [
- "top",
- "center",
- "bottom"
- ],
- "type": "string"
- },
- "printText": {
- "description": "Print the text under the bars (default true)",
- "type": "boolean"
- },
- "scaleFactor": {
- "description": "Dots per module (default 2); width follows from it",
- "maximum": 10,
- "minimum": 1,
- "type": "integer"
- },
- "text": {
- "description": "CODE128B: printable ASCII, never $ or ). EAN13: 12–13 digits",
- "maxLength": 229,
- "minLength": 1,
- "type": "string"
- },
- "top": {
- "description": "y of the origin point, in dots",
- "maximum": 5000,
- "minimum": -1000,
- "type": "number"
- },
- "type": {
- "const": "Barcode",
- "type": "string"
- }
- },
- "required": [
- "type",
- "left",
- "top",
- "text",
- "encoding",
- "height"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "angle": {
+ "description": "Rotation in degrees around the origin",
+ "maximum": 360,
+ "minimum": -360,
+ "type": "number"
+ },
+ "backgroundColor": {
+ "description": "Box fill behind the text; black + white fill makes an inverse band",
+ "enum": [
+ "black",
+ "white",
+ "transparent"
+ ],
+ "type": "string"
+ },
+ "charSpacing": {
+ "description": "Tracking in 1/1000 em",
+ "maximum": 1000,
+ "minimum": -200,
+ "type": "number"
+ },
+ "fill": {
+ "description": "Text colour (default black)",
+ "enum": [
+ "black",
+ "white",
+ "transparent"
+ ],
+ "type": "string"
+ },
+ "fontAutoSize": {
+ "description": "Shrinks the font only when a field filled in at print time ({dt…} or a rows value) adds lines or widens the text; a long word never shrinks it",
+ "type": "boolean"
+ },
+ "fontFamily": {
+ "description": "Font family (default Noto Sans Variable): a list_fonts family. Any other font travels by name only, so the user adds its file in NiimBlue (FONT_NOT_IN_LINK)",
+ "maxLength": 60,
+ "minLength": 1,
+ "pattern": "^-?[\\p{L}_][\\p{L}\\p{N}_-]*(?: -?[\\p{L}_][\\p{L}\\p{N}_-]*)*$",
+ "type": "string"
+ },
+ "fontSize": {
+ "description": "Font size in dots; ≥16 at 203 dpi",
+ "maximum": 999,
+ "minimum": 6,
+ "type": "number"
+ },
+ "fontStyle": {
+ "description": "italic is a synthetic oblique",
+ "enum": [
+ "normal",
+ "italic"
+ ],
+ "type": "string"
+ },
+ "fontWeight": {
+ "description": "Noto Sans Variable weight (default 600); ≥500 under 24 dots. Other fonts are one weight each: leave it unset (400), as ≥600 fakes bold on a regular file",
+ "maximum": 900,
+ "minimum": 100,
+ "type": "integer"
+ },
+ "left": {
+ "description": "x of the origin point, in dots",
+ "maximum": 5000,
+ "minimum": -1000,
+ "type": "number"
+ },
+ "lineHeight": {
+ "description": "Line height in font sizes (default 1)",
+ "maximum": 3,
+ "minimum": 0.7,
+ "type": "number"
+ },
+ "originX": {
+ "description": "Which point left refers to (default left)",
+ "enum": [
+ "left",
+ "center",
+ "right"
+ ],
+ "type": "string"
+ },
+ "originY": {
+ "description": "Which point top refers to (default top)",
+ "enum": [
+ "top",
+ "center",
+ "bottom"
+ ],
+ "type": "string"
+ },
+ "scaleX": {
+ "description": "Horizontal scale; 0.8–0.9 gives a condensed look",
+ "maximum": 1.5,
+ "minimum": 0.6,
+ "type": "number"
+ },
+ "text": {
+ "description": "Text; \\n breaks lines. {dt}, {dt|DD.MM.YYYY} or {dt+7d|DD.MM} print the date at print time; {key} fills from rows",
+ "maxLength": 2000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "textAlign": {
+ "description": "Default center, as in the app",
+ "enum": [
+ "left",
+ "center",
+ "right",
+ "justify"
+ ],
+ "type": "string"
+ },
+ "top": {
+ "description": "y of the origin point, in dots",
+ "maximum": 5000,
+ "minimum": -1000,
+ "type": "number"
+ },
+ "type": {
+ "const": "Textbox",
+ "type": "string"
+ },
+ "width": {
+ "description": "Wrap width in dots (long words widen the box)",
+ "maximum": 5000,
+ "minimum": 1,
+ "type": "number"
+ }
+ },
+ "required": [
+ "type",
+ "left",
+ "top",
+ "text",
+ "width",
+ "fontSize"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "angle": {
+ "description": "Rotation in degrees around the origin",
+ "maximum": 360,
+ "minimum": -360,
+ "type": "number"
+ },
+ "fill": {
+ "description": "Glyph colour (default black)",
+ "enum": [
+ "black",
+ "white",
+ "transparent"
+ ],
+ "type": "string"
+ },
+ "fontSize": {
+ "description": "Glyph size in dots; ≥32 at 203 dpi",
+ "maximum": 999,
+ "minimum": 8,
+ "type": "number"
+ },
+ "left": {
+ "description": "x of the origin point, in dots",
+ "maximum": 5000,
+ "minimum": -1000,
+ "type": "number"
+ },
+ "name": {
+ "description": "Material Icons name in snake_case, e.g. lan, kitchen, wine_bar",
+ "maxLength": 60,
+ "minLength": 1,
+ "type": "string"
+ },
+ "originX": {
+ "description": "Which point left refers to (default left)",
+ "enum": [
+ "left",
+ "center",
+ "right"
+ ],
+ "type": "string"
+ },
+ "originY": {
+ "description": "Which point top refers to (default top)",
+ "enum": [
+ "top",
+ "center",
+ "bottom"
+ ],
+ "type": "string"
+ },
+ "top": {
+ "description": "y of the origin point, in dots",
+ "maximum": 5000,
+ "minimum": -1000,
+ "type": "number"
+ },
+ "type": {
+ "const": "Icon",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "left",
+ "top",
+ "name",
+ "fontSize"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "angle": {
+ "description": "Rotation in degrees around the origin",
+ "maximum": 360,
+ "minimum": -360,
+ "type": "number"
+ },
+ "fill": {
+ "description": "Fill (default transparent)",
+ "enum": [
+ "black",
+ "white",
+ "transparent"
+ ],
+ "type": "string"
+ },
+ "height": {
+ "description": "Height in dots",
+ "maximum": 5000,
+ "minimum": 1,
+ "type": "number"
+ },
+ "left": {
+ "description": "x of the origin point, in dots",
+ "maximum": 5000,
+ "minimum": -1000,
+ "type": "number"
+ },
+ "originX": {
+ "description": "Which point left refers to (default left)",
+ "enum": [
+ "left",
+ "center",
+ "right"
+ ],
+ "type": "string"
+ },
+ "originY": {
+ "description": "Which point top refers to (default top)",
+ "enum": [
+ "top",
+ "center",
+ "bottom"
+ ],
+ "type": "string"
+ },
+ "rx": {
+ "description": "Corner radius x",
+ "maximum": 500,
+ "minimum": 0,
+ "type": "number"
+ },
+ "ry": {
+ "description": "Corner radius y",
+ "maximum": 500,
+ "minimum": 0,
+ "type": "number"
+ },
+ "stroke": {
+ "description": "Outline (default black)",
+ "enum": [
+ "black",
+ "white",
+ "transparent"
+ ],
+ "type": "string"
+ },
+ "strokeWidth": {
+ "description": "Stroke width in dots (default 3); ≥2 at 203 dpi",
+ "maximum": 50,
+ "minimum": 0,
+ "type": "number"
+ },
+ "top": {
+ "description": "y of the origin point, in dots",
+ "maximum": 5000,
+ "minimum": -1000,
+ "type": "number"
+ },
+ "type": {
+ "const": "Rect",
+ "type": "string"
+ },
+ "width": {
+ "description": "Width in dots",
+ "maximum": 5000,
+ "minimum": 1,
+ "type": "number"
+ }
+ },
+ "required": [
+ "type",
+ "left",
+ "top",
+ "width",
+ "height"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "angle": {
+ "description": "Rotation in degrees around the origin",
+ "maximum": 360,
+ "minimum": -360,
+ "type": "number"
+ },
+ "fill": {
+ "description": "Fill (default transparent)",
+ "enum": [
+ "black",
+ "white",
+ "transparent"
+ ],
+ "type": "string"
+ },
+ "left": {
+ "description": "x of the origin point, in dots",
+ "maximum": 5000,
+ "minimum": -1000,
+ "type": "number"
+ },
+ "originX": {
+ "description": "Which point left refers to (default left)",
+ "enum": [
+ "left",
+ "center",
+ "right"
+ ],
+ "type": "string"
+ },
+ "originY": {
+ "description": "Which point top refers to (default top)",
+ "enum": [
+ "top",
+ "center",
+ "bottom"
+ ],
+ "type": "string"
+ },
+ "radius": {
+ "description": "Radius in dots",
+ "maximum": 2500,
+ "minimum": 1,
+ "type": "number"
+ },
+ "stroke": {
+ "description": "Outline (default black)",
+ "enum": [
+ "black",
+ "white",
+ "transparent"
+ ],
+ "type": "string"
+ },
+ "strokeWidth": {
+ "description": "Stroke width in dots (default 3); ≥2 at 203 dpi",
+ "maximum": 50,
+ "minimum": 0,
+ "type": "number"
+ },
+ "top": {
+ "description": "y of the origin point, in dots",
+ "maximum": 5000,
+ "minimum": -1000,
+ "type": "number"
+ },
+ "type": {
+ "const": "Circle",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "left",
+ "top",
+ "radius"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "angle": {
+ "description": "Rotation in degrees around the origin",
+ "maximum": 360,
+ "minimum": -360,
+ "type": "number"
+ },
+ "fill": {
+ "description": "Fills the shape the points enclose, closed implicitly (default transparent): chevrons, arrows, marks; add stroke transparent for a clean edge",
+ "enum": [
+ "black",
+ "white",
+ "transparent"
+ ],
+ "type": "string"
+ },
+ "left": {
+ "description": "Omit: points are absolute",
+ "maximum": 5000,
+ "minimum": -1000,
+ "type": "number"
+ },
+ "originX": {
+ "description": "Which point left refers to (default left)",
+ "enum": [
+ "left",
+ "center",
+ "right"
+ ],
+ "type": "string"
+ },
+ "originY": {
+ "description": "Which point top refers to (default top)",
+ "enum": [
+ "top",
+ "center",
+ "bottom"
+ ],
+ "type": "string"
+ },
+ "points": {
+ "description": "Absolute canvas points in dots",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "x": {
+ "maximum": 5000,
+ "minimum": -1000,
+ "type": "number"
+ },
+ "y": {
+ "maximum": 5000,
+ "minimum": -1000,
+ "type": "number"
+ }
+ },
+ "required": [
+ "x",
+ "y"
+ ],
+ "type": "object"
+ },
+ "maxItems": 64,
+ "minItems": 2,
+ "type": "array"
+ },
+ "stroke": {
+ "description": "Line colour (default black)",
+ "enum": [
+ "black",
+ "white",
+ "transparent"
+ ],
+ "type": "string"
+ },
+ "strokeWidth": {
+ "description": "Line width in dots (default 3); ≥2 at 203 dpi",
+ "maximum": 50,
+ "minimum": 1,
+ "type": "number"
+ },
+ "top": {
+ "description": "Omit: points are absolute",
+ "maximum": 5000,
+ "minimum": -1000,
+ "type": "number"
+ },
+ "type": {
+ "const": "Polyline",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "points"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "angle": {
+ "description": "Rotation in degrees around the origin",
+ "maximum": 360,
+ "minimum": -360,
+ "type": "number"
+ },
+ "ecl": {
+ "description": "Error correction (default M); L fits more on small labels",
+ "enum": [
+ "L",
+ "M",
+ "Q",
+ "H"
+ ],
+ "type": "string"
+ },
+ "left": {
+ "description": "x of the origin point, in dots",
+ "maximum": 5000,
+ "minimum": -1000,
+ "type": "number"
+ },
+ "originX": {
+ "description": "Which point left refers to (default left)",
+ "enum": [
+ "left",
+ "center",
+ "right"
+ ],
+ "type": "string"
+ },
+ "originY": {
+ "description": "Which point top refers to (default top)",
+ "enum": [
+ "top",
+ "center",
+ "bottom"
+ ],
+ "type": "string"
+ },
+ "text": {
+ "description": "Encoded text or URL",
+ "maxLength": 1200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "top": {
+ "description": "y of the origin point, in dots",
+ "maximum": 5000,
+ "minimum": -1000,
+ "type": "number"
+ },
+ "type": {
+ "const": "QRCode",
+ "type": "string"
+ },
+ "width": {
+ "description": "Side of the square in dots; modules must be ≥3 dots",
+ "maximum": 2000,
+ "minimum": 42,
+ "type": "number"
+ }
+ },
+ "required": [
+ "type",
+ "left",
+ "top",
+ "text",
+ "width"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "angle": {
+ "description": "Rotation in degrees around the origin",
+ "maximum": 360,
+ "minimum": -360,
+ "type": "number"
+ },
+ "encoding": {
+ "description": "Symbology",
+ "enum": [
+ "CODE128B",
+ "EAN13"
+ ],
+ "type": "string"
+ },
+ "fontFamily": {
+ "description": "Font family (default Noto Sans Variable): a list_fonts family. Any other font travels by name only, so the user adds its file in NiimBlue (FONT_NOT_IN_LINK)",
+ "maxLength": 60,
+ "minLength": 1,
+ "pattern": "^-?[\\p{L}_][\\p{L}\\p{N}_-]*(?: -?[\\p{L}_][\\p{L}\\p{N}_-]*)*$",
+ "type": "string"
+ },
+ "fontSize": {
+ "description": "Size of the printed text (default 12)",
+ "maximum": 60,
+ "minimum": 6,
+ "type": "number"
+ },
+ "height": {
+ "description": "Height in dots, including the printed text",
+ "maximum": 2000,
+ "minimum": 10,
+ "type": "number"
+ },
+ "left": {
+ "description": "x of the origin point, in dots",
+ "maximum": 5000,
+ "minimum": -1000,
+ "type": "number"
+ },
+ "originX": {
+ "description": "Which point left refers to (default left)",
+ "enum": [
+ "left",
+ "center",
+ "right"
+ ],
+ "type": "string"
+ },
+ "originY": {
+ "description": "Which point top refers to (default top)",
+ "enum": [
+ "top",
+ "center",
+ "bottom"
+ ],
+ "type": "string"
+ },
+ "printText": {
+ "description": "Print the text under the bars (default true)",
+ "type": "boolean"
+ },
+ "scaleFactor": {
+ "description": "Dots per module (default 2); width follows from it",
+ "maximum": 10,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "text": {
+ "description": "CODE128B: printable ASCII, never $ or ). EAN13: 12–13 digits",
+ "maxLength": 229,
+ "minLength": 1,
+ "type": "string"
+ },
+ "top": {
+ "description": "y of the origin point, in dots",
+ "maximum": 5000,
+ "minimum": -1000,
+ "type": "number"
+ },
+ "type": {
+ "const": "Barcode",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "left",
+ "top",
+ "text",
+ "encoding",
+ "height"
+ ],
+ "type": "object"
+ }
+]