{
  "params": {
    "shape": {
      "type": "choice",
      "options": [
        "round",
        "square"
      ],
      "default": "round",
      "label": "Shape",
      "describe": "round (big rolled bales lying on their side) or square (small rectangular twine-tied bales, or large blocks when wrapped)."
    },
    "count": {
      "type": "range",
      "min": 1,
      "max": 12,
      "step": 1,
      "default": 6,
      "label": "Count",
      "describe": "How many bales. A stack builds a pyramid from the bottom row up; a scatter spreads them over a field patch."
    },
    "wrap": {
      "type": "choice",
      "options": [
        "none",
        "white",
        "black",
        "green"
      ],
      "default": "none",
      "label": "Wrap",
      "describe": "none (bare golden straw with twine), white, black or green (silage bales sealed in plastic)."
    },
    "layout": {
      "type": "choice",
      "options": [
        "stack",
        "scatter"
      ],
      "default": "stack",
      "label": "Layout",
      "describe": "stack (tidy pyramid ready for the barn) or scatter (dropped across a field by the baler, random turns, the odd round bale stood on end)."
    },
    "seed": {
      "type": "range",
      "min": 1,
      "max": 50,
      "step": 1,
      "default": 9,
      "label": "Seed",
      "describe": "Varies the straw shading, small turns in the stack and where scattered bales land. Same seed always builds the same pile."
    }
  },
  "presets": {
    "harvest stack": {
      "shape": "square",
      "count": 12,
      "layout": "stack"
    },
    "silage field": {
      "shape": "round",
      "wrap": "white",
      "layout": "scatter",
      "count": 8,
      "seed": 4
    },
    "black wrapped": {
      "shape": "round",
      "wrap": "black",
      "count": 3
    }
  },
  "night": null
}