OneBusAway · Schema

BlockStopTime

TransitPublic TransitReal-TimeArrivalsDeparturesBusGTFSOpen SourceStop DataTrip PlanningService AlertsVehicle PositionsOpen Data

Properties

Name Type Description
blockSequence integer
distanceAlongBlock number
accumulatedSlackTime number
stopTime object
View JSON Schema on GitHub

JSON Schema

BlockStopTime.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "BlockStopTime",
  "type": "object",
  "properties": {
    "blockSequence": {
      "type": "integer"
    },
    "distanceAlongBlock": {
      "type": "number",
      "format": "float"
    },
    "accumulatedSlackTime": {
      "type": "number",
      "format": "float"
    },
    "stopTime": {
      "type": "object",
      "properties": {
        "stopId": {
          "type": "string"
        },
        "arrivalTime": {
          "type": "integer"
        },
        "departureTime": {
          "type": "integer"
        },
        "pickupType": {
          "type": "integer"
        },
        "dropOffType": {
          "type": "integer"
        }
      },
      "required": [
        "stopId",
        "arrivalTime",
        "departureTime"
      ]
    }
  },
  "required": [
    "blockSequence",
    "stopTime",
    "distanceAlongBlock",
    "accumulatedSlackTime"
  ]
}