{
  "params": {
    "floors": {
      "type": "range",
      "min": 1,
      "max": 8,
      "step": 1,
      "default": 4,
      "label": "Floors",
      "describe": "Number of storeys, 1 to 8. The ground floor is 4.2 m with shops (3.4 m without), upper floors 3.1 m, so 4 floors with shops is about 13.5 m to the cornice."
    },
    "facade": {
      "type": "choice",
      "options": [
        "brick",
        "stucco",
        "concrete",
        "glass"
      ],
      "default": "brick",
      "label": "Facade",
      "describe": "brick (red-brown with stone lintels and sills, pre-war tenement), stucco (pastel render with shutters, European old town), concrete (grey ribbon windows, post-war modern), glass (curtain wall with metal mullions, new office or condo)."
    },
    "width": {
      "type": "range",
      "min": 2,
      "max": 6,
      "step": 1,
      "default": 4,
      "label": "Width",
      "describe": "Frontage in window bays of 3.2 m: 2 is a narrow townhouse (6.4 m), 6 a big block (19.2 m). Depth is always 9.6 m so buildings line up along a street."
    },
    "shopfront": {
      "type": "toggle",
      "default": true,
      "label": "Shopfront",
      "describe": "Ground floor of shops: big glass windows that glow at night, a sign band without text and striped or plain awnings in seeded colours. Off gives a residential ground floor with a plinth and a front stoop."
    },
    "balconies": {
      "type": "toggle",
      "default": false,
      "label": "Balconies",
      "describe": "Balconies on a seeded set of front bays above the ground floor: iron railings on brick and stucco, glass balustrades on concrete and glass."
    },
    "roof": {
      "type": "choice",
      "options": [
        "flat",
        "water tank",
        "garden",
        "pitched"
      ],
      "default": "flat",
      "label": "Roof",
      "describe": "flat (parapet, stair hut, AC units and vents), water tank (flat roof with a wooden water tower on legs, New York style), garden (planters, small trees and a pergola), pitched (slate or tile gable roof with dormers and chimneys)."
    },
    "seed": {
      "type": "range",
      "min": 1,
      "max": 999,
      "step": 1,
      "default": 7,
      "label": "Seed",
      "describe": "Variation seed: wall and trim colours, window layout and blinds, which windows are lit at night, shop awnings and sign colours, balcony pattern and roof clutter. Every seed is a different building."
    }
  },
  "presets": {
    "corner deli": {
      "floors": 3,
      "facade": "brick",
      "width": 3,
      "shopfront": true,
      "roof": "water tank",
      "seed": 21
    },
    "old town row": {
      "floors": 4,
      "facade": "stucco",
      "width": 2,
      "shopfront": true,
      "balconies": true,
      "roof": "pitched",
      "seed": 5
    },
    "glass condo": {
      "floors": 8,
      "facade": "glass",
      "width": 5,
      "shopfront": false,
      "balconies": true,
      "roof": "garden",
      "seed": 42
    }
  },
  "night": {
    "window": {
      "zone": "window",
      "color": "#ffd27f",
      "intensity": 1,
      "describe": "A seeded share of the apartment windows glows warm, as if people are home."
    },
    "shop": {
      "zone": "shop",
      "color": "#fff0c8",
      "intensity": 1.2,
      "describe": "Shop windows are lit."
    },
    "lamp": {
      "zone": "lamp",
      "color": "#ffe0a0",
      "intensity": 1.3,
      "describe": "Entrance lamps."
    }
  }
}