{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "$id": "https://paramlet.com/tools/reef-probe-holder/schema.json",
 "title": "Reef probe & dosing holder — parameters",
 "description": "Design a rimless, euro-brace, magnetic or suction-cup reef aquarium holder for pH/ORP/temp probes, dosing tubes, hoses and ATO sensors. Print in PETG or ASA. 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": "reef-probe-holder",
 "x-toolVersion": "0.1.0",
 "x-specVersion": "1.0",
 "x-apiVersion": "1",
 "x-groups": [
  {
   "id": "mount",
   "title": "Glass & mounting"
  },
  {
   "id": "slots",
   "title": "Equipment slots"
  },
  {
   "id": "body",
   "title": "Body & labels"
  },
  {
   "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": "probes-3-10mm",
    "title": "3-probe pH/ORP/temp (10 mm)",
    "description": "Three probe slots with friction ribs clipped onto 10 mm rimless glass.",
    "values": {
     "mountType": "clip-screw",
     "glassThickness": 10,
     "rimStyle": "rimless",
     "clipDrop": 20,
     "waterlineDrop": 25,
     "layout": "row",
     "slotSpacing": 24,
     "holderHeight": 20,
     "labelStyle": "embossed",
     "slots": [
      {
       "kind": "probe",
       "diameter": 12.5,
       "probeRibs": true,
       "cableSlit": false,
       "dosingRaise": 12,
       "dripLoopHook": false,
       "atoTravel": 26,
       "label": "PH"
      },
      {
       "kind": "probe",
       "diameter": 12.5,
       "probeRibs": true,
       "cableSlit": false,
       "dosingRaise": 12,
       "dripLoopHook": false,
       "atoTravel": 26,
       "label": "ORP"
      },
      {
       "kind": "probe",
       "diameter": 8,
       "probeRibs": true,
       "cableSlit": true,
       "dosingRaise": 12,
       "dripLoopHook": false,
       "atoTravel": 26,
       "label": "TEMP"
      }
     ]
    }
   },
   {
    "id": "doser-4-12mm",
    "title": "4-line doser (12 mm)",
    "description": "Four 4 mm rigid dosing lines with anti-siphon raised outlets and drip-loop hooks on 12 mm glass.",
    "values": {
     "mountType": "clip-nut",
     "glassThickness": 12,
     "rimStyle": "rimless",
     "clipDrop": 18,
     "waterlineDrop": 30,
     "layout": "row",
     "slotSpacing": 20,
     "holderHeight": 18,
     "labelStyle": "embossed",
     "slots": [
      {
       "kind": "dosing",
       "diameter": 4,
       "probeRibs": false,
       "cableSlit": false,
       "dosingRaise": 18,
       "dripLoopHook": true,
       "atoTravel": 26,
       "label": "ALK"
      },
      {
       "kind": "dosing",
       "diameter": 4,
       "probeRibs": false,
       "cableSlit": false,
       "dosingRaise": 18,
       "dripLoopHook": true,
       "atoTravel": 26,
       "label": "CA"
      },
      {
       "kind": "dosing",
       "diameter": 4,
       "probeRibs": false,
       "cableSlit": false,
       "dosingRaise": 18,
       "dripLoopHook": true,
       "atoTravel": 26,
       "label": "MG"
      },
      {
       "kind": "dosing",
       "diameter": 6,
       "probeRibs": false,
       "cableSlit": false,
       "dosingRaise": 18,
       "dripLoopHook": true,
       "atoTravel": 26,
       "label": "TRACE"
      }
     ]
    }
   },
   {
    "id": "ato-probe-combo",
    "title": "ATO + probe combo",
    "description": "Height-adjustable ATO sensor paired with two probes and an anti-siphon top-off line.",
    "values": {
     "mountType": "clip-screw",
     "glassThickness": 10,
     "rimStyle": "rimless",
     "clipDrop": 22,
     "waterlineDrop": 32,
     "layout": "row",
     "slotSpacing": 26,
     "holderHeight": 22,
     "labelStyle": "embossed",
     "slots": [
      {
       "kind": "ato",
       "diameter": 12,
       "probeRibs": false,
       "cableSlit": false,
       "dosingRaise": 12,
       "dripLoopHook": false,
       "atoTravel": 30,
       "label": "ATO"
      },
      {
       "kind": "dosing",
       "diameter": 6,
       "probeRibs": false,
       "cableSlit": false,
       "dosingRaise": 20,
       "dripLoopHook": true,
       "atoTravel": 26,
       "label": "RODI"
      },
      {
       "kind": "probe",
       "diameter": 12.5,
       "probeRibs": true,
       "cableSlit": false,
       "dosingRaise": 12,
       "dripLoopHook": false,
       "atoTravel": 26,
       "label": "PH"
      },
      {
       "kind": "probe",
       "diameter": 8,
       "probeRibs": true,
       "cableSlit": true,
       "dosingRaise": 12,
       "dripLoopHook": false,
       "atoTravel": 26,
       "label": "TEMP"
      }
     ]
    }
   },
   {
    "id": "hose-2-6mm",
    "title": "2-hose return/drain (6 mm)",
    "description": "Two snap-ring hose holders (16 mm and 25 mm) for 6 mm sump glass.",
    "values": {
     "mountType": "clip-nut",
     "glassThickness": 6,
     "rimStyle": "rimless",
     "clipDrop": 18,
     "waterlineDrop": 30,
     "layout": "row",
     "slotSpacing": 40,
     "holderHeight": 24,
     "wallThickness": 3.6,
     "labelStyle": "debossed",
     "slots": [
      {
       "kind": "hose",
       "diameter": 16,
       "probeRibs": false,
       "cableSlit": false,
       "dosingRaise": 12,
       "dripLoopHook": false,
       "atoTravel": 26,
       "label": "RET"
      },
      {
       "kind": "hose",
       "diameter": 25,
       "probeRibs": false,
       "cableSlit": false,
       "dosingRaise": 12,
       "dripLoopHook": false,
       "atoTravel": 26,
       "label": "DRAIN"
      }
     ]
    }
   },
   {
    "id": "magnetic-3-probe",
    "title": "Magnetic 3-probe",
    "description": "Three probes mounted with two fully sealed 20 mm magnet pockets.",
    "values": {
     "mountType": "magnet",
     "glassThickness": 12,
     "magnetDiameter": 20,
     "magnetHeight": 5,
     "magnetCount": 2,
     "magnetSealWall": 1.6,
     "waterlineDrop": 25,
     "layout": "staggered",
     "slotSpacing": 22,
     "holderHeight": 22,
     "labelStyle": "embossed",
     "slots": [
      {
       "kind": "probe",
       "diameter": 12.5,
       "probeRibs": true,
       "cableSlit": false,
       "dosingRaise": 12,
       "dripLoopHook": false,
       "atoTravel": 26,
       "label": "PH"
      },
      {
       "kind": "probe",
       "diameter": 12.5,
       "probeRibs": true,
       "cableSlit": false,
       "dosingRaise": 12,
       "dripLoopHook": false,
       "atoTravel": 26,
       "label": "ORP"
      },
      {
       "kind": "probe",
       "diameter": 8,
       "probeRibs": true,
       "cableSlit": true,
       "dosingRaise": 12,
       "dripLoopHook": false,
       "atoTravel": 26,
       "label": "TEMP"
      }
     ]
    }
   }
  ]
 },
 "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": {
  "mountType": {
   "type": "string",
   "enum": [
    "clip-screw",
    "clip-nut",
    "magnet",
    "suction"
   ],
   "x-enumTitles": {
    "clip-screw": "Clip-over with set screw",
    "clip-nut": "Clip-over with nut pocket",
    "magnet": "Sealed magnet pockets",
    "suction": "Suction-cup bosses"
   },
   "title": "Mount type",
   "description": "Clip-over for rims, sealed magnets for any glass position, or suction-cup bosses.",
   "x-group": "mount",
   "x-agentSafe": true,
   "x-label-lv": "Stiprinājuma veids",
   "default": "clip-screw"
  },
  "glassThickness": {
   "type": "number",
   "minimum": 6,
   "maximum": 19,
   "x-step": 0.5,
   "title": "Glass thickness",
   "description": "Measured thickness of the aquarium or sump wall.",
   "x-group": "mount",
   "x-unit": "mm",
   "x-role": "core.glassThickness",
   "x-agentSafe": true,
   "x-label-lv": "Stikla biezums",
   "default": 10
  },
  "rimStyle": {
   "type": "string",
   "enum": [
    "rimless",
    "eurobrace"
   ],
   "x-enumTitles": {
    "rimless": "Rimless glass",
    "eurobrace": "Euro-brace lip"
   },
   "title": "Rim style",
   "description": "Euro-brace adds an inner horizontal shelf clearance under the brace.",
   "x-group": "mount",
   "x-visibleIf": {
    "mountType": [
     "clip-screw",
     "clip-nut"
    ]
   },
   "x-agentSafe": true,
   "x-label-lv": "Malas veids",
   "default": "rimless"
  },
  "euroLipWidth": {
   "type": "number",
   "minimum": 10,
   "maximum": 60,
   "multipleOf": 1,
   "title": "Euro-brace lip width",
   "description": "How far the horizontal euro-brace extends inward from the glass.",
   "x-group": "mount",
   "x-unit": "mm",
   "x-visibleIf": {
    "all": [
     {
      "mountType": [
       "clip-screw",
       "clip-nut"
      ]
     },
     {
      "rimStyle": "eurobrace"
     }
    ]
   },
   "x-agentSafe": true,
   "x-label-lv": "Eiro-malas platums",
   "default": 25
  },
  "euroLipThickness": {
   "type": "number",
   "minimum": 6,
   "maximum": 19,
   "x-step": 0.5,
   "title": "Euro-brace thickness",
   "description": "Thickness of the horizontal euro-brace glass strip.",
   "x-group": "mount",
   "x-unit": "mm",
   "x-visibleIf": {
    "all": [
     {
      "mountType": [
       "clip-screw",
       "clip-nut"
      ]
     },
     {
      "rimStyle": "eurobrace"
     }
    ]
   },
   "x-agentSafe": true,
   "x-label-lv": "Eiro-malas biezums",
   "default": 10
  },
  "clipDrop": {
   "type": "number",
   "minimum": 10,
   "maximum": 60,
   "multipleOf": 1,
   "title": "Clip drop below rim",
   "description": "Distance from the top of the glass down to the holder plate.",
   "x-group": "mount",
   "x-unit": "mm",
   "x-visibleIf": {
    "mountType": [
     "clip-screw",
     "clip-nut"
    ]
   },
   "x-agentSafe": true,
   "x-label-lv": "Nolaidums zem malas",
   "default": 20
  },
  "screwDiameter": {
   "type": "number",
   "minimum": 3,
   "maximum": 8,
   "x-step": 0.5,
   "title": "Set screw diameter",
   "description": "Nylon thumbscrew size (e.g. M4 or M6) to lock the clip onto the glass.",
   "x-group": "mount",
   "x-unit": "mm",
   "x-role": "core.screwDiameter",
   "x-visibleIf": {
    "mountType": [
     "clip-screw",
     "clip-nut"
    ]
   },
   "x-agentSafe": true,
   "x-label-lv": "Skrūves diametrs",
   "default": 4
  },
  "magnetDiameter": {
   "type": "number",
   "minimum": 10,
   "maximum": 30,
   "x-step": 0.5,
   "title": "Magnet diameter",
   "description": "Sealed pocket diameter; pause the print to insert the magnet.",
   "x-group": "mount",
   "x-unit": "mm",
   "x-role": "core.magnetDiameter",
   "x-visibleIf": {
    "mountType": "magnet"
   },
   "x-agentSafe": true,
   "x-label-lv": "Magnēta diametrs",
   "default": 20
  },
  "magnetHeight": {
   "type": "number",
   "minimum": 2,
   "maximum": 10,
   "x-step": 0.5,
   "title": "Magnet thickness",
   "description": "Magnet thickness; pocket adds fit clearance and full waterproof sealing walls.",
   "x-group": "mount",
   "x-unit": "mm",
   "x-role": "core.magnetHeight",
   "x-visibleIf": {
    "mountType": "magnet"
   },
   "x-agentSafe": true,
   "x-label-lv": "Magnēta biezums",
   "default": 5
  },
  "magnetCount": {
   "type": "integer",
   "minimum": 1,
   "maximum": 3,
   "multipleOf": 1,
   "title": "Sealed magnets",
   "description": "Number of sealed magnet pockets distributed along the back plate.",
   "x-group": "mount",
   "x-unit": "count",
   "x-visibleIf": {
    "mountType": "magnet"
   },
   "x-agentSafe": true,
   "x-label-lv": "Noslēgto magnētu skaits",
   "default": 2
  },
  "magnetSealWall": {
   "type": "number",
   "minimum": 1.2,
   "maximum": 4,
   "x-step": 0.2,
   "title": "Magnet seal wall",
   "description": "Minimum plastic thickness sealing each magnet from saltwater (minimum 1.2 mm).",
   "x-group": "mount",
   "x-unit": "mm",
   "x-visibleIf": {
    "mountType": "magnet"
   },
   "x-advanced": true,
   "x-agentSafe": true,
   "x-label-lv": "Magnēta aizsargsiena",
   "default": 1.6
  },
  "suctionBossDiameter": {
   "type": "number",
   "minimum": 6,
   "maximum": 16,
   "x-step": 0.5,
   "title": "Suction boss diameter",
   "description": "Keyhole recess diameter for the suction cup mushroom head.",
   "x-group": "mount",
   "x-unit": "mm",
   "x-visibleIf": {
    "mountType": "suction"
   },
   "x-agentSafe": true,
   "x-label-lv": "Piesūcekņa ligzdas diametrs",
   "default": 10
  },
  "suctionStemDiameter": {
   "type": "number",
   "minimum": 3,
   "maximum": 8,
   "x-step": 0.5,
   "title": "Suction stem diameter",
   "description": "Slot width for the suction cup neck.",
   "x-group": "mount",
   "x-unit": "mm",
   "x-visibleIf": {
    "mountType": "suction"
   },
   "x-agentSafe": true,
   "x-label-lv": "Piesūcekņa kāta diametrs",
   "default": 5
  },
  "waterlineDrop": {
   "type": "number",
   "minimum": 5,
   "maximum": 80,
   "multipleOf": 1,
   "title": "Waterline below rim",
   "description": "Distance from the top of the glass to the waterline; used to check dosing siphon risk.",
   "x-group": "mount",
   "x-unit": "mm",
   "x-agentSafe": true,
   "x-label-lv": "Ūdens līmenis zem malas",
   "default": 25
  },
  "layout": {
   "type": "string",
   "enum": [
    "row",
    "staggered"
   ],
   "x-enumTitles": {
    "row": "Single row",
    "staggered": "Staggered (compact)"
   },
   "title": "Slot layout",
   "description": "Staggered alternates slots front-to-back to save width along the glass.",
   "x-group": "slots",
   "x-agentSafe": true,
   "x-label-lv": "Ligzdu izkārtojums",
   "default": "row"
  },
  "slotSpacing": {
   "type": "number",
   "minimum": 16,
   "maximum": 50,
   "multipleOf": 1,
   "title": "Slot spacing",
   "description": "Centre-to-centre spacing along the holder.",
   "x-group": "slots",
   "x-unit": "mm",
   "x-agentSafe": true,
   "x-label-lv": "Attālums starp ligzdām",
   "default": 24
  },
  "slots": {
   "type": "array",
   "minItems": 1,
   "maxItems": 8,
   "items": {
    "type": "object",
    "properties": {
     "kind": {
      "type": "string",
      "enum": [
       "probe",
       "dosing",
       "hose",
       "ato"
      ],
      "x-enumTitles": {
       "probe": "Probe (pH/ORP/temp)",
       "dosing": "Dosing line (4/6 mm)",
       "hose": "Hose (10-32 mm)",
       "ato": "ATO sensor"
      },
      "title": "Slot type",
      "description": "Slot type",
      "x-group": "slots",
      "x-agentSafe": true,
      "x-label-lv": "Ligzdas veids",
      "default": "probe"
     },
     "diameter": {
      "type": "number",
      "minimum": 4,
      "maximum": 32,
      "x-step": 0.5,
      "title": "Tube / probe OD",
      "description": "Tube / probe OD",
      "x-group": "slots",
      "x-unit": "mm",
      "x-agentSafe": true,
      "x-label-lv": "Diametrs",
      "default": 12.5
     },
     "probeRibs": {
      "type": "integer",
      "enum": [
       0,
       1
      ],
      "title": "Probe friction ribs",
      "description": "Probe friction ribs",
      "x-group": "slots",
      "x-agentSafe": true,
      "x-label-lv": "Berzes ribas",
      "default": 1
     },
     "cableSlit": {
      "type": "integer",
      "enum": [
       0,
       1
      ],
      "title": "Probe cable slit",
      "description": "Probe cable slit",
      "x-group": "slots",
      "x-agentSafe": true,
      "x-label-lv": "Kabeļa sprauga",
      "default": 0
     },
     "dosingRaise": {
      "type": "number",
      "minimum": 0,
      "maximum": 40,
      "multipleOf": 1,
      "title": "Dosing outlet raise",
      "description": "Dosing outlet raise",
      "x-group": "slots",
      "x-unit": "mm",
      "x-agentSafe": true,
      "x-label-lv": "Dozēšanas pacēlums",
      "default": 12
     },
     "dripLoopHook": {
      "type": "integer",
      "enum": [
       0,
       1
      ],
      "title": "Dosing drip-loop hook",
      "description": "Dosing drip-loop hook",
      "x-group": "slots",
      "x-agentSafe": true,
      "x-label-lv": "Pilienu cilpas āķis",
      "default": 1
     },
     "atoTravel": {
      "type": "number",
      "minimum": 10,
      "maximum": 50,
      "multipleOf": 2,
      "title": "ATO height slot",
      "description": "ATO height slot",
      "x-group": "slots",
      "x-unit": "mm",
      "x-agentSafe": true,
      "x-label-lv": "ATO augstuma regulēšana",
      "default": 24
     },
     "label": {
      "type": "string",
      "maxLength": 8,
      "pattern": "^[A-Za-z0-9 .+-]{0,8}$",
      "title": "Label (max 8)",
      "description": "Label (max 8)",
      "x-group": "slots",
      "x-agentSafe": true,
      "x-label-lv": "Uzraksts (maks. 8)",
      "default": ""
     }
    },
    "required": [
     "kind",
     "diameter",
     "probeRibs",
     "cableSlit",
     "dosingRaise",
     "dripLoopHook",
     "atoTravel",
     "label"
    ],
    "additionalProperties": false
   },
   "title": "Slot",
   "description": "Add 1 to 8 slots, each configured as a probe, dosing line, hose or ATO sensor.",
   "x-group": "slots",
   "x-agentSafe": true,
   "x-label-lv": "Ligzda",
   "default": [
    {
     "kind": "probe",
     "diameter": 12.5,
     "probeRibs": true,
     "cableSlit": false,
     "dosingRaise": 12,
     "dripLoopHook": true,
     "atoTravel": 24,
     "label": "PH"
    },
    {
     "kind": "probe",
     "diameter": 12.5,
     "probeRibs": true,
     "cableSlit": false,
     "dosingRaise": 12,
     "dripLoopHook": true,
     "atoTravel": 24,
     "label": "ORP"
    },
    {
     "kind": "probe",
     "diameter": 8,
     "probeRibs": true,
     "cableSlit": true,
     "dosingRaise": 12,
     "dripLoopHook": true,
     "atoTravel": 24,
     "label": "TEMP"
    }
   ],
   "x-resetOnPreset": true
  },
  "wallThickness": {
   "type": "number",
   "minimum": 1.2,
   "maximum": 6,
   "x-step": 0.2,
   "title": "Wall thickness",
   "description": "Minimum structural wall thickness; keep at least 1.6 mm for saltwater durability.",
   "x-group": "body",
   "x-unit": "mm",
   "x-role": "core.wallThickness",
   "x-agentSafe": true,
   "x-label-lv": "Sienas biezums",
   "default": 3.2
  },
  "holderHeight": {
   "type": "number",
   "minimum": 12,
   "maximum": 40,
   "multipleOf": 1,
   "title": "Holder thickness / height",
   "description": "Vertical height of the main slot bar.",
   "x-group": "body",
   "x-unit": "mm",
   "x-agentSafe": true,
   "x-label-lv": "Turētāja augstums",
   "default": 20
  },
  "labelStyle": {
   "type": "string",
   "enum": [
    "none",
    "embossed",
    "debossed"
   ],
   "x-enumTitles": {
    "none": "No labels",
    "embossed": "Embossed (raised)",
    "debossed": "Debossed (recessed)"
   },
   "title": "Slot label style",
   "description": "Raised or recessed text printed on the front face of each slot.",
   "x-group": "body",
   "x-agentSafe": true,
   "x-label-lv": "Uzrakstu stils",
   "default": "embossed"
  },
  "clearance": {
   "type": "number",
   "minimum": 0.1,
   "maximum": 1.2,
   "x-step": 0.05,
   "title": "Fit clearance",
   "description": "Extra clearance added to glass, magnet and tube bores.",
   "x-group": "print",
   "x-unit": "mm",
   "x-role": "core.clearance",
   "x-agentSafe": true,
   "x-label-lv": "Pielaide",
   "default": 0.35
  },
  "printMaterial": {
   "type": "string",
   "enum": [
    "petg",
    "asa",
    "pla"
   ],
   "x-enumTitles": {
    "petg": "PETG (recommended in-tank)",
    "asa": "ASA (reef-safe)",
    "pla": "PLA (not for in-tank use)"
   },
   "title": "Print material",
   "description": "Only PETG or ASA should be used inside a reef aquarium.",
   "x-group": "print",
   "x-role": "core.printMaterial",
   "x-agentSafe": true,
   "x-label-lv": "Drukas materiāls",
   "default": "petg"
  },
  "resolution": {
   "type": "integer",
   "minimum": 16,
   "maximum": 72,
   "multipleOf": 4,
   "title": "Resolution",
   "description": "Segments around cylindrical bores; higher is smoother.",
   "x-group": "print",
   "x-unit": "count",
   "x-role": "core.resolution",
   "x-advanced": true,
   "x-agentSafe": true,
   "x-label-lv": "Izšķirtspēja",
   "default": 36
  },
  "color": {
   "type": "string",
   "pattern": "^#[0-9a-fA-F]{6}$",
   "title": "Preview colour",
   "description": "Only changes the 3D preview.",
   "x-group": "print",
   "x-role": "core.previewColor",
   "x-agentSafe": true,
   "x-label-lv": "Priekšskata krāsa",
   "default": "#1f7a8c"
  }
 },
 "additionalProperties": false
}