U-Board

등대와 항로표지 — 우표 수집첩

해양·항로표지 · 등대별 점등 상태와 순회

한 바닷가의 등대를 우표 수집첩으로 — 어두운 수집첩 종이와 글라신 띠 위에 등대마다 우표 한 장: 톱니 가장자리, 테 안에 그린 등대와 빛줄기, 등대 이름, 빛이 닿는 거리를 액면가로, 등질과 마지막 점검. 상태는 우표 위에 찍힌 소인으로 — 정상 점등이면 소인 없음, 안개 신호가 울리면 기계 소인의 줄, 정비 중이면 네모 소인, 소등이면 붉은 둥근 소인과 바랜 우표. 오른쪽 봉투에 밤사이 해상 시정과 오늘 아침 순회. 바닷가와 등대는 지어낸 것이라 예시 데이터입니다.

등대와 항로표지 — 우표 수집첩

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

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

보드 정의 (JSON)

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

내려받기 — board.json
{
  "board": {
    "theme": "light",
    "accent": "#2f6f9f"
  },
  "elements": {
    "banner": {
      "template": "<header class=\"bn\"><h1>남녘바다 항로표지</h1><p>{{n.date}} {{n.time}} · 등대 {{n.count}}기 · {{n.summary}}</p></header>",
      "style": ".bn{height:100%;display:flex;align-items:baseline;gap:20px;font-family:\"Nanum Myeongjo\", \"Batang\", \"AppleMyungjo\", serif;color:#f3ead6}\nh1{margin:0;white-space:nowrap;font-size:34px;font-weight:800;letter-spacing:.06em}\np{margin:0;white-space:nowrap;font:15px \"Pretendard\", \"Malgun Gothic\", \"Apple SD Gothic Neo\", sans-serif;color:#c9d3df}",
      "props": {
        "n": "object"
      }
    },
    "stamp": {
      "template": "<article class=\"st {{s.state}}\"><div class=\"face\"><p class=\"value\">{{s.range}}<small>해리</small></p><div class=\"art\"><i class=\"beam\"></i><i class=\"tower\"></i><i class=\"rock\"></i></div><h2>{{s.name}}</h2><p class=\"char\">{{s.character}}</p><p class=\"word\">{{word}}</p><p class=\"note\">{{s.note}} · {{s.time}}</p><span class=\"mark\" aria-hidden=\"true\"><b>{{s.mark}}</b></span></div></article>",
      "style": ".st{height:100%;box-sizing:border-box;padding:11px;background:#fbf6ea;\n-webkit-mask:radial-gradient(circle 5px,#0000 96%,#000) -10px -10px/20px 20px round,linear-gradient(#000 0 0) content-box;\nmask:radial-gradient(circle 5px,#0000 96%,#000) -10px -10px/20px 20px round,linear-gradient(#000 0 0) content-box;\nfont-family:\"Pretendard\", \"Malgun Gothic\", \"Apple SD Gothic Neo\", sans-serif;color:#26313f}\n.face{position:relative;height:100%;box-sizing:border-box;border:2px solid #2f6f9f;padding:8px 10px;display:grid;grid-template-rows:auto 1fr auto auto auto auto;gap:2px;background:#fffdf7;overflow:hidden}\n.value{margin:0;font:800 30px/1 \"Nanum Myeongjo\", \"Batang\", \"AppleMyungjo\", serif;color:#2f6f9f}.value small{font:600 12px \"Pretendard\", \"Malgun Gothic\", \"Apple SD Gothic Neo\", sans-serif;margin-left:3px}\n.art{position:relative;min-height:0;background:linear-gradient(#cfe3ef,#eaf3f8 60%,#2f6f9f 60%)}\n.tower{position:absolute;left:50%;bottom:18%;width:30px;height:62%;transform:translateX(-50%);background:repeating-linear-gradient(#fff 0 12px,#c0392b 12px 24px);clip-path:polygon(28% 0,72% 0,100% 100%,0 100%)}\n.tower::before{content:\"\";position:absolute;left:30%;right:30%;top:0;height:10px;background:#fff6c2}\n.rock{position:absolute;left:30%;right:30%;bottom:8%;height:14%;background:#5d5348;border-radius:40% 40% 0 0}\n.beam{position:absolute;left:50%;top:24%;width:100%;height:18px;transform:translate(-50%,-50%);background:linear-gradient(90deg,#0000,#ffe98a 30% 70%,#0000)}\nh2{margin:4px 0 0;font:800 20px/1.2 \"Nanum Myeongjo\", \"Batang\", \"AppleMyungjo\", serif;white-space:nowrap}\n.char{margin:0;font:600 12px ui-monospace,Consolas,monospace;color:#56606c}\n.word{margin:0;font-size:15px;font-weight:800}\n.note{margin:0;font-size:11px;color:#56606c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}\n.mark{position:absolute;pointer-events:none}\n.ok .mark{display:none}\n.fog .mark{right:2px;top:44%;width:118px;height:60px;background:repeating-linear-gradient(180deg,#0000 0 9px,#2a3a52cc 9px 12px);transform:rotate(-8deg)}\n.fog .mark b{display:none}\n.fog .beam{background:linear-gradient(90deg,#0000,#d9dde2 30% 70%,#0000)}\n.fog .word{color:#2a3a52}\n.service .mark{right:14px;top:40%;display:grid;place-items:center;width:74px;height:46px;border:3px solid #2a3a52;color:#2a3a52;transform:rotate(-6deg);font:800 15px \"Pretendard\", \"Malgun Gothic\", \"Apple SD Gothic Neo\", sans-serif;background:#ffffff99}\n.service .word{color:#2a3a52}\n.out .mark{right:10px;top:36%;display:grid;place-items:center;width:86px;height:86px;border:4px double #c0392b;border-radius:50%;color:#c0392b;transform:rotate(-12deg);font:800 17px \"Pretendard\", \"Malgun Gothic\", \"Apple SD Gothic Neo\", sans-serif;background:#fff3}\n.out .art{filter:grayscale(1) brightness(.85)}.out .beam{display:none}.out .value{color:#8a8f96}\n.out .word{color:#c0392b}",
      "props": {
        "s": "object",
        "word": "string"
      }
    },
    "round": {
      "template": "<section class=\"rd\"><h2>오늘 아침 순회</h2><ol>{{#items}}<li class=\"{{state}}\"><b>{{at}}</b><span>{{what}}</span></li>{{/items}}</ol></section>",
      "style": ".rd{height:100%;box-sizing:border-box;font-family:\"Pretendard\", \"Malgun Gothic\", \"Apple SD Gothic Neo\", sans-serif;color:#26313f}\nh2{margin:0 0 8px;font:800 20px \"Nanum Myeongjo\", \"Batang\", \"AppleMyungjo\", serif}\nol{margin:0;padding:0;list-style:none;display:grid;gap:8px}\nli{display:grid;grid-template-columns:68px 1fr;gap:8px;font-size:14px;line-height:1.35;padding-bottom:6px;border-bottom:1px dashed #b9ab8a}\nb{font-weight:800}\n.done{color:#8a8576}.done span{text-decoration:line-through}\n.now b{color:#c0392b}.now b::after{content:\" ▶\"}",
      "props": {
        "items": "list"
      }
    }
  },
  "data": {
    "now": {
      "from": "lights",
      "path": "/lights/now",
      "time": "updatedAt",
      "fresh": 1200,
      "fields": {
        "value": {}
      }
    },
    "stations": {
      "from": "lights",
      "path": "/lights/stations",
      "time": "updatedAt",
      "fresh": 1200,
      "fields": {
        "s1": {
          "at": "/value/s1"
        },
        "s2": {
          "at": "/value/s2"
        },
        "s3": {
          "at": "/value/s3"
        },
        "s4": {
          "at": "/value/s4"
        },
        "s5": {
          "at": "/value/s5"
        },
        "s6": {
          "at": "/value/s6"
        },
        "s7": {
          "at": "/value/s7"
        },
        "s8": {
          "at": "/value/s8"
        },
        "s1-word": {
          "at": "/value/s1/state",
          "names": {
            "ok": "정상 점등",
            "fog": "안개 신호 작동",
            "out": "소등",
            "service": "정비 중"
          }
        },
        "s2-word": {
          "at": "/value/s2/state",
          "names": {
            "ok": "정상 점등",
            "fog": "안개 신호 작동",
            "out": "소등",
            "service": "정비 중"
          }
        },
        "s3-word": {
          "at": "/value/s3/state",
          "names": {
            "ok": "정상 점등",
            "fog": "안개 신호 작동",
            "out": "소등",
            "service": "정비 중"
          }
        },
        "s4-word": {
          "at": "/value/s4/state",
          "names": {
            "ok": "정상 점등",
            "fog": "안개 신호 작동",
            "out": "소등",
            "service": "정비 중"
          }
        },
        "s5-word": {
          "at": "/value/s5/state",
          "names": {
            "ok": "정상 점등",
            "fog": "안개 신호 작동",
            "out": "소등",
            "service": "정비 중"
          }
        },
        "s6-word": {
          "at": "/value/s6/state",
          "names": {
            "ok": "정상 점등",
            "fog": "안개 신호 작동",
            "out": "소등",
            "service": "정비 중"
          }
        },
        "s7-word": {
          "at": "/value/s7/state",
          "names": {
            "ok": "정상 점등",
            "fog": "안개 신호 작동",
            "out": "소등",
            "service": "정비 중"
          }
        },
        "s8-word": {
          "at": "/value/s8/state",
          "names": {
            "ok": "정상 점등",
            "fog": "안개 신호 작동",
            "out": "소등",
            "service": "정비 중"
          }
        }
      }
    },
    "visibility": {
      "from": "lights",
      "path": "/lights/visibility",
      "list": "/value",
      "fresh": 1200,
      "answerTime": "/updatedAt"
    },
    "round": {
      "from": "lights",
      "path": "/lights/round",
      "time": "updatedAt",
      "fresh": 1200,
      "fields": {
        "value": {}
      }
    }
  },
  "parts": {
    "banner": {
      "as": "element",
      "element": "banner",
      "of": "now",
      "bind": {
        "n": "value"
      }
    },
    "stamp-s1": {
      "as": "element",
      "element": "stamp",
      "of": "stations",
      "bind": {
        "s": "s1",
        "word": "s1-word"
      }
    },
    "stamp-s2": {
      "as": "element",
      "element": "stamp",
      "of": "stations",
      "bind": {
        "s": "s2",
        "word": "s2-word"
      }
    },
    "stamp-s3": {
      "as": "element",
      "element": "stamp",
      "of": "stations",
      "bind": {
        "s": "s3",
        "word": "s3-word"
      }
    },
    "stamp-s4": {
      "as": "element",
      "element": "stamp",
      "of": "stations",
      "bind": {
        "s": "s4",
        "word": "s4-word"
      }
    },
    "stamp-s5": {
      "as": "element",
      "element": "stamp",
      "of": "stations",
      "bind": {
        "s": "s5",
        "word": "s5-word"
      }
    },
    "stamp-s6": {
      "as": "element",
      "element": "stamp",
      "of": "stations",
      "bind": {
        "s": "s6",
        "word": "s6-word"
      }
    },
    "stamp-s7": {
      "as": "element",
      "element": "stamp",
      "of": "stations",
      "bind": {
        "s": "s7",
        "word": "s7-word"
      }
    },
    "stamp-s8": {
      "as": "element",
      "element": "stamp",
      "of": "stations",
      "bind": {
        "s": "s8",
        "word": "s8-word"
      }
    },
    "visibility": {
      "as": "chart.line",
      "of": "visibility",
      "title": "밤사이 해상 시정 (km)",
      "x": "hour",
      "y": "km",
      "series": [
        {
          "label": "시정",
          "color": "#2f6f9f"
        }
      ]
    },
    "round": {
      "as": "element",
      "element": "round",
      "of": "round",
      "bind": {
        "items": "value"
      }
    }
  },
  "layout": {
    "kind": "canvas",
    "size": [
      1600,
      1000
    ],
    "background": "(배경 그림 4 KB — 내려받은 파일에 있음)",
    "place": {
      "banner": [
        60,
        56,
        1060,
        64
      ],
      "stamp-s1": [
        70,
        150,
        240,
        330
      ],
      "stamp-s2": [
        340,
        150,
        240,
        330
      ],
      "stamp-s3": [
        610,
        150,
        240,
        330
      ],
      "stamp-s4": [
        880,
        150,
        240,
        330
      ],
      "stamp-s5": [
        70,
        540,
        240,
        330
      ],
      "stamp-s6": [
        340,
        540,
        240,
        330
      ],
      "stamp-s7": [
        610,
        540,
        240,
        330
      ],
      "stamp-s8": [
        880,
        540,
        240,
        330
      ],
      "visibility": [
        1200,
        300,
        330,
        300
      ],
      "round": [
        1200,
        620,
        330,
        300
      ]
    }
  }
}
데이터 (원천 응답 JSON)

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

