{
  "params": {
    "shape": {
      "type": "choice",
      "options": [
        "round",
        "square"
      ],
      "default": "round",
      "label": "Shape",
      "describe": "round (drum tower, 4.8 m across, cone roof) or square (4.4 m, quoined corners, pyramid roof)."
    },
    "height": {
      "type": "range",
      "min": 9,
      "max": 18,
      "step": 0.5,
      "default": 12,
      "label": "Height",
      "describe": "Metres from the ground to the battlement walk. 9 is a squat flanking tower just above the 6 m walls; 18 a tall corner tower."
    },
    "roof": {
      "type": "toggle",
      "default": true,
      "label": "Roof",
      "describe": "Tall pointed roof (cone on round, pyramid on square) with a pennant. Off leaves an open crenellated fighting top with a flagpole."
    },
    "stone": {
      "type": "choice",
      "options": [
        "limestone",
        "granite",
        "sandstone",
        "slate",
        "redstone"
      ],
      "default": "limestone",
      "label": "Stone",
      "describe": "Stone for the whole kit: limestone (pale warm grey, classic), granite (neutral grey), sandstone (warm tan, desert fort), slate (dark blue-grey, grim northern hold), redstone (red-brown). Use the same value on every Castle piece so they match."
    },
    "banner": {
      "type": "choice",
      "options": [
        "crimson",
        "azure",
        "forest",
        "gold",
        "violet",
        "black"
      ],
      "default": "crimson",
      "label": "Banner",
      "describe": "Colour of the pennant or flag on top: crimson, azure, forest, gold, violet or black. Match it with castle-gate, castle-keep and banner-pole."
    }
  },
  "presets": {
    "fairy-tale spire": {
      "shape": "round",
      "height": 16,
      "roof": true,
      "stone": "limestone",
      "banner": "azure"
    },
    "border keep tower": {
      "shape": "square",
      "height": 13,
      "roof": false,
      "stone": "slate",
      "banner": "black"
    },
    "desert watch": {
      "shape": "square",
      "height": 10,
      "roof": false,
      "stone": "sandstone",
      "banner": "gold"
    }
  },
  "night": {
    "window": {
      "zone": "window",
      "color": "#ffcf87",
      "intensity": 1.2,
      "describe": "Tower windows glow warm after dark."
    }
  }
}