{
  "params": {
    "style": {
      "type": "choice",
      "options": [
        "tipper",
        "haul"
      ],
      "default": "tipper",
      "label": "Build",
      "describe": "tipper (8.5 m road tipper truck, three axles, steel box bed) or haul (10 m rigid mining haul truck, 2.6 m tyres, cab on the upper deck under a bed canopy)."
    },
    "paint": {
      "type": "choice",
      "options": [
        "yellow",
        "orange",
        "red",
        "white",
        "green"
      ],
      "default": "yellow",
      "label": "Paint",
      "describe": "Cab and bed colour: yellow (site classic), orange, red, white, green. The chassis stays dark."
    },
    "tip": {
      "type": "range",
      "min": 0,
      "max": 1,
      "step": 0.05,
      "default": 0,
      "label": "Tip",
      "describe": "How far the bed is tipped on its rear hinge: 0 down for driving, 1 raised 50 degrees to dump."
    },
    "load": {
      "type": "toggle",
      "default": true,
      "label": "Load",
      "describe": "A heaped load of gravel in the bed. Off shows the empty bed floor."
    }
  },
  "presets": {
    "site tipper": {
      "style": "tipper"
    },
    "dumping gravel": {
      "style": "tipper",
      "tip": 0.8,
      "paint": "orange"
    },
    "quarry hauler": {
      "style": "haul",
      "paint": "yellow"
    }
  },
  "night": {
    "headlight": {
      "zone": "headlight",
      "color": "#fff4c8",
      "intensity": 1.2,
      "describe": "Headlights glow."
    },
    "taillight": {
      "zone": "taillight",
      "color": "#ff2a2a",
      "intensity": 1,
      "describe": "Tail lights glow red."
    },
    "beacon": {
      "zone": "beacon",
      "color": "#ffad2e",
      "intensity": 1.8,
      "describe": "The amber beacon on the cab roof glows."
    }
  }
}