{
  "board": {
    "title": "대피소 수용 현황",
    "theme": "dark",
    "accent": "#facc15",
    "skin": {
      "palette": {
        "paper": "#1c2025",
        "ink": "#f4f1e6",
        "muted": "#9aa0a8",
        "rule": "#3a3f46"
      },
      "frame": "flat",
      "radius": 3
    }
  },
  "statuses": {
    "open": {
      "tone": "ok",
      "label": "수용 중"
    },
    "crowded": {
      "tone": "warn",
      "label": "혼잡"
    },
    "full": {
      "tone": "alarm",
      "label": "만원",
      "emphasis": "invert"
    },
    "closed": {
      "tone": "off",
      "label": "이용 중단"
    }
  },
  "data": {
    "city": {
      "from": "city",
      "path": "/city/now",
      "time": "updatedAt",
      "fields": {
        "district": {},
        "alert": {},
        "open": {
          "label": "운영 중인 대피소",
          "unit": "곳"
        },
        "people": {
          "label": "수용 인원",
          "unit": "명"
        },
        "room": {
          "label": "남은 자리",
          "unit": "명"
        }
      }
    },
    "shelters": {
      "from": "city",
      "path": "/city/shelters",
      "list": "/value",
      "key": "id",
      "time": "updatedAt",
      "fields": {
        "state": {
          "state": "raw"
        },
        "name": {},
        "pct": {
          "unit": "%"
        },
        "note": {},
        "x": {},
        "y": {}
      }
    }
  },
  "parts": {
    "title": {
      "as": "header",
      "of": "city",
      "title": "{{district}} 대피소 수용 현황",
      "kicker": "재난 안전",
      "subtitle": "예시 데이터"
    },
    "shelter": {
      "as": "marker",
      "each": "shelters",
      "show": "state",
      "shape": "ring",
      "note": "{{note}}"
    },
    "totals": {
      "as": "stat-list",
      "of": "city",
      "title": "지금",
      "show": [
        "open",
        "people",
        "room"
      ]
    },
    "fill": {
      "as": "bar-list",
      "of": "shelters",
      "title": "찬 정도 — 높은 곳부터",
      "label": "name",
      "value": "pct",
      "state": "state"
    }
  },
  "layout": {
    "kind": "grid",
    "items": [
      [
        "title",
        12
      ],
      {
        "span": 7,
        "canvas": {
          "size": [
            640,
            744
          ],
          "background": "data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22640%22%20height%3D%22744%22%20viewBox%3D%220%200%20640%20744%22%3E%3Crect%20width%3D%22640%22%20height%3D%22744%22%20fill%3D%22var(--u-widget-bg%2C%20%2315181c)%22%2F%3E%3Cpath%20d%3D%22M-20%20330%20C110%20300%20190%20450%20300%20430%20S500%20290%20660%20340%22%20fill%3D%22none%22%20stroke%3D%22var(--u-widget-accent%2C%20%2338bdf8)%22%20stroke-width%3D%2240%22%20stroke-opacity%3D%220.22%22%20stroke-linecap%3D%22round%22%2F%3E%3Cpath%20d%3D%22M-20%20311%20C110%20281%20190%20431%20300%20411%20S500%20271%20660%20321%22%20fill%3D%22none%22%20stroke%3D%22var(--u-widget-accent%2C%20%2338bdf8)%22%20stroke-width%3D%222%22%20stroke-opacity%3D%220.5%22%20stroke-linecap%3D%22round%22%2F%3E%3Cpath%20d%3D%22M-20%20349%20C110%20319%20190%20469%20300%20449%20S500%20309%20660%20359%22%20fill%3D%22none%22%20stroke%3D%22var(--u-widget-accent%2C%20%2338bdf8)%22%20stroke-width%3D%222%22%20stroke-opacity%3D%220.5%22%20stroke-linecap%3D%22round%22%2F%3E%3Cpath%20d%3D%22M0%20100%20H640%22%20fill%3D%22none%22%20stroke%3D%22var(--u-widget-border%2C%20%233a3f46)%22%20stroke-width%3D%226%22%20stroke-opacity%3D%220.5%22%20stroke-linecap%3D%22round%22%2F%3E%3Cpath%20d%3D%22M0%20250%20H640%22%20fill%3D%22none%22%20stroke%3D%22var(--u-widget-border%2C%20%233a3f46)%22%20stroke-width%3D%224%22%20stroke-opacity%3D%220.35%22%20stroke-linecap%3D%22round%22%2F%3E%3Cpath%20d%3D%22M0%20520%20H640%22%20fill%3D%22none%22%20stroke%3D%22var(--u-widget-border%2C%20%233a3f46)%22%20stroke-width%3D%224%22%20stroke-opacity%3D%220.35%22%20stroke-linecap%3D%22round%22%2F%3E%3Cpath%20d%3D%22M0%20650%20H640%22%20fill%3D%22none%22%20stroke%3D%22var(--u-widget-border%2C%20%233a3f46)%22%20stroke-width%3D%226%22%20stroke-opacity%3D%220.5%22%20stroke-linecap%3D%22round%22%2F%3E%3Cpath%20d%3D%22M90%200%20V744%22%20fill%3D%22none%22%20stroke%3D%22var(--u-widget-border%2C%20%233a3f46)%22%20stroke-width%3D%224%22%20stroke-opacity%3D%220.35%22%20stroke-linecap%3D%22round%22%2F%3E%3Cpath%20d%3D%22M300%200%20V744%22%20fill%3D%22none%22%20stroke%3D%22var(--u-widget-border%2C%20%233a3f46)%22%20stroke-width%3D%226%22%20stroke-opacity%3D%220.5%22%20stroke-linecap%3D%22round%22%2F%3E%3Cpath%20d%3D%22M540%200%20V744%22%20fill%3D%22none%22%20stroke%3D%22var(--u-widget-border%2C%20%233a3f46)%22%20stroke-width%3D%224%22%20stroke-opacity%3D%220.35%22%20stroke-linecap%3D%22round%22%2F%3E%3Crect%20x%3D%22110%22%20y%3D%22120%22%20width%3D%2270%22%20height%3D%2250%22%20rx%3D%224%22%20fill%3D%22var(--u-widget-border%2C%20%233a3f46)%22%20fill-opacity%3D%220.35%22%2F%3E%3Crect%20x%3D%22320%22%20y%3D%22120%22%20width%3D%2270%22%20height%3D%2240%22%20rx%3D%224%22%20fill%3D%22var(--u-widget-border%2C%20%233a3f46)%22%20fill-opacity%3D%220.35%22%2F%3E%3Crect%20x%3D%22420%22%20y%3D%22150%22%20width%3D%2290%22%20height%3D%2260%22%20rx%3D%224%22%20fill%3D%22var(--u-widget-border%2C%20%233a3f46)%22%20fill-opacity%3D%220.35%22%2F%3E%3Crect%20x%3D%22560%22%20y%3D%22120%22%20width%3D%2260%22%20height%3D%2280%22%20rx%3D%224%22%20fill%3D%22var(--u-widget-border%2C%20%233a3f46)%22%20fill-opacity%3D%220.35%22%2F%3E%3Crect%20x%3D%22110%22%20y%3D%22270%22%20width%3D%2260%22%20height%3D%2250%22%20rx%3D%224%22%20fill%3D%22var(--u-widget-border%2C%20%233a3f46)%22%20fill-opacity%3D%220.35%22%2F%3E%3Crect%20x%3D%22420%22%20y%3D%22270%22%20width%3D%2280%22%20height%3D%2240%22%20rx%3D%224%22%20fill%3D%22var(--u-widget-border%2C%20%233a3f46)%22%20fill-opacity%3D%220.35%22%2F%3E%3Crect%20x%3D%22110%22%20y%3D%22540%22%20width%3D%22100%22%20height%3D%2260%22%20rx%3D%224%22%20fill%3D%22var(--u-widget-border%2C%20%233a3f46)%22%20fill-opacity%3D%220.35%22%2F%3E%3Crect%20x%3D%22330%22%20y%3D%22560%22%20width%3D%22110%22%20height%3D%2250%22%20rx%3D%224%22%20fill%3D%22var(--u-widget-border%2C%20%233a3f46)%22%20fill-opacity%3D%220.35%22%2F%3E%3Crect%20x%3D%22430%22%20y%3D%22670%22%20width%3D%2290%22%20height%3D%2240%22%20rx%3D%224%22%20fill%3D%22var(--u-widget-border%2C%20%233a3f46)%22%20fill-opacity%3D%220.35%22%2F%3E%3Crect%20x%3D%22560%22%20y%3D%22540%22%20width%3D%2260%22%20height%3D%2270%22%20rx%3D%224%22%20fill%3D%22var(--u-widget-border%2C%20%233a3f46)%22%20fill-opacity%3D%220.35%22%2F%3E%3Ctext%20x%3D%22624%22%20y%3D%22732%22%20text-anchor%3D%22end%22%20font-size%3D%2211%22%20letter-spacing%3D%222%22%20fill%3D%22var(--u-widget-text-secondary%2C%20%239aa0a8)%22%3EDISTRICT%20MAP%20%C2%B7%20SCHEMATIC%3C%2Ftext%3E%3C%2Fsvg%3E",
          "place": {
            "shelter": {
              "at": [
                "x",
                "y"
              ],
              "size": [
                150,
                48
              ]
            }
          }
        }
      },
      {
        "span": 5,
        "grid": [
          {
            "id": "totals",
            "span": 12,
            "height": 160
          },
          {
            "id": "fill",
            "span": 12,
            "height": 560
          }
        ]
      }
    ]
  }
}