내려받기 — data.json
{
  "connectors": [
    {
      "key": "lights",
      "name": "예시 항로표지 관리 API",
      "example": true,
      "attribution": {
        "text": "예시 데이터 — 실제 등대·항로표지가 아닙니다"
      }
    }
  ],
  "capturedAt": "2026-10-22T20:40:00.000Z",
  "responses": {
    "lights": {
      "/lights/now": {
        "value": {
          "date": "10월 23일 금요일",
          "time": "05:40",
          "count": "8",
          "summary": "안개 주의보 · 소등 1기"
        },
        "updatedAt": "2026-10-22T20:39:00Z"
      },
      "/lights/stations": {
        "value": {
          "s1": {
            "name": "갈매도 등대",
            "range": "22",
            "character": "Fl W 10s",
            "state": "ok",
            "mark": "",
            "note": "점검 10.20",
            "time": "05:38"
          },
          "s2": {
            "name": "솔미도 등대",
            "range": "18",
            "character": "Fl(2) W 15s",
            "state": "ok",
            "mark": "",
            "note": "점검 10.18",
            "time": "05:38"
          },
          "s3": {
            "name": "먼여 등대",
            "range": "24",
            "character": "Fl W 12s",
            "state": "fog",
            "mark": "",
            "note": "시정 0.6 km",
            "time": "05:39"
          },
          "s4": {
            "name": "새바위 등대",
            "range": "15",
            "character": "Fl R 4s",
            "state": "out",
            "mark": "소등",
            "note": "03:12부터 — 전원 이상",
            "time": "05:39"
          },
          "s5": {
            "name": "흑돌도 등대",
            "range": "20",
            "character": "Fl G 6s",
            "state": "service",
            "mark": "정비",
            "note": "렌즈 청소 — 예비등 점등",
            "time": "05:36"
          },
          "s6": {
            "name": "달무리섬 등대",
            "range": "19",
            "character": "Iso W 6s",
            "state": "fog",
            "mark": "",
            "note": "시정 0.9 km",
            "time": "05:38"
          },
          "s7": {
            "name": "물개섬 등대",
            "range": "16",
            "character": "Oc R 5s",
            "state": "ok",
            "mark": "",
            "note": "점검 10.21",
            "time": "05:37"
          },
          "s8": {
            "name": "매바위 등대",
            "range": "17",
            "character": "Q W",
            "state": "ok",
            "mark": "",
            "note": "점검 10.19",
            "time": "05:38"
          }
        },
        "updatedAt": "2026-10-22T20:39:00Z"
      },
      "/lights/visibility": {
        "value": [
          {
            "hour": "22시",
            "km": 9.5
          },
          {
            "hour": "23시",
            "km": 8.2
          },
          {
            "hour": "00시",
            "km": 6.4
          },
          {
            "hour": "01시",
            "km": 4.8
          },
          {
            "hour": "02시",
            "km": 3.1
          },
          {
            "hour": "03시",
            "km": 2
          },
          {
            "hour": "04시",
            "km": 1.2
          },
          {
            "hour": "05시",
            "km": 0.7
          }
        ],
        "updatedAt": "2026-10-22T20:39:00Z"
      },
      "/lights/round": {
        "value": [
          {
            "at": "06:10",
            "what": "새바위 — 전원 점검, 예비 전지 교체",
            "state": "now"
          },
          {
            "at": "07:30",
            "what": "흑돌도 — 렌즈 청소 마무리, 본등 복귀",
            "state": "next"
          },
          {
            "at": "09:00",
            "what": "먼여·달무리섬 — 안개 신호 작동 기록",
            "state": "next"
          },
          {
            "at": "05:00",
            "what": "관리소 — 야간 점등 기록 확인",
            "state": "done"
          }
        ],
        "updatedAt": "2026-10-22T20:39:00Z"
      }
    }
  }
}