{
  "board": {
    "theme": "light",
    "accent": "#ff48b0"
  },
  "elements": {
    "stall": {
      "template": "<section class=\"sl {{s.state}}\"><span>{{#s.queue}}대기 {{s.queue}}분{{/s.queue}}{{^s.queue}}{{#s.left}}{{s.left}}{{s.unit}} 남음{{/s.left}}{{^s.left}}{{word}}{{/s.left}}{{/s.queue}}</span><b>{{s.name}}</b><strong>{{s.item}}</strong>{{#s.note}}<small>{{s.note}}</small>{{/s.note}}</section>",
      "style": ".sl{position:relative;height:100%;box-sizing:border-box;display:grid;align-content:end;gap:1px;padding:8px 10px;background:#f4efe3;border:3px solid #0078bf;font-family:\"Space Grotesk\", \"Noto Sans KR\", \"Malgun Gothic\", sans-serif;color:#5a3f9e}\nspan{position:absolute;top:-12px;right:8px;padding:2px 8px;font:13px \"Archivo Black\", \"Arial Black\", \"Noto Sans KR\", \"Malgun Gothic\", sans-serif;color:#f4efe3;background:#0078bf}\nb{font:14px \"Archivo Black\", \"Arial Black\", \"Noto Sans KR\", \"Malgun Gothic\", sans-serif;color:#0078bf}\nstrong{font-size:18px;font-weight:800;line-height:1.15}\nsmall{font-size:12px}\n.few{border-color:#ff48b0;background:radial-gradient(rgba(255,72,176,.4) 40%,transparent 43%) 0 0/6px 6px,#f4efe3}\n.few span{background:#f4efe3;color:#ff48b0;outline:2px solid #ff48b0}\n.sold{background:#ff48b0;border-color:#ff48b0;color:#f4efe3}\n.sold span{background:#5a3f9e}\n.sold b{color:#f4efe3}\n.sold strong{text-decoration:line-through;text-decoration-thickness:3px}",
      "props": {
        "s": "object",
        "word": "string"
      }
    },
    "legend": {
      "template": "<ul class=\"lg\"><li><i class=\"o\"></i>판매 중</li><li><i class=\"f\"></i>몇 개 남음</li><li><i class=\"s\"></i>완판</li></ul>",
      "style": ".lg{height:100%;box-sizing:border-box;margin:0;padding:0;list-style:none;display:flex;align-items:center;gap:18px;font:14px \"Archivo Black\", \"Arial Black\", \"Noto Sans KR\", \"Malgun Gothic\", sans-serif;color:#5a3f9e}\nli{display:flex;align-items:center;gap:6px}\ni{width:22px;height:16px;border:3px solid #0078bf;background:#f4efe3}\n.f{border-color:#ff48b0;background:radial-gradient(#ff48b0 45%,transparent 47%) 0 0/5px 5px,#f4efe3}\n.s{border-color:#ff48b0;background:#ff48b0}"
    },
    "title": {
      "template": "<header class=\"tt\"><h1>{{name}}</h1><p>{{sub}}<br/>{{date}} <b>{{time}}</b></p></header>",
      "style": ".tt{height:100%;box-sizing:border-box;display:grid;align-content:center;gap:8px;font-family:\"Space Grotesk\", \"Noto Sans KR\", \"Malgun Gothic\", sans-serif;color:#5a3f9e}\nh1{margin:0;font:42px/1.08 \"Archivo Black\", \"Arial Black\", \"Noto Sans KR\", \"Malgun Gothic\", sans-serif;color:#ff48b0;text-shadow:4px 3px 0 rgba(0,120,191,.75)}\np{margin:0;font-size:17px;font-weight:600;line-height:1.5}\nb{font:22px \"Archivo Black\", \"Arial Black\", \"Noto Sans KR\", \"Malgun Gothic\", sans-serif;color:#0078bf}",
      "props": {
        "name": "string",
        "sub": "string",
        "date": "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:\"Space Grotesk\", \"Noto Sans KR\", \"Malgun Gothic\", sans-serif;color:#5a3f9e}\ndiv{display:grid;align-content:center;padding:8px 10px;background:radial-gradient(rgba(0,120,191,.35) 40%,transparent 42%) 0 0/6px 6px}\ndt{font-size:13px;font-weight:700}\ndd{margin:2px 0;font:30px \"Archivo Black\", \"Arial Black\", \"Noto Sans KR\", \"Malgun Gothic\", sans-serif;color:#0078bf}\nsmall{font-size:11px}",
      "props": {
        "items": "list"
      }
    },
    "events": {
      "template": "<section class=\"ev\"><h3>오늘의 행사</h3><ol>{{#items}}<li><b>{{time}}</b><span><strong>{{name}}</strong><small>{{place}}</small></span></li>{{/items}}</ol></section>",
      "style": ".ev{height:100%;box-sizing:border-box;display:grid;grid-template-rows:auto 1fr;gap:8px;font-family:\"Space Grotesk\", \"Noto Sans KR\", \"Malgun Gothic\", sans-serif;color:#5a3f9e}\nh3{margin:0;justify-self:start;padding:2px 10px;font:17px \"Archivo Black\", \"Arial Black\", \"Noto Sans KR\", \"Malgun Gothic\", sans-serif;color:#f4efe3;background:#ff48b0;transform:rotate(-2deg)}\nol{margin:0;padding:0;list-style:none;display:grid;align-content:start;gap:6px}\nli{display:grid;grid-template-columns:70px 1fr;align-items:center;gap:10px;padding:4px 0;border-bottom:3px dotted #0078bf}\nb{font:22px \"Archivo Black\", \"Arial Black\", \"Noto Sans KR\", \"Malgun Gothic\", sans-serif;color:#ff48b0}\nspan{display:grid}\nstrong{font-size:16px}\nsmall{font-size:13px}",
      "props": {
        "items": "list"
      }
    }
  },
  "data": {
    "stalls": {
      "from": "market",
      "path": "/market/stalls",
      "time": "updatedAt",
      "fresh": 900,
      "fields": {
        "a1": {
          "at": "/value/a1"
        },
        "a2": {
          "at": "/value/a2"
        },
        "a3": {
          "at": "/value/a3"
        },
        "a4": {
          "at": "/value/a4"
        },
        "a5": {
          "at": "/value/a5"
        },
        "a6": {
          "at": "/value/a6"
        },
        "b1": {
          "at": "/value/b1"
        },
        "b2": {
          "at": "/value/b2"
        },
        "b3": {
          "at": "/value/b3"
        },
        "b4": {
          "at": "/value/b4"
        },
        "b5": {
          "at": "/value/b5"
        },
        "b6": {
          "at": "/value/b6"
        },
        "t1": {
          "at": "/value/t1"
        },
        "t2": {
          "at": "/value/t2"
        },
        "t3": {
          "at": "/value/t3"
        },
        "a1-word": {
          "at": "/value/a1/state",
          "names": {
            "open": "판매 중",
            "few": "조금 남음",
            "sold": "완판"
          }
        },
        "a2-word": {
          "at": "/value/a2/state",
          "names": {
            "open": "판매 중",
            "few": "조금 남음",
            "sold": "완판"
          }
        },
        "a3-word": {
          "at": "/value/a3/state",
          "names": {
            "open": "판매 중",
            "few": "조금 남음",
            "sold": "완판"
          }
        },
        "a4-word": {
          "at": "/value/a4/state",
          "names": {
            "open": "판매 중",
            "few": "조금 남음",
            "sold": "완판"
          }
        },
        "a5-word": {
          "at": "/value/a5/state",
          "names": {
            "open": "판매 중",
            "few": "조금 남음",
            "sold": "완판"
          }
        },
        "a6-word": {
          "at": "/value/a6/state",
          "names": {
            "open": "판매 중",
            "few": "조금 남음",
            "sold": "완판"
          }
        },
        "b1-word": {
          "at": "/value/b1/state",
          "names": {
            "open": "판매 중",
            "few": "조금 남음",
            "sold": "완판"
          }
        },
        "b2-word": {
          "at": "/value/b2/state",
          "names": {
            "open": "판매 중",
            "few": "조금 남음",
            "sold": "완판"
          }
        },
        "b3-word": {
          "at": "/value/b3/state",
          "names": {
            "open": "판매 중",
            "few": "조금 남음",
            "sold": "완판"
          }
        },
        "b4-word": {
          "at": "/value/b4/state",
          "names": {
            "open": "판매 중",
            "few": "조금 남음",
            "sold": "완판"
          }
        },
        "b5-word": {
          "at": "/value/b5/state",
          "names": {
            "open": "판매 중",
            "few": "조금 남음",
            "sold": "완판"
          }
        },
        "b6-word": {
          "at": "/value/b6/state",
          "names": {
            "open": "판매 중",
            "few": "조금 남음",
            "sold": "완판"
          }
        },
        "t1-word": {
          "at": "/value/t1/state",
          "names": {
            "open": "판매 중",
            "few": "조금 남음",
            "sold": "완판"
          }
        },
        "t2-word": {
          "at": "/value/t2/state",
          "names": {
            "open": "판매 중",
            "few": "조금 남음",
            "sold": "완판"
          }
        },
        "t3-word": {
          "at": "/value/t3/state",
          "names": {
            "open": "판매 중",
            "few": "조금 남음",
            "sold": "완판"
          }
        }
      }
    },
    "now": {
      "from": "market",
      "path": "/market/now",
      "time": "updatedAt",
      "fresh": 900,
      "fields": {
        "name": {},
        "sub": {},
        "date": {},
        "time": {}
      }
    },
    "figures": {
      "from": "market",
      "path": "/market/figures",
      "time": "updatedAt",
      "fresh": 900,
      "fields": {
        "value": {}
      }
    },
    "events": {
      "from": "market",
      "path": "/market/events",
      "time": "updatedAt",
      "fresh": 900,
      "fields": {
        "value": {}
      }
    },
    "visitors": {
      "from": "market",
      "path": "/market/visitors",
      "list": "/value",
      "fresh": 900,
      "answerTime": "/updatedAt"
    }
  },
  "parts": {
    "stall-a1": {
      "as": "element",
      "element": "stall",
      "of": "stalls",
      "bind": {
        "s": "a1",
        "word": "a1-word"
      }
    },
    "stall-a2": {
      "as": "element",
      "element": "stall",
      "of": "stalls",
      "bind": {
        "s": "a2",
        "word": "a2-word"
      }
    },
    "stall-a3": {
      "as": "element",
      "element": "stall",
      "of": "stalls",
      "bind": {
        "s": "a3",
        "word": "a3-word"
      }
    },
    "stall-a4": {
      "as": "element",
      "element": "stall",
      "of": "stalls",
      "bind": {
        "s": "a4",
        "word": "a4-word"
      }
    },
    "stall-a5": {
      "as": "element",
      "element": "stall",
      "of": "stalls",
      "bind": {
        "s": "a5",
        "word": "a5-word"
      }
    },
    "stall-a6": {
      "as": "element",
      "element": "stall",
      "of": "stalls",
      "bind": {
        "s": "a6",
        "word": "a6-word"
      }
    },
    "stall-b1": {
      "as": "element",
      "element": "stall",
      "of": "stalls",
      "bind": {
        "s": "b1",
        "word": "b1-word"
      }
    },
    "stall-b2": {
      "as": "element",
      "element": "stall",
      "of": "stalls",
      "bind": {
        "s": "b2",
        "word": "b2-word"
      }
    },
    "stall-b3": {
      "as": "element",
      "element": "stall",
      "of": "stalls",
      "bind": {
        "s": "b3",
        "word": "b3-word"
      }
    },
    "stall-b4": {
      "as": "element",
      "element": "stall",
      "of": "stalls",
      "bind": {
        "s": "b4",
        "word": "b4-word"
      }
    },
    "stall-b5": {
      "as": "element",
      "element": "stall",
      "of": "stalls",
      "bind": {
        "s": "b5",
        "word": "b5-word"
      }
    },
    "stall-b6": {
      "as": "element",
      "element": "stall",
      "of": "stalls",
      "bind": {
        "s": "b6",
        "word": "b6-word"
      }
    },
    "stall-t1": {
      "as": "element",
      "element": "stall",
      "of": "stalls",
      "bind": {
        "s": "t1",
        "word": "t1-word"
      }
    },
    "stall-t2": {
      "as": "element",
      "element": "stall",
      "of": "stalls",
      "bind": {
        "s": "t2",
        "word": "t2-word"
      }
    },
    "stall-t3": {
      "as": "element",
      "element": "stall",
      "of": "stalls",
      "bind": {
        "s": "t3",
        "word": "t3-word"
      }
    },
    "legend": {
      "as": "element",
      "element": "legend"
    },
    "title": {
      "as": "element",
      "element": "title",
      "of": "now",
      "bind": {
        "name": "name",
        "sub": "sub",
        "date": "date",
        "time": "time"
      }
    },
    "figures": {
      "as": "element",
      "element": "figures",
      "of": "figures",
      "bind": {
        "items": "value"
      }
    },
    "events": {
      "as": "element",
      "element": "events",
      "of": "events",
      "bind": {
        "items": "value"
      }
    },
    "visitors": {
      "as": "chart.bar",
      "of": "visitors",
      "title": "30분마다 들어온 방문객(명)",
      "x": "hour",
      "y": "people",
      "series": [
        {
          "label": "방문객",
          "color": "#ff48b0"
        }
      ]
    }
  },
  "layout": {
    "kind": "canvas",
    "size": [
      1600,
      1000
    ],
    "background": "data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221600%22%20height%3D%221000%22%20viewBox%3D%220%200%201600%201000%22%3E%0A%3Cdefs%3E%0A%3Cpattern%20id%3D%22dotsBlue%22%20width%3D%227%22%20height%3D%227%22%20patternUnits%3D%22userSpaceOnUse%22%3E%3Ccircle%20cx%3D%223.5%22%20cy%3D%223.5%22%20r%3D%222%22%20fill%3D%22%230078bf%22%2F%3E%3C%2Fpattern%3E%0A%3Cpattern%20id%3D%22dotsPink%22%20width%3D%228%22%20height%3D%228%22%20patternUnits%3D%22userSpaceOnUse%22%20patternTransform%3D%22rotate(30)%22%3E%3Ccircle%20cx%3D%224%22%20cy%3D%224%22%20r%3D%222.2%22%20fill%3D%22%23ff48b0%22%2F%3E%3C%2Fpattern%3E%0A%3Cfilter%20id%3D%22grain%22%3E%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%221.4%22%20numOctaves%3D%221%22%20seed%3D%225%22%2F%3E%3CfeColorMatrix%20values%3D%220%200%200%200%20.2%20%200%200%200%200%20.2%20%200%200%200%200%20.3%20%200%200%200%20-2.2%201.25%22%2F%3E%3C%2Ffilter%3E%0A%3C%2Fdefs%3E%0A%3Crect%20width%3D%221600%22%20height%3D%221000%22%20fill%3D%22%23f4efe3%22%2F%3E%0A%3Crect%20x%3D%2240%22%20y%3D%22110%22%20width%3D%221030%22%20height%3D%22650%22%20rx%3D%2240%22%20fill%3D%22url(%23dotsPink)%22%20opacity%3D%22.16%22%2F%3E%0A%3Cpath%20d%3D%22M%2040%20380%20H%201070%20M%2040%20440%20H%201070%22%20stroke%3D%22%23ff48b0%22%20stroke-width%3D%226%22%2F%3E%0A%3Cg%20transform%3D%22translate(4%203)%22%20style%3D%22mix-blend-mode%3Amultiply%22%3E%3Cpath%20d%3D%22M%2040%20410%20H%201070%22%20stroke%3D%22%230078bf%22%20stroke-width%3D%2258%22%20stroke-opacity%3D%22.22%22%2F%3E%0A%3Ccircle%20cx%3D%22555%22%20cy%3D%22410%22%20r%3D%2262%22%20fill%3D%22%230078bf%22%20fill-opacity%3D%22.85%22%2F%3E%0A%3Ccircle%20cx%3D%2280%22%20cy%3D%22140%22%20r%3D%2234%22%20fill%3D%22url(%23dotsBlue)%22%2F%3E%3Ccircle%20cx%3D%221030%22%20cy%3D%22150%22%20r%3D%2240%22%20fill%3D%22url(%23dotsBlue)%22%2F%3E%3Ccircle%20cx%3D%22150%22%20cy%3D%22470%22%20r%3D%2226%22%20fill%3D%22url(%23dotsBlue)%22%2F%3E%3Ccircle%20cx%3D%22960%22%20cy%3D%22470%22%20r%3D%2230%22%20fill%3D%22url(%23dotsBlue)%22%2F%3E%3Ccircle%20cx%3D%22470%22%20cy%3D%22740%22%20r%3D%2236%22%20fill%3D%22url(%23dotsBlue)%22%2F%3E%3Ccircle%20cx%3D%22780%22%20cy%3D%22730%22%20r%3D%2230%22%20fill%3D%22url(%23dotsBlue)%22%2F%3E%0A%3Crect%20x%3D%2240%22%20y%3D%22760%22%20width%3D%221030%22%20height%3D%22200%22%20fill%3D%22%230078bf%22%20fill-opacity%3D%22.14%22%2F%3E%3C%2Fg%3E%0A%3Ccircle%20cx%3D%22555%22%20cy%3D%22410%22%20r%3D%2240%22%20fill%3D%22none%22%20stroke%3D%22%23ff48b0%22%20stroke-width%3D%228%22%2F%3E%0A%3Ctext%20x%3D%22555%22%20y%3D%22417%22%20text-anchor%3D%22middle%22%20fill%3D%22%23f4efe3%22%20font-size%3D%2216%22%20font-family%3D'%22Archivo%20Black%22%2C%20%22Arial%20Black%22%2C%20%22Noto%20Sans%20KR%22%2C%20%22Malgun%20Gothic%22%2C%20sans-serif'%3E%EB%B6%84%EC%88%98%20%EB%AC%B4%EB%8C%80%3C%2Ftext%3E%0A%3Ctext%20x%3D%2248%22%20y%3D%22402%22%20fill%3D%22%235a3f9e%22%20font-size%3D%2218%22%20font-family%3D'%22Archivo%20Black%22%2C%20%22Arial%20Black%22%2C%20%22Noto%20Sans%20KR%22%2C%20%22Malgun%20Gothic%22%2C%20sans-serif'%3E%EB%8A%90%ED%8B%B0%EB%82%98%EB%AC%B4%20%EA%B8%B8%20%E2%86%92%3C%2Ftext%3E%0A%3Ctext%20x%3D%221000%22%20y%3D%22985%22%20text-anchor%3D%22end%22%20fill%3D%22%235a3f9e%22%20font-size%3D%2218%22%20font-family%3D'%22Archivo%20Black%22%2C%20%22Arial%20Black%22%2C%20%22Noto%20Sans%20KR%22%2C%20%22Malgun%20Gothic%22%2C%20sans-serif'%3E%EC%9E%94%EB%94%94%20%EA%B4%91%EC%9E%A5%20%C2%B7%20%ED%91%B8%EB%93%9C%ED%8A%B8%EB%9F%AD%3C%2Ftext%3E%0A%3Ctext%20x%3D%2248%22%20y%3D%22985%22%20fill%3D%22%235a3f9e%22%20font-size%3D%2218%22%20font-family%3D'%22Archivo%20Black%22%2C%20%22Arial%20Black%22%2C%20%22Noto%20Sans%20KR%22%2C%20%22Malgun%20Gothic%22%2C%20sans-serif'%3E%E2%86%93%20%EC%A0%95%EB%AC%B8%20%C2%B7%20%EC%95%88%EB%82%B4%EC%86%8C%3C%2Ftext%3E%0A%3Crect%20width%3D%221600%22%20height%3D%221000%22%20filter%3D%22url(%23grain)%22%20opacity%3D%22.22%22%2F%3E%0A%3Cpath%20d%3D%22M%201090%2040%20V%20960%22%20stroke%3D%22%23ff48b0%22%20stroke-width%3D%225%22%20stroke-dasharray%3D%222%2010%22%20stroke-linecap%3D%22round%22%2F%3E%0A%3C%2Fsvg%3E",
    "place": {
      "stall-a1": [
        60,
        180,
        150,
        92
      ],
      "stall-a2": [
        225,
        180,
        150,
        92
      ],
      "stall-a3": [
        390,
        180,
        150,
        92
      ],
      "stall-a4": [
        555,
        180,
        150,
        92
      ],
      "stall-a5": [
        720,
        180,
        150,
        92
      ],
      "stall-a6": [
        885,
        180,
        150,
        92
      ],
      "stall-b1": [
        60,
        520,
        150,
        92
      ],
      "stall-b2": [
        225,
        520,
        150,
        92
      ],
      "stall-b3": [
        390,
        520,
        150,
        92
      ],
      "stall-b4": [
        555,
        520,
        150,
        92
      ],
      "stall-b5": [
        720,
        520,
        150,
        92
      ],
      "stall-b6": [
        885,
        520,
        150,
        92
      ],
      "stall-t1": [
        130,
        790,
        200,
        92
      ],
      "stall-t2": [
        430,
        790,
        200,
        92
      ],
      "stall-t3": [
        730,
        790,
        200,
        92
      ],
      "legend": [
        690,
        50,
        380,
        30
      ],
      "title": [
        1120,
        30,
        460,
        170
      ],
      "figures": [
        1120,
        220,
        460,
        110
      ],
      "events": [
        1120,
        350,
        460,
        210
      ],
      "visitors": [
        1120,
        590,
        460,
        370
      ]
    }
  }
}
