addedInput schema / properties / bus
Added value: +{
+ "description": "A preferred bus or green minibus number, e.g. \"33\" or \"1A\": options are then only trips on it (its next departures from the nearest stop within about 10 minutes' walk, heading for the destination), or route_note says why there are none",
+ "maxLength": 6,
+ "type": "string"
+}
addedOutput schema / properties / options / items / properties / on_preferred_route
Added value: +{
+ "description": "With bus: whether this option rides it",
+ "type": "boolean"
+}
addedOutput schema / properties / options / items / properties / warnings
Added value: +{
+ "description": "Live disruptions on this option: an MTR line it rides reporting a delay, a road incident near its bus or tram route",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+}
changedOutput schema / properties / options / items / required
Previous value: -[
- "depart",
- "arrive",
- "minutes",
- "transfers",
- "best_for",
- "fare",
- "steps"
-]New value: +[
+ "depart",
+ "arrive",
+ "minutes",
+ "transfers",
+ "best_for",
+ "warnings",
+ "fare",
+ "steps"
+]
addedOutput schema / properties / preferred_route
Added value: +{
+ "description": "The bus asked for, normalised (e.g. \"1A\")",
+ "type": "string"
+}
addedOutput schema / properties / route_note
Added value: +{
+ "description": "Why no option rides the preferred route (none near the start, not heading that way, not running now)",
+ "type": "string"
+}