changedInput schema / properties / journeys / anyOf
Previous value: -[
- {
- "items": {
- "additionalProperties": false,
- "properties": {
- "bus_route": {
- "description": "Bus route number for bus rows, otherwise null.",
- "type": [
- "string",
- "null"
- ]
- },
- "date": {
- "description": "Journey date as YYYY-MM-DD.",
- "type": "string"
- },
- "end_time": {
- "description": "Tap-out time as HH:MM, or null.",
- "type": [
- "string",
- "null"
- ]
- },
- "fare_pence": {
- "description": "Charge for this row in pence. £2.20 = 220.",
- "maximum": 100000,
- "minimum": 0,
- "type": "integer"
- },
- "from_location": {
- "description": "Tap-in station / stop name, or null if not shown.",
- "type": [
- "string",
- "null"
- ]
- },
- "is_auto_corrected": {
- "description": "OPTIONAL. True if the statement says TfL already auto-corrected this journey (e.g. \"Auto-completed\", \"Adjusted\").",
- "type": [
- "boolean",
- "null"
- ]
- },
- "is_daily_cap_hit": {
- "description": "OPTIONAL. True if the statement explicitly marks this row as the daily-cap-reached entry.",
- "type": [
- "boolean",
- "null"
- ]
- },
- "is_hopper_free": {
- "description": "OPTIONAL. True if the statement marks this fare as a free Hopper fare (second bus/tram tap within 60 min).",
- "type": [
- "boolean",
- "null"
- ]
- },
- "is_incomplete": {
- "description": "True if this journey has no tap-out recorded (e.g. label \"Incomplete\" or \"No exit\").",
- "type": "boolean"
- },
- "is_max_fare": {
- "description": "True if the statement labels this as a max-fare charge for a failed revenue inspection.",
- "type": "boolean"
- },
- "is_weekly_cap_hit": {
- "description": "OPTIONAL. True if the statement marks this row as a weekly-cap-reached entry.",
- "type": [
- "boolean",
- "null"
- ]
- },
- "mode": {
- "description": "Transport mode for this row. Use \"unknown\" only if the statement does not say.",
- "enum": [
- "tube",
- "bus",
- "overground",
- "elizabeth",
- "dlr",
- "tram",
- "cable_car",
- "thameslink",
- "unknown"
- ],
- "type": "string"
- },
- "start_time": {
- "description": "Tap-in time as HH:MM, or null.",
- "type": [
- "string",
- "null"
- ]
- },
- "to_location": {
- "description": "Tap-out station / stop name, or null for incomplete journeys.",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "date",
- "start_time",
- "end_time",
- "mode",
- "from_location",
- "to_location",
- "bus_route",
- "fare_pence",
- "is_max_fare",
- "is_incomplete"
- ],
- "type": "object"
- },
- "maxItems": 500,
- "type": "array"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "bus_route": {
+ "description": "Bus route number for bus rows, otherwise null.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "date": {
+ "description": "Journey date as YYYY-MM-DD.",
+ "type": "string"
+ },
+ "end_time": {
+ "description": "Tap-out time as HH:MM, or null.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "fare_pence": {
+ "description": "Charge for this row in pence. £2.20 = 220.",
+ "maximum": 100000,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "from_location": {
+ "description": "Tap-in station / stop name, or null if not shown.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "intended_destination": {
+ "anyOf": [
+ {
+ "maxLength": 80,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Optional, for an incomplete journey with no touch out: the station the person was travelling to. With it, the refund is estimated as the fare charged minus the usual fare to that station. Without it, the figure is an upper limit equal to the whole charge."
+ },
+ "is_auto_corrected": {
+ "description": "Optional. True when the statement says TfL has already corrected this journey (for example \"Auto-completed\" or \"Adjusted\").",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "is_daily_cap_hit": {
+ "description": "Optional. True when the statement marks this row as the one where the daily cap was reached.",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "is_hopper_free": {
+ "description": "Optional. True when the statement shows this fare as a free Hopper fare (a second bus or tram within 60 minutes).",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "is_incomplete": {
+ "description": "True if this journey has no tap-out recorded (e.g. label \"Incomplete\" or \"No exit\").",
+ "type": "boolean"
+ },
+ "is_max_fare": {
+ "description": "True if the statement labels this as a max-fare charge for a failed revenue inspection.",
+ "type": "boolean"
+ },
+ "is_weekly_cap_hit": {
+ "description": "Optional. True when the statement marks this row as the one where the weekly cap was reached.",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "mode": {
+ "description": "Transport mode for this row, or \"unknown\" when the statement does not say.",
+ "enum": [
+ "tube",
+ "bus",
+ "overground",
+ "elizabeth",
+ "dlr",
+ "tram",
+ "cable_car",
+ "thameslink",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ "start_time": {
+ "description": "Tap-in time as HH:MM, or null.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "to_location": {
+ "description": "Tap-out station / stop name, or null for incomplete journeys.",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "date",
+ "start_time",
+ "end_time",
+ "mode",
+ "from_location",
+ "to_location",
+ "bus_route",
+ "fare_pence",
+ "is_max_fare",
+ "is_incomplete"
+ ],
+ "type": "object"
+ },
+ "maxItems": 500,
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+]