{
  "params": {
    "segments": {
      "type": "range",
      "min": 1,
      "max": 8,
      "step": 1,
      "default": 3,
      "label": "Segments",
      "describe": "Number of 2 m bays. The run is 2 × segments metres long between end-post centres, centred on the origin along X."
    },
    "style": {
      "type": "choice",
      "options": [
        "picket",
        "rail",
        "wattle"
      ],
      "default": "picket",
      "label": "Style",
      "describe": "picket (pointed boards on two rails, cottage garden), rail (rough posts with three split rails, paddock or field), wattle (woven withies between stakes, medieval hurdle)."
    },
    "finish": {
      "type": "choice",
      "options": [
        "natural",
        "whitewash",
        "grey",
        "dark"
      ],
      "default": "natural",
      "label": "Finish",
      "describe": "Wood finish: natural (warm brown), whitewash (painted off-white, classic for picket), grey (sun-bleached), dark (tarred)."
    },
    "seed": {
      "type": "range",
      "min": 1,
      "max": 50,
      "step": 1,
      "default": 4,
      "label": "Weathering",
      "describe": "Seed for weathering: post lean, board height, shade and the odd missing picket. End posts never move so runs still tile."
    }
  },
  "presets": {
    "cottage garden": {
      "style": "picket",
      "finish": "whitewash",
      "segments": 4
    },
    "paddock": {
      "style": "rail",
      "finish": "grey",
      "segments": 6,
      "seed": 17
    },
    "wattle hurdle": {
      "style": "wattle",
      "segments": 2
    }
  },
  "night": null
}