{
  "params": {
    "set": {
      "type": "choice",
      "options": [
        "pair",
        "polyhedral",
        "d20",
        "handful"
      ],
      "default": "polyhedral",
      "label": "Set",
      "describe": "pair (two d6 with pips), polyhedral (seven RPG dice: d4, d6, d8, d10, percentile d10, d12, d20), d20 (a single twenty-sided die), handful (five d6 for a dice game)."
    },
    "color": {
      "type": "color",
      "default": "#c8323c",
      "label": "Colour",
      "describe": "Body colour of the dice. #c8323c red, #2f5fbf blue, #f2efe6 bone white, #2a2a30 black, #6a3fb0 purple, #2f9a5a green."
    },
    "pips": {
      "type": "choice",
      "options": [
        "white",
        "black",
        "gold"
      ],
      "default": "white",
      "label": "Pips",
      "describe": "Colour of the pips and face dots: white, black or gold."
    },
    "tray": {
      "type": "toggle",
      "default": false,
      "label": "Tray",
      "describe": "A hexagonal wooden dice tray lined with green felt under the dice."
    },
    "scale": {
      "type": "range",
      "min": 1,
      "max": 30,
      "step": 1,
      "default": 1,
      "label": "Scale",
      "describe": "Uniform scale over real size. 1 is real (16 mm d6); 30 gives a half-metre d6 to place in a game level."
    }
  },
  "presets": {
    "adventurer dice": {
      "set": "polyhedral",
      "color": "#6a3fb0",
      "pips": "gold",
      "tray": true
    },
    "casino pair": {
      "set": "pair",
      "color": "#f2efe6",
      "pips": "black"
    },
    "giant d20": {
      "set": "d20",
      "scale": 30,
      "color": "#2f5fbf"
    }
  },
  "night": null
}