{
  "params": {
    "style": {
      "type": "choice",
      "options": [
        "hut",
        "chair"
      ],
      "default": "hut",
      "label": "Style",
      "describe": "hut (an enclosed lookout cabin on stilts with a ramp, deck and railing) or chair (an open high wooden chair with a ladder and a sunshade, as at a pool or a quiet beach)."
    },
    "paint": {
      "type": "choice",
      "options": [
        "yellow",
        "red",
        "sky",
        "teal",
        "white"
      ],
      "default": "yellow",
      "label": "Paint",
      "describe": "Main paint colour: yellow, red, sky (light blue), teal or white. Trim is white, or teal on a white hut."
    },
    "flag": {
      "type": "choice",
      "options": [
        "red",
        "yellow",
        "red and yellow",
        "none"
      ],
      "default": "red and yellow",
      "label": "Flag",
      "describe": "Beach safety flag on the pole: red (no swimming), yellow (take care), red and yellow (patrolled swimming zone), or none."
    },
    "buoy": {
      "type": "toggle",
      "default": true,
      "label": "Rescue gear",
      "describe": "Hang an orange rescue tube on the railing (hut) or a ring buoy on the chair."
    },
    "door": {
      "type": "range",
      "min": 0,
      "max": 1,
      "step": 0.05,
      "default": 0,
      "label": "Door open",
      "describe": "Opens the hut side door (a hinged part named door): 0 shut, 1 swung fully open."
    }
  },
  "presets": {
    "surf patrol": {
      "style": "hut",
      "paint": "red",
      "flag": "red and yellow"
    },
    "pastel beach": {
      "style": "hut",
      "paint": "sky",
      "flag": "yellow",
      "door": 1
    },
    "pool chair": {
      "style": "chair",
      "paint": "white",
      "flag": "none"
    }
  },
  "night": {
    "window": {
      "zone": "window",
      "color": "#ffd38a",
      "intensity": 1,
      "describe": "The cabin windows glow warm after dark."
    }
  }
}