{
 "meta": {
  "schema_version": "famires-layout/0.3",
  "units": "m",
  "coords": "原点は店の外壁の内側の左下の角。x は右、y は奥（上）。Unity では x→X、y→Z、高さ→Y とする",
  "furniture_types": {
   "booth": {
    "desc": "ボックス席。向かい合うベンチ2つと間のテーブル。座る側（開いた側）は長い2辺。短い2辺はベンチの背",
    "bench_depth": 0.55,
    "table_depth": 0.75,
    "length": 1.85,
    "bench_length": {
     "4": 1.2,
     "6": 1.8
    },
    "axis": {
     "v": "ベンチが上下（座る側は左右）",
     "h": "ベンチが左右（座る側は上下）"
    }
   },
   "t2": {
    "desc": "2人席。壁側がベンチ、通路側が椅子",
    "footprint": [
     0.8,
     1.4
    ],
    "table": [
     0.7,
     0.6
    ],
    "bench_depth": 0.45,
    "chair_radius": 0.18
   },
   "booth6L": {
    "desc": "L字ソファの6人席。ソファの内側の角にテーブル（約0.75m×1.2m）",
    "sofa_depth_ratio": {
     "band": 0.45,
     "column": 0.55
    }
   },
   "walls": {
    "height_m_仮": {
     "壁": 2.7,
     "仕切り": 1.2,
     "トイレの壁": 2.7
    }
   }
  },
  "robot_model": {
   "name": "BellaBot",
   "pass_width": 0.8,
   "body_width": 0.5,
   "maker": "Pudu Robotics",
   "source": "https://academy.pudutech.com/en/docs/huan-le-song-chan-pin-jian-jie"
  },
  "settings": {
   "model": "BellaBot",
   "normal_width": 1.0,
   "human_width": 0.5,
   "res": 0.025,
   "check_res": 0.0125,
   "stop_reach": 0.3,
   "side_end_margin": 0.15,
   "toilet_min_gap": 1.0,
   "toilet_door_depth": 1.2,
   "entrance_depth": 1.5,
   "dish_front_depth": 1.2,
   "joint_max_depth": 0.08,
   "register_min_len": 2.5
  }
 },
 "layout": {
  "name": "④ 効率重視型・狭い店・入口が右の壁",
  "style": "効率重視",
  "outer": {
   "w": 17.0,
   "d": 12.0
  },
  "entrance": {
   "side": "right",
   "a0": 0.6,
   "a1": 3.0
  },
  "rooms": [
   {
    "label": "パントリー",
    "rect": [
     10.3,
     5.0,
     11.8,
     10.0
    ],
    "kind": "back"
   },
   {
    "label": "キッチン",
    "rect": [
     11.8,
     5.0,
     15.2,
     10.0
    ],
    "kind": "back"
   },
   {
    "label": "冷蔵・冷凍・保存",
    "rect": [
     15.2,
     7.5,
     17.0,
     10.0
    ],
    "kind": "back"
   },
   {
    "label": "更衣室・社員トイレ",
    "rect": [
     15.2,
     5.0,
     17.0,
     7.5
    ],
    "kind": "back"
   },
   {
    "label": "洗い場",
    "rect": [
     11.8,
     10.8,
     17.0,
     12.0
    ],
    "kind": "back"
   },
   {
    "label": "トイレ",
    "rect": [
     0.0,
     10.0,
     2.4,
     12.0
    ],
    "kind": "guest"
   },
   {
    "label": "待合",
    "rect": [
     16.5,
     3.2,
     17.0,
     4.8
    ],
    "kind": "guest"
   },
   {
    "label": "レジ",
    "rect": [
     13.6,
     0.3,
     14.3,
     3.0
    ],
    "kind": "guest"
   },
   {
    "label": "レジ内",
    "rect": [
     12.9,
     0.3,
     13.6,
     3.0
    ],
    "kind": "back"
   },
   {
    "label": "ドリンクバー",
    "rect": [
     10.4,
     1.6,
     12.4,
     2.2
    ],
    "kind": "drink"
   }
  ],
  "walls": [
   {
    "label": "パントリーの壁",
    "rect": [
     10.0,
     5.0,
     10.3,
     10.0
    ]
   },
   {
    "label": "トイレの壁",
    "rect": [
     2.1,
     10.0,
     2.4,
     12.0
    ]
   },
   {
    "label": "トイレの壁",
    "rect": [
     0.0,
     10.0,
     0.75,
     10.3
    ]
   },
   {
    "label": "トイレの壁",
    "rect": [
     1.65,
     10.0,
     2.4,
     10.3
    ]
   }
  ],
  "toilet_doors": [
   [
    0.75,
    8.8,
    1.65,
    10.0
   ]
  ],
  "dish_up": [
   {
    "label": "受け渡し口",
    "rect": [
     10.3,
     5.0,
     11.8,
     5.4
    ]
   }
  ],
  "robot_standby": {
   "label": "ロボット待機・充電",
   "rect": [
    12.0,
    4.15,
    13.6,
    4.95
   ],
   "slots": 2
  },
  "start": [
   11.05,
   4.45
  ],
  "tables": [
   {
    "type": "t2",
    "side": "left",
    "x": 0.0,
    "y": 2.2,
    "w": 1.4,
    "h": 0.8,
    "seats": 2,
    "id": "T01"
   },
   {
    "type": "t2",
    "side": "left",
    "x": 0.0,
    "y": 3.3,
    "w": 1.4,
    "h": 0.8,
    "seats": 2,
    "id": "T02"
   },
   {
    "type": "t2",
    "side": "left",
    "x": 0.0,
    "y": 4.4,
    "w": 1.4,
    "h": 0.8,
    "seats": 2,
    "id": "T03"
   },
   {
    "type": "t2",
    "side": "left",
    "x": 0.0,
    "y": 5.5,
    "w": 1.4,
    "h": 0.8,
    "seats": 2,
    "id": "T04"
   },
   {
    "type": "t2",
    "side": "left",
    "x": 0.0,
    "y": 6.6,
    "w": 1.4,
    "h": 0.8,
    "seats": 2,
    "id": "T05"
   },
   {
    "type": "t2",
    "side": "top",
    "x": 3.5,
    "y": 10.6,
    "w": 0.8,
    "h": 1.4,
    "seats": 2,
    "id": "T06"
   },
   {
    "type": "t2",
    "side": "top",
    "x": 4.55,
    "y": 10.6,
    "w": 0.8,
    "h": 1.4,
    "seats": 2,
    "id": "T07"
   },
   {
    "type": "t2",
    "side": "top",
    "x": 5.6,
    "y": 10.6,
    "w": 0.8,
    "h": 1.4,
    "seats": 2,
    "id": "T08"
   },
   {
    "type": "t2",
    "side": "top",
    "x": 6.65,
    "y": 10.6,
    "w": 0.8,
    "h": 1.4,
    "seats": 2,
    "id": "T09"
   },
   {
    "type": "t2",
    "side": "top",
    "x": 7.7,
    "y": 10.6,
    "w": 0.8,
    "h": 1.4,
    "seats": 2,
    "id": "T10"
   },
   {
    "type": "t2",
    "side": "top",
    "x": 8.75,
    "y": 10.6,
    "w": 0.8,
    "h": 1.4,
    "seats": 2,
    "id": "T11"
   },
   {
    "type": "booth",
    "axis": "v",
    "x": 2.6,
    "y": 2.9,
    "w": 1.2,
    "h": 1.85,
    "seats": 4,
    "id": "T12"
   },
   {
    "type": "booth",
    "axis": "v",
    "x": 2.6,
    "y": 4.75,
    "w": 1.2,
    "h": 1.85,
    "seats": 4,
    "id": "T13"
   },
   {
    "type": "booth",
    "axis": "v",
    "x": 2.6,
    "y": 6.6,
    "w": 1.2,
    "h": 1.85,
    "seats": 4,
    "id": "T14"
   },
   {
    "type": "booth",
    "axis": "v",
    "x": 3.9,
    "y": 2.9,
    "w": 1.2,
    "h": 1.85,
    "seats": 4,
    "id": "T15"
   },
   {
    "type": "booth",
    "axis": "v",
    "x": 3.9,
    "y": 4.75,
    "w": 1.2,
    "h": 1.85,
    "seats": 4,
    "id": "T16"
   },
   {
    "type": "booth",
    "axis": "v",
    "x": 3.9,
    "y": 6.6,
    "w": 1.2,
    "h": 1.85,
    "seats": 4,
    "id": "T17"
   },
   {
    "type": "booth",
    "axis": "v",
    "x": 6.3,
    "y": 2.9,
    "w": 1.2,
    "h": 1.85,
    "seats": 4,
    "id": "T18"
   },
   {
    "type": "booth",
    "axis": "v",
    "x": 6.3,
    "y": 4.75,
    "w": 1.2,
    "h": 1.85,
    "seats": 4,
    "id": "T19"
   },
   {
    "type": "booth",
    "axis": "v",
    "x": 6.3,
    "y": 6.6,
    "w": 1.2,
    "h": 1.85,
    "seats": 4,
    "id": "T20"
   },
   {
    "type": "booth",
    "axis": "v",
    "x": 7.6,
    "y": 2.9,
    "w": 1.2,
    "h": 1.85,
    "seats": 4,
    "id": "T21"
   },
   {
    "type": "booth",
    "axis": "v",
    "x": 7.6,
    "y": 4.75,
    "w": 1.2,
    "h": 1.85,
    "seats": 4,
    "id": "T22"
   },
   {
    "type": "booth",
    "axis": "v",
    "x": 7.6,
    "y": 6.6,
    "w": 1.2,
    "h": 1.85,
    "seats": 4,
    "id": "T23"
   },
   {
    "type": "booth",
    "axis": "h",
    "x": 1.6,
    "y": 0.0,
    "w": 1.85,
    "h": 1.8,
    "seats": 6,
    "id": "T24"
   },
   {
    "type": "booth",
    "axis": "h",
    "x": 3.45,
    "y": 0.0,
    "w": 1.85,
    "h": 1.8,
    "seats": 6,
    "id": "T25"
   },
   {
    "type": "t2",
    "side": "bottom",
    "x": 5.6,
    "y": 0.0,
    "w": 0.8,
    "h": 1.4,
    "seats": 2,
    "id": "T26"
   },
   {
    "type": "t2",
    "side": "bottom",
    "x": 6.7,
    "y": 0.0,
    "w": 0.8,
    "h": 1.4,
    "seats": 2,
    "id": "T27"
   },
   {
    "type": "t2",
    "side": "bottom",
    "x": 7.8,
    "y": 0.0,
    "w": 0.8,
    "h": 1.4,
    "seats": 2,
    "id": "T28"
   }
  ]
 }
}
