{
  "params": {
    "style": {
      "type": "choice",
      "options": [
        "blade",
        "curved",
        "twin",
        "rail"
      ],
      "default": "blade",
      "label": "Style",
      "describe": "blade (a straight faceted energy blade out of an emitter with two forward prongs), curved (a single-edged energy katana along a curved metal spine), twin (a long staff hilt with a blade at each end, stands on its lower tip) or rail (an energy field held between two metal rails, the rails stay when the blade is off)."
    },
    "glow": {
      "type": "color",
      "default": "#4fe0ff",
      "label": "Blade colour",
      "describe": "Colour of the energy blade. #4fe0ff cyan, #ff3a4a red, #7dff6a green, #c070ff violet, #ffb02e amber, #f0f4ff white."
    },
    "hilt": {
      "type": "choice",
      "options": [
        "chrome",
        "black",
        "gold",
        "white"
      ],
      "default": "chrome",
      "label": "Hilt",
      "describe": "Hilt finish: chrome (bright metal), black (matte stealth), gold (ornate) or white (clean starship look)."
    },
    "length": {
      "type": "range",
      "min": 0.6,
      "max": 1,
      "step": 0.05,
      "default": 0.8,
      "label": "Blade length",
      "describe": "Blade length in metres. 0.6 is a short side blade, 0.8 typical, 1 a long greatsword-like beam."
    },
    "lit": {
      "type": "toggle",
      "default": true,
      "label": "Blade on",
      "describe": "Blade switched on. Off shows the bare hilt (and the spine or rails of the curved and rail styles)."
    }
  },
  "presets": {
    "crimson katana": {
      "style": "curved",
      "glow": "#ff3a4a",
      "hilt": "black",
      "length": 0.75
    },
    "twin plasma staff": {
      "style": "twin",
      "glow": "#c070ff",
      "hilt": "gold",
      "length": 0.65
    },
    "rail cutter": {
      "style": "rail",
      "glow": "#7dff6a",
      "hilt": "white"
    }
  },
  "night": {
    "glow": {
      "zone": "glow",
      "intensity": 2,
      "describe": "The energy blade and emitter glow in the blade colour."
    }
  }
}