{
  "params": {
    "sections": {
      "type": "range",
      "min": 1,
      "max": 4,
      "step": 1,
      "default": 2,
      "label": "Bays",
      "describe": "Number of 3 m bays. The section is 3 × bays metres long along Z, centred on the origin, with a pile bent at each end."
    },
    "height": {
      "type": "range",
      "min": 1,
      "max": 3,
      "step": 0.1,
      "default": 1.6,
      "label": "Deck height",
      "describe": "Height of the deck surface above y = 0 in metres: 1 for a calm lake jetty, 3 for a tidal harbour wharf with long piles."
    },
    "rail": {
      "type": "choice",
      "options": [
        "rope",
        "timber",
        "none"
      ],
      "default": "rope",
      "label": "Railing",
      "describe": "Edge railing: rope (posts with sagging rope between them), timber (posts with a top and middle rail) or none (open edges with a low kerb)."
    },
    "ladder": {
      "type": "toggle",
      "default": true,
      "label": "Ladder",
      "describe": "A wooden ladder down the +X side of the first bay, from the deck to y = 0, for climbing up from a boat."
    },
    "lantern": {
      "type": "toggle",
      "default": true,
      "label": "Lanterns",
      "describe": "A lantern on a post at the start of every bay on the -X side; they glow at night."
    }
  },
  "presets": {
    "fishing jetty": {
      "sections": 3,
      "height": 1.2,
      "rail": "none",
      "lantern": false
    },
    "harbour wharf": {
      "sections": 4,
      "height": 2.6,
      "rail": "timber"
    },
    "smugglers landing": {
      "sections": 1,
      "height": 1.6,
      "rail": "rope",
      "ladder": true
    }
  },
  "night": {
    "lantern": {
      "zone": "lantern",
      "color": "#ffc874",
      "intensity": 1.5,
      "describe": "The lanterns on their posts glow warm."
    }
  }
}