{
  "params": {
    "layout": {
      "type": "choice",
      "options": [
        "barricades",
        "cones",
        "water barriers",
        "work zone"
      ],
      "default": "barricades",
      "label": "Layout",
      "describe": "barricades (A-frame trestles with two striped boards each), cones (a line of 70 cm traffic cones with reflective bands), water barriers (interlocking plastic road blocks in alternating colours), work zone (barricades, cones, a water barrier and a roadworks warning sign on a stand)."
    },
    "count": {
      "type": "range",
      "min": 2,
      "max": 6,
      "step": 1,
      "default": 3,
      "label": "Count",
      "describe": "Number of units in the row, 2 to 6 (cones are doubled)."
    },
    "colours": {
      "type": "choice",
      "options": [
        "orange",
        "red",
        "yellow"
      ],
      "default": "orange",
      "label": "Colours",
      "describe": "Stripe colours: orange (orange and white, Americas), red (red and white, Europe), yellow (yellow and black, industrial)."
    },
    "lights": {
      "type": "toggle",
      "default": true,
      "label": "Warning lamps",
      "describe": "Amber flashing lamps on top of the barricades, barriers and every other cone; they blink in the lab and glow at night."
    }
  },
  "presets": {
    "road closed": {
      "layout": "barricades",
      "count": 4,
      "colours": "red"
    },
    "lane cones": {
      "layout": "cones",
      "count": 5,
      "lights": false
    },
    "night roadworks": {
      "layout": "work zone",
      "count": 3,
      "colours": "orange",
      "lights": true
    }
  },
  "night": {
    "lamp": {
      "zone": "lamp",
      "color": "#ffb02e",
      "intensity": 2,
      "describe": "The amber lenses of the warning lamps glow."
    }
  }
}