opendata/Hunting-and-Fishing

Allow repeating date ranges?

Closed this issue · 1 comments

Right now, we're only using a single date range for each season, e.g., June 1–July 15. But it's wholly possible that a given combination of place and weapon might have multiple date ranges. Look into whether we need to allow multiple date elements.

I don't think there's any question: repeating date ranges are fine. No structural changes are needed. We'll just list them like such:

"season": {
    "date": {
        "starts": "2014-10-01",
        "ends": "2014-11-12"
    },
    "date": {
        "starts": "2014-11-20",
        "ends": "2014-11-22"
    }
}