FrequencyEntry Data Type

Uses a TripTimes to represent multiple trips following the same template at regular intervals. (see GTFS frequencies.txt)

Implemented Interfaces
Serializable
Properties
name data type constraints description
startTime number required
endTime number required
headway number required
exactTimes boolean required
tripTimes TripTimes  
minDeparture number required the minimum time in seconds since midnight at which a trip may depart on this frequency definition.
maxArrival number required the maximum time in seconds since midnight at which a trip may arrive on this frequency definition.

Example

{
  "startTime" : 12345,
  "endTime" : 12345,
  "headway" : 12345,
  "exactTimes" : true,
  "tripTimes" : {
    "scheduled" : true,
    "canceled" : true,
    "realTimeState" : "MODIFIED",
    "numStops" : 12345,
    "serviceCode" : 12345,
    "trip" : {
      "operator" : { },
      "tripOperator" : { },
      "route" : { },
      "serviceId" : { },
      "mode" : "TROLLEYBUS",
      "netexSubmode" : "...",
      "tripShortName" : "...",
      "internalPlanningCode" : "...",
      "tripHeadsign" : "...",
      "routeShortName" : "...",
      "direction" : "UNKNOWN",
      "blockId" : "...",
      "shapeId" : { },
      "wheelchairAccessible" : 12345,
      "bikesAllowed" : "NOT_ALLOWED",
      "fareId" : "...",
      "tripAlteration" : "EXTRA_JOURNEY",
      "id" : { }
    }
  },
  "minDeparture" : 12345,
  "maxArrival" : 12345
}