{
  "params": {
    "paint": {
      "type": "choice",
      "options": [
        "yellow",
        "lime",
        "white",
        "black",
        "orange"
      ],
      "default": "yellow",
      "label": "Paint",
      "describe": "Body colour: yellow (classic city cab), lime (green eco cab), white, black (executive cab), orange."
    },
    "sign": {
      "type": "choice",
      "options": [
        "bar",
        "tall"
      ],
      "default": "bar",
      "label": "Roof sign",
      "describe": "Shape of the blank roof light: bar (long low box across the roof) or tall (upright wedge sign)."
    },
    "available": {
      "type": "toggle",
      "default": true,
      "label": "For hire",
      "describe": "Roof sign lit (cab is free, glows at night) or unlit grey (cab is taken)."
    },
    "checker": {
      "type": "toggle",
      "default": true,
      "label": "Checker band",
      "describe": "A two-row black-and-white checker band along both sides."
    }
  },
  "presets": {
    "classic cab": {
      "paint": "yellow",
      "checker": true
    },
    "executive car": {
      "paint": "black",
      "checker": false,
      "sign": "tall"
    },
    "off duty": {
      "available": false
    }
  },
  "night": {
    "headlight": {
      "zone": "headlight",
      "color": "#fff4c8",
      "intensity": 1.2,
      "describe": "Headlights glow."
    },
    "taillight": {
      "zone": "taillight",
      "color": "#ff2a2a",
      "intensity": 1,
      "describe": "Tail lights glow red."
    },
    "roof_sign": {
      "zone": "roof_sign",
      "color": "#ffe9a8",
      "intensity": 1.3,
      "describe": "The roof sign lights up when the cab is for hire."
    }
  }
}