{
  "params": {
    "walls": {
      "type": "choice",
      "options": [
        "whitewash",
        "timber",
        "stone",
        "brick"
      ],
      "default": "timber",
      "label": "Walls",
      "describe": "whitewash (plain white), timber (cream with dark beams, Tudor), stone (grey fieldstone), brick (red)."
    },
    "roof": {
      "type": "choice",
      "options": [
        "thatch",
        "slate",
        "terracotta",
        "moss"
      ],
      "default": "terracotta",
      "label": "Roof",
      "describe": "thatch (straw), slate (grey), terracotta (orange tiles), moss (overgrown green)."
    },
    "floors": {
      "type": "choice",
      "options": [
        1,
        2
      ],
      "default": 1,
      "label": "Floors",
      "describe": "One or two storeys. Two floors adds a row of upper windows."
    },
    "width": {
      "type": "range",
      "min": 4,
      "max": 8,
      "step": 0.5,
      "default": 5,
      "label": "Width",
      "describe": "Frontage in metres. Depth stays 4 m so cottages line up on a street."
    },
    "chimney": {
      "type": "toggle",
      "default": true,
      "label": "Chimney",
      "describe": "Stone chimney stack on the right side of the roof."
    },
    "porch": {
      "type": "toggle",
      "default": false,
      "label": "Porch",
      "describe": "Small roofed porch on two posts over the front door."
    }
  },
  "presets": {
    "fishing hut": {
      "walls": "whitewash",
      "roof": "slate",
      "width": 4,
      "chimney": false
    },
    "town house": {
      "walls": "brick",
      "roof": "slate",
      "floors": 2,
      "porch": true
    },
    "old farm": {
      "walls": "stone",
      "roof": "thatch",
      "width": 7
    }
  },
  "night": {
    "window": {
      "zone": "window",
      "color": "#ffcf87",
      "intensity": 1,
      "describe": "Windows glow warm after dark."
    }
  }
}