{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "$id": "https://paramlet.com/tools/house-number-sign/schema.json",
 "title": "House number sign — parameters",
 "description": "Design a house number or address plaque: number, street, plate shape, hidden keyholes or a garden stake, two-colour 3MF, split for any bed size. 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": "house-number-sign",
 "x-toolVersion": "1.0.0",
 "x-specVersion": "1.0",
 "x-apiVersion": "1",
 "x-groups": [
  {
   "id": "text",
   "title": "Text"
  },
  {
   "id": "plate",
   "title": "Plate"
  },
  {
   "id": "mount",
   "title": "Mounting"
  },
  {
   "id": "colour",
   "title": "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": "modern-plaque",
    "title": "Modern number and street plaque",
    "description": "Rounded plate with the number, street and a thin border; hidden keyholes.",
    "values": {
     "line2": "Oak Street",
     "numberHeight": 80,
     "textHeight": 18,
     "shape": "rounded",
     "borderWidth": 3,
     "plateColor": "#22262c",
     "textColor": "#f4f1ea"
    }
   },
   {
    "id": "classic-oval",
    "title": "Classic oval house sign",
    "description": "Oval plate with a raised border, cream on dark green.",
    "values": {
     "line2": "Rose Cottage",
     "font": "varela",
     "numberHeight": 70,
     "textHeight": 16,
     "shape": "oval",
     "borderWidth": 5,
     "plateColor": "#1f4d3a",
     "textColor": "#f2ead6"
    }
   },
   {
    "id": "floating-digits",
    "title": "Floating digits on standoffs",
    "description": "120 mm single digits that stand off the wall on rods.",
    "values": {
     "line2": "",
     "shape": "digits",
     "numberHeight": 120,
     "plateThickness": 10,
     "relief": 0.8,
     "textColor": "#1d1f24"
    }
   },
   {
    "id": "mailbox-number",
    "title": "Mailbox number strip",
    "description": "Small number-only strip to glue or tape on a mailbox.",
    "values": {
     "line2": "",
     "numberHeight": 40,
     "margin": 8,
     "plateThickness": 3,
     "relief": 1.2,
     "shape": "rectangle",
     "border": false,
     "mounting": "none",
     "plateColor": "#f4f1ea",
     "textColor": "#b3202a"
    }
   },
   {
    "id": "garden-stake",
    "title": "Garden stake number sign",
    "description": "Number sign on a stake for a lawn, driveway or allotment.",
    "values": {
     "line2": "",
     "numberHeight": 55,
     "margin": 10,
     "shape": "arched",
     "mounting": "stake",
     "stakeLength": 110,
     "plateColor": "#2e7d4f",
     "textColor": "#ffffff"
    }
   },
   {
    "id": "apartment-door",
    "title": "Apartment door number",
    "description": "Small 60 mm door number, screws, light grey on black.",
    "values": {
     "line2": "",
     "numberHeight": 60,
     "margin": 10,
     "plateThickness": 4,
     "shape": "rounded",
     "mounting": "screws",
     "screwDiameter": 3.5,
     "plateColor": "#111316",
     "textColor": "#d6dbe0"
    }
   },
   {
    "id": "wide-street-sign",
    "title": "Wide sign with street and town",
    "description": "Number, street and town on a wide plate; on a smaller bed it splits into parts that join with pins.",
    "values": {
     "line2": "Brīvības iela",
     "line3": "Rīga",
     "numberHeight": 95,
     "textHeight": 26,
     "shape": "rectangle",
     "borderWidth": 6,
     "plateColor": "#1f3b57",
     "textColor": "#ffffff"
    }
   }
  ]
 },
 "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"
  }
 },
 "type": "object",
 "properties": {
  "line1": {
   "type": "string",
   "maxLength": 8,
   "title": "House number",
   "description": "Up to 8 characters, e.g. 12, 7A, 105/2.",
   "x-group": "text",
   "x-agentSafe": true,
   "x-label-lv": "Mājas numurs",
   "default": "12"
  },
  "line2": {
   "type": "string",
   "maxLength": 24,
   "title": "Street (optional)",
   "description": "Street or house name; leave empty for a number-only sign.",
   "x-group": "text",
   "x-agentSafe": true,
   "x-label-lv": "Iela (nav obligāta)",
   "default": "Oak Street",
   "x-resetOnPreset": true
  },
  "line3": {
   "type": "string",
   "maxLength": 24,
   "title": "Third line (optional)",
   "description": "Town, family name …",
   "x-group": "text",
   "x-agentSafe": true,
   "x-label-lv": "Trešā rinda (nav obligāta)",
   "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": "Font",
   "description": "Bold fonts read best from the street.",
   "x-group": "text",
   "x-agentSafe": true,
   "x-label-lv": "Fonts",
   "default": "lilita",
   "x-resetOnPreset": true
  },
  "numberHeight": {
   "type": "number",
   "minimum": 30,
   "maximum": 200,
   "multipleOf": 5,
   "title": "Number height",
   "description": "About 25 mm per 3 m of reading distance; the panel shows how far it reads.",
   "x-group": "text",
   "x-unit": "mm",
   "x-agentSafe": true,
   "x-label-lv": "Numura augstums",
   "default": 80,
   "x-resetOnPreset": true
  },
  "textHeight": {
   "type": "number",
   "minimum": 8,
   "maximum": 60,
   "multipleOf": 1,
   "title": "Street text height",
   "description": "Capital height of lines 2 and 3.",
   "x-group": "text",
   "x-unit": "mm",
   "x-agentSafe": true,
   "x-label-lv": "Ielas teksta augstums",
   "default": 18,
   "x-resetOnPreset": true
  },
  "shape": {
   "type": "string",
   "enum": [
    "rounded",
    "rectangle",
    "oval",
    "arched",
    "digits"
   ],
   "x-enumTitles": {
    "rounded": "Rounded rectangle",
    "rectangle": "Rectangle",
    "oval": "Oval",
    "arched": "Arched top",
    "digits": "Floating digits (no plate)"
   },
   "title": "Shape",
   "description": "Floating digits are separate characters mounted on standoffs.",
   "x-group": "plate",
   "x-agentSafe": true,
   "x-label-lv": "Forma",
   "default": "rounded",
   "x-resetOnPreset": true
  },
  "margin": {
   "type": "number",
   "minimum": 5,
   "maximum": 40,
   "multipleOf": 1,
   "title": "Margin round the text",
   "description": "Space between the text and the plate edge.",
   "x-group": "plate",
   "x-unit": "mm",
   "x-visibleIf": {
    "shape": {
     "ne": "digits"
    }
   },
   "x-agentSafe": true,
   "x-label-lv": "Mala ap tekstu",
   "default": 14,
   "x-resetOnPreset": true
  },
  "plateThickness": {
   "type": "number",
   "minimum": 3,
   "maximum": 12,
   "x-step": 0.5,
   "title": "Plate thickness",
   "description": "6 mm is stiff outdoors and fits the hidden keyholes.",
   "x-group": "plate",
   "x-unit": "mm",
   "x-agentSafe": true,
   "x-label-lv": "Plāksnes biezums",
   "default": 6,
   "x-resetOnPreset": true
  },
  "relief": {
   "type": "number",
   "minimum": 0.8,
   "maximum": 4,
   "x-step": 0.2,
   "title": "Raised text height",
   "description": "How far the text stands out; 2 mm casts a clear shadow.",
   "x-group": "plate",
   "x-unit": "mm",
   "x-agentSafe": true,
   "x-label-lv": "Teksta augstums virs plāksnes",
   "default": 2,
   "x-resetOnPreset": true
  },
  "border": {
   "type": "integer",
   "enum": [
    0,
    1
   ],
   "title": "Raised border",
   "description": "A frame in the text colour.",
   "x-group": "plate",
   "x-visibleIf": {
    "shape": {
     "ne": "digits"
    }
   },
   "x-agentSafe": true,
   "x-label-lv": "Pacelta apmale",
   "default": 1,
   "x-resetOnPreset": true
  },
  "borderWidth": {
   "type": "number",
   "minimum": 2,
   "maximum": 12,
   "x-step": 0.5,
   "title": "Border width",
   "description": "Width of the raised frame.",
   "x-group": "plate",
   "x-unit": "mm",
   "x-visibleIf": {
    "border": true
   },
   "x-agentSafe": true,
   "x-label-lv": "Apmales platums",
   "default": 4,
   "x-resetOnPreset": true
  },
  "surfaceTexture": {
   "type": "string",
   "enum": [
    "none",
    "wood",
    "hammered",
    "stone",
    "brick",
    "folk",
    "hex",
    "diamond",
    "basketweave",
    "dots",
    "waves"
   ],
   "x-enumTitles": {
    "none": "Smooth",
    "wood": "Woodgrain",
    "hammered": "Hammered / slate",
    "stone": "Organic stone",
    "brick": "Masonry brick",
    "folk": "Latvian folk motif",
    "hex": "Hex honeycomb",
    "diamond": "Diamond lattice",
    "basketweave": "Basketweave",
    "dots": "Polka dots",
    "waves": "Flowing waves"
   },
   "title": "Plate texture",
   "description": "Optional relief texture on the plaque field; letters, border and screw holes stay flat.",
   "x-group": "plate",
   "x-visibleIf": {
    "shape": {
     "ne": "digits"
    }
   },
   "x-agentSafe": true,
   "x-label-lv": "Plāksnes faktūra",
   "default": "none",
   "x-resetOnPreset": true
  },
  "textureDepth": {
   "type": "number",
   "minimum": 0.3,
   "maximum": 1.5,
   "x-step": 0.1,
   "title": "Texture depth",
   "description": "Relief height on the plaque field (kept below the raised lettering).",
   "x-group": "plate",
   "x-unit": "mm",
   "x-visibleIf": {
    "all": [
     {
      "shape": {
       "ne": "digits"
      }
     },
     {
      "surfaceTexture": {
       "ne": "none"
      }
     }
    ]
   },
   "x-agentSafe": true,
   "x-label-lv": "Faktūras dziļums",
   "default": 0.7,
   "x-resetOnPreset": true
  },
  "textureScale": {
   "type": "number",
   "minimum": 4,
   "maximum": 24,
   "multipleOf": 1,
   "title": "Texture scale",
   "description": "Size of one repeating pattern cell in millimetres.",
   "x-group": "plate",
   "x-unit": "mm",
   "x-visibleIf": {
    "all": [
     {
      "shape": {
       "ne": "digits"
      }
     },
     {
      "surfaceTexture": {
       "ne": "none"
      }
     }
    ]
   },
   "x-agentSafe": true,
   "x-label-lv": "Faktūras mērogs",
   "default": 10,
   "x-resetOnPreset": true
  },
  "textureRotation": {
   "type": "number",
   "minimum": -180,
   "maximum": 180,
   "multipleOf": 5,
   "title": "Texture rotation",
   "description": "Rotates the background pattern in degrees.",
   "x-group": "plate",
   "x-unit": "deg",
   "x-visibleIf": {
    "all": [
     {
      "shape": {
       "ne": "digits"
      }
     },
     {
      "surfaceTexture": {
       "ne": "none"
      }
     }
    ]
   },
   "x-advanced": true,
   "x-agentSafe": true,
   "x-label-lv": "Faktūras pagrieziens",
   "default": 0,
   "x-resetOnPreset": true
  },
  "textureSeed": {
   "type": "integer",
   "minimum": 1,
   "maximum": 999,
   "multipleOf": 1,
   "title": "Texture seed",
   "description": "Changes the deterministic grain or stone variation.",
   "x-group": "plate",
   "x-unit": "count",
   "x-visibleIf": {
    "all": [
     {
      "shape": {
       "ne": "digits"
      }
     },
     {
      "surfaceTexture": [
       "wood",
       "hammered",
       "stone"
      ]
     }
    ]
   },
   "x-advanced": true,
   "x-agentSafe": true,
   "x-label-lv": "Faktūras sēkla",
   "default": 1,
   "x-resetOnPreset": true
  },
  "mounting": {
   "type": "string",
   "enum": [
    "keyhole",
    "screws",
    "stake",
    "none"
   ],
   "x-enumTitles": {
    "keyhole": "Hidden keyholes on the back",
    "screws": "Countersunk screw holes",
    "stake": "Garden stake",
    "none": "None (glue or tape)"
   },
   "title": "Mounting",
   "description": "Keyholes hang the sign on two screws with nothing visible.",
   "x-group": "mount",
   "x-agentSafe": true,
   "x-label-lv": "Stiprinājums",
   "default": "keyhole",
   "x-resetOnPreset": true
  },
  "screwDiameter": {
   "type": "number",
   "minimum": 3,
   "maximum": 6,
   "x-step": 0.5,
   "title": "Screw diameter",
   "description": "Screw head is about twice this.",
   "x-group": "mount",
   "x-unit": "mm",
   "x-visibleIf": {
    "mounting": [
     "keyhole",
     "screws"
    ]
   },
   "x-agentSafe": true,
   "x-label-lv": "Skrūves diametrs",
   "default": 4
  },
  "stakeLength": {
   "type": "number",
   "minimum": 80,
   "maximum": 300,
   "multipleOf": 10,
   "title": "Stake length",
   "description": "Length below the plate.",
   "x-group": "mount",
   "x-unit": "mm",
   "x-visibleIf": {
    "mounting": "stake"
   },
   "x-agentSafe": true,
   "x-label-lv": "Mietiņa garums",
   "default": 180,
   "x-resetOnPreset": true
  },
  "standoffDiameter": {
   "type": "number",
   "minimum": 4,
   "maximum": 10,
   "x-step": 0.5,
   "title": "Standoff rod diameter",
   "description": "Two blind holes on the back of each digit take rods or dowels.",
   "x-group": "mount",
   "x-unit": "mm",
   "x-visibleIf": {
    "shape": "digits"
   },
   "x-agentSafe": true,
   "x-label-lv": "Distancera stieņa diametrs",
   "default": 6
  },
  "colorMode": {
   "type": "string",
   "enum": [
    "multi",
    "swap",
    "single"
   ],
   "x-enumTitles": {
    "multi": "Two colours (AMS / multi-material)",
    "swap": "One filament change (any printer)",
    "single": "One colour"
   },
   "title": "Colour mode",
   "description": "High contrast (light plate, dark text or the reverse) reads from far away.",
   "x-group": "colour",
   "x-agentSafe": true,
   "x-label-lv": "Krāsu režīms",
   "default": "multi",
   "x-resetOnPreset": true
  },
  "plateColor": {
   "type": "string",
   "pattern": "^#[0-9a-fA-F]{6}$",
   "title": "Plate colour",
   "description": "Preview and 3MF colour of the plate.",
   "x-group": "colour",
   "x-role": "core.previewColor",
   "x-agentSafe": true,
   "x-label-lv": "Plāksnes krāsa",
   "default": "#f4f1ea",
   "x-resetOnPreset": true
  },
  "textColor": {
   "type": "string",
   "pattern": "^#[0-9a-fA-F]{6}$",
   "title": "Text colour",
   "description": "Text and border colour.",
   "x-group": "colour",
   "x-agentSafe": true,
   "x-label-lv": "Teksta krāsa",
   "default": "#1d1f24",
   "x-resetOnPreset": true
  },
  "bedSize": {
   "type": "number",
   "minimum": 150,
   "maximum": 400,
   "multipleOf": 5,
   "title": "Print bed size",
   "description": "Wider signs are split into parts that join with pins.",
   "x-group": "print",
   "x-unit": "mm",
   "x-agentSafe": true,
   "x-label-lv": "Drukas galda izmērs",
   "default": 250
  },
  "printMaterial": {
   "type": "string",
   "enum": [
    "asa",
    "petg",
    "pla"
   ],
   "x-enumTitles": {
    "asa": "ASA (outdoors, UV-proof)",
    "petg": "PETG",
    "pla": "PLA (indoors only)"
   },
   "title": "Print material",
   "description": "PLA fades and warps in the sun; use ASA or PETG outside.",
   "x-group": "print",
   "x-role": "core.printMaterial",
   "x-agentSafe": true,
   "x-label-lv": "Drukas materiāls",
   "default": "asa"
  }
 },
 "additionalProperties": false,
 "recommended_materials": [
  {
   "id": "petg-filament-1kg",
   "title": "PETG Filament 1.75 mm (1 kg) — heat-resistant & durable",
   "why": "Stronger and more heat-resistant than PLA for molds, jigs and outdoor parts.",
   "url": "https://paramlet.com/go/petg-filament-1kg?src=agent",
   "relation": "material",
   "disclosure": "Affiliate link (Amazon Associates, tag paramlet-21)"
  },
  {
   "id": "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)"
  }
 ]
}