{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "$id": "https://paramlet.com/tools/card-deck-box/schema.json",
 "title": "Card deck box — parameters",
 "description": "Generate a 3D-printable deck box sized from your card format, card count and sleeves, with a finger notch, extra dice slot and a cap or sliding lid. 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": "card-deck-box",
 "x-toolVersion": "1.1.0",
 "x-specVersion": "1.0",
 "x-apiVersion": "1",
 "x-groups": [
  {
   "id": "cards",
   "title": "Cards and sleeves"
  },
  {
   "id": "box",
   "title": "Box"
  },
  {
   "id": "lid",
   "title": "Lid"
  },
  {
   "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": "standard-60-sleeved",
    "title": "Standard cards, 60 sleeved",
    "description": "One deck of 60 standard 63.5 x 88 mm cards in standard sleeves, upright, with a cap lid.",
    "values": {
     "cardWidth": 63.5,
     "cardHeight": 88,
     "cardCount": 60,
     "sleeveType": "standard",
     "deckCount": 1,
     "mainColor": "#e85d22",
     "accentColor": "#f4efe6"
    }
   },
   {
    "id": "standard-100-double-sleeved",
    "title": "Standard cards, 100 double-sleeved",
    "description": "A 100-card deck of 63.5 x 88 mm cards in double sleeves (inner plus outer), the thickest common case.",
    "values": {
     "cardWidth": 63.5,
     "cardHeight": 88,
     "cardCount": 100,
     "sleeveType": "double",
     "sleeveSizeAdd": 4,
     "deckCount": 1,
     "mainColor": "#2563eb",
     "accentColor": "#f2c14e"
    }
   },
   {
    "id": "two-decks-side-by-side",
    "title": "Two standard decks side by side",
    "description": "Two 60-card standard decks in sleeves, each in its own slot.",
    "values": {
     "cardWidth": 63.5,
     "cardHeight": 88,
     "cardCount": 60,
     "sleeveType": "standard",
     "deckCount": 2,
     "mainColor": "#15803d",
     "accentColor": "#ffffff"
    }
   },
   {
    "id": "deck-with-dice",
    "title": "Deck with a dice compartment",
    "description": "A 60-card sleeved deck plus a 20 mm compartment for dice and counters.",
    "values": {
     "cardWidth": 63.5,
     "cardHeight": 88,
     "cardCount": 60,
     "sleeveType": "standard",
     "deckCount": 1,
     "extraCompartment": 1,
     "extraCompartmentWidth": 20,
     "mainColor": "#d97706",
     "accentColor": "#fbbf24"
    }
   },
   {
    "id": "mini-euro-cards",
    "title": "Mini euro cards (44 x 68 mm)",
    "description": "Small 44 x 68 mm cards (some sleeve makers list 45 x 68): measure yours.",
    "values": {
     "cardWidth": 44,
     "cardHeight": 68,
     "cardCount": 60,
     "sleeveType": "standard",
     "deckCount": 1,
     "mainColor": "#0f766e",
     "accentColor": "#bae6fd"
    }
   },
   {
    "id": "mini-usa-cards",
    "title": "Mini USA cards (41 x 63 mm)",
    "description": "Small 41 x 63 mm cards in sleeves.",
    "values": {
     "cardWidth": 41,
     "cardHeight": 63,
     "cardCount": 60,
     "sleeveType": "standard",
     "deckCount": 1,
     "mainColor": "#b91c1c",
     "accentColor": "#fde68a"
    }
   },
   {
    "id": "euro-cards",
    "title": "Euro cards (59 x 92 mm)",
    "description": "One deck of 59 x 92 mm euro-format cards in sleeves.",
    "values": {
     "cardWidth": 59,
     "cardHeight": 92,
     "cardCount": 60,
     "sleeveType": "standard",
     "deckCount": 1,
     "mainColor": "#7c3aed",
     "accentColor": "#fed7aa"
    }
   },
   {
    "id": "tarot-deck",
    "title": "Tarot deck (70 x 120 mm, 78 cards)",
    "description": "A full 78-card tarot deck of 70 x 120 mm cards without sleeves, in a low box.",
    "values": {
     "cardWidth": 70,
     "cardHeight": 120,
     "cardCount": 78,
     "sleeveType": "none",
     "deckCount": 1,
     "cardStand": "landscape",
     "mainColor": "#0284c7",
     "accentColor": "#d9f99d"
    }
   },
   {
    "id": "poker-deck",
    "title": "Poker deck (63.5 x 88.9 mm)",
    "description": "A 52-card poker deck plus two jokers, unsleeved; the 88.9 mm card height is rounded up to 89 mm.",
    "values": {
     "cardWidth": 63.5,
     "cardHeight": 89,
     "cardCount": 54,
     "sleeveType": "none",
     "deckCount": 1,
     "mainColor": "#ca8a04",
     "accentColor": "#fecdd3"
    }
   },
   {
    "id": "poker-deck-two-colour",
    "title": "Poker deck, two colours, one nozzle",
    "description": "A 54-card poker deck with a honeycomb lid and a spade emblem, coloured by one filament change.",
    "values": {
     "cardWidth": 63.5,
     "cardHeight": 89,
     "cardCount": 54,
     "sleeveType": "none",
     "deckCount": 1,
     "lidPattern": "hex",
     "lidEmblem": "spade",
     "colorMode": "layer-change",
     "accentBand": 0,
     "mainColor": "#334155",
     "accentColor": "#e2e8f0"
    }
   },
   {
    "id": "two-decks-multi-material",
    "title": "Two sleeved decks, multi-material",
    "description": "Two 60-card sleeved decks with a heart emblem, wave walls and a rim band as inlay parts for a multi-material printer.",
    "values": {
     "cardWidth": 63.5,
     "cardHeight": 88,
     "cardCount": 60,
     "sleeveType": "standard",
     "deckCount": 2,
     "lidPattern": "diamond",
     "lidEmblem": "heart",
     "sidePattern": "waves",
     "colorMode": "multi-material",
     "accentBand": 6,
     "dividerCards": 1,
     "mainColor": "#db2777",
     "accentColor": "#fcd34d"
    }
   }
  ]
 },
 "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": {
  "cardWidth": {
   "type": "number",
   "minimum": 30,
   "maximum": 130,
   "x-step": 0.5,
   "title": "Card width (unsleeved)",
   "description": "Short side of the bare card; measure the card itself, not an old sleeve.",
   "x-group": "cards",
   "x-unit": "mm",
   "x-agentSafe": true,
   "x-label-lv": "Kārts platums (bez apvalka)",
   "default": 63.5,
   "x-resetOnPreset": true
  },
  "cardHeight": {
   "type": "number",
   "minimum": 40,
   "maximum": 160,
   "x-step": 0.5,
   "title": "Card height (unsleeved)",
   "description": "Long side of the bare card.",
   "x-group": "cards",
   "x-unit": "mm",
   "x-agentSafe": true,
   "x-label-lv": "Kārts augstums (bez apvalka)",
   "default": 88,
   "x-resetOnPreset": true
  },
  "cardCount": {
   "type": "integer",
   "minimum": 1,
   "maximum": 200,
   "multipleOf": 1,
   "title": "Cards per deck",
   "description": "Cards in each deck slot; with stock and sleeves this sets the slot depth.",
   "x-group": "cards",
   "x-unit": "count",
   "x-agentSafe": true,
   "x-label-lv": "Kārtis vienā kavā",
   "default": 60,
   "x-resetOnPreset": true
  },
  "cardStockThickness": {
   "type": "number",
   "minimum": 0.15,
   "maximum": 0.8,
   "x-step": 0.01,
   "title": "Card thickness",
   "description": "Press 20 bare cards together with calipers and divide by 20; 0.32 mm is a typical value.",
   "x-group": "cards",
   "x-unit": "mm",
   "x-agentSafe": true,
   "x-label-lv": "Kārts biezums",
   "default": 0.32
  },
  "sleeveType": {
   "type": "string",
   "enum": [
    "none",
    "penny",
    "standard",
    "premium",
    "double",
    "measured"
   ],
   "x-enumTitles": {
    "none": "No sleeves",
    "penny": "Penny / thin (about 0.04 mm per side)",
    "standard": "Standard (about 0.08 mm per side)",
    "premium": "Premium (about 0.10 mm per side)",
    "double": "Double-sleeved (about 0.14 mm per side)",
    "measured": "Measured film thickness"
   },
   "title": "Sleeves",
   "description": "Typical film per side; brands differ by 0.02 to 0.05 mm, so measure 10 sleeved cards when you can.",
   "x-group": "cards",
   "x-agentSafe": true,
   "x-label-lv": "Kāršu apvalki",
   "default": "standard",
   "x-resetOnPreset": true
  },
  "sleeveFilmPerSide": {
   "type": "number",
   "minimum": 0,
   "maximum": 0.3,
   "x-step": 0.01,
   "title": "Sleeve film per side (measured)",
   "description": "Measure 10 sleeved cards, divide by 10, take away the bare card thickness and halve it.",
   "x-group": "cards",
   "x-unit": "mm",
   "x-visibleIf": {
    "sleeveType": "measured"
   },
   "x-agentSafe": true,
   "x-label-lv": "Apvalka plēve katrā pusē (izmērīta)",
   "default": 0.08
  },
  "sleeveSizeAdd": {
   "type": "number",
   "minimum": 0,
   "maximum": 6,
   "x-step": 0.5,
   "title": "Sleeve adds to width and height",
   "description": "Sleeves make a card about 2 to 4 mm wider and taller (63.5 x 88 cards go in 66 x 91 sleeves).",
   "x-group": "cards",
   "x-unit": "mm",
   "x-visibleIf": {
    "sleeveType": {
     "ne": "none"
    }
   },
   "x-agentSafe": true,
   "x-label-lv": "Apvalks palielina platumu un augstumu",
   "default": 3,
   "x-resetOnPreset": true
  },
  "shuffleAllowance": {
   "type": "number",
   "minimum": 0,
   "maximum": 10,
   "multipleOf": 1,
   "title": "Shuffled-deck allowance",
   "description": "A shuffled deck stands 2 to 5 percent thicker than a pressed one.",
   "x-group": "cards",
   "x-unit": "pct",
   "x-advanced": true,
   "x-agentSafe": true,
   "x-label-lv": "Sajauktas kavas rezerve",
   "default": 3
  },
  "cardClearance": {
   "type": "number",
   "minimum": 0,
   "maximum": 3,
   "x-step": 0.1,
   "title": "Room around the cards",
   "description": "Added once to the slot width, height and depth so the deck slides in and out.",
   "x-group": "cards",
   "x-unit": "mm",
   "x-role": "core.clearance",
   "x-agentSafe": true,
   "x-label-lv": "Brīva vieta ap kārtīm",
   "default": 1
  },
  "deckCount": {
   "type": "integer",
   "minimum": 1,
   "maximum": 4,
   "multipleOf": 1,
   "title": "Deck slots",
   "description": "Decks side by side, each in its own slot with a divider.",
   "x-group": "box",
   "x-unit": "count",
   "x-agentSafe": true,
   "x-label-lv": "Kavu nodalījumi",
   "default": 1,
   "x-resetOnPreset": true
  },
  "cardStand": {
   "type": "string",
   "enum": [
    "portrait",
    "landscape"
   ],
   "x-enumTitles": {
    "portrait": "Upright (cards stand on the short edge)",
    "landscape": "Low (cards stand on the long edge)"
   },
   "title": "Card orientation",
   "description": "Upright is the classic tall deck box; low boxes stack better on a shelf.",
   "x-group": "box",
   "x-agentSafe": true,
   "x-label-lv": "Kāršu novietojums",
   "default": "portrait",
   "x-resetOnPreset": true
  },
  "extraCompartment": {
   "type": "integer",
   "enum": [
    0,
    1
   ],
   "title": "Dice and counter compartment",
   "description": "An extra compartment beside the decks for dice, counters or a few tokens.",
   "x-group": "box",
   "x-agentSafe": true,
   "x-label-lv": "Nodalījums kauliņiem un žetoniem",
   "default": 0,
   "x-resetOnPreset": true
  },
  "extraCompartmentWidth": {
   "type": "number",
   "minimum": 10,
   "maximum": 40,
   "multipleOf": 1,
   "title": "Extra compartment width",
   "description": "Inside width of the extra compartment; a little more than your largest die.",
   "x-group": "box",
   "x-unit": "mm",
   "x-visibleIf": {
    "extraCompartment": true
   },
   "x-agentSafe": true,
   "x-label-lv": "Papildu nodalījuma platums",
   "default": 20,
   "x-resetOnPreset": true
  },
  "fingerCutout": {
   "type": "integer",
   "enum": [
    0,
    1
   ],
   "title": "Finger cut-out",
   "description": "A U-notch in the front and back so you can pinch the deck out; open to the top, no supports.",
   "x-group": "box",
   "x-agentSafe": true,
   "x-label-lv": "Pirkstu izgriezums",
   "default": 1
  },
  "fingerCutoutDepthPct": {
   "type": "number",
   "minimum": 20,
   "maximum": 70,
   "multipleOf": 5,
   "title": "Cut-out depth",
   "description": "How far down the notch goes, as a percentage of the card height in the box.",
   "x-group": "box",
   "x-unit": "pct",
   "x-visibleIf": {
    "fingerCutout": true
   },
   "x-agentSafe": true,
   "x-label-lv": "Izgriezuma dziļums",
   "default": 40
  },
  "wallThickness": {
   "type": "number",
   "minimum": 0.6,
   "maximum": 4,
   "x-step": 0.1,
   "title": "Wall thickness",
   "description": "Outer walls and dividers; 2 mm survives a bag and holds a sliding-lid groove.",
   "x-group": "box",
   "x-unit": "mm",
   "x-role": "core.wallThickness",
   "x-agentSafe": true,
   "x-label-lv": "Sienu biezums",
   "default": 2
  },
  "floorThickness": {
   "type": "number",
   "minimum": 0.6,
   "maximum": 3,
   "x-step": 0.1,
   "title": "Floor thickness",
   "description": "Solid floor of the box.",
   "x-group": "box",
   "x-unit": "mm",
   "x-agentSafe": true,
   "x-label-lv": "Grīdas biezums",
   "default": 1.6
  },
  "lidType": {
   "type": "string",
   "enum": [
    "cap",
    "sliding",
    "none"
   ],
   "x-enumTitles": {
    "cap": "Cap lid that slides over the box",
    "sliding": "Sliding lid in 45 degree grooves",
    "none": "No lid (open tray)"
   },
   "title": "Lid type",
   "description": "A cap lid prints without supports and suits tall boxes; a sliding lid keeps the box one height.",
   "x-group": "lid",
   "x-agentSafe": true,
   "x-label-lv": "Vāka veids",
   "default": "cap"
  },
  "lidThickness": {
   "type": "number",
   "minimum": 1.2,
   "maximum": 4,
   "x-step": 0.1,
   "title": "Lid plate thickness",
   "description": "Thickness of the flat top of the lid.",
   "x-group": "lid",
   "x-unit": "mm",
   "x-visibleIf": {
    "lidType": {
     "ne": "none"
    }
   },
   "x-agentSafe": true,
   "x-label-lv": "Vāka plāksnes biezums",
   "default": 1.6
  },
  "lidFit": {
   "type": "number",
   "minimum": 0.1,
   "maximum": 0.6,
   "x-step": 0.05,
   "title": "Lid fit gap (per side)",
   "description": "Play between lid and box; 0.2 to 0.3 mm per side is a common start, larger if the lid is too tight.",
   "x-group": "lid",
   "x-unit": "mm",
   "x-visibleIf": {
    "lidType": {
     "ne": "none"
    }
   },
   "x-agentSafe": true,
   "x-label-lv": "Vāka sprauga (katrā pusē)",
   "default": 0.25
  },
  "capSkirtHeight": {
   "type": "number",
   "minimum": 8,
   "maximum": 40,
   "multipleOf": 1,
   "title": "Cap overlap",
   "description": "How far the cap slides down over the box; more overlap holds the lid on in a bag.",
   "x-group": "lid",
   "x-unit": "mm",
   "x-visibleIf": {
    "lidType": "cap"
   },
   "x-agentSafe": true,
   "x-label-lv": "Vāka pārlaidums",
   "default": 20
  },
  "dividerCards": {
   "type": "integer",
   "minimum": 0,
   "maximum": 6,
   "multipleOf": 1,
   "title": "Divider cards per deck",
   "description": "Flat card-sized dividers with a tab (left, middle, right in turn) to split a deck into sections; the slot is made deeper for them.",
   "x-group": "box",
   "x-unit": "count",
   "x-agentSafe": true,
   "x-label-lv": "Atdalītājkārtis katrai kavai",
   "default": 0
  },
  "dividerThickness": {
   "type": "number",
   "minimum": 0.6,
   "maximum": 1.6,
   "x-step": 0.1,
   "title": "Divider card thickness",
   "description": "0.8 mm (four layers of 0.2 mm) is stiff enough and still thin.",
   "x-group": "box",
   "x-unit": "mm",
   "x-visibleIf": {
    "dividerCards": {
     "ne": 0
    }
   },
   "x-agentSafe": true,
   "x-label-lv": "Atdalītājkārts biezums",
   "default": 0.8
  },
  "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 the 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": "hex"
  },
  "lidEmblem": {
   "type": "string",
   "enum": [
    "none",
    "heart",
    "spade",
    "club",
    "diamond",
    "star"
   ],
   "x-enumTitles": {
    "none": "None",
    "heart": "Heart",
    "spade": "Spade",
    "club": "Club",
    "diamond": "Diamond",
    "star": "Star"
   },
   "title": "Lid emblem",
   "description": "A card-suit or star emblem in the middle of the 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, below the lid overlap so it stays visible.",
   "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.",
   "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 as two clean extrusions.",
   "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 (a sliding lid keeps at least its groove width).",
   "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 the 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 box; written into the colour-change marker for the slicer.",
   "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
  },
  "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": 3
  },
  "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",
    "pla"
   ],
   "x-enumTitles": {
    "petg": "PETG (recommended, tougher in a bag)",
    "pla": "PLA (fine on a shelf)"
   },
   "title": "Print material",
   "description": "PETG (heat deflection 68 C) is tougher for a box that travels; PLA (55 C) is fine on a shelf but not in a hot car.",
   "x-group": "print",
   "x-role": "core.printMaterial",
   "x-agentSafe": true,
   "x-label-lv": "Drukas materiāls",
   "default": "petg"
  },
  "resolution": {
   "type": "integer",
   "minimum": 16,
   "maximum": 96,
   "multipleOf": 4,
   "title": "Curve resolution",
   "description": "Segments on the finger cut-out curve.",
   "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": 48
  },
  "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
  }
 },
 "additionalProperties": false,
 "recommended_materials": [
  {
   "id": "mayday-sleeves-635x88",
   "title": "Mayday Card Sleeves 63.5×88 mm (100 pcs)",
   "why": "Standard European board-game card size 63.5×88 mm; measure your cards first — this is not the 66×91 mm size used by some other brands.",
   "url": "https://paramlet.com/go/mayday-sleeves-635x88?src=agent",
   "relation": "material",
   "disclosure": "Affiliate link (Amazon Associates, tag paramlet-21)"
  },
  {
   "id": "pla-matte-filament",
   "title": "Matte PLA Filament 1.75 mm (1 kg) — smooth surface finish",
   "why": "Clean matte finish for decorative vases, ornaments and candle holders.",
   "url": "https://paramlet.com/go/pla-matte-filament?src=agent",
   "relation": "material",
   "disclosure": "Affiliate link (Amazon Associates, tag paramlet-21)"
  },
  {
   "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)"
  }
 ]
}