{
  "standard": "specify-house-model/2",
  "house": "two-storey-example",
  "name": "A two-storey house (example)",
  "footprint": [
    [-4, -3.5],
    [4, -3.5],
    [4, 3.5],
    [-4, 3.5]
  ],
  "storeys": [
    {
      "key": "ground",
      "floorLevel": 0.15,
      "ceilingHeight": 2.4,
      "names": {
        "en": "Ground floor"
      }
    },
    {
      "key": "first",
      "floorLevel": 2.75,
      "ceilingHeight": 2.4,
      "names": {
        "en": "First floor"
      }
    }
  ],
  "rooms": [
    {
      "key": "hall",
      "type": "hall",
      "storey": "ground",
      "polygon": [
        [1.0, -3.2],
        [3.7, -3.2],
        [3.7, 3.2],
        [1.0, 3.2]
      ]
    },
    {
      "key": "living",
      "type": "living",
      "storey": "ground",
      "polygon": [
        [-3.7, 0.05],
        [0.9, 0.05],
        [0.9, 3.2],
        [-3.7, 3.2]
      ]
    },
    {
      "key": "kitchen",
      "type": "kitchen",
      "storey": "ground",
      "polygon": [
        [-3.7, -3.2],
        [0.9, -3.2],
        [0.9, -0.05],
        [-3.7, -0.05]
      ]
    },
    {
      "key": "landing",
      "type": "stair",
      "storey": "first",
      "polygon": [
        [1.0, -3.2],
        [3.7, -3.2],
        [3.7, 3.2],
        [1.0, 3.2]
      ]
    },
    {
      "key": "bedroom_1",
      "type": "bedroom",
      "storey": "first",
      "polygon": [
        [-3.7, 0.05],
        [0.9, 0.05],
        [0.9, 3.2],
        [-3.7, 3.2]
      ]
    },
    {
      "key": "bedroom_2",
      "type": "bedroom",
      "storey": "first",
      "polygon": [
        [-3.7, -3.2],
        [0.9, -3.2],
        [0.9, -0.05],
        [-3.7, -0.05]
      ]
    }
  ],
  "walls": [
    {
      "key": "back_ground",
      "storey": "ground",
      "kind": "external",
      "from": [-3.85, -3.35],
      "to": [3.85, -3.35],
      "thickness": 0.3
    },
    {
      "key": "east_ground",
      "storey": "ground",
      "kind": "external",
      "from": [3.85, -3.35],
      "to": [3.85, 3.35],
      "thickness": 0.3
    },
    {
      "key": "front_ground",
      "storey": "ground",
      "kind": "external",
      "from": [3.85, 3.35],
      "to": [-3.85, 3.35],
      "thickness": 0.3,
      "openings": [
        {
          "key": "front_door",
          "type": "door",
          "along": 0.6,
          "width": 0.9,
          "height": 2.1,
          "hinge": "end",
          "opensInto": "hall"
        },
        {
          "key": "living_window",
          "type": "window",
          "along": 6.0,
          "width": 1.6,
          "height": 1.2,
          "sill": 0.9
        }
      ]
    },
    {
      "key": "west_ground",
      "storey": "ground",
      "kind": "external",
      "from": [-3.85, 3.35],
      "to": [-3.85, -3.35],
      "thickness": 0.3
    },
    {
      "key": "spine_ground",
      "storey": "ground",
      "kind": "internal",
      "bearing": true,
      "from": [0.95, -3.2],
      "to": [0.95, 3.2],
      "thickness": 0.1,
      "openings": [
        {
          "key": "kitchen_doorway",
          "type": "doorway",
          "along": 1.5,
          "width": 0.9,
          "height": 2.1
        },
        {
          "key": "living_door",
          "type": "door",
          "along": 4.5,
          "width": 0.9,
          "height": 2.1,
          "hinge": "start",
          "opensInto": "living"
        }
      ]
    },
    {
      "key": "kitchen_living",
      "storey": "ground",
      "kind": "internal",
      "from": [-3.7, 0],
      "to": [0.9, 0],
      "thickness": 0.1
    },
    {
      "key": "back_first",
      "storey": "first",
      "kind": "external",
      "from": [-3.85, -3.35],
      "to": [3.85, -3.35],
      "thickness": 0.3,
      "openings": [
        {
          "key": "landing_window",
          "type": "window",
          "along": 6.2,
          "width": 0.8,
          "height": 1.0,
          "sill": 1.1
        }
      ]
    },
    {
      "key": "east_first",
      "storey": "first",
      "kind": "external",
      "from": [3.85, -3.35],
      "to": [3.85, 3.35],
      "thickness": 0.3
    },
    {
      "key": "front_first",
      "storey": "first",
      "kind": "external",
      "from": [3.85, 3.35],
      "to": [-3.85, 3.35],
      "thickness": 0.3,
      "openings": [
        {
          "key": "bedroom_1_window",
          "type": "window",
          "along": 6.0,
          "width": 1.4,
          "height": 1.2,
          "sill": 0.9
        }
      ]
    },
    {
      "key": "west_first",
      "storey": "first",
      "kind": "external",
      "from": [-3.85, 3.35],
      "to": [-3.85, -3.35],
      "thickness": 0.3
    },
    {
      "key": "spine_first",
      "storey": "first",
      "kind": "internal",
      "bearing": true,
      "from": [0.95, -3.2],
      "to": [0.95, 3.2],
      "thickness": 0.1,
      "openings": [
        {
          "key": "bedroom_2_door",
          "type": "door",
          "along": 1.5,
          "width": 0.8,
          "height": 2.0,
          "hinge": "start",
          "opensInto": "bedroom_2"
        },
        {
          "key": "bedroom_1_door",
          "type": "door",
          "along": 4.5,
          "width": 0.8,
          "height": 2.0,
          "hinge": "end",
          "opensInto": "bedroom_1"
        }
      ]
    },
    {
      "key": "bedrooms",
      "storey": "first",
      "kind": "internal",
      "from": [-3.7, 0],
      "to": [0.9, 0],
      "thickness": 0.1
    }
  ],
  "stairs": [
    {
      "key": "main",
      "from": "ground",
      "to": "first",
      "foot": [2.35, 2.6],
      "head": [2.35, -0.6],
      "width": 0.9,
      "headroom": 2.0,
      "floorOpening": "stairwell",
      "names": {
        "en": "Stairs"
      }
    }
  ],
  "floorOpenings": [
    {
      "key": "stairwell",
      "storey": "first",
      "polygon": [
        [1.85, -0.6],
        [2.85, -0.6],
        [2.85, 2.2],
        [1.85, 2.2]
      ]
    }
  ],
  "slots": [
    {
      "key": "foundation",
      "anchor": {
        "footprint": true
      },
      "takes": "structure",
      "part": "example_foundation"
    },
    {
      "key": "shell_ground",
      "anchor": {
        "storey": "ground"
      },
      "takes": "structure",
      "part": "example_shell_ground"
    },
    {
      "key": "shell_first",
      "anchor": {
        "storey": "first"
      },
      "takes": "structure",
      "part": "example_shell_first"
    },
    {
      "key": "stair",
      "anchor": {
        "stair": "main"
      },
      "takes": "structure",
      "part": "example_stair_oak"
    },
    {
      "key": "roof",
      "anchor": {
        "storey": "first"
      },
      "offset": [0, 2.4, 0],
      "takes": "roof",
      "part": "example_roof_gable_tile"
    },
    {
      "key": "front_door",
      "anchor": {
        "opening": "front_door"
      },
      "yaw": 180,
      "takes": "door",
      "part": "master_entrance_door_panelled_hinged"
    },
    {
      "key": "landing_window",
      "anchor": {
        "opening": "landing_window"
      },
      "offset": [0, 0.035, 0],
      "yaw": 180,
      "takes": "window",
      "part": "master_window_side_hung"
    },
    {
      "key": "bed_1",
      "anchor": {
        "room": "bedroom_1"
      },
      "offset": [0, 0, -0.4],
      "takes": "furniture",
      "part": "nordic_light_double_bed"
    }
  ],
  "groups": [
    {
      "key": "stair_finish",
      "default": "oak",
      "options": [
        {
          "key": "oak",
          "parts": {
            "stair": "example_stair_oak"
          }
        },
        {
          "key": "painted",
          "parts": {
            "stair": "example_stair_painted"
          }
        }
      ]
    }
  ],
  "viewpoints": [
    {
      "key": "hall",
      "eye": [3.2, 1.75, 3.0],
      "target": [2.35, 2.6, -0.6],
      "room": "hall",
      "names": {
        "en": "Hall and stairs"
      }
    }
  ],
  "parts": [
    {
      "componentId": "example_foundation",
      "kind": "structure",
      "origin": "merchant",
      "file": "parts/example_foundation.glb",
      "sha256": "95d2573ef00bd4488b1ecec51164cbd61969b09c62dd22afaf25bf748c68d01f"
    },
    {
      "componentId": "example_roof_gable_tile",
      "kind": "roof",
      "origin": "merchant",
      "file": "parts/example_roof_gable_tile.glb",
      "sha256": "c363a1ff84f421db34282b912fef3e26d1dddb22b452ddc627584f5ea831ce16"
    },
    {
      "componentId": "example_shell_first",
      "kind": "structure",
      "origin": "merchant",
      "file": "parts/example_shell_first.glb",
      "sha256": "7363d4d52659a4833594b76c44f03d33840b57f1036349ee7cc457a2b23b9877"
    },
    {
      "componentId": "example_shell_ground",
      "kind": "structure",
      "origin": "merchant",
      "file": "parts/example_shell_ground.glb",
      "sha256": "ae3c78dc3d2583cbbb4626e0137d7a3424f3f884c1db69297d2c4eb7904ec743"
    },
    {
      "componentId": "example_stair_oak",
      "kind": "structure",
      "origin": "merchant",
      "file": "parts/example_stair_oak.glb",
      "sha256": "843ce76ca42723094ae494fdb261da70f1c3354847e8aea9ffa800a4e8225117"
    },
    {
      "componentId": "example_stair_painted",
      "kind": "structure",
      "origin": "merchant",
      "file": "parts/example_stair_painted.glb",
      "sha256": "6eee47241b52d814d0b33f494ce018c267f0147b08a45450ec2bd6790acaa53b"
    },
    {
      "componentId": "master_entrance_door_panelled_hinged",
      "kind": "door",
      "origin": "specify",
      "sha256": "22e085deedb7064f9f13ea3af002856c7b32b35bdd849c207d32e91694d9fe91"
    },
    {
      "componentId": "master_window_side_hung",
      "kind": "window",
      "origin": "specify",
      "sha256": "a02c3707fcf97ab3614e45783295ed397ed7d8fc8adb9050de1ed308df1d2748"
    },
    {
      "componentId": "nordic_light_double_bed",
      "kind": "furniture",
      "origin": "specify",
      "sha256": "9bd94a7980e0e3a0577ad59f7f468ccc508e2752d5a3c6f85dfffdf2be5de800"
    }
  ]
}
