openactive / modelling-opportunity-data

OpenActive Modelling Opportunity Data specification
https://www.openactive.io/modelling-opportunity-data/
Other
6 stars 6 forks source link

Schedule should require either startDate or endDate #194

Open nickevansuk opened 6 years ago

nickevansuk commented 6 years ago

To ensure that Schedule is used correctly, it should include at least either a startDate or an endDate: ideally both. Otherwise PartialSchedule should be used.

This ensures Schedules are always used for cases where they are based a legitimate underlying schedule.

ldodds commented 5 years ago

We've discussed some of this previously.

Tightening up conformance to ensure that variables included in the templates is something that could be added without breaking additional data. But making these properties mandatory is a breaking change.