changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$defs": {
+ "StationComparisonOutput": {
+ "description": "One requested station. Only `name` is guaranteed: the rest is absent\nwhen the source had no passenger-frequency or platform match.",
+ "properties": {
+ "canton": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Canton"
+ },
+ "dtv": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Average daily passengers",
+ "title": "Dtv"
+ },
+ "dwv": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Average workday passengers",
+ "title": "Dwv"
+ },
+ "matched_name": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Matched Name"
+ },
+ "name": {
+ "description": "Station name as requested",
+ "title": "Name",
+ "type": "string"
+ },
+ "platform_count": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Platform Count"
+ },
+ "total_platform_length_m": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Total Platform Length M"
+ },
+ "year": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Year"
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "title": "StationComparisonOutput",
+ "type": "object"
+ }
+ },
+ "properties": {
+ "stations": {
+ "items": {
+ "$ref": "#/$defs/StationComparisonOutput"
+ },
+ "title": "Stations",
+ "type": "array"
+ },
+ "year": {
+ "title": "Year",
+ "type": "string"
+ }
+ },
+ "required": [
+ "year",
+ "stations"
+ ],
+ "title": "CompareStationsOutput",
+ "type": "object"
+}