{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "$id": "https://paramlet.com/tools/place-card-holder/schema.json",
 "title": "Place card holder — parameters",
 "description": "Name place cards that print flat and stand in a base, holders that grip a paper card, napkin rings and glass charms with a name: a list of names packs onto one plate. 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": "place-card-holder",
 "x-toolVersion": "1.0.0",
 "x-specVersion": "1.0",
 "x-apiVersion": "1",
 "x-groups": [
  {
   "id": "names",
   "title": "Names and letters"
  },
  {
   "id": "kind",
   "title": "What it is"
  },
  {
   "id": "size",
   "title": "Size"
  },
  {
   "id": "look",
   "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": "christmas-dinner-card",
    "title": "Christmas dinner name card",
    "description": "A green card with a fir cut beside the name, white letters, on a stand.",
    "values": {
     "kind": "stand",
     "names": "NOA",
     "motif": "tree",
     "letterStyle": "raised",
     "baseColor": "#15803d",
     "textColor": "#ffffff",
     "standColor": "#f2c14e"
    }
   },
   {
    "id": "wedding-place-card",
    "title": "Wedding place card",
    "description": "An ivory card in script, gold letters inlaid flush, on a deep base.",
    "values": {
     "kind": "stand",
     "names": "Emīlija",
     "font": "pacifico",
     "letterStyle": "inlaid",
     "cardWidth": 80,
     "baseDepth": 45,
     "baseThickness": 3,
     "baseColor": "#f4ece0",
     "textColor": "#c9a227",
     "standColor": "#b91c1c"
    }
   },
   {
    "id": "christmas-napkin-ring",
    "title": "Christmas napkin ring with a name",
    "description": "A red ring for a rolled napkin, the name in white round its side.",
    "values": {
     "kind": "napkin",
     "names": "NOA",
     "baseColor": "#b91c1c",
     "textColor": "#ffffff"
    }
   },
   {
    "id": "paper-card-holder",
    "title": "Holder for a paper card",
    "description": "A base with lips that grip a 90 mm business card or a folded place card, with a coupon to try it.",
    "values": {
     "kind": "paper",
     "baseColor": "#1f4e8c"
    }
   },
   {
    "id": "glass-charm",
    "title": "Glass charm name tag",
    "description": "A split ring that clips on a wine glass stem, a tag with the name cut through it.",
    "values": {
     "kind": "charm",
     "names": "ZOE",
     "letterStyle": "cut",
     "material": "petg",
     "baseColor": "#4c1d95"
    }
   },
   {
    "id": "kids-party-card",
    "title": "Kids party name card",
    "description": "Otto in big white letters on pink, a short card that a bump does not catch.",
    "values": {
     "kind": "stand",
     "names": "OTTO",
     "letterHeight": 20,
     "cardWidth": 60,
     "cardHeight": 35,
     "baseColor": "#be185d",
     "textColor": "#ffffff",
     "standColor": "#f2c14e"
    }
   },
   {
    "id": "dinner-party-set",
    "title": "Dinner party set of six",
    "description": "Six names in narrow letters inlaid in white, every card with its base, on one plate.",
    "values": {
     "kind": "stand",
     "names": "EMMA, NOA, OTTO, LIA, ZOE, MAKS",
     "font": "barlow",
     "letterStyle": "inlaid",
     "baseColor": "#1f4e8c",
     "textColor": "#ffffff",
     "standColor": "#f4ece0"
    }
   },
   {
    "id": "latvian-name-star-card",
    "title": "Latvian name with a star",
    "description": "Lība cut right through a purple card, a star cut beside it, Latvian letters and all.",
    "values": {
     "kind": "stand",
     "names": "LĪBA",
     "motif": "star",
     "letterStyle": "cut",
     "baseColor": "#15803d",
     "standColor": "#f2c14e"
    }
   }
  ]
 },
 "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": {
  "names": {
   "type": "string",
   "maxLength": 120,
   "title": "Name or names",
   "description": "One place card (or ring, or charm) per name. Separate names with commas for a table: Emma, Noa, Otto. Up to 16 characters each, up to 12. Empty: a plain one. The paper holder takes none.",
   "x-group": "names",
   "x-agentSafe": true,
   "x-label-lv": "Vārds vai vārdi",
   "default": "EMMA",
   "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 names (Barlow Condensed)"
   },
   "title": "Font",
   "description": "All fonts are free (SIL Open Font License) and have the Latvian letters.",
   "x-group": "names",
   "x-agentSafe": true,
   "x-label-lv": "Fonts",
   "default": "lilita",
   "x-resetOnPreset": true
  },
  "letterStyle": {
   "type": "string",
   "enum": [
    "raised",
    "inlaid",
    "cut"
   ],
   "x-enumTitles": {
    "raised": "Raised, in a second colour",
    "inlaid": "Inlaid, flush (two colours)",
    "cut": "Cut through"
   },
   "title": "Letter style",
   "description": "Raised: a second colour. Inlaid: flush in their engraving. Cut: right through, the middles of O, A, B held by small bars.",
   "x-group": "names",
   "x-agentSafe": true,
   "x-label-lv": "Burtu stils",
   "default": "raised",
   "x-resetOnPreset": true
  },
  "letterHeight": {
   "type": "number",
   "minimum": 5,
   "maximum": 26,
   "x-step": 0.5,
   "title": "Letter height",
   "description": "Of a capital letter. As tall as the room allows; a name too long shrinks to fit, and the page says so.",
   "x-group": "names",
   "x-unit": "mm",
   "x-visibleIf": {
    "kind": [
     "stand",
     "napkin",
     "charm"
    ]
   },
   "x-agentSafe": true,
   "x-label-lv": "Burtu augstums",
   "default": 14,
   "x-resetOnPreset": true
  },
  "letterRaise": {
   "type": "number",
   "minimum": 0.3,
   "maximum": 1.2,
   "x-step": 0.1,
   "title": "Letter raise",
   "description": "How far raised letters stand out. Three layers or more hold a colour change cleanly.",
   "x-group": "names",
   "x-unit": "mm",
   "x-visibleIf": {
    "letterStyle": [
     "raised"
    ]
   },
   "x-agentSafe": true,
   "x-label-lv": "Burtu pacēlums",
   "default": 0.6,
   "x-resetOnPreset": true
  },
  "kind": {
   "type": "string",
   "enum": [
    "stand",
    "paper",
    "napkin",
    "charm"
   ],
   "x-enumTitles": {
    "stand": "Name card on a stand",
    "paper": "Holder for a paper card",
    "napkin": "Napkin ring with a name",
    "charm": "Glass charm (clips on a stem)"
   },
   "title": "Kind",
   "description": "A printed card with the name in a base; a base that grips a paper card; a ring for a rolled napkin; a tag that clips onto a glass stem.",
   "x-group": "kind",
   "x-agentSafe": true,
   "x-label-lv": "Veids",
   "default": "stand",
   "x-resetOnPreset": true
  },
  "motif": {
   "type": "string",
   "enum": [
    "none",
    "snowflake",
    "tree",
    "star"
   ],
   "x-enumTitles": {
    "none": "None",
    "snowflake": "Snowflake",
    "tree": "Christmas tree",
    "star": "Star"
   },
   "title": "Motif on the card",
   "description": "A shape cut through the card beside the name.",
   "x-group": "kind",
   "x-visibleIf": {
    "kind": [
     "stand"
    ]
   },
   "x-agentSafe": true,
   "x-label-lv": "Motīvs uz kartītes",
   "default": "none",
   "x-resetOnPreset": true
  },
  "cardWidth": {
   "type": "number",
   "minimum": 40,
   "maximum": 100,
   "multipleOf": 5,
   "title": "Card width",
   "description": "Across the printed card. 70 mm suits most names.",
   "x-group": "size",
   "x-unit": "mm",
   "x-visibleIf": {
    "kind": [
     "stand"
    ]
   },
   "x-agentSafe": true,
   "x-label-lv": "Kartītes platums",
   "default": 70,
   "x-resetOnPreset": true
  },
  "cardHeight": {
   "type": "number",
   "minimum": 25,
   "maximum": 60,
   "multipleOf": 5,
   "title": "Card height",
   "description": "Of the printed card above the table, base included. Taller cards catch a bump more.",
   "x-group": "size",
   "x-unit": "mm",
   "x-visibleIf": {
    "kind": [
     "stand"
    ]
   },
   "x-agentSafe": true,
   "x-label-lv": "Kartītes augstums",
   "default": 40,
   "x-resetOnPreset": true
  },
  "cardThickness": {
   "type": "number",
   "minimum": 0.8,
   "maximum": 2.4,
   "x-step": 0.2,
   "title": "Card thickness",
   "description": "Snapped to whole layers. 1.2 to 1.6 mm stands straight in the base.",
   "x-group": "size",
   "x-unit": "mm",
   "x-visibleIf": {
    "kind": [
     "stand"
    ]
   },
   "x-agentSafe": true,
   "x-label-lv": "Kartītes biezums",
   "default": 1.6,
   "x-resetOnPreset": true
  },
  "baseDepth": {
   "type": "number",
   "minimum": 20,
   "maximum": 60,
   "multipleOf": 5,
   "title": "Base depth",
   "description": "Front to back. Deeper holds the card against a bump: the page says how light a push tips it.",
   "x-group": "size",
   "x-unit": "mm",
   "x-visibleIf": {
    "kind": [
     "stand",
     "paper"
    ]
   },
   "x-agentSafe": true,
   "x-label-lv": "Pamatnes dziļums",
   "default": 35,
   "x-resetOnPreset": true
  },
  "baseThickness": {
   "type": "number",
   "minimum": 1.2,
   "maximum": 4,
   "x-step": 0.2,
   "title": "Base thickness",
   "description": "Of the plate on the table. Thicker is heavier and steadier.",
   "x-group": "size",
   "x-unit": "mm",
   "x-visibleIf": {
    "kind": [
     "stand",
     "paper"
    ]
   },
   "x-agentSafe": true,
   "x-label-lv": "Pamatnes biezums",
   "default": 2.4,
   "x-resetOnPreset": true
  },
  "slotHeight": {
   "type": "number",
   "minimum": 6,
   "maximum": 20,
   "multipleOf": 1,
   "title": "Slot height",
   "description": "How tall the ridge with the slot stands above the base plate. The card sits in it almost that deep.",
   "x-group": "size",
   "x-unit": "mm",
   "x-visibleIf": {
    "kind": [
     "stand",
     "paper"
    ]
   },
   "x-agentSafe": true,
   "x-label-lv": "Spraugas augstums",
   "default": 12,
   "x-resetOnPreset": true
  },
  "paperWidth": {
   "type": "number",
   "minimum": 50,
   "maximum": 100,
   "multipleOf": 5,
   "title": "Paper card width",
   "description": "A business card is 90 mm, a folded place card about 50 to 60.",
   "x-group": "size",
   "x-unit": "mm",
   "x-visibleIf": {
    "kind": [
     "paper"
    ]
   },
   "x-agentSafe": true,
   "x-label-lv": "Papīra kartītes platums",
   "default": 90,
   "x-resetOnPreset": true
  },
  "paperSlot": {
   "type": "number",
   "minimum": 0.3,
   "maximum": 1,
   "x-step": 0.1,
   "title": "Paper slot",
   "description": "The gap of the lips that grip the card. 0.5 mm prints open on a 0.4 mm nozzle and holds a 0.3 mm card; print the coupon first.",
   "x-group": "size",
   "x-unit": "mm",
   "x-visibleIf": {
    "kind": [
     "paper"
    ]
   },
   "x-agentSafe": true,
   "x-label-lv": "Papīra sprauga",
   "default": 0.5,
   "x-resetOnPreset": true
  },
  "coupon": {
   "type": "integer",
   "enum": [
    0,
    1
   ],
   "title": "Fit coupon",
   "description": "A short piece of the slot, to try the paper card before printing the holder.",
   "x-group": "size",
   "x-visibleIf": {
    "kind": [
     "paper"
    ]
   },
   "x-agentSafe": true,
   "x-label-lv": "Pielaides kupons",
   "default": 1,
   "x-resetOnPreset": true
  },
  "ringInside": {
   "type": "number",
   "minimum": 35,
   "maximum": 50,
   "multipleOf": 1,
   "title": "Ring inside diameter",
   "description": "Round a rolled napkin: 35 mm for linen, 45 to 50 for thick cotton.",
   "x-group": "size",
   "x-unit": "mm",
   "x-visibleIf": {
    "kind": [
     "napkin"
    ]
   },
   "x-agentSafe": true,
   "x-label-lv": "Gredzena iekšējais diametrs",
   "default": 40,
   "x-resetOnPreset": true
  },
  "ringHeight": {
   "type": "number",
   "minimum": 10,
   "maximum": 25,
   "multipleOf": 1,
   "title": "Ring height",
   "description": "Taller leaves more room for the name.",
   "x-group": "size",
   "x-unit": "mm",
   "x-visibleIf": {
    "kind": [
     "napkin"
    ]
   },
   "x-agentSafe": true,
   "x-label-lv": "Gredzena augstums",
   "default": 16,
   "x-resetOnPreset": true
  },
  "ringWall": {
   "type": "number",
   "minimum": 1.2,
   "maximum": 3,
   "x-step": 0.2,
   "title": "Ring wall",
   "description": "2 mm in PETG springs over a thick napkin.",
   "x-group": "size",
   "x-unit": "mm",
   "x-role": "core.wallThickness",
   "x-visibleIf": {
    "kind": [
     "napkin"
    ]
   },
   "x-agentSafe": true,
   "x-label-lv": "Gredzena siena",
   "default": 2,
   "x-resetOnPreset": true
  },
  "stemDiameter": {
   "type": "number",
   "minimum": 4,
   "maximum": 12,
   "x-step": 0.5,
   "title": "Glass stem diameter",
   "description": "Measured with calipers where the charm sits. Most wine glasses are 6 to 9 mm.",
   "x-group": "size",
   "x-unit": "mm",
   "x-visibleIf": {
    "kind": [
     "charm"
    ]
   },
   "x-agentSafe": true,
   "x-label-lv": "Glāzes kājiņas diametrs",
   "default": 7,
   "x-resetOnPreset": true
  },
  "charmWidth": {
   "type": "number",
   "minimum": 22,
   "maximum": 40,
   "multipleOf": 2,
   "title": "Charm width",
   "description": "Across the tag that hangs from the clip.",
   "x-group": "size",
   "x-unit": "mm",
   "x-visibleIf": {
    "kind": [
     "charm"
    ]
   },
   "x-agentSafe": true,
   "x-label-lv": "Birtes platums",
   "default": 30,
   "x-resetOnPreset": true
  },
  "charmHeight": {
   "type": "number",
   "minimum": 10,
   "maximum": 22,
   "multipleOf": 1,
   "title": "Charm height",
   "description": "Of the tag. Taller fits taller letters.",
   "x-group": "size",
   "x-unit": "mm",
   "x-visibleIf": {
    "kind": [
     "charm"
    ]
   },
   "x-agentSafe": true,
   "x-label-lv": "Birtes augstums",
   "default": 14,
   "x-resetOnPreset": true
  },
  "charmThickness": {
   "type": "number",
   "minimum": 1.2,
   "maximum": 2.4,
   "x-step": 0.2,
   "title": "Charm thickness",
   "description": "Of the clip and the tag, snapped to whole layers. Thin snaps on more easily.",
   "x-group": "size",
   "x-unit": "mm",
   "x-visibleIf": {
    "kind": [
     "charm"
    ]
   },
   "x-agentSafe": true,
   "x-label-lv": "Birtes biezums",
   "default": 1.6,
   "x-resetOnPreset": true
  },
  "baseColor": {
   "type": "string",
   "pattern": "^#[0-9a-fA-F]{6}$",
   "title": "Colour",
   "description": "The card, the base, the ring or the charm.",
   "x-group": "look",
   "x-role": "core.previewColor",
   "x-agentSafe": true,
   "x-label-lv": "Krāsa",
   "default": "#1f4e8c",
   "x-resetOnPreset": true
  },
  "standColor": {
   "type": "string",
   "pattern": "^#[0-9a-fA-F]{6}$",
   "title": "Base colour",
   "description": "A colour of its own for the base under each card: a two-colour place setting from two filaments, with no nozzle change. The main colour for a one-colour set.",
   "x-group": "look",
   "x-visibleIf": {
    "kind": [
     "stand"
    ]
   },
   "x-agentSafe": true,
   "x-label-lv": "Pamatnes krāsa",
   "default": "#1f4e8c",
   "x-resetOnPreset": true
  },
  "textColor": {
   "type": "string",
   "pattern": "^#[0-9a-fA-F]{6}$",
   "title": "Letter colour",
   "description": "The letters in the 3MF as a volume of their own: give it its filament in the slicer.",
   "x-group": "look",
   "x-visibleIf": {
    "letterStyle": [
     "raised",
     "inlaid"
    ]
   },
   "x-agentSafe": true,
   "x-label-lv": "Burtu krāsa",
   "default": "#f2c14e",
   "x-resetOnPreset": true
  },
  "material": {
   "type": "string",
   "enum": [
    "pla",
    "petg",
    "asa"
   ],
   "x-enumTitles": {
    "pla": "PLA",
    "petg": "PETG",
    "asa": "ASA"
   },
   "title": "Filament",
   "description": "Only the weight the page works with. A glass charm and a napkin ring flex on better in PETG.",
   "x-group": "print",
   "x-role": "core.printMaterial",
   "x-agentSafe": true,
   "x-label-lv": "Filaments",
   "default": "pla",
   "x-resetOnPreset": true
  },
  "layerHeight": {
   "type": "number",
   "minimum": 0.12,
   "maximum": 0.3,
   "x-step": 0.02,
   "title": "Layer height",
   "description": "Thicknesses and the letter raise are snapped to whole layers.",
   "x-group": "print",
   "x-unit": "mm",
   "x-role": "print.layerHeight",
   "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)"
  }
 ]
}