U-Board

중학교 하루 — 칠판과 분필

교육·학교 · 교실 배치·출결·점심 순서

중학교의 하루를 칠판에 분필로 — 나무 받침이 달린 짙은 녹색 칠판, 분필 선으로 그린 2층 교실 배치, 노랑·분홍·하늘색 분필 제목. 교실마다 지금 누가 무엇을 하는지, 특별실은 어느 반이 와 있는지 적혀 있어, 과학 수업으로 옮긴 반은 제 교실이 비고 복도 끝 과학실이 찹니다. 상태는 색과 함께 분필 기호로: ● 수업 중, → 이동 수업, ✎ 시험, + 보건, 빈 원 비어 있음 — 아무도 없는 방은 테두리가 점선. 아래에는 점심 순서와 오늘 알림, 오른쪽에 교시와 시각, 오늘 출결, 최근 2주 결석. 학교는 지어낸 것이라 예시 데이터입니다.

중학교 하루 — 칠판과 분필

U-Board로 그린 보드입니다. 표시된 값은 이 보드를 위해 지어낸 예시 데이터로, 실제 시설의 값이 아닙니다.

플레이그라운드에서 열기 →

보드 정의 (JSON)

이 보드를 그리는 정의 전부입니다 — 각 값을 어디서 읽는지(data), 무엇을 보이는지(parts), 어디에 놓는지와 배경(layout). U-Board의 편집기와 AI 비서가 쓰는 것과 같은 형식입니다. 배경 그림은 길어서 화면에서는 줄여 보이고, 내려받은 파일에는 그대로 있습니다.

