{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "$id": "https://paramlet.com/tools/bottle-opener/schema.json",
 "title": "Bottle opener — parameters",
 "description": "Bottle openers that print with a steel coin or a nut as the tooth: keychain, fridge magnet or one-handed, with your name on the handle, in one or two colours. 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": "bottle-opener",
 "x-toolVersion": "1.1.0",
 "x-specVersion": "1.0",
 "x-apiVersion": "1",
 "x-groups": [
  {
   "id": "tooth",
   "title": "Tooth"
  },
  {
   "id": "body",
   "title": "Body"
  },
  {
   "id": "text",
   "title": "Text"
  },
  {
   "id": "look",
   "title": "Texture & 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": "keychain-bottle-opener-with-name",
    "title": "Keychain bottle opener with a name",
    "description": "A 1 euro coin as the tooth, a ring hole and a name along the handle, in two colours.",
    "values": {
     "style": "keychain",
     "tooth": "coin",
     "coin": "1eur",
     "coinDiameter": 23.25,
     "coinThickness": 2.33,
     "coinFit": 0.25,
     "screwSize": "m4",
     "mouthDepth": 30.75,
     "fitCoupon": true,
     "mountPlate": false,
     "mountTilt": 20,
     "cupHeight": 50,
     "length": 110,
     "width": 24,
     "thickness": 7.2,
     "keyring": true,
     "holeDiameter": 5,
     "strap": false,
     "strapWidth": "20",
     "discLayout": "0",
     "magnetDiameter": 10,
     "magnetHeight": 3,
     "text": "Tom",
     "text2": "",
     "font": "lilita",
     "letterHeight": 10,
     "letterSpacing": 0.02,
     "textDirection": "along",
     "letterStyle": "raised",
     "letterDepth": 1.2,
     "colorMode": "multi",
     "baseColor": "#c85a32",
     "letterColor": "#f4efe6",
     "material": "petg",
     "wallCount": 6,
     "infill": 100,
     "layerHeight": 0.2
    }
   },
   {
    "id": "fridge-magnet-bottle-opener",
    "title": "Fridge magnet bottle opener",
    "description": "Wide and short with two 10 × 3 mm magnets: it stays on the fridge door.",
    "values": {
     "style": "magnet",
     "tooth": "coin",
     "coin": "1eur",
     "coinDiameter": 23.25,
     "coinThickness": 2.33,
     "coinFit": 0.25,
     "screwSize": "m4",
     "mouthDepth": 30.75,
     "fitCoupon": true,
     "mountPlate": false,
     "mountTilt": 20,
     "cupHeight": 50,
     "length": 105,
     "width": 48,
     "thickness": 7.2,
     "keyring": false,
     "holeDiameter": 5,
     "strap": false,
     "strapWidth": "20",
     "discLayout": "2",
     "magnetDiameter": 10,
     "magnetHeight": 3,
     "text": "BEER",
     "text2": "",
     "font": "lilita",
     "letterHeight": 10,
     "letterSpacing": 0.02,
     "textDirection": "across",
     "letterStyle": "raised",
     "letterDepth": 1.2,
     "colorMode": "multi",
     "baseColor": "#2a7f76",
     "letterColor": "#f2c14e",
     "material": "petg",
     "wallCount": 6,
     "infill": 100,
     "layerHeight": 0.2
    }
   },
   {
    "id": "one-handed-palm-bottle-opener",
    "title": "One-handed palm bottle opener",
    "description": "A wide body with slots for a hook-and-loop strap: open a bottle with one hand.",
    "values": {
     "style": "palm",
     "tooth": "coin",
     "coin": "1eur",
     "coinDiameter": 23.25,
     "coinThickness": 2.33,
     "coinFit": 0.25,
     "screwSize": "m4",
     "mouthDepth": 30.75,
     "fitCoupon": true,
     "mountPlate": false,
     "mountTilt": 20,
     "cupHeight": 50,
     "length": 132,
     "width": 66,
     "thickness": 7.2,
     "keyring": false,
     "holeDiameter": 5,
     "strap": true,
     "strapWidth": "20",
     "discLayout": "0",
     "magnetDiameter": 10,
     "magnetHeight": 3,
     "text": "Home Brew",
     "text2": "Est. 2019",
     "font": "lilita",
     "letterHeight": 12,
     "letterSpacing": 0.02,
     "textDirection": "across",
     "letterStyle": "raised",
     "letterDepth": 1.2,
     "colorMode": "multi",
     "baseColor": "#d4a024",
     "letterColor": "#ffffff",
     "material": "petg",
     "wallCount": 6,
     "infill": 100,
     "layerHeight": 0.2
    }
   },
   {
    "id": "christmas-gift-bottle-opener",
    "title": "Christmas gift opener with a greeting",
    "description": "A script word in amber on green: a small gift for the man who has everything.",
    "values": {
     "style": "keychain",
     "tooth": "coin",
     "coin": "1eur",
     "coinDiameter": 23.25,
     "coinThickness": 2.33,
     "coinFit": 0.25,
     "screwSize": "m4",
     "mouthDepth": 30.75,
     "fitCoupon": true,
     "mountPlate": false,
     "mountTilt": 20,
     "cupHeight": 50,
     "length": 118,
     "width": 24,
     "thickness": 7.2,
     "keyring": true,
     "holeDiameter": 5,
     "strap": false,
     "strapWidth": "20",
     "discLayout": "0",
     "magnetDiameter": 10,
     "magnetHeight": 3,
     "text": "Merry",
     "text2": "",
     "font": "pacifico",
     "letterHeight": 12,
     "letterSpacing": 0.02,
     "textDirection": "along",
     "letterStyle": "raised",
     "letterDepth": 1.2,
     "colorMode": "multi",
     "baseColor": "#3b5b8c",
     "letterColor": "#fbbf24",
     "material": "petg",
     "wallCount": 6,
     "infill": 100,
     "layerHeight": 0.2
    }
   },
   {
    "id": "homebrew-text-bottle-opener",
    "title": "Bar or homebrew opener, text only",
    "description": "Narrow letters on a dark handle, printed in one colour with a filament change.",
    "values": {
     "style": "keychain",
     "tooth": "coin",
     "coin": "1eur",
     "coinDiameter": 23.25,
     "coinThickness": 2.33,
     "coinFit": 0.25,
     "screwSize": "m4",
     "mouthDepth": 30.75,
     "fitCoupon": true,
     "mountPlate": false,
     "mountTilt": 20,
     "cupHeight": 50,
     "length": 130,
     "width": 24,
     "thickness": 7.2,
     "keyring": true,
     "holeDiameter": 5,
     "strap": false,
     "strapWidth": "20",
     "discLayout": "0",
     "magnetDiameter": 10,
     "magnetHeight": 3,
     "text": "HOMEBREW",
     "text2": "",
     "font": "barlow",
     "letterHeight": 10,
     "letterSpacing": 0.02,
     "textDirection": "along",
     "letterStyle": "raised",
     "letterDepth": 1.2,
     "colorMode": "single",
     "baseColor": "#5b7f4b",
     "letterColor": "#bae6fd",
     "material": "petg",
     "wallCount": 6,
     "infill": 100,
     "layerHeight": 0.2
    }
   },
   {
    "id": "us-quarter-coin-bottle-opener",
    "title": "US quarter coin bottle opener",
    "description": "The slot made for a quarter (24.26 × 1.75 mm), with a name.",
    "values": {
     "style": "keychain",
     "tooth": "coin",
     "coin": "quarter",
     "coinDiameter": 23.25,
     "coinThickness": 2.33,
     "coinFit": 0.25,
     "screwSize": "m4",
     "mouthDepth": 30.75,
     "fitCoupon": true,
     "mountPlate": false,
     "mountTilt": 20,
     "cupHeight": 50,
     "length": 110,
     "width": 24,
     "thickness": 7.2,
     "keyring": true,
     "holeDiameter": 5,
     "strap": false,
     "strapWidth": "20",
     "discLayout": "0",
     "magnetDiameter": 10,
     "magnetHeight": 3,
     "text": "Sam",
     "text2": "",
     "font": "lilita",
     "letterHeight": 10,
     "letterSpacing": 0.02,
     "textDirection": "along",
     "letterStyle": "raised",
     "letterDepth": 1.2,
     "colorMode": "multi",
     "baseColor": "#8c3b5c",
     "letterColor": "#fde68a",
     "material": "petg",
     "wallCount": 6,
     "infill": 100,
     "layerHeight": 0.2
    }
   },
   {
    "id": "wall-mounted-opener-with-cap-catcher",
    "title": "Wall-mounted opener with a cap catcher",
    "description": "The keychain opener on a plate for the wall: a sloped shelf holds it, the cup below catches the caps.",
    "values": {
     "style": "keychain",
     "tooth": "coin",
     "coin": "1eur",
     "coinDiameter": 23.25,
     "coinThickness": 2.33,
     "coinFit": 0.25,
     "screwSize": "m4",
     "mouthDepth": 30.75,
     "fitCoupon": false,
     "mountPlate": true,
     "mountTilt": 20,
     "cupHeight": 50,
     "length": 100,
     "width": 24,
     "thickness": 7.2,
     "keyring": true,
     "holeDiameter": 5,
     "strap": false,
     "strapWidth": "20",
     "discLayout": "0",
     "magnetDiameter": 10,
     "magnetHeight": 3,
     "text": "Bar",
     "text2": "",
     "font": "lilita",
     "letterHeight": 10,
     "letterSpacing": 0.02,
     "textDirection": "across",
     "letterStyle": "raised",
     "letterDepth": 1.2,
     "colorMode": "multi",
     "baseColor": "#d97742",
     "letterColor": "#fed7aa",
     "material": "petg",
     "wallCount": 6,
     "infill": 100,
     "layerHeight": 0.2
    }
   },
   {
    "id": "screw-tooth-bottle-opener",
    "title": "Opener with an M4 nut as the tooth",
    "description": "No coin at hand: a machine screw and its nut do the prying.",
    "values": {
     "style": "keychain",
     "tooth": "screw",
     "coin": "1eur",
     "coinDiameter": 23.25,
     "coinThickness": 2.33,
     "coinFit": 0.25,
     "screwSize": "m4",
     "mouthDepth": 30.75,
     "fitCoupon": true,
     "mountPlate": false,
     "mountTilt": 20,
     "cupHeight": 50,
     "length": 92,
     "width": 24,
     "thickness": 7.2,
     "keyring": true,
     "holeDiameter": 5,
     "strap": false,
     "strapWidth": "20",
     "discLayout": "0",
     "magnetDiameter": 10,
     "magnetHeight": 3,
     "text": "Bar",
     "text2": "",
     "font": "lilita",
     "letterHeight": 10,
     "letterSpacing": 0.02,
     "textDirection": "along",
     "letterStyle": "raised",
     "letterDepth": 1.2,
     "colorMode": "multi",
     "baseColor": "#1f6f8b",
     "letterColor": "#d9f99d",
     "material": "petg",
     "wallCount": 6,
     "infill": 100,
     "layerHeight": 0.2
    }
   }
  ]
 },
 "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": {
  "tooth": {
   "type": "string",
   "enum": [
    "coin",
    "screw"
   ],
   "x-enumTitles": {
    "coin": "A coin in a slot",
    "screw": "A nut on an M4 or M5 screw"
   },
   "title": "Tooth",
   "description": "Plastic alone wears out at the tooth, so a steel coin or nut does the prying. Both sit in a slot under a bridge that keeps them in.",
   "x-group": "tooth",
   "x-agentSafe": true,
   "x-label-lv": "Zobs",
   "default": "coin",
   "x-resetOnPreset": true
  },
  "coin": {
   "type": "string",
   "enum": [
    "1eur",
    "2eur",
    "50c",
    "20c",
    "10c",
    "5c",
    "2c",
    "1c",
    "quarter",
    "nickel",
    "dime",
    "penny",
    "1gbp",
    "2gbp",
    "50p",
    "20p",
    "10p",
    "custom"
   ],
   "x-enumTitles": {
    "1eur": "1 euro (23.25 × 2.33 mm)",
    "2eur": "2 euro (25.75 × 2.20 mm)",
    "50c": "50 cent (24.25 × 2.38 mm)",
    "20c": "20 cent (22.25 × 2.14 mm)",
    "10c": "10 cent (19.75 × 1.93 mm)",
    "5c": "5 cent (21.25 × 1.67 mm)",
    "2c": "2 cent (18.75 × 1.67 mm)",
    "1c": "1 cent (16.25 × 1.67 mm)",
    "quarter": "US quarter (24.26 × 1.75 mm)",
    "nickel": "US nickel (21.21 × 1.95 mm)",
    "dime": "US dime (17.91 × 1.35 mm)",
    "penny": "US penny (19.05 × 1.52 mm)",
    "1gbp": "£1 (23.43 × 2.8 mm, 12-sided)",
    "2gbp": "£2 (28.4 × 2.5 mm)",
    "50p": "50p (27.3 × 1.78 mm)",
    "20p": "20p (21.4 × 1.7 mm)",
    "10p": "10p (24.5 × 1.85 mm)",
    "custom": "Another coin: my own sizes"
   },
   "title": "Coin",
   "description": "The slot is made for this coin. Diameter and thickness as the mints publish them.",
   "x-group": "tooth",
   "x-visibleIf": {
    "tooth": "coin"
   },
   "x-agentSafe": true,
   "x-label-lv": "Monēta",
   "default": "1eur",
   "x-resetOnPreset": true
  },
  "coinDiameter": {
   "type": "number",
   "minimum": 15,
   "maximum": 32,
   "x-step": 0.05,
   "title": "Coin diameter",
   "description": "Measure the coin, or take the figure from the mint.",
   "x-group": "tooth",
   "x-unit": "mm",
   "x-visibleIf": {
    "all": [
     {
      "tooth": "coin"
     },
     {
      "coin": "custom"
     }
    ]
   },
   "x-agentSafe": true,
   "x-label-lv": "Monētas diametrs",
   "default": 23.25,
   "x-resetOnPreset": true
  },
  "coinThickness": {
   "type": "number",
   "minimum": 1.2,
   "maximum": 3.2,
   "x-step": 0.01,
   "title": "Coin thickness",
   "description": "A caliper reading; the slot is 0.2 mm deeper.",
   "x-group": "tooth",
   "x-unit": "mm",
   "x-visibleIf": {
    "all": [
     {
      "tooth": "coin"
     },
     {
      "coin": "custom"
     }
    ]
   },
   "x-agentSafe": true,
   "x-label-lv": "Monētas biezums",
   "default": 2.33,
   "x-resetOnPreset": true
  },
  "coinFit": {
   "type": "number",
   "minimum": 0.05,
   "maximum": 0.5,
   "x-step": 0.05,
   "title": "Press fit (interference)",
   "description": "How much two bumps in the slot grip the coin on each side. 0.25 mm holds on most printers; the fit coupon shows what yours does.",
   "x-group": "tooth",
   "x-unit": "mm",
   "x-role": "core.clearance",
   "x-visibleIf": {
    "tooth": "coin"
   },
   "x-agentSafe": true,
   "x-label-lv": "Pieguļošana (spriegums)",
   "default": 0.25,
   "x-resetOnPreset": true
  },
  "screwSize": {
   "type": "string",
   "enum": [
    "m4",
    "m5"
   ],
   "x-enumTitles": {
    "m4": "M4 (7 mm nut)",
    "m5": "M5 (8 mm nut)"
   },
   "title": "Screw and nut",
   "description": "A machine screw of the plate thickness plus the nut, with a nut 3.2 mm (M4) or 4.7 mm (M5) thick. The head stands on the top face.",
   "x-group": "tooth",
   "x-visibleIf": {
    "tooth": "screw"
   },
   "x-agentSafe": true,
   "x-label-lv": "Skrūve un uzmava",
   "default": "m4",
   "x-resetOnPreset": true
  },
  "mouthDepth": {
   "type": "number",
   "minimum": 27,
   "maximum": 35,
   "x-step": 0.25,
   "title": "Mouth depth",
   "description": "From the front edge to the tip of the coin or nut. A crimped crown cap is about 31 mm across; the mouth is a little shorter, so the tooth goes under the edge.",
   "x-group": "tooth",
   "x-unit": "mm",
   "x-agentSafe": true,
   "x-label-lv": "Mutes dziļums",
   "default": 30.75,
   "x-resetOnPreset": true
  },
  "fitCoupon": {
   "type": "integer",
   "enum": [
    0,
    1
   ],
   "title": "Fit coupon",
   "description": "A small plate with three slots that grip the coin by 0.10, 0.25 and 0.40 mm on each side. Print it first and press the coin into each.",
   "x-group": "tooth",
   "x-visibleIf": {
    "tooth": "coin"
   },
   "x-agentSafe": true,
   "x-label-lv": "Piegulēšanas paraugiņš",
   "default": 1,
   "x-resetOnPreset": true
  },
  "style": {
   "type": "string",
   "enum": [
    "keychain",
    "magnet",
    "palm"
   ],
   "x-enumTitles": {
    "keychain": "Keychain: narrow handle with a ring hole",
    "magnet": "Fridge magnet: wide and short",
    "palm": "One-handed: wide body for a strap"
   },
   "title": "Style",
   "description": "The mouth and the tooth are the same in all three; the body behind them differs.",
   "x-group": "body",
   "x-agentSafe": true,
   "x-label-lv": "Veids",
   "default": "keychain",
   "x-resetOnPreset": true
  },
  "length": {
   "type": "number",
   "minimum": 60,
   "maximum": 150,
   "multipleOf": 1,
   "title": "Length",
   "description": "From the front edge of the mouth to the end of the handle. The coin slot needs its length: the page lengthens a handle that is too short.",
   "x-group": "body",
   "x-unit": "mm",
   "x-agentSafe": true,
   "x-label-lv": "Garums",
   "default": 110,
   "x-resetOnPreset": true
  },
  "width": {
   "type": "number",
   "minimum": 16,
   "maximum": 90,
   "multipleOf": 1,
   "title": "Handle width",
   "description": "A keychain handle from 16 mm. The magnet and one-handed bodies are at least as wide as the mouth and take 44 to 90 mm.",
   "x-group": "body",
   "x-unit": "mm",
   "x-agentSafe": true,
   "x-label-lv": "Roktura platums",
   "default": 24,
   "x-resetOnPreset": true
  },
  "thickness": {
   "type": "number",
   "minimum": 4.8,
   "maximum": 12,
   "x-step": 0.4,
   "title": "Thickness",
   "description": "The plate. Under the coin 1.6 mm must stay: a thick coin or nut needs a thicker plate.",
   "x-group": "body",
   "x-unit": "mm",
   "x-agentSafe": true,
   "x-label-lv": "Biezums",
   "default": 7.2,
   "x-resetOnPreset": true
  },
  "keyring": {
   "type": "integer",
   "enum": [
    0,
    1
   ],
   "title": "Ring hole",
   "description": "A hole at the end of the handle for a key ring.",
   "x-group": "body",
   "x-agentSafe": true,
   "x-label-lv": "Caurums gredzenam",
   "default": 1,
   "x-resetOnPreset": true
  },
  "holeDiameter": {
   "type": "number",
   "minimum": 4,
   "maximum": 8,
   "x-step": 0.5,
   "title": "Ring hole diameter",
   "description": "5 mm takes most split rings.",
   "x-group": "body",
   "x-unit": "mm",
   "x-visibleIf": {
    "keyring": true
   },
   "x-agentSafe": true,
   "x-label-lv": "Gredzena cauruma diametrs",
   "default": 5,
   "x-resetOnPreset": true
  },
  "strap": {
   "type": "integer",
   "enum": [
    0,
    1
   ],
   "title": "Strap slots",
   "description": "Two slots for a hook-and-loop strap that holds the opener against the palm. The strap is not printed.",
   "x-group": "body",
   "x-visibleIf": {
    "style": "palm"
   },
   "x-agentSafe": true,
   "x-label-lv": "Siksniņas spraugas",
   "default": 0,
   "x-resetOnPreset": true
  },
  "strapWidth": {
   "type": "string",
   "enum": [
    "20",
    "25"
   ],
   "x-enumTitles": {
    "20": "20 mm strap",
    "25": "25 mm strap"
   },
   "title": "Strap width",
   "description": "The slots are 1 mm wider.",
   "x-group": "body",
   "x-visibleIf": {
    "strap": true
   },
   "x-agentSafe": true,
   "x-label-lv": "Siksniņas platums",
   "default": "20",
   "x-resetOnPreset": true
  },
  "mountPlate": {
   "type": "integer",
   "enum": [
    0,
    1
   ],
   "title": "Wall mount with a cap catcher",
   "description": "A second part: a plate with keyhole slots for M4 screws, a cup that catches the caps and a sloped shelf that takes the opener, mouth towards the room, held by a screw through its ring hole.",
   "x-group": "body",
   "x-agentSafe": true,
   "x-label-lv": "Sienas turētājs ar vāciņu tvērēju",
   "default": 0,
   "x-resetOnPreset": true
  },
  "mountTilt": {
   "type": "number",
   "minimum": 10,
   "maximum": 30,
   "multipleOf": 1,
   "title": "Shelf tilt",
   "description": "How far the mouth end of the shelf points up: the opener lies on it as in the hand, dipped by this angle.",
   "x-group": "body",
   "x-unit": "deg",
   "x-visibleIf": {
    "mountPlate": true
   },
   "x-agentSafe": true,
   "x-label-lv": "Plaukta slīpums",
   "default": 20,
   "x-resetOnPreset": true
  },
  "cupHeight": {
   "type": "number",
   "minimum": 30,
   "maximum": 90,
   "multipleOf": 5,
   "title": "Cup height",
   "description": "The cup that catches the caps. Its front wall is 20 mm lower, so that the caps fall in.",
   "x-group": "body",
   "x-unit": "mm",
   "x-visibleIf": {
    "mountPlate": true
   },
   "x-agentSafe": true,
   "x-label-lv": "Kausa augstums",
   "default": 50,
   "x-resetOnPreset": true
  },
  "discLayout": {
   "type": "string",
   "enum": [
    "0",
    "1",
    "2",
    "4"
   ],
   "x-enumTitles": {
    "0": "None",
    "1": "One",
    "2": "Two",
    "4": "Four, in a square"
   },
   "title": "Magnets",
   "description": "Round magnets in pockets in the back: an opener that sticks to the fridge. The pockets are bridged over; push the magnets in from the back.",
   "x-group": "body",
   "x-agentSafe": true,
   "x-label-lv": "Magnēti",
   "default": "0",
   "x-resetOnPreset": true
  },
  "magnetDiameter": {
   "type": "number",
   "minimum": 6,
   "maximum": 12,
   "x-step": 0.5,
   "title": "Magnet diameter",
   "description": "10 mm is the common size.",
   "x-group": "body",
   "x-unit": "mm",
   "x-role": "core.magnetDiameter",
   "x-visibleIf": {
    "discLayout": {
     "ne": "0"
    }
   },
   "x-agentSafe": true,
   "x-label-lv": "Magnēta diametrs",
   "default": 10,
   "x-resetOnPreset": true
  },
  "magnetHeight": {
   "type": "number",
   "minimum": 1,
   "maximum": 5,
   "x-step": 0.5,
   "title": "Magnet thickness",
   "description": "The pocket is 0.1 mm deeper than the magnet.",
   "x-group": "body",
   "x-unit": "mm",
   "x-role": "core.magnetHeight",
   "x-visibleIf": {
    "discLayout": {
     "ne": "0"
    }
   },
   "x-agentSafe": true,
   "x-label-lv": "Magnēta biezums",
   "default": 3,
   "x-resetOnPreset": true
  },
  "text": {
   "type": "string",
   "maxLength": 12,
   "title": "Name or word",
   "description": "The large line on the handle. Empty: no text. Up to 12 characters.",
   "x-group": "text",
   "x-agentSafe": true,
   "x-label-lv": "Vārds vai vārds",
   "default": "Tom",
   "x-resetOnPreset": true
  },
  "text2": {
   "type": "string",
   "maxLength": 16,
   "title": "Second line",
   "description": "A smaller line under the first: a greeting or a year. Empty: none.",
   "x-group": "text",
   "x-agentSafe": true,
   "x-label-lv": "Otrā rinda",
   "default": "",
   "x-resetOnPreset": true
  },
  "font": {
   "type": "string",
   "enum": [
    "lilita",
    "pacifico",
    "varela",
    "barlow"
   ],
   "x-enumTitles": {
    "lilita": "Bold rounded (Lilita One)",
    "pacifico": "Script, joined letters (Pacifico)",
    "varela": "Clean rounded (Varela Round)",
    "barlow": "Narrow, for long text (Barlow Condensed)"
   },
   "title": "Letter style",
   "description": "Bold for a first opener, script for a gift, narrow for long words.",
   "x-group": "text",
   "x-agentSafe": true,
   "x-label-lv": "Burtu stils",
   "default": "lilita",
   "x-resetOnPreset": true
  },
  "letterHeight": {
   "type": "number",
   "minimum": 5,
   "maximum": 20,
   "multipleOf": 1,
   "title": "Letter height",
   "description": "Height of a capital letter. The letters shrink on their own when the text does not fit.",
   "x-group": "text",
   "x-unit": "mm",
   "x-agentSafe": true,
   "x-label-lv": "Burtu augstums",
   "default": 10,
   "x-resetOnPreset": true
  },
  "letterSpacing": {
   "type": "number",
   "minimum": -0.05,
   "maximum": 0.3,
   "x-step": 0.01,
   "title": "Letter spacing",
   "description": "As a share of the letter height.",
   "x-group": "text",
   "x-unit": "ratio",
   "x-agentSafe": true,
   "x-label-lv": "Atstarpe starp burtiem",
   "default": 0.02,
   "x-resetOnPreset": true
  },
  "textDirection": {
   "type": "string",
   "enum": [
    "along",
    "across"
   ],
   "x-enumTitles": {
    "along": "Along the handle",
    "across": "Across the body"
   },
   "title": "Text direction",
   "description": "Along the handle fits a long name on a narrow keychain; across suits the wide bodies.",
   "x-group": "text",
   "x-agentSafe": true,
   "x-label-lv": "Teksta virziens",
   "default": "along",
   "x-resetOnPreset": true
  },
  "letterStyle": {
   "type": "string",
   "enum": [
    "raised",
    "engraved"
   ],
   "x-enumTitles": {
    "raised": "Raised letters",
    "engraved": "Engraved letters"
   },
   "title": "Letters",
   "description": "Raised letters stand on the face and are printed after a filament change or in a second colour. Engraved letters are cut into the face; in two colours the second colour is inlaid flush.",
   "x-group": "text",
   "x-agentSafe": true,
   "x-label-lv": "Burti",
   "default": "raised",
   "x-resetOnPreset": true
  },
  "letterDepth": {
   "type": "number",
   "minimum": 0.6,
   "maximum": 1.6,
   "x-step": 0.2,
   "title": "Letter height / depth",
   "description": "Raised: how far the letters stand up. Engraved: how deep they are cut.",
   "x-group": "text",
   "x-unit": "mm",
   "x-agentSafe": true,
   "x-label-lv": "Burtu augstums / dziļums",
   "default": 1.2,
   "x-resetOnPreset": true
  },
  "handleTexture": {
   "type": "string",
   "enum": [
    "none",
    "diamond",
    "hex",
    "wood",
    "hammered",
    "basketweave",
    "folk",
    "waves",
    "dots"
   ],
   "x-enumTitles": {
    "none": "Smooth (plain)",
    "diamond": "Diamond grip",
    "hex": "Honeycomb",
    "wood": "Woodgrain",
    "hammered": "Hammered / slate",
    "basketweave": "Basketweave",
    "folk": "Latvian folk motif",
    "waves": "Flowing waves",
    "dots": "Polka dots"
   },
   "title": "Handle texture",
   "description": "Optional carved grip or decorative relief on the handle top face; letters, holes and the coin bridge stay flat.",
   "x-group": "look",
   "x-agentSafe": true,
   "x-label-lv": "Roktura tekstūra",
   "default": "none",
   "x-resetOnPreset": true
  },
  "textureDepth": {
   "type": "number",
   "minimum": 0.3,
   "maximum": 0.8,
   "x-step": 0.1,
   "title": "Texture depth",
   "description": "How deeply the pattern is carved into the top face (0.5 mm prints cleanly without supports).",
   "x-group": "look",
   "x-unit": "mm",
   "x-visibleIf": {
    "handleTexture": {
     "ne": "none"
    }
   },
   "x-agentSafe": true,
   "x-label-lv": "Tekstūras dziļums",
   "default": 0.5,
   "x-resetOnPreset": true
  },
  "textureScale": {
   "type": "number",
   "minimum": 4,
   "maximum": 16,
   "multipleOf": 1,
   "title": "Texture scale",
   "description": "Size of one repeating pattern cell in millimetres.",
   "x-group": "look",
   "x-unit": "mm",
   "x-visibleIf": {
    "handleTexture": {
     "ne": "none"
    }
   },
   "x-agentSafe": true,
   "x-label-lv": "Tekstūras mērogs",
   "default": 8,
   "x-resetOnPreset": true
  },
  "colorMode": {
   "type": "string",
   "enum": [
    "single",
    "multi"
   ],
   "x-enumTitles": {
    "single": "One colour",
    "multi": "Two colours: letters and opener"
   },
   "title": "Colours",
   "description": "Two colours gives two bodies in the 3MF, for a multi-material printer. One colour with raised letters: change the filament at the height the page gives.",
   "x-group": "look",
   "x-agentSafe": true,
   "x-label-lv": "Krāsas",
   "default": "multi",
   "x-resetOnPreset": true
  },
  "baseColor": {
   "type": "string",
   "pattern": "^#[0-9a-fA-F]{6}$",
   "title": "Opener colour",
   "description": "The opener.",
   "x-group": "look",
   "x-role": "core.previewColor",
   "x-agentSafe": true,
   "x-label-lv": "Atdareņa krāsa",
   "default": "#1f3a5f",
   "x-resetOnPreset": true
  },
  "letterColor": {
   "type": "string",
   "pattern": "^#[0-9a-fA-F]{6}$",
   "title": "Letter colour",
   "description": "The name or word.",
   "x-group": "look",
   "x-visibleIf": {
    "colorMode": "multi"
   },
   "x-agentSafe": true,
   "x-label-lv": "Burtu krāsa",
   "default": "#e8a33d",
   "x-resetOnPreset": true
  },
  "material": {
   "type": "string",
   "enum": [
    "petg",
    "pla",
    "asa"
   ],
   "x-enumTitles": {
    "petg": "PETG (tough, recommended)",
    "pla": "PLA (stiff, for now and then)",
    "asa": "ASA (tough, UV-stable)"
   },
   "title": "Filament",
   "description": "The tooth is steel; the plate around it has to take the lever load. PETG or ASA bend before they break, PLA is stiffer but brittler.",
   "x-group": "print",
   "x-role": "core.printMaterial",
   "x-agentSafe": true,
   "x-label-lv": "Filaments",
   "default": "petg",
   "x-resetOnPreset": true
  },
  "wallCount": {
   "type": "integer",
   "minimum": 3,
   "maximum": 8,
   "multipleOf": 1,
   "title": "Perimeter walls",
   "description": "Six lines: the walls round the mouth take the load.",
   "x-group": "print",
   "x-unit": "count",
   "x-role": "print.wallCount",
   "x-agentSafe": true,
   "x-label-lv": "Sienu skaits",
   "default": 6,
   "x-resetOnPreset": true
  },
  "infill": {
   "type": "integer",
   "minimum": 20,
   "maximum": 100,
   "multipleOf": 5,
   "title": "Infill",
   "description": "100 %: the plate is thin and takes a lever load.",
   "x-group": "print",
   "x-unit": "pct",
   "x-role": "print.infill",
   "x-agentSafe": true,
   "x-label-lv": "Aizpildījums",
   "default": 100,
   "x-resetOnPreset": true
  },
  "layerHeight": {
   "type": "number",
   "minimum": 0.16,
   "maximum": 0.3,
   "x-step": 0.02,
   "title": "Layer height",
   "description": "Only for the layer number of the filament change.",
   "x-group": "print",
   "x-unit": "mm",
   "x-agentSafe": true,
   "x-label-lv": "Slāņa augstums",
   "default": 0.2,
   "x-resetOnPreset": true
  }
 },
 "additionalProperties": false,
 "recommended_materials": [
  {
   "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)"
  }
 ]
}