{
  "board": {
    "title": "교량 정기 안전 점검 조서",
    "accent": "#3d6b73",
    "skin": {
      "palette": {
        "paper": "#f6f2e7",
        "ink": "#1f2a2c",
        "muted": "#68787a",
        "rule": "#cfc6ad"
      },
      "font": "\"Batang\", \"Noto Serif KR\", \"Nanum Myeongjo\", serif",
      "frame": "flat",
      "radius": 2,
      "shadow": "none"
    }
  },
  "statuses": {
    "ok": {
      "tone": "ok",
      "label": "양호"
    },
    "warn": {
      "tone": "warn",
      "label": "보수 필요"
    },
    "alarm": {
      "tone": "alarm",
      "label": "긴급"
    },
    "info": {
      "tone": "info",
      "label": "관찰"
    }
  },
  "data": {
    "report": {
      "from": "bridge",
      "path": "/bridge/report",
      "time": "updatedAt",
      "fields": {
        "state": {
          "state": "raw"
        },
        "loadState": {
          "state": "raw"
        },
        "name": {},
        "route": {},
        "date": {},
        "verdict": {},
        "verdictNote": {},
        "loadNote": {},
        "score": {},
        "scoreMax": {},
        "built": {
          "label": "준공",
          "unit": "년"
        },
        "length": {
          "label": "총 연장",
          "unit": "m"
        },
        "width": {
          "label": "유효 폭",
          "unit": "m"
        },
        "spans": {
          "label": "경간 수",
          "unit": "경간"
        },
        "adt": {
          "label": "일 교통량",
          "unit": "대/일",
          "format": "number"
        },
        "deck": {
          "unit": "/ 9",
          "state": [
            "alarm",
            5,
            "warn",
            7,
            "ok"
          ]
        },
        "girders": {
          "unit": "/ 9",
          "state": [
            "alarm",
            5,
            "warn",
            7,
            "ok"
          ]
        },
        "bearings": {
          "unit": "/ 9",
          "state": [
            "alarm",
            5,
            "warn",
            7,
            "ok"
          ]
        },
        "piers": {
          "unit": "/ 9",
          "state": [
            "alarm",
            5,
            "warn",
            7,
            "ok"
          ]
        },
        "posted": {
          "label": "게시 하중",
          "unit": "t"
        },
        "design": {
          "label": "설계 하중",
          "unit": "t"
        }
      }
    },
    "defects": {
      "from": "bridge",
      "path": "/bridge/defects",
      "list": "/value",
      "key": "id",
      "time": "updatedAt",
      "fields": {
        "state": {
          "state": "raw"
        },
        "where": {},
        "what": {},
        "action": {}
      }
    }
  },
  "parts": {
    "title": {
      "as": "header",
      "of": "report",
      "title": "{{name}}",
      "kicker": "교량 정기 안전 점검 조서",
      "subtitle": "{{route}} · 점검일 {{date}} · 예시 데이터"
    },
    "verdict": {
      "as": "status-card",
      "of": "report",
      "title": "{{verdict}}",
      "subtitle": "{{verdictNote}}",
      "state": "state",
      "meter": {
        "field": "score",
        "max": "scoreMax",
        "form": "bar"
      }
    },
    "facts": {
      "as": "stat-list",
      "of": "report",
      "title": "제원",
      "show": [
        "built",
        "length",
        "width",
        "spans",
        "adt"
      ]
    },
    "deck": {
      "as": "stat",
      "of": "report",
      "show": "deck",
      "title": "바닥판"
    },
    "girders": {
      "as": "stat",
      "of": "report",
      "show": "girders",
      "title": "거더"
    },
    "bearings": {
      "as": "stat",
      "of": "report",
      "show": "bearings",
      "title": "받침"
    },
    "piers": {
      "as": "stat",
      "of": "report",
      "show": "piers",
      "title": "교각 · 교대"
    },
    "load": {
      "as": "status-card",
      "of": "report",
      "title": "통행 하중",
      "subtitle": "{{loadNote}}",
      "state": "loadState",
      "show": [
        "posted"
      ],
      "meter": {
        "field": "posted",
        "max": "design",
        "form": "bar"
      }
    },
    "defects": {
      "as": "list",
      "of": "defects",
      "title": "발견된 손상",
      "primary": "what",
      "secondary": "where",
      "trailing": "action"
    }
  },
  "layout": {
    "kind": "grid",
    "items": [
      [
        "title",
        12
      ],
      {
        "id": "verdict",
        "span": 7,
        "height": 180
      },
      {
        "id": "facts",
        "span": 5,
        "height": 210
      },
      {
        "id": "deck",
        "span": 3,
        "height": 100
      },
      {
        "id": "girders",
        "span": 3,
        "height": 100
      },
      {
        "id": "bearings",
        "span": 3,
        "height": 100
      },
      {
        "id": "piers",
        "span": 3,
        "height": 100
      },
      {
        "id": "load",
        "span": 5,
        "height": 330
      },
      {
        "id": "defects",
        "span": 7,
        "height": 330
      }
    ]
  }
}