내려받기 — board.json
{
  "board": {
    "theme": "dark",
    "accent": "#f2dc7a"
  },
  "elements": {
    "room": {
      "template": "<section class=\"rm {{r.state}}\"><header><b>{{r.name}}</b><i></i></header><p>{{r.by}} {{word}}</p><small>{{r.note}}</small></section>",
      "style": ".rm{height:100%;box-sizing:border-box;display:grid;grid-template-rows:auto 1fr auto;gap:2px;padding:8px 12px;border:3px solid rgba(238,240,230,.85);border-radius:4px 10px 6px 12px;font-family:\"Gaegu\", \"Nanum Pen Script\", \"Comic Sans MS\", \"Noto Sans KR\", cursive;color:#eef0e6}\nheader{display:flex;align-items:center;justify-content:space-between}\nb{font-size:24px;font-weight:700}\ni{width:22px;height:22px;display:grid;place-items:center;font:700 18px \"Gaegu\", \"Nanum Pen Script\", \"Comic Sans MS\", \"Noto Sans KR\", cursive;font-style:normal}\np{margin:0;align-self:center;font-size:22px}\nsmall{font-size:16px;opacity:.85}\n.lesson i::after{content:\"\";width:14px;height:14px;border-radius:50%;background:#eef0e6}\n.moved{border-style:dashed}\n.moved i::after{content:\"→\";color:#a9d3ef}\n.moved p{color:#a9d3ef}\n.moved p::after{content:\"로\"}\n.test i::after{content:\"✎\";color:#f2dc7a}\n.test p{color:#f2dc7a}\n.test{border-color:#f2dc7a}\n.free{border-style:dashed;border-color:rgba(238,240,230,.4)}\n.free i{border:2px solid rgba(238,240,230,.6);border-radius:50%;width:16px;height:16px;box-sizing:border-box}\n.free p,.free b{opacity:.6}\n.care i::after{content:\"+\";color:#f2a7b8}\n.care p{color:#f2a7b8}\n.care p::after{content:\"명 휴식\"}\n.care{border-color:#f2a7b8}",
      "props": {
        "r": "object",
        "word": "string"
      }
    },
    "lunch": {
      "template": "<ol class=\"lu\">{{#items}}<li><b>{{time}}</b><span>{{who}}</span><small>{{note}}</small></li>{{/items}}</ol>",
      "style": ".lu{margin:0;padding:0;height:100%;box-sizing:border-box;list-style:none;display:grid;align-content:start;gap:8px;font-family:\"Gaegu\", \"Nanum Pen Script\", \"Comic Sans MS\", \"Noto Sans KR\", cursive;color:#eef0e6}\nli{display:grid;grid-template-columns:80px 1fr;column-gap:12px}\nb{grid-row:span 2;font-size:26px;color:#f2dc7a}\nspan{font-size:23px}\nsmall{font-size:17px;opacity:.8}",
      "props": {
        "items": "list"
      }
    },
    "notes": {
      "template": "<ul class=\"nt\">{{#items}}<li class=\"{{kind}}\">{{text}}</li>{{/items}}</ul>",
      "style": ".nt{margin:0;padding:0;height:100%;box-sizing:border-box;list-style:none;display:grid;align-content:start;gap:10px;font:22px \"Gaegu\", \"Nanum Pen Script\", \"Comic Sans MS\", \"Noto Sans KR\", cursive;color:#eef0e6}\nli{padding-left:30px;position:relative}\nli::before{position:absolute;left:0;top:0;width:24px;text-align:center}\n.plan::before{content:\"☐\"}\n.done::before{content:\"☑\";color:#a9d3ef}\n.done{opacity:.7;text-decoration:line-through;text-decoration-color:rgba(238,240,230,.6)}\n.alert::before{content:\"!\";color:#f2a7b8;font-weight:700}\n.alert{color:#f2a7b8}",
      "props": {
        "items": "list"
      }
    },
    "title": {
      "template": "<header class=\"tt\"><h1>{{name}}</h1><p>{{date}}</p><div><span>{{period}}</span><b>{{time}}</b></div></header>",
      "style": ".tt{height:100%;box-sizing:border-box;display:grid;align-content:center;gap:4px;font-family:\"Gaegu\", \"Nanum Pen Script\", \"Comic Sans MS\", \"Noto Sans KR\", cursive;color:#eef0e6}\nh1{margin:0;font-size:46px;font-weight:700;line-height:1.05}\np{margin:0;font-size:24px;color:#a9d3ef}\ndiv{display:flex;align-items:baseline;gap:16px}\nspan{font-size:30px;color:#f2dc7a}\nb{margin-left:auto;font-size:52px;font-weight:700;border-bottom:3px solid rgba(238,240,230,.8)}",
      "props": {
        "name": "string",
        "date": "string",
        "period": "string",
        "time": "string"
      }
    },
    "figures": {
      "template": "<dl class=\"fg\">{{#items}}<div><dt>{{label}}</dt><dd>{{value}}</dd><small>{{note}}</small></div>{{/items}}</dl>",
      "style": ".fg{margin:0;height:100%;box-sizing:border-box;display:grid;grid-template-columns:repeat(3,1fr);gap:10px;font-family:\"Gaegu\", \"Nanum Pen Script\", \"Comic Sans MS\", \"Noto Sans KR\", cursive;color:#eef0e6}\ndiv{display:grid;align-content:center;justify-items:center;text-align:center;border:2px dashed rgba(238,240,230,.5);border-radius:10px 4px 12px 6px}\ndt{font-size:20px;color:#a9d3ef}\ndd{margin:0;font-size:40px;font-weight:700}\nsmall{font-size:16px;opacity:.8}",
      "props": {
        "items": "list"
      }
    },
    "legend": {
      "template": "<ul class=\"lg\"><li><i class=\"ls\"></i>수업 중</li><li><i class=\"mv\">→</i>이동 수업</li><li><i class=\"ts\">✎</i>시험</li><li><i class=\"cr\">+</i>보건</li><li><i class=\"fr\"></i>비어 있음</li></ul>",
      "style": ".lg{height:100%;box-sizing:border-box;margin:0;padding:0;list-style:none;display:flex;align-items:center;justify-content:space-between;font:18px \"Gaegu\", \"Nanum Pen Script\", \"Comic Sans MS\", \"Noto Sans KR\", cursive;color:#eef0e6;white-space:nowrap}\nli{display:flex;align-items:center;gap:5px}\n.ls::after{content:\"\";width:12px;height:12px;border-radius:50%;background:#eef0e6}\ni{width:20px;height:20px;display:grid;place-items:center;font-style:normal;font-weight:700}\n.mv{color:#a9d3ef}\n.ts{color:#f2dc7a}\n.cr{color:#f2a7b8}\n.fr{border:2px solid rgba(238,240,230,.6);border-radius:50%;width:14px;height:14px}"
    }
  },
  "data": {
    "rooms": {
      "from": "school",
      "path": "/school/rooms",
      "time": "updatedAt",
      "fresh": 3600,
      "fields": {
        "c1-1": {
          "at": "/value/c1-1"
        },
        "c1-2": {
          "at": "/value/c1-2"
        },
        "c1-3": {
          "at": "/value/c1-3"
        },
        "c1-4": {
          "at": "/value/c1-4"
        },
        "science": {
          "at": "/value/science"
        },
        "music": {
          "at": "/value/music"
        },
        "c2-1": {
          "at": "/value/c2-1"
        },
        "c2-2": {
          "at": "/value/c2-2"
        },
        "c2-3": {
          "at": "/value/c2-3"
        },
        "c2-4": {
          "at": "/value/c2-4"
        },
        "library": {
          "at": "/value/library"
        },
        "nurse": {
          "at": "/value/nurse"
        },
        "c1-1-word": {
          "at": "/value/c1-1/subject"
        },
        "c1-2-word": {
          "at": "/value/c1-2/to"
        },
        "c1-3-word": {
          "at": "/value/c1-3/subject"
        },
        "c1-4-word": {
          "at": "/value/c1-4/subject"
        },
        "science-word": {
          "at": "/value/science/subject"
        },
        "music-word": {
          "at": "/value/music/subject"
        },
        "c2-1-word": {
          "at": "/value/c2-1/state",
          "names": {
            "test": "단원평가"
          }
        },
        "c2-2-word": {
          "at": "/value/c2-2/subject"
        },
        "c2-3-word": {
          "at": "/value/c2-3/to"
        },
        "c2-4-word": {
          "at": "/value/c2-4/subject"
        },
        "library-word": {
          "at": "/value/library/state",
          "names": {
            "free": "비어 있음"
          }
        },
        "nurse-word": {
          "at": "/value/nurse/count"
        }
      }
    },
    "lunch": {
      "from": "school",
      "path": "/school/lunch",
      "time": "updatedAt",
      "fresh": 3600,
      "fields": {
        "value": {}
      }
    },
    "notes": {
      "from": "school",
      "path": "/school/notes",
      "time": "updatedAt",
      "fresh": 3600,
      "fields": {
        "value": {}
      }
    },
    "now": {
      "from": "school",
      "path": "/school/now",
      "time": "updatedAt",
      "fresh": 3600,
      "fields": {
        "name": {},
        "date": {},
        "period": {},
        "time": {}
      }
    },
    "attendance": {
      "from": "school",
      "path": "/school/attendance",
      "time": "updatedAt",
      "fresh": 3600,
      "fields": {
        "value": {}
      }
    },
    "absences": {
      "from": "school",
      "path": "/school/absences",
      "list": "/value",
      "fresh": 3600,
      "answerTime": "/updatedAt"
    }
  },
  "parts": {
    "room-c1-1": {
      "as": "element",
      "element": "room",
      "of": "rooms",
      "bind": {
        "r": "c1-1",
        "word": "c1-1-word"
      }
    },
    "room-c1-2": {
      "as": "element",
      "element": "room",
      "of": "rooms",
      "bind": {
        "r": "c1-2",
        "word": "c1-2-word"
      }
    },
    "room-c1-3": {
      "as": "element",
      "element": "room",
      "of": "rooms",
      "bind": {
        "r": "c1-3",
        "word": "c1-3-word"
      }
    },
    "room-c1-4": {
      "as": "element",
      "element": "room",
      "of": "rooms",
      "bind": {
        "r": "c1-4",
        "word": "c1-4-word"
      }
    },
    "room-science": {
      "as": "element",
      "element": "room",
      "of": "rooms",
      "bind": {
        "r": "science",
        "word": "science-word"
      }
    },
    "room-music": {
      "as": "element",
      "element": "room",
      "of": "rooms",
      "bind": {
        "r": "music",
        "word": "music-word"
      }
    },
    "room-c2-1": {
      "as": "element",
      "element": "room",
      "of": "rooms",
      "bind": {
        "r": "c2-1",
        "word": "c2-1-word"
      }
    },
    "room-c2-2": {
      "as": "element",
      "element": "room",
      "of": "rooms",
      "bind": {
        "r": "c2-2",
        "word": "c2-2-word"
      }
    },
    "room-c2-3": {
      "as": "element",
      "element": "room",
      "of": "rooms",
      "bind": {
        "r": "c2-3",
        "word": "c2-3-word"
      }
    },
    "room-c2-4": {
      "as": "element",
      "element": "room",
      "of": "rooms",
      "bind": {
        "r": "c2-4",
        "word": "c2-4-word"
      }
    },
    "room-library": {
      "as": "element",
      "element": "room",
      "of": "rooms",
      "bind": {
        "r": "library",
        "word": "library-word"
      }
    },
    "room-nurse": {
      "as": "element",
      "element": "room",
      "of": "rooms",
      "bind": {
        "r": "nurse",
        "word": "nurse-word"
      }
    },
    "lunch": {
      "as": "element",
      "element": "lunch",
      "of": "lunch",
      "bind": {
        "items": "value"
      }
    },
    "notes": {
      "as": "element",
      "element": "notes",
      "of": "notes",
      "bind": {
        "items": "value"
      }
    },
    "title": {
      "as": "element",
      "element": "title",
      "of": "now",
      "bind": {
        "name": "name",
        "date": "date",
        "period": "period",
        "time": "time"
      }
    },
    "figures": {
      "as": "element",
      "element": "figures",
      "of": "attendance",
      "bind": {
        "items": "value"
      }
    },
    "legend": {
      "as": "element",
      "element": "legend"
    },
    "absences": {
      "as": "chart.bar",
      "of": "absences",
      "title": "최근 2주 결석(명)",
      "x": "day",
      "y": "absent",
      "series": [
        {
          "label": "결석",
          "color": "#a9d3ef"
        }
      ]
    }
  },
  "layout": {
    "kind": "canvas",
    "size": [
      1600,
      1000
    ],
    "background": "(배경 그림 4 KB — 내려받은 파일에 있음)",
    "place": {
      "room-c1-1": [
        80,
        126,
        160,
        170
      ],
      "room-c1-2": [
        248,
        126,
        160,
        170
      ],
      "room-c1-3": [
        416,
        126,
        160,
        170
      ],
      "room-c1-4": [
        584,
        126,
        160,
        170
      ],
      "room-science": [
        752,
        126,
        160,
        170
      ],
      "room-music": [
        920,
        126,
        160,
        170
      ],
      "room-c2-1": [
        80,
        384,
        160,
        170
      ],
      "room-c2-2": [
        248,
        384,
        160,
        170
      ],
      "room-c2-3": [
        416,
        384,
        160,
        170
      ],
      "room-c2-4": [
        584,
        384,
        160,
        170
      ],
      "room-library": [
        752,
        384,
        160,
        170
      ],
      "room-nurse": [
        920,
        384,
        160,
        170
      ],
      "lunch": [
        80,
        674,
        470,
        230
      ],
      "notes": [
        580,
        674,
        500,
        230
      ],
      "title": [
        1146,
        50,
        430,
        180
      ],
      "figures": [
        1146,
        250,
        430,
        120
      ],
      "legend": [
        1146,
        392,
        430,
        40
      ],
      "absences": [
        1146,
        456,
        430,
        470
      ]
    }
  }
}
데이터 (원천 응답 JSON)

