OneBusAway · Schema

TripSchedule

TransitPublic TransitReal-TimeArrivalsDeparturesBusGTFSOpen SourceStop DataTrip PlanningService AlertsVehicle PositionsOpen Data

Properties

Name Type Description
frequency string
nextTripId string
previousTripId string
stopTimes array
timeZone string
View JSON Schema on GitHub

JSON Schema

TripSchedule.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "TripSchedule",
  "type": "object",
  "nullable": true,
  "properties": {
    "frequency": {
      "type": "string",
      "nullable": true
    },
    "nextTripId": {
      "type": "string"
    },
    "previousTripId": {
      "type": "string"
    },
    "stopTimes": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/StopTime"
      }
    },
    "timeZone": {
      "type": "string"
    }
  },
  "required": [
    "stopTimes",
    "timeZone",
    "nextTripId",
    "previousTripId"
  ]
}