{
  "params": {
    "face": {
      "type": "choice",
      "options": [
        "classic",
        "happy",
        "spooky",
        "surprised"
      ],
      "default": "classic",
      "label": "Face",
      "describe": "Carved expression of the bottom pumpkin: classic (triangle eyes and a toothy grin), happy (crescent eyes, wide smile), spooky (angry slanted eyes, jagged mouth) or surprised (round eyes, round mouth). Stacked pumpkins take the next faces in this list."
    },
    "size": {
      "type": "range",
      "min": 0.25,
      "max": 0.8,
      "step": 0.05,
      "default": 0.4,
      "label": "Size",
      "describe": "Width of the bottom pumpkin in metres. 0.25 is a small doorstep pumpkin, 0.8 a prize-winning giant."
    },
    "skin": {
      "type": "choice",
      "options": [
        "orange",
        "deep",
        "white",
        "green"
      ],
      "default": "orange",
      "label": "Skin",
      "describe": "Pumpkin colour: orange (classic), deep (dark red-orange), white (pale ghost pumpkin) or green (unripe squash look)."
    },
    "stalk": {
      "type": "toggle",
      "default": true,
      "label": "Stalk",
      "describe": "Curved stalk and a curl of vine on the top pumpkin. Off gives a cut-off, lid-less top."
    },
    "stack": {
      "type": "range",
      "min": 1,
      "max": 3,
      "step": 1,
      "default": 1,
      "label": "Stack",
      "describe": "How many pumpkins are piled up, 1 to 3. Each one above is smaller, turned a little and carved with a different face."
    }
  },
  "presets": {
    "porch totem": {
      "stack": 3,
      "face": "spooky"
    },
    "friendly pumpkin": {
      "face": "happy",
      "size": 0.5
    },
    "ghost pumpkin": {
      "skin": "white",
      "face": "surprised",
      "size": 0.35
    }
  },
  "night": {
    "glow": {
      "zone": "glow",
      "color": "#ff9a2e",
      "intensity": 1.6,
      "describe": "The carved eyes, nose and mouth glow candle orange from inside."
    },
    "carving": {
      "zone": "carving",
      "color": "#c9661c",
      "intensity": 0.45,
      "describe": "The cut edges of the face catch a dimmer orange light."
    }
  }
}