{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "$id": "https://paramlet.com/tools/tackle-box-insert/schema.json",
 "title": "Tackle box insert — parameters",
 "description": "Measure the inside of your tackle or utility box and print closed compartments for hooks, swivels and lead-free weights, plus long lure slots. All lengths are millimetres. Unknown keys are rejected; out-of-range values are rejected by the URL and API and clamped when a project file is opened.",
 "x-tool": "tackle-box-insert",
 "x-toolVersion": "1.1.0",
 "x-specVersion": "1.0",
 "x-apiVersion": "1",
 "x-groups": [
  {
   "id": "box",
   "title": "Box fit"
  },
  {
   "id": "layout",
   "title": "Compartments"
  },
  {
   "id": "care",
   "title": "Drying and rust"
  },
  {
   "id": "lids",
   "title": "Tray lids"
  },
  {
   "id": "look",
   "title": "Pattern and colours"
  },
  {
   "id": "print",
   "title": "Printing"
  }
 ],
 "x-presets": {
  "note": "Choosing a preset resets every key marked x-resetOnPreset to its default and then applies the preset values.",
  "items": [
   {
    "id": "custom-measured-box",
    "title": "Custom measured box",
    "description": "Type the inside of your own box; 4 x 3 closed compartments with scooped floors as a start.",
    "values": {
     "columns": 4,
     "rows": 3,
     "slotRows": 0,
     "dividerHeightPct": 100,
     "silicaPocket": 0,
     "drainHoles": 0,
     "mainColor": "#ff5b1f",
     "accentColor": "#f4efe6"
    }
   },
   {
    "id": "small-terminal-tackle",
    "title": "Small terminal tackle (6 x 4)",
    "description": "Twenty-four closed compartments for hooks, swivels, snaps, beads and lead-free split shot, plus a silica-gel pocket. Full-height dividers stop small hooks creeping between compartments.",
    "values": {
     "columns": 6,
     "rows": 4,
     "slotRows": 0,
     "dividerHeightPct": 100,
     "silicaPocket": 1,
     "drainHoles": 0,
     "mainColor": "#0ea5e9",
     "accentColor": "#f2c14e"
    }
   },
   {
    "id": "lure-slots",
    "title": "Lure slots",
    "description": "Five full-length slots for hard lures, spinners and floats, so trebles do not tangle with each other.",
    "values": {
     "columns": 1,
     "rows": 0,
     "slotRows": 5,
     "dividerHeightPct": 100,
     "silicaPocket": 0,
     "drainHoles": 0,
     "mainColor": "#16a34a",
     "accentColor": "#ffffff"
    }
   },
   {
    "id": "mixed-tackle",
    "title": "Mixed tackle (small compartments + slots)",
    "description": "Two rows of small compartments for terminal tackle and two long slots for lures or leaders.",
    "values": {
     "columns": 5,
     "rows": 2,
     "slotRows": 2,
     "dividerHeightPct": 100,
     "silicaPocket": 0,
     "drainHoles": 0,
     "mainColor": "#eab308",
     "accentColor": "#fbbf24"
    }
   },
   {
    "id": "soft-bait-slots",
    "title": "Soft bait slots",
    "description": "Three long slots for soft plastic baits. Keep salted baits in their own tray, away from the hooks, because salt speeds up rust.",
    "values": {
     "columns": 1,
     "rows": 0,
     "slotRows": 3,
     "dividerHeightPct": 100,
     "silicaPocket": 0,
     "drainHoles": 0,
     "mainColor": "#dc2626",
     "accentColor": "#bae6fd"
    }
   },
   {
    "id": "jig-head-tray",
    "title": "Lead-free jig heads (4 x 2)",
    "description": "Eight larger compartments sorted by jig head weight; for lead-free heads (tungsten, bismuth, tin or steel).",
    "values": {
     "columns": 4,
     "rows": 2,
     "slotRows": 0,
     "dividerHeightPct": 100,
     "silicaPocket": 0,
     "drainHoles": 0,
     "mainColor": "#14b8a6",
     "accentColor": "#fde68a"
    }
   },
   {
    "id": "drying-tray",
    "title": "Drying tray with drain holes",
    "description": "Open 3 x 2 tray with drain holes for lures that were used: rinse in fresh water, let them dry here, then put them back in the main box.",
    "values": {
     "columns": 3,
     "rows": 2,
     "slotRows": 0,
     "dividerHeightPct": 60,
     "silicaPocket": 0,
     "drainHoles": 1,
     "mainColor": "#7c3aed",
     "accentColor": "#fed7aa"
    }
   },
   {
    "id": "deep-box-two-layers",
    "title": "Deep box, two layers",
    "description": "Two stacked half-height trays of 4 x 3 compartments for a deep box; the upper tray lifts out.",
    "values": {
     "columns": 4,
     "rows": 3,
     "slotRows": 0,
     "dividerHeightPct": 100,
     "silicaPocket": 0,
     "drainHoles": 0,
     "layerCount": 2,
     "mainColor": "#f97316",
     "accentColor": "#d9f99d"
    }
   },
   {
    "id": "two-colour-fish-lids",
    "title": "Two-colour trays with fish lids",
    "description": "Compartment trays with sliding lids that carry a wave pattern and a fish emblem, coloured by one filament change.",
    "values": {
     "columns": 4,
     "rows": 3,
     "slotRows": 0,
     "lidType": "sliding",
     "lidPattern": "waves",
     "lidEmblem": "fish",
     "colorMode": "layer-change",
     "mainColor": "#2563eb",
     "accentColor": "#fecdd3"
    }
   }
  ]
 },
 "x-coreParams": {
  "exportFormat": {
   "type": "string",
   "title": "File format",
   "description": "3mf = 3MF (mm); 3mf_prusa = 3MF for PrusaSlicer (mm, colour parts as volumes); stl = STL files in a zip (mm)",
   "x-group": "download",
   "x-role": "core.exportFormat",
   "x-unit": "none",
   "x-agentSafe": true,
   "enum": [
    "3mf",
    "3mf_prusa",
    "stl"
   ],
   "default": "3mf"
  },
  "exportTol": {
   "type": "number",
   "title": "Mesh precision",
   "description": "Simplification tolerance in mm (0 = original mesh).",
   "x-group": "download",
   "x-role": "core.exportTolerance",
   "x-unit": "mm",
   "x-agentSafe": true,
   "enum": [
    0,
    0.01,
    0.02
   ],
   "default": 0.02
  },
  "units": {
   "type": "string",
   "title": "Units shown",
   "description": "Display only: mm or inches (1 in = 25.4 mm). Stored values, the API and exports are always mm.",
   "x-group": "view",
   "x-role": "core.displayUnits",
   "x-unit": "none",
   "x-agentSafe": true,
   "enum": [
    "mm",
    "in"
   ],
   "x-enumTitles": {
    "mm": "Millimetres",
    "in": "Inches"
   },
   "default": "mm"
  },
  "massUnits": {
   "type": "string",
   "title": "Weight shown in",
   "description": "Display only: grams or ounces (1 oz = 28.3495 g). Stored values, the API and exports are always grams.",
   "x-group": "view",
   "x-role": "core.displayMassUnits",
   "x-unit": "none",
   "x-agentSafe": true,
   "enum": [
    "g",
    "oz"
   ],
   "x-enumTitles": {
    "g": "Grams",
    "oz": "Ounces"
   },
   "default": "g"
  }
 },
 "type": "object",
 "properties": {
  "boxInnerLength": {
   "type": "number",
   "minimum": 40,
   "maximum": 450,
   "x-step": 0.5,
   "title": "Inner box length",
   "description": "Inside of the box, wall to wall along the longer side; outer sizes will not fit.",
   "x-group": "box",
   "x-unit": "mm",
   "x-agentSafe": true,
   "x-label-lv": "Kastes iekšējais garums",
   "default": 200
  },
  "boxInnerWidth": {
   "type": "number",
   "minimum": 40,
   "maximum": 450,
   "x-step": 0.5,
   "title": "Inner box width",
   "description": "Inside of the box, wall to wall along the shorter side.",
   "x-group": "box",
   "x-unit": "mm",
   "x-agentSafe": true,
   "x-label-lv": "Kastes iekšējais platums",
   "default": 150
  },
  "boxInnerHeight": {
   "type": "number",
   "minimum": 10,
   "maximum": 200,
   "x-step": 0.5,
   "title": "Inner box height",
   "description": "From the inside floor to where the closed lid presses down (its seal or rim).",
   "x-group": "box",
   "x-unit": "mm",
   "x-agentSafe": true,
   "x-label-lv": "Kastes iekšējais augstums",
   "default": 40
  },
  "lidClearance": {
   "type": "number",
   "minimum": 0,
   "maximum": 5,
   "x-step": 0.1,
   "title": "Air under the box lid",
   "description": "Gap left between the tray tops and the closed lid so the box shuts and its latches close.",
   "x-group": "box",
   "x-unit": "mm",
   "x-agentSafe": true,
   "x-label-lv": "Gaiss zem kastes vāka",
   "default": 0.5
  },
  "boxClearance": {
   "type": "number",
   "minimum": 0.2,
   "maximum": 3,
   "x-step": 0.1,
   "title": "Gap to box walls (per side)",
   "description": "Taken off the inner size on every side so the tray drops in and lifts out.",
   "x-group": "box",
   "x-unit": "mm",
   "x-role": "core.clearance",
   "x-agentSafe": true,
   "x-label-lv": "Sprauga līdz kastes sienām (katrā pusē)",
   "default": 0.5
  },
  "trayGap": {
   "type": "number",
   "minimum": 0.2,
   "maximum": 2,
   "x-step": 0.1,
   "title": "Gap between split trays",
   "description": "Space between neighbouring pieces when a tray is split for the bed.",
   "x-group": "box",
   "x-unit": "mm",
   "x-advanced": true,
   "x-agentSafe": true,
   "x-label-lv": "Sprauga starp sadalītām paplātēm",
   "default": 0.4
  },
  "layerCount": {
   "type": "integer",
   "minimum": 1,
   "maximum": 2,
   "multipleOf": 1,
   "title": "Stacked layers",
   "description": "Two half-height trays for deep boxes; the upper one lifts out to reach the lower one.",
   "x-group": "box",
   "x-unit": "count",
   "x-agentSafe": true,
   "x-label-lv": "Slāņi viens virs otra",
   "default": 1
  },
  "columns": {
   "type": "integer",
   "minimum": 1,
   "maximum": 12,
   "multipleOf": 1,
   "title": "Columns of small compartments",
   "description": "Small compartments across the length of the tray, for hooks, swivels, snaps and lead-free weights.",
   "x-group": "layout",
   "x-unit": "count",
   "x-agentSafe": true,
   "x-label-lv": "Mazo nodalījumu kolonnas",
   "default": 4,
   "x-resetOnPreset": true
  },
  "rows": {
   "type": "integer",
   "minimum": 0,
   "maximum": 8,
   "multipleOf": 1,
   "title": "Rows of small compartments",
   "description": "Rows of small compartments; 0 leaves only long slots.",
   "x-group": "layout",
   "x-unit": "count",
   "x-agentSafe": true,
   "x-label-lv": "Mazo nodalījumu rindas",
   "default": 3,
   "x-resetOnPreset": true
  },
  "slotRows": {
   "type": "integer",
   "minimum": 0,
   "maximum": 6,
   "multipleOf": 1,
   "title": "Full-length slots",
   "description": "Rows that run the whole tray length, for lures, soft baits, floats and leaders.",
   "x-group": "layout",
   "x-unit": "count",
   "x-agentSafe": true,
   "x-label-lv": "Pilna garuma spraugas",
   "default": 0,
   "x-resetOnPreset": true
  },
  "dividerHeightPct": {
   "type": "number",
   "minimum": 40,
   "maximum": 100,
   "multipleOf": 5,
   "title": "Divider height",
   "description": "Full-height dividers stop small hooks creeping between compartments; lower dividers save plastic and make picking easier.",
   "x-group": "layout",
   "x-unit": "pct",
   "x-agentSafe": true,
   "x-label-lv": "Starpsienu augstums",
   "default": 100,
   "x-resetOnPreset": true
  },
  "scoop": {
   "type": "integer",
   "enum": [
    0,
    1
   ],
   "title": "Scooped floors",
   "description": "Curved floor edges so a finger slides small hooks and swivels out; prints without supports.",
   "x-group": "layout",
   "x-agentSafe": true,
   "x-label-lv": "Noapaļotas grīdas",
   "default": 1
  },
  "silicaPocket": {
   "type": "integer",
   "enum": [
    0,
    1
   ],
   "title": "Silica-gel pocket",
   "description": "A narrow compartment at one end for two or three silica-gel packets that keep hooks dry.",
   "x-group": "care",
   "x-agentSafe": true,
   "x-label-lv": "Silikagela nodalījums",
   "default": 0,
   "x-resetOnPreset": true
  },
  "silicaPocketWidth": {
   "type": "number",
   "minimum": 10,
   "maximum": 40,
   "multipleOf": 1,
   "title": "Silica pocket width",
   "description": "Width of the silica-gel compartment along the tray length.",
   "x-group": "care",
   "x-unit": "mm",
   "x-visibleIf": {
    "silicaPocket": true
   },
   "x-agentSafe": true,
   "x-label-lv": "Silikagela nodalījuma platums",
   "default": 25
  },
  "drainHoles": {
   "type": "integer",
   "enum": [
    0,
    1
   ],
   "title": "Drain holes",
   "description": "One hole in each compartment floor so rinse water runs out and air reaches the floor; very small hooks and split shot can fall through.",
   "x-group": "care",
   "x-agentSafe": true,
   "x-label-lv": "Notecēšanas caurumi",
   "default": 0,
   "x-resetOnPreset": true
  },
  "drainHoleDiameter": {
   "type": "number",
   "minimum": 1.5,
   "maximum": 6,
   "x-step": 0.5,
   "title": "Drain hole diameter",
   "description": "Keep it smaller than the smallest item you store in that tray.",
   "x-group": "care",
   "x-unit": "mm",
   "x-visibleIf": {
    "drainHoles": true
   },
   "x-agentSafe": true,
   "x-label-lv": "Notecēšanas cauruma diametrs",
   "default": 3
  },
  "lidType": {
   "type": "string",
   "enum": [
    "none",
    "cap",
    "sliding",
    "magnet"
   ],
   "x-enumTitles": {
    "none": "No lid (the box lid covers it)",
    "cap": "Cap lid over the tray",
    "sliding": "Sliding lid in 45 degree grooves",
    "magnet": "Flat lid with magnet pockets"
   },
   "title": "Tray lid",
   "description": "A tray lid keeps tiny hooks in place when the box is carried on its side or in a bag.",
   "x-group": "lids",
   "x-agentSafe": true,
   "x-label-lv": "Paplātes vāks",
   "default": "none"
  },
  "lidThickness": {
   "type": "number",
   "minimum": 1.2,
   "maximum": 5,
   "x-step": 0.1,
   "title": "Lid plate thickness",
   "description": "Thickness of the lid plate; cap and magnet lids add it to the tray height.",
   "x-group": "lids",
   "x-unit": "mm",
   "x-visibleIf": {
    "lidType": {
     "ne": "none"
    }
   },
   "x-agentSafe": true,
   "x-label-lv": "Vāka plāksnes biezums",
   "default": 2
  },
  "trayLidFit": {
   "type": "number",
   "minimum": 0.1,
   "maximum": 0.6,
   "x-step": 0.05,
   "title": "Lid fit gap (per side)",
   "description": "Play in the sliding grooves or under the cap skirt; 0.2 to 0.3 mm per side is a common start.",
   "x-group": "lids",
   "x-unit": "mm",
   "x-visibleIf": {
    "lidType": [
     "cap",
     "sliding"
    ]
   },
   "x-agentSafe": true,
   "x-label-lv": "Vāka sprauga (katrā pusē)",
   "default": 0.25
  },
  "magnetDiameter": {
   "type": "number",
   "minimum": 3,
   "maximum": 12,
   "x-step": 0.5,
   "title": "Magnet diameter",
   "description": "Measured diameter of your disc magnets; pockets are 0.2 mm larger for glue. Magnets attract steel hooks, so keep them at the tray corners.",
   "x-group": "lids",
   "x-unit": "mm",
   "x-role": "core.magnetDiameter",
   "x-visibleIf": {
    "lidType": "magnet"
   },
   "x-agentSafe": true,
   "x-label-lv": "Magnēta diametrs",
   "default": 6
  },
  "magnetHeight": {
   "type": "number",
   "minimum": 1,
   "maximum": 5,
   "x-step": 0.5,
   "title": "Magnet height",
   "description": "Measured thickness of your magnets.",
   "x-group": "lids",
   "x-unit": "mm",
   "x-role": "core.magnetHeight",
   "x-visibleIf": {
    "lidType": "magnet"
   },
   "x-agentSafe": true,
   "x-label-lv": "Magnēta augstums",
   "default": 2
  },
  "wallThickness": {
   "type": "number",
   "minimum": 0.6,
   "maximum": 4,
   "x-step": 0.1,
   "title": "Wall thickness",
   "description": "Outer walls and dividers; 1.6 mm is four perimeters on a 0.4 mm nozzle, 2 mm with a sliding lid.",
   "x-group": "print",
   "x-unit": "mm",
   "x-role": "core.wallThickness",
   "x-agentSafe": true,
   "x-label-lv": "Sienu biezums",
   "default": 1.6
  },
  "floorThickness": {
   "type": "number",
   "minimum": 0.6,
   "maximum": 3,
   "x-step": 0.1,
   "title": "Floor thickness",
   "description": "Solid floor of every tray.",
   "x-group": "print",
   "x-unit": "mm",
   "x-agentSafe": true,
   "x-label-lv": "Grīdas biezums",
   "default": 1.2
  },
  "nozzle": {
   "type": "number",
   "minimum": 0.2,
   "maximum": 1,
   "x-step": 0.05,
   "title": "Nozzle diameter",
   "description": "Walls thinner than two nozzle widths are raised automatically; also used for the weight estimate.",
   "x-group": "print",
   "x-unit": "mm",
   "x-role": "print.nozzle",
   "x-agentSafe": true,
   "x-label-lv": "Sprauslas diametrs",
   "default": 0.4
  },
  "wallCount": {
   "type": "integer",
   "minimum": 1,
   "maximum": 8,
   "multipleOf": 1,
   "title": "Perimeters",
   "description": "Perimeters you will slice with; only changes the weight estimate.",
   "x-group": "print",
   "x-unit": "count",
   "x-role": "print.wallCount",
   "x-agentSafe": true,
   "x-label-lv": "Perimetri",
   "default": 4
  },
  "infill": {
   "type": "number",
   "minimum": 0,
   "maximum": 100,
   "multipleOf": 5,
   "title": "Infill",
   "description": "Infill you will slice with; only changes the weight estimate.",
   "x-group": "print",
   "x-unit": "pct",
   "x-role": "print.infill",
   "x-agentSafe": true,
   "x-label-lv": "Aizpildījums",
   "default": 15
  },
  "printMaterial": {
   "type": "string",
   "enum": [
    "petg",
    "asa",
    "pla"
   ],
   "x-enumTitles": {
    "petg": "PETG (recommended, wet and warm)",
    "asa": "ASA (boats and hot car boots)",
    "pla": "PLA (indoor storage only)"
   },
   "title": "Print material",
   "description": "PETG (heat deflection 68 C) suits wet tackle; ASA (93 C) survives a summer car or boat; PLA (55 C) softens in a hot car.",
   "x-group": "print",
   "x-role": "core.printMaterial",
   "x-agentSafe": true,
   "x-label-lv": "Drukas materiāls",
   "default": "petg"
  },
  "bedSize": {
   "type": "number",
   "minimum": 100,
   "maximum": 400,
   "multipleOf": 1,
   "title": "Printer bed size",
   "description": "Largest square your printer can print; bigger trays are split between compartments, never through one.",
   "x-group": "print",
   "x-unit": "mm",
   "x-agentSafe": true,
   "x-label-lv": "Printera galda izmērs",
   "default": 256
  },
  "splitParts": {
   "type": "integer",
   "minimum": 1,
   "maximum": 4,
   "multipleOf": 1,
   "title": "Max pieces per tray",
   "description": "How many pieces an over-bed tray may be split into; 1 never splits and only warns.",
   "x-group": "print",
   "x-unit": "count",
   "x-role": "core.splitParts",
   "x-agentSafe": true,
   "x-label-lv": "Maks. daļas vienai paplātei",
   "default": 4
  },
  "resolution": {
   "type": "integer",
   "minimum": 16,
   "maximum": 96,
   "multipleOf": 4,
   "title": "Curve resolution",
   "description": "Segments on scoops and holes; higher is smoother and a little larger to slice.",
   "x-group": "print",
   "x-unit": "count",
   "x-role": "core.resolution",
   "x-advanced": true,
   "x-agentSafe": true,
   "x-label-lv": "Līkņu izšķirtspēja",
   "default": 40
  },
  "fitTest": {
   "type": "integer",
   "enum": [
    0,
    1
   ],
   "title": "Add a fit-test corner",
   "description": "Adds a small full-height corner of the first tray (and its lid) to print first, so you can check the fit with your real items in minutes.",
   "x-group": "print",
   "x-agentSafe": true,
   "x-label-lv": "Pievienot pielaides testa stūri",
   "default": 0
  },
  "fitTestSize": {
   "type": "number",
   "minimum": 30,
   "maximum": 120,
   "multipleOf": 5,
   "title": "Fit-test corner size",
   "description": "Width and depth of the test corner; make it wider than one compartment or card well to test that fit too.",
   "x-group": "print",
   "x-unit": "mm",
   "x-visibleIf": {
    "fitTest": true
   },
   "x-agentSafe": true,
   "x-label-lv": "Testa stūra izmērs",
   "default": 60
  },
  "lidPattern": {
   "type": "string",
   "enum": [
    "none",
    "hex",
    "grid",
    "diamond",
    "dots",
    "lines",
    "waves"
   ],
   "x-enumTitles": {
    "none": "None (plain)",
    "hex": "Honeycomb",
    "grid": "Square grid",
    "diamond": "Diamond lattice",
    "dots": "Raised dots",
    "lines": "Diagonal lines",
    "waves": "Waves"
   },
   "title": "Lid pattern",
   "description": "Engraved into the outside of every lid, which prints face-down on the bed for a clean finish.",
   "x-group": "look",
   "x-visibleIf": {
    "lidType": {
     "ne": "none"
    }
   },
   "x-agentSafe": true,
   "x-label-lv": "Vāka raksts",
   "default": "none"
  },
  "lidEmblem": {
   "type": "string",
   "enum": [
    "none",
    "fish",
    "star",
    "circle",
    "diamond"
   ],
   "x-enumTitles": {
    "none": "None",
    "fish": "Fish",
    "star": "Star",
    "circle": "Ring",
    "diamond": "Diamond"
   },
   "title": "Lid emblem",
   "description": "A simple symbol in the middle of each lid, with a plain ring around it.",
   "x-group": "look",
   "x-visibleIf": {
    "lidType": {
     "ne": "none"
    }
   },
   "x-agentSafe": true,
   "x-label-lv": "Vāka emblēma",
   "default": "none"
  },
  "emblemSize": {
   "type": "number",
   "minimum": 10,
   "maximum": 60,
   "multipleOf": 1,
   "title": "Emblem height",
   "description": "Shrinks automatically on a small lid.",
   "x-group": "look",
   "x-unit": "mm",
   "x-visibleIf": {
    "lidEmblem": {
     "ne": "none"
    }
   },
   "x-agentSafe": true,
   "x-label-lv": "Emblēmas augstums",
   "default": 24
  },
  "sidePattern": {
   "type": "string",
   "enum": [
    "none",
    "hex",
    "grid",
    "diamond",
    "dots",
    "lines",
    "waves"
   ],
   "x-enumTitles": {
    "none": "None (plain)",
    "hex": "Honeycomb",
    "grid": "Square grid",
    "diamond": "Diamond lattice",
    "dots": "Raised dots",
    "lines": "Diagonal lines",
    "waves": "Waves"
   },
   "title": "Wall pattern",
   "description": "Engraved into the four outer walls of every box, below a sliding-lid groove.",
   "x-group": "look",
   "x-agentSafe": true,
   "x-label-lv": "Sienu raksts",
   "default": "none"
  },
  "patternCell": {
   "type": "number",
   "minimum": 3,
   "maximum": 20,
   "x-step": 0.5,
   "title": "Pattern size",
   "description": "Pitch of the cells, dots or lines; big faces get a coarser pitch to keep the file small.",
   "x-group": "look",
   "x-unit": "mm",
   "x-agentSafe": true,
   "x-label-lv": "Raksta izmērs",
   "default": 6
  },
  "patternLine": {
   "type": "number",
   "minimum": 0.8,
   "maximum": 3,
   "x-step": 0.1,
   "title": "Pattern line width",
   "description": "At least two nozzle widths, so every line prints cleanly.",
   "x-group": "look",
   "x-unit": "mm",
   "x-advanced": true,
   "x-agentSafe": true,
   "x-label-lv": "Raksta līnijas platums",
   "default": 1.2
  },
  "patternDepth": {
   "type": "number",
   "minimum": 0.2,
   "maximum": 1.2,
   "x-step": 0.1,
   "title": "Pattern depth",
   "description": "0.4 to 0.6 mm (two or three layers) reads well and keeps the plate strong.",
   "x-group": "look",
   "x-unit": "mm",
   "x-agentSafe": true,
   "x-label-lv": "Raksta dziļums",
   "default": 0.6
  },
  "patternMargin": {
   "type": "number",
   "minimum": 2,
   "maximum": 15,
   "x-step": 0.5,
   "title": "Plain border",
   "description": "Unpatterned border around each face.",
   "x-group": "look",
   "x-unit": "mm",
   "x-advanced": true,
   "x-agentSafe": true,
   "x-label-lv": "Gluda mala",
   "default": 4
  },
  "colorMode": {
   "type": "string",
   "enum": [
    "single",
    "layer-change",
    "multi-material"
   ],
   "x-enumTitles": {
    "single": "One colour",
    "layer-change": "Two colours, one nozzle (filament change)",
    "multi-material": "Two colours, multi-material printer (inlay parts)"
   },
   "title": "Colours",
   "description": "One nozzle: the lid face prints in the accent colour, one filament change fills the pattern. Multi-material: pattern, emblem and band are inlay parts with filament 2 already set.",
   "x-group": "look",
   "x-agentSafe": true,
   "x-label-lv": "Krāsas",
   "default": "single"
  },
  "accentBand": {
   "type": "number",
   "minimum": 0,
   "maximum": 20,
   "multipleOf": 1,
   "title": "Rim band in accent colour",
   "description": "Height of a coloured band at the top of every box; 0 for none.",
   "x-group": "look",
   "x-unit": "mm",
   "x-visibleIf": {
    "colorMode": {
     "ne": "single"
    }
   },
   "x-agentSafe": true,
   "x-label-lv": "Malas josla akcenta krāsā",
   "default": 0
  },
  "mainColor": {
   "type": "string",
   "pattern": "^#[0-9a-fA-F]{6}$",
   "title": "Main colour",
   "description": "Colour of the boxes; also written into the slicer colour-change marker.",
   "x-group": "look",
   "x-role": "core.previewColor",
   "x-agentSafe": true,
   "x-label-lv": "Galvenā krāsa",
   "default": "#1f4e8c"
  },
  "accentColor": {
   "type": "string",
   "pattern": "^#[0-9a-fA-F]{6}$",
   "title": "Accent colour",
   "description": "Lid face, inlays and rim band; pick a strong contrast to the main colour.",
   "x-group": "look",
   "x-visibleIf": {
    "colorMode": {
     "ne": "single"
    }
   },
   "x-agentSafe": true,
   "x-label-lv": "Akcenta krāsa",
   "default": "#f2c14e"
  },
  "layerHeight": {
   "type": "number",
   "minimum": 0.08,
   "maximum": 0.4,
   "x-step": 0.02,
   "title": "Layer height",
   "description": "The layer height you will slice with; the colour change is placed on this layer grid.",
   "x-group": "print",
   "x-unit": "mm",
   "x-role": "print.layerHeight",
   "x-visibleIf": {
    "colorMode": "layer-change"
   },
   "x-agentSafe": true,
   "x-label-lv": "Slāņa augstums",
   "default": 0.2
  },
  "firstLayerHeight": {
   "type": "number",
   "minimum": 0.1,
   "maximum": 0.4,
   "x-step": 0.02,
   "title": "First layer height",
   "description": "First layer height in your slicer profile.",
   "x-group": "print",
   "x-unit": "mm",
   "x-role": "print.firstLayerHeight",
   "x-visibleIf": {
    "colorMode": "layer-change"
   },
   "x-agentSafe": true,
   "x-label-lv": "Pirmā slāņa augstums",
   "default": 0.2
  }
 },
 "additionalProperties": false,
 "recommended_materials": [
  {
   "id": "petg-filament-1kg",
   "title": "PETG Filament 1.75 mm (1 kg) — heat-resistant & durable",
   "why": "Stronger and more heat-resistant than PLA for molds, jigs and outdoor parts.",
   "url": "https://paramlet.com/go/petg-filament-1kg?src=agent",
   "relation": "material",
   "disclosure": "Affiliate link (Amazon Associates, tag paramlet-21)"
  },
  {
   "id": "tungsten-jig-heads",
   "title": "Lead-Free Tungsten Jig Heads (10.6 g, Hook Size 1)",
   "why": "Compact, lead-free tungsten heads that rig cleanly into shads and minnows.",
   "url": "https://paramlet.com/go/tungsten-jig-heads?src=agent",
   "relation": "material",
   "disclosure": "Affiliate link (Amazon Associates, tag paramlet-21)"
  },
  {
   "id": "deburring-tool-set",
   "title": "Precision Deburring Tool with 10 HSS Blades",
   "why": "Cleans brim edges and drill-hole chamfers in seconds.",
   "url": "https://paramlet.com/go/deburring-tool-set?src=agent",
   "relation": "material",
   "disclosure": "Affiliate link (Amazon Associates, tag paramlet-21)"
  }
 ]
}