시민 마라톤 대회 본부
대회 운영 · 그리드 배치 — 특보가 걸린 카드만 공공 누리집으로 이어진다
시민 마라톤 대회 본부의 한 장 — 참가 · 코스 위 · 완주 인원, 폭염 · 강풍 · 대기질 세 조건과 코스 급수대 여덟 곳의 재고. 특보가 걸린 조건(폭염)의 카드를 누르면 그 소식을 싣는 공공 누리집이 새 탭에서 열리고, 특보가 없는 카드는 눌러도 열리지 않는다 — 트리거마다 그 카드 자신의 상태가 조건이다. 예시 데이터.
U-Board로 그린 보드입니다. 표시된 값은 이 보드를 위해 지어낸 예시 데이터로, 실제 시설의 값이 아닙니다.
보드 정의 (JSON)
이 보드를 그리는 정의 전부입니다 — 각 값을 어디서 읽는지(data), 무엇을 보이는지(parts), 어디에 놓는지와 배경(layout). U-Board의 편집기와 AI 비서가 쓰는 것과 같은 형식입니다. 배경 그림은 길어서 화면에서는 줄여 보이고, 내려받은 파일에는 그대로 있습니다.
내려받기 — board.json{
"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
}
]
}
}데이터 (원천 응답 JSON)
보드가 읽는 원천과, 원천이 돌려준 응답입니다 — 보드가 읽는 필드만 남겼습니다. 이 페이지는 서버 없이 이 응답으로 보드를 그립니다.
내려받기 — data.json{
"connectors": [
{
"key": "race",
"name": "예시 대회 운영",
"example": true,
"attribution": {
"text": "예시 데이터 — 실제 대회가 아닙니다"
}
}
],
"capturedAt": "2026-11-03T00:40:10.000Z",
"responses": {
"race": {
"/race/now": {
"name": "강변 시민 마라톤",
"day": "일요일 오전 9시 40분",
"updatedAt": "2026-11-03T00:40:00Z"
},
"/race/totals": {
"entered": 12000,
"onCourse": 8420,
"finished": 2310,
"updatedAt": "2026-11-03T00:40:00Z"
},
"/race/conditions": {
"value": [
{
"id": "heat",
"name": "폭염",
"note": "체감 31℃ — 주의보",
"state": "warn",
"updatedAt": "2026-11-03T00:40:00Z"
},
{
"id": "wind",
"name": "강풍",
"note": "순간 3 m/s — 특보 없음",
"state": "ok",
"updatedAt": "2026-11-03T00:40:00Z"
},
{
"id": "air",
"name": "대기질",
"note": "초미세먼지 12 — 좋음",
"state": "ok",
"updatedAt": "2026-11-03T00:40:00Z"
}
],
"updatedAt": "2026-11-03T00:40:00Z"
},
"/race/stations": {
"value": [
{
"id": "s5",
"name": "5 km 급수대",
"state": "open",
"water": 82,
"note": "물 · 이온 음료",
"updatedAt": "2026-11-03T00:40:00Z"
},
{
"id": "s10",
"name": "10 km 급수대",
"state": "open",
"water": 71,
"note": "물 · 이온 음료",
"updatedAt": "2026-11-03T00:40:00Z"
},
{
"id": "s15",
"name": "15 km 급수대",
"state": "busy",
"water": 48,
"note": "물 · 바나나 — 줄이 길다",
"updatedAt": "2026-11-03T00:40:00Z"
},
{
"id": "s20",
"name": "20 km 급수대",
"state": "open",
"water": 66,
"note": "물 · 젤",
"updatedAt": "2026-11-03T00:40:00Z"
},
{
"id": "s25",
"name": "25 km 급수대",
"state": "open",
"water": 59,
"note": "물 · 이온 음료",
"updatedAt": "2026-11-03T00:40:00Z"
},
{
"id": "s30",
"name": "30 km 급수대",
"state": "busy",
"water": 37,
"note": "물 · 젤 — 재고 낮음",
"updatedAt": "2026-11-03T00:40:00Z"
},
{
"id": "s35",
"name": "35 km 급수대",
"state": "open",
"water": 74,
"note": "물 · 얼음 수건",
"updatedAt": "2026-11-03T00:40:00Z"
},
{
"id": "s40",
"name": "40 km 급수대",
"state": "closed",
"water": 0,
"note": "엎지른 물 정리 중 — 38 km 쪽으로 안내",
"updatedAt": "2026-11-03T00:40:00Z"
}
],
"updatedAt": "2026-11-03T00:40:00Z"
}
}
}
}