# データバインディング

Feature の `item` と Collection の `query` に `source` を指定します。`filter` の値はすべて適用され、`sort` を省くと source の既定順になります。Collection の `fields` は表示するフィールドを指定します。

## SCHEDULE（dataSchema `SCHEDULE_V1`）

| source | filter | sort | fields | Fact.kind（format） | Badge.kind | Progress.value | Feature の action | 項目の既定操作 | limit 上限 |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | ---: |
| `events` | `upcoming`・`joined`・`open` | `start` | `title`・`date`・`time`・`places`・`fee`・`seats`・`cover`・`instructor`・`organizer` | `date (md / weekday / weekdayLatin / kanji / relative)`・`startTime (kanji)`・`daysUntil (kanji)`・`seatsLeft (kanji)`・`fee`・`places`・`instructor`・`organizer` | `joined`・`full`・`closed` | `seatsTaken` | `openBooking` | `openBooking` | 12 |
| `bookings` | `mine` | `start` | `date`・`time`・`places`・`headCount`・`exclusive` | `date (md / weekday / weekdayLatin / kanji / relative)`・`startTime (kanji)`・`daysUntil (kanji)`・`places`・`headCount (kanji)` | — | — | `openBooking` | `openBooking` | 12 |

## HOME（dataSchema `HOME_V1`）

| source | filter | sort | fields | Fact.kind（format） | Badge.kind | Progress.value | Feature の action | 項目の既定操作 | limit 上限 |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | ---: |
| `upcoming` | `joined`・`open` | `start` | `title`・`date`・`time`・`places`・`seats`・`cover`・`fee`・`instructor`・`organizer` | `date (md / weekday / weekdayLatin / kanji / relative)`・`startTime (kanji)`・`daysUntil (kanji)`・`seatsLeft (kanji)`・`places`・`fee`・`instructor`・`organizer` | `joined`・`full`・`closed` | `seatsTaken` | `openBooking` | `openBooking` | 12 |
| `notices` | `unread` | `posted` | `excerpt`・`postedAt`・`unread` | `postedAt (md / relative)` | — | — | — | `openNotices` | 5 |

SCHEDULE の `events` では `upcoming` が今後のイベント、`joined` が参加済み、`open` が受付中です。`bookings.mine` は自分の予約、HOME の `notices.unread` は未読のお知らせに絞り込みます。