보드가 읽는 원천과, 원천이 돌려준 응답입니다 — 보드가 읽는 필드만 남겼습니다. 이 페이지는 서버 없이 이 응답으로 보드를 그립니다.

내려받기 — data.json
{
  "connectors": [
    {
      "key": "school",
      "name": "예시 학사 API",
      "example": true,
      "attribution": {
        "text": "예시 데이터 — 실제 학교가 아닙니다"
      }
    }
  ],
  "capturedAt": "2026-10-21T01:52:10.000Z",
  "responses": {
    "school": {
      "/school/now": {
        "name": "누리중학교",
        "date": "10월 21일 수요일",
        "period": "3교시",
        "time": "10:52",
        "updatedAt": "2026-10-21T01:50:00Z"
      },
      "/school/rooms": {
        "value": {
          "c1-1": {
            "name": "1-1",
            "state": "lesson",
            "subject": "국어",
            "note": "25명 · 결석 1"
          },
          "c1-2": {
            "name": "1-2",
            "state": "moved",
            "to": "음악실",
            "note": "빈 교실"
          },
          "c1-3": {
            "name": "1-3",
            "state": "lesson",
            "subject": "수학",
            "note": "25명 · 1명 보건실"
          },
          "c1-4": {
            "name": "1-4",
            "state": "lesson",
            "subject": "영어",
            "note": "25명 · 결석 1"
          },
          "science": {
            "name": "과학실",
            "state": "lesson",
            "by": "2-3",
            "subject": "과학",
            "note": "실험 · 26명"
          },
          "music": {
            "name": "음악실",
            "state": "lesson",
            "by": "1-2",
            "subject": "음악",
            "note": "합주 · 26명"
          },
          "c2-1": {
            "name": "2-1",
            "state": "test",
            "note": "수학 · 25명"
          },
          "c2-2": {
            "name": "2-2",
            "state": "lesson",
            "subject": "사회",
            "note": "24명 · 결석 2"
          },
          "c2-3": {
            "name": "2-3",
            "state": "moved",
            "to": "과학실",
            "note": "빈 교실"
          },
          "c2-4": {
            "name": "2-4",
            "state": "lesson",
            "subject": "기술·가정",
            "note": "25명 · 1명 보건실"
          },
          "library": {
            "name": "도서실",
            "state": "free",
            "note": "4교시 1-4 독서"
          },
          "nurse": {
            "name": "보건실",
            "state": "care",
            "count": 2,
            "note": "두통 · 찰과상"
          }
        },
        "updatedAt": "2026-10-21T01:50:00Z"
      },
      "/school/lunch": {
        "value": [
          {
            "time": "12:20",
            "who": "1학년 먼저",
            "note": "1-1 → 1-4 순서 · 손 씻기"
          },
          {
            "time": "12:40",
            "who": "2학년",
            "note": "2-1은 평가 뒤라 2분 늦게"
          },
          {
            "time": "13:10",
            "who": "점심 끝",
            "note": "5교시 13:20"
          }
        ],
        "updatedAt": "2026-10-21T01:50:00Z"
      },
      "/school/notes": {
        "value": [
          {
            "text": "1교시 아침 독서 — 끝",
            "kind": "done"
          },
          {
            "text": "2-1 단원평가 3교시",
            "kind": "plan"
          },
          {
            "text": "6교시 동아리 — 체육관 공사로 강당",
            "kind": "alert"
          },
          {
            "text": "방과후 신청 금요일까지",
            "kind": "plan"
          }
        ],
        "updatedAt": "2026-10-21T01:50:00Z"
      },
      "/school/attendance": {
        "value": [
          {
            "label": "등교",
            "value": "203",
            "note": "/ 208명"
          },
          {
            "label": "결석",
            "value": "5",
            "note": "병결 4 · 기타 1"
          },
          {
            "label": "보건실",
            "value": "2",
            "note": "명 휴식 중"
          }
        ],
        "updatedAt": "2026-10-21T01:50:00Z"
      },
      "/school/absences": {
        "value": [
          {
            "day": "7(수)",
            "absent": 7
          },
          {
            "day": "8(목)",
            "absent": 4
          },
          {
            "day": "12(월)",
            "absent": 9
          },
          {
            "day": "13(화)",
            "absent": 6
          },
          {
            "day": "14(수)",
            "absent": 5
          },
          {
            "day": "15(목)",
            "absent": 8
          },
          {
            "day": "16(금)",
            "absent": 6
          },
          {
            "day": "19(월)",
            "absent": 10
          },
          {
            "day": "20(화)",
            "absent": 7
          },
          {
            "day": "21(수)",
            "absent": 5
          }
        ],
        "updatedAt": "2026-10-21T01:50:00Z"
      }
    }
  }
}