idfm-api/types/calendar.go

10 lines
316 B
Go
Raw Permalink Normal View History

2023-07-14 10:23:33 +00:00
package types
// Calendar is returned on vehicle journey message and indicates periodicity informations
// about transport schedules.
type Calendar struct {
ActivePeriods []ActivePeriod `json:"active_periods"`
WeekPattern WeekPattern `json:"week_pattern"`
Exceptions []Exception `json:"exceptions"`
}