{
  "board": {
    "title": "강변 시민 마라톤",
    "theme": "light",
    "accent": "#b4261c",
    "skin": {
      "palette": {
        "paper": "#f7f1e3",
        "ink": "#1f1b16",
        "muted": "#6e6552",
        "rule": "#cbbf9f"
      },
      "frame": "flat",
      "radius": 4
    }
  },
  "statuses": {
    "ok": {
      "tone": "ok",
      "label": "이상 없음"
    },
    "warn": {
      "tone": "warn",
      "label": "주의"
    },
    "alarm": {
      "tone": "alarm",
      "label": "경보"
    },
    "open": {
      "tone": "ok",
      "label": "운영 중"
    },
    "busy": {
      "tone": "warn",
      "label": "혼잡"
    },
    "closed": {
      "tone": "alarm",
      "label": "중단",
      "emphasis": "invert"
    }
  },
  "data": {
    "race": {
      "from": "race",
      "path": "/race/now",
      "time": "updatedAt",
      "fields": {
        "name": {},
        "day": {}
      }
    },
    "totals": {
      "from": "race",
      "path": "/race/totals",
      "time": "updatedAt",
      "fields": {
        "entered": {
          "unit": "명",
          "format": "number"
        },
        "onCourse": {
          "unit": "명",
          "format": "number"
        },
        "finished": {
          "unit": "명",
          "format": "number"
        }
      }
    },
    "conditions": {
      "from": "race",
      "path": "/race/conditions",
      "list": "/value",
      "key": "id",
      "time": "updatedAt",
      "fields": {
        "state": {
          "state": "raw"
        },
        "name": {},
        "note": {}
      }
    },
    "stations": {
      "from": "race",
      "path": "/race/stations",
      "list": "/value",
      "key": "id",
      "time": "updatedAt",
      "fields": {
        "state": {
          "state": "raw"
        },
        "name": {},
        "note": {},
        "water": {
          "unit": "%"
        }
      }
    }
  },
  "parts": {
    "title": {
      "as": "header",
      "of": "race",
      "title": "{{name}} · {{day}}",
      "kicker": "대회 본부 상황판",
      "subtitle": "특보가 걸린 조건 카드를 누르면 그 소식을 싣는 공공 누리집이 새 탭에서 열립니다 · 예시 데이터"
    },
    "entered": {
      "as": "stat",
      "of": "totals",
      "show": "entered",
      "title": "참가"
    },
    "onCourse": {
      "as": "stat",
      "of": "totals",
      "show": "onCourse",
      "title": "지금 코스 위"
    },
    "finished": {
      "as": "stat",
      "of": "totals",
      "show": "finished",
      "title": "완주"
    },
    "heat": {
      "as": "status-card",
      "of": "conditions[heat]",
      "title": "{{name}}",
      "subtitle": "{{note}}",
      "state": "state"
    },
    "wind": {
      "as": "status-card",
      "of": "conditions[wind]",
      "title": "{{name}}",
      "subtitle": "{{note}}",
      "state": "state"
    },
    "air": {
      "as": "status-card",
      "of": "conditions[air]",
      "title": "{{name}}",
      "subtitle": "{{note}}",
      "state": "state"
    },
    "station": {
      "as": "status-card",
      "each": "stations",
      "title": "{{name}}",
      "subtitle": "{{note}}",
      "state": "state",
      "meter": {
        "field": "water",
        "min": 0,
        "max": 100,
        "form": "bar"
      }
    }
  },
  "triggers": [
    {
      "on": {
        "event": "click",
        "part": "heat"
      },
      "when": {
        "part": "heat",
        "status": [
          "warn",
          "alarm"
        ]
      },
      "do": [
        {
          "action": "open-link",
          "url": "https://www.weather.go.kr/"
        }
      ]
    },
    {
      "on": {
        "event": "click",
        "part": "wind"
      },
      "when": {
        "part": "wind",
        "status": [
          "warn",
          "alarm"
        ]
      },
      "do": [
        {
          "action": "open-link",
          "url": "https://www.weather.go.kr/"
        }
      ]
    },
    {
      "on": {
        "event": "click",
        "part": "air"
      },
      "when": {
        "part": "air",
        "status": [
          "warn",
          "alarm"
        ]
      },
      "do": [
        {
          "action": "open-link",
          "url": "https://www.airkorea.or.kr/"
        }
      ]
    }
  ],
  "layout": {
    "kind": "grid",
    "items": [
      [
        "title",
        12
      ],
      [
        "entered",
        4
      ],
      [
        "onCourse",
        4
      ],
      [
        "finished",
        4
      ],
      {
        "id": "heat",
        "span": 4,
        "height": 120
      },
      {
        "id": "wind",
        "span": 4,
        "height": 120
      },
      {
        "id": "air",
        "span": 4,
        "height": 120
      },
      {
        "id": "station",
        "span": 3,
        "height": 150
      }
    ]
  }
}
