| Field | Type | Description |
|---|---|---|
| classified | String | ゴミの分類名です。 |
| description | String | 収集日の日本語表記です。 |
| is_collect_to_public_holiday | Boolean | ゴミ収集日が祝日であった場合に収集するかどうかを示します。 trueの場合は祝日であっても収集し、falseの場合は祝日には収集しません。 |
| issued | String | ゴミ収集日の情報が有効になる日付です。 この日付以前は、この情報は正しくない可能性があります。 Example: "issued": "2016-04-01" |
| valid | String | ゴミ収集日の情報が有効である最後の日付です。 この日付以降は、この情報は正しくない可能性があります。 Example: "valid": "2017-03-31" |
| patterns | Collection of CollectPattern | 収集日パターン情報の配列です。
Example: "patterns": [{
"description": "毎週金曜日",
"order": 0,
"day_of_week": 5
}] |
| include_days | Collection of String | 特別に収集する日付の配列です。 この設定はpattensやis_collect_to_public_holidayよりも優先されます。 表記は西暦年有り(yyyy-MM-dd)と年無し(MM-dd)の2パターンがあり、年無しの場合は毎年適用されます。 |
| exclude_days | Collection of String | 特別に収集しない日付の配列です。 この設定はpatternsやis_collect_to_public_holidayよりも優先されます。 表記は西暦年有り(yyyy-MM-dd)と年無し(MM-dd)の2パターンがあり、年無しの場合は毎年適用されます。 |
{
"valid": "2017-03-31",
"is_collect_to_public_holiday": true,
"patterns": [
{
"description": "毎週月曜日",
"order": 0,
"day_of_week": 1
},
{
"description": "毎週木曜日",
"order": 0,
"day_of_week": 4
}
],
"exclude_days": [
"01-01",
"01-02",
"01-03",
"01-04",
"12-31"
],
"description": "月・木",
"classified": "燃やすごみ",
"issued": "2016-04-01",
"include_days": []
}