{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "$id": "https://paramlet.com/tools/candle-holder/schema.json",
 "title": "Candle holder generator — parameters",
 "description": "Design 3D-printable candle holders: candlesticks, spiral trees, tealight clusters, advent rings, patterned cubes, lanterns, candelabras and seasonal shapes. 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": "candle-holder",
 "x-toolVersion": "1.0.0",
 "x-specVersion": "1.0",
 "x-apiVersion": "1",
 "x-groups": [
  {
   "id": "style",
   "title": "Holder family & candle"
  },
  {
   "id": "size",
   "title": "Dimensions"
  },
  {
   "id": "pattern",
   "title": "Patterns"
  },
  {
   "id": "text",
   "title": "Personalisation"
  },
  {
   "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": "arched-candelabra",
    "title": "Arched candelabra ×3",
    "description": "Three taper sockets on sweeping arms at rising heights.",
    "values": {
     "holderType": "candelabra",
     "candleType": "taper",
     "width": 200,
     "height": 140,
     "wallThickness": 3,
     "socketClearance": 0.3,
     "candleCount": 3
    }
   },
   {
    "id": "led-spiral-tree",
    "title": "LED spiral tree (160 mm)",
    "description": "The popular single-ribbon spiral Christmas tree for an LED tealight in the base.",
    "values": {
     "holderType": "spiral-tree",
     "candleType": "led-tealight",
     "spiralStyle": "spiral",
     "width": 160,
     "height": 180,
     "wallThickness": 2.4,
     "socketClearance": 0.3
    }
   },
   {
    "id": "ribbed-christmas-tree",
    "title": "Ribbed tree for taper",
    "description": "Ribbed cone tree with a taper socket in the base ring.",
    "values": {
     "holderType": "spiral-tree",
     "candleType": "taper",
     "spiralStyle": "ribbed",
     "width": 140,
     "height": 200,
     "wallThickness": 2.8,
     "socketClearance": 0.3
    }
   },
   {
    "id": "classic-candlestick",
    "title": "Classic dome candlestick",
    "description": "Dinner candlestick with a weighted base and dome stem for a 22 mm taper.",
    "values": {
     "holderType": "candlestick",
     "candleType": "taper",
     "stemStyle": "dome",
     "width": 90,
     "height": 160,
     "wallThickness": 2.8,
     "socketClearance": 0.3,
     "pattern": "none"
    }
   },
   {
    "id": "modern-cone-candlestick",
    "title": "Modern cone candlestick",
    "description": "Minimalist cone candlestick, 120 mm tall.",
    "values": {
     "holderType": "candlestick",
     "candleType": "taper",
     "stemStyle": "cone",
     "width": 80,
     "height": 120,
     "wallThickness": 2.4,
     "socketClearance": 0.3,
     "pattern": "none"
    }
   },
   {
    "id": "twisted-candlestick",
    "title": "Twisted stem candlestick",
    "description": "Fluted twisted stem with a knurled feel for festive tables.",
    "values": {
     "holderType": "candlestick",
     "candleType": "taper",
     "stemStyle": "hourglass",
     "width": 90,
     "height": 180,
     "wallThickness": 2.8,
     "socketClearance": 0.3,
     "pattern": "twist",
     "patternCount": 12
    }
   },
   {
    "id": "mantel-cluster-3",
    "title": "Mantel row of 3 tealights",
    "description": "Simple rectangular tray with three tealight cups in a row.",
    "values": {
     "holderType": "cluster-tray",
     "candleType": "tealight",
     "layout": "line",
     "trayShape": "rect",
     "width": 200,
     "height": 40,
     "wallThickness": 2.4,
     "socketClearance": 0.3,
     "candleCount": 3
    }
   },
   {
    "id": "family-tray-personalized",
    "title": "Personalized FAMILY tray",
    "description": "Oval LED tealight tray with a name or year engraved on the front.",
    "values": {
     "holderType": "cluster-tray",
     "candleType": "led-tealight",
     "layout": "arc",
     "trayShape": "oval",
     "width": 220,
     "height": 40,
     "wallThickness": 2.4,
     "socketClearance": 0.3,
     "candleCount": 3,
     "textLine": "FAMILY",
     "textMode": "deboss",
     "textDepth": 1.2
    }
   },
   {
    "id": "advent-ring-200",
    "title": "Advent ring 200 mm",
    "description": "Classic 200 mm advent ring with four LED tealight cups.",
    "values": {
     "holderType": "ring-advent",
     "candleType": "led-tealight",
     "width": 200,
     "height": 40,
     "wallThickness": 2.8,
     "socketClearance": 0.3,
     "candleCount": 4,
     "pattern": "none"
    }
   },
   {
    "id": "advent-ring-ribbed",
    "title": "Ribbed advent ring with name",
    "description": "Ribbed advent ring for four tapers with a name on the side.",
    "values": {
     "holderType": "ring-advent",
     "candleType": "taper",
     "width": 220,
     "height": 60,
     "wallThickness": 3,
     "socketClearance": 0.3,
     "candleCount": 4,
     "pattern": "ribs",
     "patternCount": 18,
     "textLine": "ADVENT",
     "textMode": "deboss",
     "textDepth": 1.2
    }
   },
   {
    "id": "honeycomb-cube",
    "title": "Honeycomb candle cube",
    "description": "The classic honeycomb cube tower with an LED tealight pocket on top.",
    "values": {
     "holderType": "candle-cube",
     "candleType": "led-tealight",
     "facePattern": "honeycomb",
     "width": 80,
     "height": 120,
     "wallThickness": 2.4,
     "socketClearance": 0.3
    }
   },
   {
    "id": "hurricane-lantern",
    "title": "Hurricane lantern",
    "description": "Four-pillar lantern for a votive or tealight inside.",
    "values": {
     "holderType": "lantern",
     "candleType": "votive",
     "facePattern": "ribs",
     "width": 110,
     "height": 160,
     "wallThickness": 2.8,
     "socketClearance": 0.3
    }
   },
   {
    "id": "pillar-column",
    "title": "Pillar column stand",
    "description": "Column pedestal for a 80 mm pillar candle with a twist pattern.",
    "values": {
     "holderType": "pillar-stand",
     "candleType": "pillar",
     "pedestalStyle": "column",
     "width": 100,
     "height": 120,
     "wallThickness": 3,
     "socketClearance": 0.3,
     "pattern": "twist",
     "patternCount": 12
    }
   },
   {
    "id": "star-silhouette-tray",
    "title": "Star silhouette tray",
    "description": "Flat star tray with three LED tealight pockets and room for a cut-through name.",
    "values": {
     "holderType": "silhouette-tray",
     "candleType": "led-tealight",
     "silhouette": "star",
     "width": 180,
     "height": 40,
     "wallThickness": 2.8,
     "socketClearance": 0.3,
     "candleCount": 3
    }
   },
   {
    "id": "pumpkin-tealight",
    "title": "Pumpkin tealight holder",
    "description": "Ribbed pumpkin with an open top for a tealight — the Halloween classic.",
    "values": {
     "holderType": "pumpkin",
     "candleType": "tealight",
     "width": 100,
     "height": 90,
     "wallThickness": 2.4,
     "socketClearance": 0.3
    }
   },
   {
    "id": "advent-board-4",
    "title": "Advent board ×4",
    "description": "European advent board with four 22 mm taper sockets in a row.",
    "values": {
     "holderType": "advent-board",
     "candleType": "taper",
     "width": 240,
     "height": 40,
     "wallThickness": 3,
     "socketClearance": 0.3,
     "candleCount": 4,
     "textLine": "2026",
     "textMode": "deboss",
     "textDepth": 1.4
    }
   },
   {
    "id": "birthday-ring-8",
    "title": "Birthday candle ring ×8",
    "description": "Cake-top ring holding eight thin Ø6 birthday candles on grip spikes.",
    "values": {
     "holderType": "ring-advent",
     "candleType": "birthday",
     "width": 180,
     "height": 40,
     "wallThickness": 2.4,
     "socketClearance": 0.2,
     "candleCount": 8
    }
   },
   {
    "id": "window-candelabra-led",
    "title": "LED window candelabra ×5",
    "description": "Nordic-style window candelabra for five flat-base LED tapers — safe next to curtains.",
    "values": {
     "holderType": "candelabra",
     "candleType": "led-taper",
     "width": 240,
     "height": 160,
     "wallThickness": 3,
     "socketClearance": 0.3,
     "candleCount": 5
    }
   },
   {
    "id": "jack-o-lantern",
    "title": "Jack-o-lantern pumpkin",
    "description": "Pumpkin with cut-out eyes and grin — an LED tealight glows through the face.",
    "values": {
     "holderType": "pumpkin",
     "candleType": "led-tealight",
     "pumpkinFace": true,
     "width": 120,
     "height": 100,
     "wallThickness": 2.4,
     "socketClearance": 0.3
    }
   },
   {
    "id": "ball-candle-plate",
    "title": "Ball candle dish Ø70",
    "description": "Low dish pedestal for a Ø70 mm ball candle.",
    "values": {
     "holderType": "pillar-stand",
     "candleType": "ball",
     "pedestalStyle": "dish",
     "width": 110,
     "height": 40,
     "wallThickness": 3,
     "socketClearance": 0.3
    }
   }
  ]
 },
 "x-coreParams": {
  "exportFormat": {
   "type": "string",
   "title": "File format",
   "description": "3mf = 3MF (mm); stl = STL files in a zip (mm)",
   "x-group": "download",
   "x-role": "core.exportFormat",
   "x-unit": "none",
   "x-agentSafe": true,
   "enum": [
    "3mf",
    "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"
  }
 },
 "type": "object",
 "properties": {
  "holderType": {
   "type": "string",
   "enum": [
    "candlestick",
    "spiral-tree",
    "cluster-tray",
    "ring-advent",
    "candle-cube",
    "lantern",
    "candelabra",
    "pillar-stand",
    "silhouette-tray",
    "pumpkin",
    "advent-board"
   ],
   "x-enumTitles": {
    "candlestick": "Candlestick (taper)",
    "spiral-tree": "Spiral tree",
    "cluster-tray": "Cluster tray",
    "ring-advent": "Advent ring",
    "candle-cube": "Candle cube",
    "lantern": "Lantern",
    "candelabra": "Candelabra",
    "pillar-stand": "Pillar stand",
    "silhouette-tray": "Silhouette tray",
    "pumpkin": "Pumpkin",
    "advent-board": "Advent board"
   },
   "title": "Holder family",
   "description": "The 11 families cover candlesticks, trees, trays, rings, cubes, lanterns, candelabras, pillar stands and seasonal shapes.",
   "x-group": "style",
   "x-agentSafe": true,
   "x-label-lv": "Svečura saime",
   "default": "candlestick",
   "x-resetOnPreset": true
  },
  "candleType": {
   "type": "string",
   "enum": [
    "led-tealight",
    "tealight",
    "mini-tealight",
    "taper",
    "led-taper",
    "dinner-thin",
    "votive",
    "pillar",
    "ball",
    "birthday"
   ],
   "x-enumTitles": {
    "led-tealight": "LED tealight (Ø39)",
    "tealight": "Tealight (Ø38.5)",
    "mini-tealight": "Mini tealight (Ø29)",
    "taper": "Taper (Ø22 + spike)",
    "led-taper": "LED taper (Ø22, flat base)",
    "dinner-thin": "Thin dinner (Ø12.5 + spike)",
    "votive": "Votive (Ø49.5)",
    "pillar": "Pillar (Ø60–100)",
    "ball": "Ball candle (Ø70)",
    "birthday": "Birthday candle (Ø6 + spike)"
   },
   "title": "Candle type",
   "description": "Sets the socket size; every socket adds the fit clearance below.",
   "x-group": "style",
   "x-agentSafe": true,
   "x-label-lv": "Sveces tips",
   "default": "led-tealight",
   "x-resetOnPreset": true
  },
  "stemStyle": {
   "type": "string",
   "enum": [
    "none",
    "dome",
    "cone",
    "hourglass"
   ],
   "x-enumTitles": {
    "none": "Low bowl (no stem)",
    "dome": "Classic dome stem",
    "cone": "Modern cone",
    "hourglass": "Hourglass"
   },
   "title": "Stem style",
   "description": "The stem between the base and the socket.",
   "x-group": "style",
   "x-visibleIf": {
    "holderType": "candlestick"
   },
   "x-agentSafe": true,
   "x-label-lv": "Kāta stils",
   "default": "dome",
   "x-resetOnPreset": true
  },
  "spiralStyle": {
   "type": "string",
   "enum": [
    "spiral",
    "ribbed",
    "smooth"
   ],
   "x-enumTitles": {
    "spiral": "Spiral ribbon",
    "ribbed": "Ribbed cone",
    "smooth": "Smooth cone"
   },
   "title": "Tree style",
   "description": "A single spiral ribbon like the popular LED trees, vertical ribs, or a smooth cone.",
   "x-group": "style",
   "x-visibleIf": {
    "holderType": "spiral-tree"
   },
   "x-agentSafe": true,
   "x-label-lv": "Eglītes stils",
   "default": "spiral",
   "x-resetOnPreset": true
  },
  "layout": {
   "type": "string",
   "enum": [
    "line",
    "arc",
    "grid",
    "spiral"
   ],
   "x-enumTitles": {
    "line": "Row",
    "arc": "Arc",
    "grid": "Grid",
    "spiral": "Spiral"
   },
   "title": "Candle layout",
   "description": "How the cups sit on the tray.",
   "x-group": "style",
   "x-visibleIf": {
    "holderType": "cluster-tray"
   },
   "x-agentSafe": true,
   "x-label-lv": "Sveču izkārtojums",
   "default": "line",
   "x-resetOnPreset": true
  },
  "trayShape": {
   "type": "string",
   "enum": [
    "round",
    "rect",
    "oval"
   ],
   "x-enumTitles": {
    "round": "Round",
    "rect": "Rectangle",
    "oval": "Oval"
   },
   "title": "Tray shape",
   "description": "Outline of the tray under the cups.",
   "x-group": "style",
   "x-visibleIf": {
    "holderType": "cluster-tray"
   },
   "x-agentSafe": true,
   "x-label-lv": "Paplātes forma",
   "default": "rect",
   "x-resetOnPreset": true
  },
  "facePattern": {
   "type": "string",
   "enum": [
    "honeycomb",
    "voronoi",
    "ribs",
    "spiral",
    "smooth"
   ],
   "x-enumTitles": {
    "honeycomb": "Honeycomb holes",
    "voronoi": "Voronoi holes",
    "ribs": "Vertical ribs",
    "spiral": "Spiral twist",
    "smooth": "Smooth walls"
   },
   "title": "Wall pattern",
   "description": "Hole and relief patterns for cube walls and lantern pillars.",
   "x-group": "style",
   "x-visibleIf": {
    "holderType": [
     "candle-cube",
     "lantern"
    ]
   },
   "x-agentSafe": true,
   "x-label-lv": "Sienu raksts",
   "default": "honeycomb",
   "x-resetOnPreset": true
  },
  "silhouette": {
   "type": "string",
   "enum": [
    "star",
    "snowflake",
    "tree",
    "heart"
   ],
   "x-enumTitles": {
    "star": "Star",
    "snowflake": "Snowflake",
    "tree": "Tree",
    "heart": "Heart"
   },
   "title": "Silhouette",
   "description": "Flat seasonal shape holding the cups.",
   "x-group": "style",
   "x-visibleIf": {
    "holderType": "silhouette-tray"
   },
   "x-agentSafe": true,
   "x-label-lv": "Siluete",
   "default": "star",
   "x-resetOnPreset": true
  },
  "pedestalStyle": {
   "type": "string",
   "enum": [
    "plate",
    "column",
    "dish"
   ],
   "x-enumTitles": {
    "plate": "Flat plate",
    "column": "Column pedestal",
    "dish": "Dish with rim"
   },
   "title": "Pedestal style",
   "description": "The pillar candle rests on the top plate in every style.",
   "x-group": "style",
   "x-visibleIf": {
    "holderType": "pillar-stand"
   },
   "x-agentSafe": true,
   "x-label-lv": "Statīva stils",
   "default": "column",
   "x-resetOnPreset": true
  },
  "candleCount": {
   "type": "integer",
   "minimum": 1,
   "maximum": 9,
   "multipleOf": 1,
   "title": "Candle count",
   "description": "Number of sockets; clamped to what fits the size (advent classics use 4).",
   "x-group": "style",
   "x-unit": "count",
   "x-visibleIf": {
    "holderType": [
     "cluster-tray",
     "ring-advent",
     "candelabra",
     "silhouette-tray",
     "advent-board"
    ]
   },
   "x-agentSafe": true,
   "x-label-lv": "Sveču skaits",
   "default": 3,
   "x-resetOnPreset": true
  },
  "width": {
   "type": "number",
   "minimum": 60,
   "maximum": 240,
   "multipleOf": 2,
   "title": "Width / diameter",
   "description": "Main size: base or tray width, ring or cube outer diameter, candlestick base width.",
   "x-group": "size",
   "x-unit": "mm",
   "x-agentSafe": true,
   "x-label-lv": "Platums / diametrs",
   "default": 100,
   "x-resetOnPreset": true
  },
  "height": {
   "type": "number",
   "minimum": 30,
   "maximum": 200,
   "multipleOf": 2,
   "title": "Height",
   "description": "Total height of the holder (tree, candlestick or lantern height).",
   "x-group": "size",
   "x-unit": "mm",
   "x-agentSafe": true,
   "x-label-lv": "Augstums",
   "default": 120,
   "x-resetOnPreset": true
  },
  "wallThickness": {
   "type": "number",
   "minimum": 1.6,
   "maximum": 4,
   "x-step": 0.2,
   "title": "Wall thickness",
   "description": "Walls of cups, trays and stems; 2.4 mm suits most holders.",
   "x-group": "size",
   "x-unit": "mm",
   "x-role": "core.wallThickness",
   "x-agentSafe": true,
   "x-label-lv": "Sienas biezums",
   "default": 2.4,
   "x-resetOnPreset": true
  },
  "socketClearance": {
   "type": "number",
   "minimum": 0.1,
   "maximum": 0.8,
   "x-step": 0.05,
   "title": "Socket fit clearance",
   "description": "Extra room around the candle; increase if the fit is tight on your printer.",
   "x-group": "size",
   "x-unit": "mm",
   "x-role": "core.clearance",
   "x-agentSafe": true,
   "x-label-lv": "Ligzdas pielaide",
   "default": 0.3,
   "x-resetOnPreset": true
  },
  "adventNumbers": {
   "type": "integer",
   "enum": [
    0,
    1
   ],
   "title": "Numbered sockets (1–n)",
   "description": "Engraves 1, 2, 3… by each socket, like classic advent calendars.",
   "x-group": "size",
   "x-visibleIf": {
    "holderType": [
     "advent-board",
     "ring-advent"
    ]
   },
   "x-agentSafe": true,
   "x-label-lv": "Numurētas ligzdas (1–n)",
   "default": 1,
   "x-resetOnPreset": true
  },
  "dripTray": {
   "type": "integer",
   "enum": [
    0,
    1
   ],
   "title": "Wax-catcher tray (bobeche)",
   "description": "A shallow dish around each taper socket that catches dripping wax.",
   "x-group": "size",
   "x-visibleIf": {
    "candleType": "taper"
   },
   "x-agentSafe": true,
   "x-label-lv": "Vasku trauks (bobeche)",
   "default": 0,
   "x-resetOnPreset": true
  },
  "taperSpike": {
   "type": "integer",
   "enum": [
    0,
    1
   ],
   "title": "Grip spike in socket",
   "description": "A short pin that pierces the soft wax base so the candle stands straight (like metal candlesticks). Turn it off for flat-base candles; never let a candle burn down to the socket.",
   "x-group": "size",
   "x-visibleIf": {
    "candleType": [
     "taper",
     "dinner-thin",
     "birthday"
    ]
   },
   "x-agentSafe": true,
   "x-label-lv": "Smaile ligzdā",
   "default": 1,
   "x-resetOnPreset": true
  },
  "pumpkinFace": {
   "type": "integer",
   "enum": [
    0,
    1
   ],
   "title": "Jack-o-lantern face cutout",
   "description": "Cuts eyes, nose and a grin so an LED tealight glows through; use LED only.",
   "x-group": "size",
   "x-visibleIf": {
    "holderType": "pumpkin"
   },
   "x-agentSafe": true,
   "x-label-lv": "Ķirbja sejas izgriezums",
   "default": 0,
   "x-resetOnPreset": true
  },
  "pattern": {
   "type": "string",
   "enum": [
    "none",
    "ribs",
    "twist",
    "knurl",
    "voronoi"
   ],
   "x-enumTitles": {
    "none": "None",
    "ribs": "Ribs",
    "twist": "Twist",
    "knurl": "Knurl",
    "voronoi": "Voronoi"
   },
   "title": "Surface pattern",
   "description": "Applies to candlestick stems, pillar stand columns and advent ring sides.",
   "x-group": "pattern",
   "x-visibleIf": {
    "holderType": [
     "candlestick",
     "pillar-stand",
     "ring-advent"
    ]
   },
   "x-agentSafe": true,
   "x-label-lv": "Virsmas raksts",
   "default": "none",
   "x-resetOnPreset": true
  },
  "patternCount": {
   "type": "integer",
   "minimum": 6,
   "maximum": 32,
   "multipleOf": 2,
   "title": "Pattern count",
   "description": "Number of ribs or cells around the surface.",
   "x-group": "pattern",
   "x-unit": "count",
   "x-visibleIf": {
    "all": [
     {
      "holderType": [
       "candlestick",
       "pillar-stand",
       "ring-advent"
      ]
     },
     {
      "pattern": {
       "ne": "none"
      }
     }
    ]
   },
   "x-agentSafe": true,
   "x-label-lv": "Raksta blīvums",
   "default": 14,
   "x-resetOnPreset": true
  },
  "textLine": {
   "type": "string",
   "maxLength": 14,
   "title": "Name or year",
   "description": "Up to 14 characters on the base, tray or front face (A–Z, 0–9 and simple marks).",
   "x-group": "text",
   "x-agentSafe": true,
   "x-label-lv": "Vārds vai gads",
   "default": ""
  },
  "textMode": {
   "type": "string",
   "enum": [
    "none",
    "emboss",
    "deboss",
    "cutout"
   ],
   "x-enumTitles": {
    "none": "No text",
    "emboss": "Raised",
    "deboss": "Engraved",
    "cutout": "Cut through"
   },
   "title": "Text style",
   "description": "Raised or engraved on the flat face, or cut all the way through.",
   "x-group": "text",
   "x-visibleIf": {
    "textLine": {
     "ne": ""
    }
   },
   "x-agentSafe": true,
   "x-label-lv": "Teksta stils",
   "default": "none"
  },
  "textDepth": {
   "type": "number",
   "minimum": 0.4,
   "maximum": 3,
   "x-step": 0.2,
   "title": "Text depth",
   "description": "How far the letters rise or sink.",
   "x-group": "text",
   "x-unit": "mm",
   "x-visibleIf": {
    "all": [
     {
      "textLine": {
       "ne": ""
      }
     },
     {
      "textMode": [
       "emboss",
       "deboss"
      ]
     }
    ]
   },
   "x-agentSafe": true,
   "x-label-lv": "Teksta dziļums",
   "default": 1.2
  },
  "twoColorText": {
   "type": "integer",
   "enum": [
    0,
    1
   ],
   "title": "Two-colour insert",
   "description": "Exports the raised text as a separate insert part for a colour change.",
   "x-group": "text",
   "x-visibleIf": {
    "all": [
     {
      "textLine": {
       "ne": ""
      }
     },
     {
      "textMode": "emboss"
     }
    ]
   },
   "x-agentSafe": true,
   "x-label-lv": "Divkrāsu ieliktnis",
   "default": 0
  },
  "printMaterial": {
   "type": "string",
   "enum": [
    "petg",
    "asa",
    "pla"
   ],
   "x-enumTitles": {
    "petg": "PETG (recommended)",
    "asa": "ASA",
    "pla": "PLA (LED candles only)"
   },
   "title": "Print material",
   "description": "Affects the estimated mass; PLA is for LED candles only.",
   "x-group": "print",
   "x-role": "core.printMaterial",
   "x-agentSafe": true,
   "x-label-lv": "Drukas materiāls",
   "default": "petg"
  },
  "resolution": {
   "type": "integer",
   "minimum": 24,
   "maximum": 72,
   "multipleOf": 8,
   "title": "Resolution",
   "description": "Segments around curves; higher is smoother and larger.",
   "x-group": "print",
   "x-unit": "count",
   "x-role": "core.resolution",
   "x-advanced": true,
   "x-agentSafe": true,
   "x-label-lv": "Izšķirtspēja",
   "default": 48
  },
  "color": {
   "type": "string",
   "pattern": "^#[0-9a-fA-F]{6}$",
   "title": "Preview colour",
   "description": "Only changes the preview.",
   "x-group": "print",
   "x-role": "core.previewColor",
   "x-agentSafe": true,
   "x-label-lv": "Priekšskata krāsa",
   "default": "#c9a227"
  },
  "showCandles": {
   "type": "integer",
   "enum": [
    0,
    1
   ],
   "title": "Show candles in preview",
   "description": "Preview only: ghost candles stand in the sockets so you can see how the holder is used; downloads never include them.",
   "x-group": "print",
   "x-agentSafe": true,
   "x-label-lv": "Rādīt sveces priekšskatā",
   "default": 1
  },
  "includeFitTest": {
   "type": "integer",
   "enum": [
    0,
    1
   ],
   "title": "Fit-test strip",
   "description": "A small extra strip with five pockets from 0.1 to 0.6 mm clearance; print it first to find the right fit fast.",
   "x-group": "print",
   "x-visibleIf": {
    "candleType": {
     "ne": "pillar"
    }
   },
   "x-agentSafe": true,
   "x-label-lv": "Pielaides testa sloksne",
   "default": 0,
   "x-resetOnPreset": true
  }
 },
 "additionalProperties": false,
 "recommended_materials": [
  {
   "id": "led-tealight-candles",
   "title": "Flameless Warm-White LED Tealight Candles with Timer (24 pack)",
   "why": "Safe 38 mm flameless LED tealights sized for 3D-printed lanterns and trees.",
   "url": "https://paramlet.com/go/led-tealight-candles?src=agent",
   "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",
   "disclosure": "Affiliate link (Amazon Associates, tag paramlet-21)"
  }
 ]
}