{
  "params": {
    "style": {
      "type": "choice",
      "options": [
        "steel",
        "cast iron",
        "concrete",
        "lamp"
      ],
      "default": "cast iron",
      "label": "Style",
      "describe": "steel (brushed round post with a domed cap and a reflective band, modern plaza), cast iron (black Victorian post with a bulb top and a gold ring, old town), concrete (squat square block with a chamfered top, anti-ram), lamp (low post with a glowing light head, park path at night)."
    },
    "count": {
      "type": "range",
      "min": 2,
      "max": 8,
      "step": 1,
      "default": 5,
      "label": "Count",
      "describe": "Number of bollards in the row, 2 to 8."
    },
    "spacing": {
      "type": "range",
      "min": 1,
      "max": 2.5,
      "step": 0.25,
      "default": 1.5,
      "label": "Spacing",
      "describe": "Distance between post centres in metres. 1.2 to 1.5 blocks cars but lets people and buggies through."
    },
    "chain": {
      "type": "toggle",
      "default": true,
      "label": "Chain",
      "describe": "Hang a sagging chain between neighbouring posts (keeps people off a lawn or out of a loading bay)."
    },
    "finish": {
      "type": "choice",
      "options": [
        "black",
        "grey",
        "green",
        "yellow",
        "red"
      ],
      "default": "black",
      "label": "Paint",
      "describe": "Paint colour for cast iron and lamp posts and the band on concrete blocks: black, grey, green, yellow (high visibility), red. Steel stays bare metal."
    }
  },
  "presets": {
    "modern plaza": {
      "style": "steel",
      "chain": false,
      "count": 6,
      "spacing": 1.25
    },
    "anti-ram blocks": {
      "style": "concrete",
      "chain": false,
      "finish": "yellow",
      "count": 4,
      "spacing": 1.5
    },
    "path lights": {
      "style": "lamp",
      "chain": false,
      "finish": "grey",
      "count": 4,
      "spacing": 2.5
    }
  },
  "night": {
    "lamp": {
      "zone": "lamp",
      "color": "#ffe2a8",
      "intensity": 1.4,
      "describe": "Lamp bollards glow warm through their louvred heads."
    }
  }
}