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"
- ]
- },
- "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"
- }
-]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\"), including when it was charged the maximum fare for that reason.",
+ "type": "boolean"
+ },
+ "is_inspection_penalty": {
+ "description": "Optional. True only when the statement shows a penalty for failing a ticket inspection, which TfL does not refund. A maximum fare for a missing touch out counts as is_incomplete, not this.",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "is_max_fare": {
+ "description": "Deprecated. Replaced by is_incomplete and is_inspection_penalty.",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "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_incomplete"
+ ],
+ "type": "object"
+ },
+ "maxItems": 500,
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+]