addedInput schema / properties / departureBeforeSec
Added value: +{
+ "description": "Exclusive departure upper bound in GTFS seconds from midnight; must exceed departureFromSec when both are supplied.",
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+}
addedInput schema / properties / departureFromSec
Added value: +{
+ "description": "Inclusive departure lower bound in GTFS seconds from midnight; values beyond 86400 are valid.",
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+}
addedInput schema / properties / tripId
Added value: +{
+ "description": "Exact trip ID; omit or leave blank for no trip selector. Mutually exclusive with departure bounds.",
+ "type": "string"
+}
changedOutput schema / anyOf
Previous value: -[
- {
- "not": {
- "required": [
- "error"
- ]
- },
- "required": [
- "blockId",
- "activeServiceIds",
- "inactiveServiceIds",
- "trips"
- ]
- },
- {
- "required": [
- "error"
- ]
- }
-]New value: +[
+ {
+ "not": {
+ "required": [
+ "error"
+ ]
+ },
+ "required": [
+ "blockId",
+ "activeServiceIds",
+ "inactiveServiceIds",
+ "trips",
+ "alternateConfigurations"
+ ]
+ },
+ {
+ "required": [
+ "error"
+ ]
+ }
+]
changedOutput schema / properties / activeServiceIds / description
Previous value: -"Service calendar IDs active for this block today."New value: +"Service IDs required active for the first returned configuration."
addedOutput schema / properties / alternateConfigurations
Added value: +{
+ "description": "Remaining configurations in upstream order; empty when none exist.",
+ "items": {
+ "additionalProperties": false,
+ "description": "An alternative block configuration.",
+ "properties": {
+ "activeServiceIds": {
+ "description": "Service IDs required active for this configuration.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "inactiveServiceIds": {
+ "description": "Service IDs required inactive for this configuration.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "trips": {
+ "description": "Ordered trips in this configuration.",
+ "items": {
+ "additionalProperties": false,
+ "description": "A block trip.",
+ "properties": {
+ "accumulatedSlackTime": {
+ "description": "Accumulated layover/slack time (seconds) before this trip starts.",
+ "type": "number"
+ },
+ "blockStopTimes": {
+ "description": "Ordered stop times.",
+ "items": {
+ "additionalProperties": false,
+ "description": "A stop time.",
+ "properties": {
+ "arrivalTime": {
+ "description": "Arrival in GTFS seconds from midnight.",
+ "type": "number"
+ },
+ "departureTime": {
+ "description": "Departure in GTFS seconds from midnight.",
+ "type": "number"
+ },
+ "dropOffType": {
+ "description": "GTFS drop-off type (0=regular, 1=no dropoff, 2=phone agency, 3=coordinate with driver).",
+ "type": "number"
+ },
+ "pickupType": {
+ "description": "GTFS pickup type (0=regular, 1=no pickup, 2=phone agency, 3=coordinate with driver).",
+ "type": "number"
+ },
+ "stopId": {
+ "description": "Stop ID.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "stopId",
+ "arrivalTime",
+ "departureTime"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "distanceAlongBlock": {
+ "description": "Cumulative distance (meters) from block start to the first stop of this trip.",
+ "type": "number"
+ },
+ "tripId": {
+ "description": "Trip ID for follow-up onebusaway_get_trip calls.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "tripId",
+ "distanceAlongBlock",
+ "accumulatedSlackTime",
+ "blockStopTimes"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "activeServiceIds",
+ "inactiveServiceIds",
+ "trips"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+}
changedOutput schema / properties / inactiveServiceIds / description
Previous value: -"Service calendar IDs not active for this block today."New value: +"Service IDs required inactive for the first returned configuration."
addedOutput schema / properties / notice
Added value: +{
+ "description": "Alternative-configuration guidance or an aggregate empty-selection notice.",
+ "type": "string"
+}
addedOutput schema / properties / selection
Added value: +{
+ "additionalProperties": false,
+ "description": "Applied selectors and aggregate trip occurrence counts across every configuration; absent without selectors.",
+ "properties": {
+ "configurationCounts": {
+ "description": "Preserved slot order: index 0 is the top-level first configuration; index 1 is alternateConfigurations[0], and so on, including empty slots.",
+ "items": {
+ "additionalProperties": false,
+ "description": "Trip occurrence counts for one configuration.",
+ "properties": {
+ "returned": {
+ "description": "Count after local selection.",
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "total": {
+ "description": "Count before local selection.",
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "total",
+ "returned"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "departureBeforeSec": {
+ "description": "Exclusive departure upper bound in GTFS seconds from midnight; must exceed departureFromSec when both are supplied.",
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "departureFromSec": {
+ "description": "Inclusive departure lower bound in GTFS seconds from midnight; values beyond 86400 are valid.",
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "returned": {
+ "description": "Count after local selection.",
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "total": {
+ "description": "Count before local selection.",
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "tripId": {
+ "description": "Exact trip ID; omit or leave blank for no trip selector. Mutually exclusive with departure bounds.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "total",
+ "returned",
+ "configurationCounts"
+ ],
+ "type": "object"
+}
changedOutput schema / properties / trips / description
Previous value: -"All trips in this block in order."New value: +"All trips in the first returned configuration, in order."
changedOutput schema / properties / trips / items / description
Previous value: -"A trip in this vehicle block."New value: +"A block trip."
changedOutput schema / properties / trips / items / properties / blockStopTimes / description
Previous value: -"Ordered stop times for this trip."New value: +"Ordered stop times."
changedOutput schema / properties / trips / items / properties / blockStopTimes / items / description
Previous value: -"A scheduled stop time within this trip."New value: +"A stop time."
changedOutput schema / properties / trips / items / properties / blockStopTimes / items / properties / arrivalTime / description
Previous value: -"Scheduled arrival time as seconds from midnight (GTFS format)."New value: +"Arrival in GTFS seconds from midnight."
changedOutput schema / properties / trips / items / properties / blockStopTimes / items / properties / departureTime / description
Previous value: -"Scheduled departure time as seconds from midnight (GTFS format)."New value: +"Departure in GTFS seconds from midnight."