OneBusAway · Schema

BlockTrip

TransitPublic TransitReal-TimeArrivalsDeparturesBusGTFSOpen SourceStop DataTrip PlanningService AlertsVehicle PositionsOpen Data

Properties

Name Type Description
tripId string
distanceAlongBlock number
accumulatedSlackTime number
blockStopTimes array
View JSON Schema on GitHub

JSON Schema

BlockTrip.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "BlockTrip",
  "type": "object",
  "properties": {
    "tripId": {
      "type": "string"
    },
    "distanceAlongBlock": {
      "type": "number",
      "format": "float"
    },
    "accumulatedSlackTime": {
      "type": "number",
      "format": "float"
    },
    "blockStopTimes": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/BlockStopTime"
      }
    }
  },
  "required": [
    "tripId",
    "blockStopTimes",
    "distanceAlongBlock",
    "accumulatedSlackTime"
  ]
}