{
  "params": {
    "camo": {
      "type": "choice",
      "options": [
        "woodland",
        "desert",
        "arctic",
        "grey"
      ],
      "default": "woodland",
      "label": "Camo",
      "describe": "Paint on the guard booth: woodland (olive, brown and black blotches), desert (sand and tan), arctic (white and pale grey), grey (urban greys)."
    },
    "width": {
      "type": "range",
      "min": 3.5,
      "max": 8,
      "step": 0.5,
      "default": 5,
      "label": "Road width",
      "describe": "Width of the road the boom spans, in metres. 3.5 is one lane, 7 to 8 is two lanes."
    },
    "open": {
      "type": "toggle",
      "default": false,
      "label": "Open",
      "describe": "Raises the boom barrier (80 degrees) to let traffic through."
    },
    "barriers": {
      "type": "toggle",
      "default": true,
      "label": "Jersey barriers",
      "describe": "Two concrete jersey barriers staggered in front of the gate so vehicles must slow and weave."
    }
  },
  "presets": {
    "desert entry point": {
      "camo": "desert",
      "width": 7
    },
    "arctic gate": {
      "camo": "arctic",
      "barriers": false
    },
    "open lane": {
      "open": true,
      "width": 3.5
    }
  },
  "night": {
    "window": {
      "zone": "window",
      "color": "#ffd28a",
      "intensity": 1,
      "describe": "The booth windows glow after dark."
    },
    "lamp": {
      "zone": "lamp",
      "color": "#fff3d0",
      "intensity": 1.6,
      "describe": "Floodlight over the lane."
    },
    "signal": {
      "zone": "signal",
      "color": "#ff3b2f",
      "intensity": 1.6,
      "describe": "Red stop lamp on the booth and the tip of the boom."
    }
  }
}