{
  "params": {
    "style": {
      "type": "choice",
      "options": [
        "bullet",
        "dome",
        "ptz"
      ],
      "default": "bullet",
      "label": "Style",
      "describe": "bullet (long box housing with a sun hood on an angled arm), dome (smoked half-dome hanging from a pendant arm), ptz (pan-tilt-zoom: a ball with a lens window under a round housing)."
    },
    "mount": {
      "type": "choice",
      "options": [
        "wall",
        "pole"
      ],
      "default": "wall",
      "label": "Mount",
      "describe": "wall (a square wall plate at the back, rests on y = 0: lift it to about 2.5 m on a wall) or pole (stands on its own on a 2.4 m pole with a bolted base plate, for car parks and yards)."
    },
    "colorway": {
      "type": "choice",
      "options": [
        "office",
        "black",
        "beige",
        "scifi"
      ],
      "default": "office",
      "label": "Colourway",
      "describe": "office (white-grey housing), black (black housing), beige (1990s retro beige CCTV), scifi (pale housing with a cyan ring round the lens)."
    },
    "sweep": {
      "type": "range",
      "min": 0,
      "max": 90,
      "step": 5,
      "default": 50,
      "label": "Sweep (deg)",
      "describe": "How far the head pans to each side during its slow sweep, in degrees (0 = fixed camera, 90 = turns to face each side)."
    }
  },
  "presets": {
    "car park": {
      "style": "ptz",
      "mount": "pole",
      "colorway": "black",
      "sweep": 80
    },
    "retro cctv": {
      "style": "bullet",
      "colorway": "beige",
      "sweep": 35
    },
    "sentry eye": {
      "style": "dome",
      "colorway": "scifi",
      "sweep": 70
    }
  },
  "night": {
    "led": {
      "zone": "led",
      "intensity": 2,
      "describe": "The red status light and the dark-red infrared ring round the lens glow (cyan ring on scifi)."
    }
  }
}