{
  "params": {
    "paint": {
      "type": "choice",
      "options": [
        "yellow",
        "orange",
        "white",
        "red"
      ],
      "default": "yellow",
      "label": "Paint",
      "describe": "Hull colour: yellow (classic research sub), orange (high-visibility deep-sea vehicle), white (tourist sub) or red. The belly and fittings stay dark grey with a contrasting stripe."
    },
    "size": {
      "type": "range",
      "min": 0.6,
      "max": 1.6,
      "step": 0.05,
      "default": 1,
      "label": "Size",
      "describe": "Uniform scale. 1 is 6 m long with a 1.9 m hull; 0.6 is a two-seat mini sub, 1.6 a big 10 m explorer."
    },
    "arm": {
      "type": "toggle",
      "default": true,
      "label": "Arm",
      "describe": "A jointed manipulator arm with a claw under the bow, for grabbing samples. Off for a plain tourist sub."
    },
    "hatch": {
      "type": "range",
      "min": 0,
      "max": 1,
      "step": 0.05,
      "default": 0,
      "label": "Hatch",
      "describe": "How far the top hatch on the conning tower is open: 0 shut, 1 swung fully open. Same as rotating the hatch part."
    }
  },
  "presets": {
    "deep explorer": {
      "paint": "orange",
      "size": 1.3,
      "arm": true
    },
    "reef tourer": {
      "paint": "white",
      "arm": false,
      "size": 1.5
    },
    "surfacing": {
      "paint": "yellow",
      "hatch": 1
    }
  },
  "night": {
    "viewport": {
      "zone": "viewport",
      "color": "#ffd98a",
      "intensity": 1.2,
      "describe": "The bow dome and portholes glow warm from the lit cabin."
    },
    "lamp": {
      "zone": "lamp",
      "color": "#fff4cc",
      "intensity": 2,
      "describe": "Twin bow floodlights."
    },
    "beacon": {
      "zone": "beacon",
      "color": "#ff4a3a",
      "intensity": 1.6,
      "describe": "Red locator beacon on the mast."
    }
  }
}