{
  "components": {
    "schemas": {
      "AccessComponent": {
        "description": "One part of an access walk's cost.",
        "properties": {
          "distanceMeters": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "durationSeconds": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "sources": {
            "description": "Evidence types, sorted and unique, such as `osm` or `gtfs_pathway`.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "type": {
            "$ref": "#/components/schemas/AccessComponentType"
          }
        },
        "required": [
          "type",
          "durationSeconds",
          "distanceMeters"
        ],
        "type": "object"
      },
      "AccessComponentType": {
        "enum": [
          "street",
          "station"
        ],
        "type": "string"
      },
      "AccessReport": {
        "description": "How a place attached to the street network, reported when access fails.",
        "properties": {
          "candidateCount": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "code": {
            "description": "Such as `available` or `no_access`.",
            "type": "string"
          },
          "coordinate": {
            "$ref": "#/components/schemas/Coordinate"
          },
          "maximumWalkMeters": {
            "format": "int64",
            "type": "integer"
          },
          "nearestStop": {
            "$ref": "#/components/schemas/NearestStop",
            "description": "With `street_access_unverified`: the nearest stop serving the role."
          },
          "probeWalkMeters": {
            "format": "int64",
            "type": "integer"
          },
          "role": {
            "description": "`origin` or `destination`.",
            "type": "string"
          },
          "suggestedWalkMeters": {
            "type": "number"
          }
        },
        "required": [
          "role",
          "code",
          "candidateCount",
          "coordinate",
          "maximumWalkMeters"
        ],
        "type": "object"
      },
      "Accessibility": {
        "description": "The wheelchair profile a Result was computed under.",
        "properties": {
          "fareGates": {
            "description": "Gate-cost policy; absent in older compatible Cities.",
            "type": "string"
          },
          "limitations": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "maximumSlope": {
            "type": "number"
          },
          "minimumWidthMeters": {
            "type": "number"
          },
          "profile": {
            "description": "`wheelchair-strict-v1`.",
            "type": "string"
          },
          "sameLevelWalkways": {
            "description": "Same-level walkway policy; absent in older compatible Cities.",
            "type": "string"
          },
          "stationPaths": {
            "type": "string"
          },
          "streetEvidence": {
            "description": "The prepared street policy; absent in older compatible Cities.",
            "type": "string"
          },
          "unknownData": {
            "description": "`exclude`: unknown vehicle and boarding accessibility is excluded.\nStreet inference is described separately by `streetEvidence`.",
            "type": "string"
          }
        },
        "required": [
          "profile",
          "unknownData",
          "stationPaths",
          "maximumSlope",
          "minimumWidthMeters",
          "limitations"
        ],
        "type": "object"
      },
      "AccessibilityLayerResult": {
        "properties": {
          "access": {
            "description": "[percentile][origin][cutoff], weighted opportunity counts.",
            "items": {
              "items": {
                "items": {
                  "type": "number"
                },
                "type": "array"
              },
              "type": "array"
            },
            "type": "array"
          },
          "dualSeconds": {
            "description": "[percentile][origin][threshold], null when insufficient opportunities\nare reachable within the routing horizon; valid zero stays zero.",
            "items": {
              "items": {
                "items": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "type": "array"
              },
              "type": "array"
            },
            "type": "array"
          },
          "id": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "access",
          "dualSeconds"
        ],
        "type": "object"
      },
      "AccessibilityOptions": {
        "additionalProperties": false,
        "properties": {
          "cutoffsMinutes": {
            "items": {
              "type": "number"
            },
            "type": "array"
          },
          "decayFunction": {
            "$ref": "#/components/schemas/DecayFunction"
          },
          "dualThresholds": {
            "items": {
              "type": "number"
            },
            "type": "array"
          },
          "layers": {
            "items": {
              "$ref": "#/components/schemas/OpportunityLayer"
            },
            "type": "array"
          }
        },
        "required": [
          "layers",
          "cutoffsMinutes"
        ],
        "type": "object"
      },
      "AccessibilityResult": {
        "properties": {
          "cutoffsMinutes": {
            "items": {
              "type": "number"
            },
            "type": "array"
          },
          "decayFunction": {
            "$ref": "#/components/schemas/DecayFunction"
          },
          "dualThresholds": {
            "items": {
              "type": "number"
            },
            "type": "array"
          },
          "layers": {
            "items": {
              "$ref": "#/components/schemas/AccessibilityLayerResult"
            },
            "type": "array"
          },
          "method": {
            "type": "string"
          }
        },
        "required": [
          "cutoffsMinutes",
          "dualThresholds",
          "decayFunction",
          "layers",
          "method"
        ],
        "type": "object"
      },
      "ActivePeriod": {
        "description": "POSIX seconds; a missing bound is open.",
        "properties": {
          "end": {
            "format": "int64",
            "type": "integer"
          },
          "start": {
            "format": "int64",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "AlertReport": {
        "properties": {
          "closedAlightings": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "closedBoardings": {
            "description": "Ride segments that lost boarding or alighting.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "fresh": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "noService": {
            "description": "Fresh `NO_SERVICE` alerts.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "received": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "stale": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "status": {
            "description": "`timezone_required` when the City clock is ambiguous.",
            "type": "string"
          },
          "unsupportedEntities": {
            "description": "Entities that select nothing VIGO can resolve, such as an agency alone.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "received"
        ],
        "type": "object"
      },
      "AlertTrip": {
        "properties": {
          "directionId": true,
          "routeId": {
            "type": "string"
          },
          "startDate": {
            "type": "string"
          },
          "startTime": {
            "type": "string"
          },
          "tripId": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "AllDayQuery": {
        "properties": {
          "endMinutes": {
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          },
          "startMinutes": {
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          },
          "stepMinutes": {
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "startMinutes",
          "endMinutes",
          "stepMinutes"
        ],
        "type": "object"
      },
      "AllDaySummary": {
        "properties": {
          "aggregation": {
            "type": "string"
          },
          "endExclusive": {
            "type": "boolean"
          },
          "meanCondition": {
            "type": "string"
          },
          "sampleCount": {
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          },
          "stepMinutes": {
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          },
          "walkingPreparation": {
            "type": "string"
          }
        },
        "required": [
          "sampleCount",
          "stepMinutes",
          "endExclusive",
          "aggregation",
          "meanCondition",
          "walkingPreparation"
        ],
        "type": "object"
      },
      "AllDayWindow": {
        "additionalProperties": false,
        "properties": {
          "endMinutes": {
            "format": "uint32",
            "maximum": 1440,
            "minimum": 1,
            "type": "integer"
          },
          "startMinutes": {
            "format": "uint32",
            "maximum": 1439,
            "minimum": 0,
            "type": "integer"
          }
        },
        "type": "object"
      },
      "AlternativeRanking": {
        "oneOf": [
          {
            "const": "pareto",
            "description": "Nondominated arrival, boarding and walking trade-offs.",
            "type": "string"
          },
          {
            "const": "ranked",
            "description": "The earliest distinct vehicle sequences, dominated ones included.",
            "type": "string"
          }
        ]
      },
      "AlternativeSearch": {
        "description": "How alternatives were found: requested alternatives, or a journey window.",
        "properties": {
          "arrivalSlackMinutes": {
            "type": "number"
          },
          "coverage": {
            "description": "`requested_time` for requested alternatives, `sampled` for a window.",
            "type": "string"
          },
          "direction": {
            "description": "Window sampling direction.",
            "type": "string"
          },
          "maximumJourneys": {
            "description": "Includes the primary journey.",
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          },
          "minutes": {
            "type": "number"
          },
          "ranking": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "reusedSamples": {
            "description": "Window samples answered by a previously certified search.",
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          },
          "searches": {
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          },
          "status": {
            "description": "`complete` or `unavailable`.",
            "type": "string"
          },
          "stepMinutes": {
            "type": "number"
          }
        },
        "required": [
          "coverage",
          "maximumJourneys",
          "arrivalSlackMinutes"
        ],
        "type": "object"
      },
      "BikeOptions": {
        "additionalProperties": false,
        "description": "Bicycle route preferences; costs affect selection, never the reported ETA.",
        "properties": {
          "maxLts": {
            "description": "Maximum estimated traffic stress for cycling; higher levels require legal pushing.",
            "format": "uint8",
            "maximum": 4,
            "minimum": 1,
            "type": "integer"
          },
          "profile": {
            "$ref": "#/components/schemas/BikeProfile"
          },
          "speedKph": {
            "maximum": 40,
            "minimum": 5,
            "type": "number"
          }
        },
        "type": "object"
      },
      "BikeProfile": {
        "enum": [
          "balanced",
          "fast",
          "quiet"
        ],
        "type": "string"
      },
      "Bounds": {
        "description": "`[west, south, east, north]` in WGS84 degrees.",
        "items": false,
        "maxItems": 4,
        "minItems": 4,
        "prefixItems": [
          {
            "type": "number"
          },
          {
            "type": "number"
          },
          {
            "type": "number"
          },
          {
            "type": "number"
          }
        ],
        "type": "array"
      },
      "BuildCapabilities": {
        "description": "City compilation from GTFS ZIPs and an OpenStreetMap PBF.",
        "properties": {
          "multipleFeeds": {
            "description": "Several scoped GTFS feeds in one City.",
            "type": "boolean"
          },
          "prepareDates": {
            "description": "`--prepare-date` compiles service dates ahead of queries.",
            "type": "boolean"
          },
          "privateAccess": {
            "description": "Accepted `--private-access` values.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "sharedStreets": {
            "description": "`--streets-from` reuses another City's identical streets.",
            "type": "boolean"
          },
          "streetModes": {
            "description": "Accepted `--street-modes` values.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "wheelchairStreets": {
            "description": "Accepted `--wheelchair-streets` evidence for a wheelchair City.",
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "streetModes",
          "privateAccess",
          "wheelchairStreets",
          "multipleFeeds",
          "prepareDates",
          "sharedStreets"
        ],
        "type": "object"
      },
      "Capabilities": {
        "description": "Check these before relying on an optional feature.",
        "properties": {
          "build": {
            "$ref": "#/components/schemas/BuildCapabilities",
            "description": "`vigo build` options. Absent on runtimes that only open prepared Cities."
          },
          "cityFormat": {
            "type": "string"
          },
          "commands": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "compare": {
            "$ref": "#/components/schemas/CompareCapabilities"
          },
          "compatibility": {
            "$ref": "#/components/schemas/CompatibilityCapabilities"
          },
          "dataPreparation": {
            "type": "string"
          },
          "flex": {
            "$ref": "#/components/schemas/FlexCapabilities"
          },
          "http": {
            "$ref": "#/components/schemas/HttpCapabilities"
          },
          "matrix": {
            "$ref": "#/components/schemas/MatrixCapabilities"
          },
          "modes": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "monteCarlo": {
            "$ref": "#/components/schemas/MonteCarloCapabilities"
          },
          "nativeOperations": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "output": {
            "$ref": "#/components/schemas/OutputCapabilities"
          },
          "reach": {
            "$ref": "#/components/schemas/ReachCapabilities"
          },
          "requestSchema": {
            "type": "string"
          },
          "route": {
            "$ref": "#/components/schemas/RouteCapabilities"
          },
          "routingStoreFormat": {
            "type": "string"
          },
          "runtime": {
            "description": "`rust`.",
            "type": "string"
          },
          "scenarioCollections": {
            "$ref": "#/components/schemas/CollectionCapabilities"
          },
          "schemaVersion": {
            "description": "`vigo.standalone.capabilities.v1`.",
            "type": "string"
          },
          "standalone": {
            "type": "boolean"
          },
          "timePreferences": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "version": {
            "description": "Executable version.",
            "type": "string"
          },
          "wheelchair": {
            "$ref": "#/components/schemas/WheelchairCapabilities"
          }
        },
        "required": [
          "schemaVersion",
          "version",
          "runtime",
          "standalone",
          "commands",
          "modes",
          "timePreferences",
          "cityFormat",
          "routingStoreFormat",
          "requestSchema",
          "dataPreparation",
          "output",
          "route",
          "matrix",
          "reach",
          "compare",
          "wheelchair",
          "scenarioCollections",
          "http",
          "nativeOperations",
          "compatibility"
        ],
        "type": "object"
      },
      "CityCounts": {
        "properties": {
          "connections": {
            "format": "uint64",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "routes": {
            "format": "uint64",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "stops": {
            "format": "uint64",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "streetEdges": {
            "format": "uint64",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "streetNodes": {
            "format": "uint64",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "trips": {
            "format": "uint64",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "routes",
          "stops",
          "trips",
          "connections",
          "streetNodes",
          "streetEdges"
        ],
        "type": "object"
      },
      "CityRevisions": {
        "properties": {
          "after": {
            "type": [
              "string",
              "null"
            ]
          },
          "before": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "before",
          "after"
        ],
        "type": "object"
      },
      "CitySources": {
        "properties": {
          "gtfs": {
            "items": {
              "$ref": "#/components/schemas/GtfsSource"
            },
            "type": "array"
          },
          "osm": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/OsmSource"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "gtfs",
          "osm"
        ],
        "type": "object"
      },
      "Clock": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "number"
          }
        ],
        "description": "A service-day clock: `HH:MM` or `HH:MM:SS` (hours may exceed 23), or minutes\nafter the start of the service day."
      },
      "CollectionCapabilities": {
        "properties": {
          "boundedResidency": {
            "type": "boolean"
          },
          "format": {
            "type": "string"
          },
          "selector": {
            "type": "string"
          },
          "sharedStreets": {
            "type": "boolean"
          }
        },
        "required": [
          "format",
          "selector",
          "sharedStreets",
          "boundedResidency"
        ],
        "type": "object"
      },
      "CollectionInfoResult": {
        "description": "A loaded scenario collection.",
        "properties": {
          "allocator": {
            "description": "Allocator statistics when available. Diagnostic."
          },
          "defaultScenario": {
            "type": "string"
          },
          "engineVersion": {
            "type": "string"
          },
          "id": {},
          "memory": {
            "description": "Diagnostic; its fields may change."
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "residency": {
            "description": "Resident scenarios and shared timetable accounting. Diagnostic."
          },
          "resourcePolicy": {
            "$ref": "#/components/schemas/ResourcePolicy"
          },
          "scenarios": {
            "items": {
              "$ref": "#/components/schemas/CollectionScenario"
            },
            "type": "array"
          },
          "schema": {
            "const": "vigo.scenarios.info.v1",
            "type": "string"
          },
          "sequence": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "status": {
            "$ref": "#/components/schemas/OkStatus"
          }
        },
        "required": [
          "schema",
          "status",
          "name",
          "defaultScenario",
          "scenarios",
          "engineVersion",
          "memory",
          "residency",
          "allocator"
        ],
        "type": "object"
      },
      "CollectionScenario": {
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "name"
        ],
        "type": "object"
      },
      "CompareCapabilities": {
        "properties": {
          "kinds": {
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "kinds"
        ],
        "type": "object"
      },
      "CompareCounts": {
        "properties": {
          "comparable": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "faster": {
            "description": "Omitted when comparing internal trace results.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "newlyReachable": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "noLongerReachable": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "slower": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "unchanged": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "comparable",
          "newlyReachable",
          "noLongerReachable"
        ],
        "type": "object"
      },
      "CompareRequest": {
        "description": "`POST /v1/compare`: two saved Results of the same query family.",
        "properties": {
          "after": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/RouteResult"
              },
              {
                "$ref": "#/components/schemas/MatrixResult"
              },
              {
                "$ref": "#/components/schemas/ReachResult"
              },
              {
                "description": "An internal result from `diagnostics: \"trace\"`. Unstable.",
                "type": "object"
              }
            ],
            "description": "A Result of the same family as `before`."
          },
          "before": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/RouteResult"
              },
              {
                "$ref": "#/components/schemas/MatrixResult"
              },
              {
                "$ref": "#/components/schemas/ReachResult"
              },
              {
                "description": "An internal result from `diagnostics: \"trace\"`. Unstable.",
                "type": "object"
              }
            ],
            "description": "A saved `vigo.route.v1`, `vigo.matrix.v1` or `vigo.reach.v1` Result.\nInternal trace results are also accepted, without stability guarantees."
          },
          "diagnostics": {
            "$ref": "#/components/schemas/DiagnosticsLevel",
            "description": "`trace` adds the internal comparison."
          },
          "id": {}
        },
        "required": [
          "before",
          "after"
        ],
        "type": "object"
      },
      "CompareResult": {
        "description": "Changes between two saved Results, after minus before, in seconds.",
        "properties": {
          "afterStatus": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QueryStatus"
              },
              {
                "type": "null"
              }
            ]
          },
          "beforeStatus": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QueryStatus"
              },
              {
                "type": "null"
              }
            ]
          },
          "cityRevisions": {
            "$ref": "#/components/schemas/CityRevisions"
          },
          "counts": {
            "$ref": "#/components/schemas/CompareCounts",
            "description": "Matrix and Reach: cell and pair counts."
          },
          "durationChangeSeconds": {
            "description": "Route: change in journey duration.",
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "id": {},
          "meanChangeSeconds": {
            "description": "Matrix and Reach: mean over mutually reachable entries; `null` when none.",
            "type": [
              "number",
              "null"
            ]
          },
          "schema": {
            "const": "vigo.compare.v1",
            "type": "string"
          },
          "sequence": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "status": {
            "$ref": "#/components/schemas/OkStatus"
          },
          "trace": true,
          "transferChange": {
            "description": "Route: change in transfers.",
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "schema",
          "status"
        ],
        "type": "object"
      },
      "CompatibilityCapabilities": {
        "properties": {
          "automaticEditorBranchRetiming": {
            "type": "boolean"
          },
          "studioResultEnvelope": {
            "type": "boolean"
          }
        },
        "required": [
          "automaticEditorBranchRetiming",
          "studioResultEnvelope"
        ],
        "type": "object"
      },
      "Coordinate": {
        "description": "`[longitude, latitude]` in WGS84 degrees.",
        "items": false,
        "maxItems": 2,
        "minItems": 2,
        "prefixItems": [
          {
            "maximum": 180,
            "minimum": -180,
            "type": "number"
          },
          {
            "maximum": 90,
            "minimum": -90,
            "type": "number"
          }
        ],
        "type": "array"
      },
      "CutoffFeature": {
        "properties": {
          "geometry": {
            "$ref": "#/components/schemas/CutoffGeometry"
          },
          "properties": {
            "$ref": "#/components/schemas/CutoffProperties"
          },
          "type": {
            "const": "Feature",
            "type": "string"
          }
        },
        "required": [
          "type",
          "properties",
          "geometry"
        ],
        "type": "object"
      },
      "CutoffFeatures": {
        "description": "A GeoJSON `FeatureCollection` of cutoff areas or contours.",
        "properties": {
          "features": {
            "items": {
              "$ref": "#/components/schemas/CutoffFeature"
            },
            "type": "array"
          },
          "type": {
            "const": "FeatureCollection",
            "type": "string"
          }
        },
        "required": [
          "type",
          "features"
        ],
        "type": "object"
      },
      "CutoffGeometry": {
        "oneOf": [
          {
            "properties": {
              "coordinates": {
                "items": {
                  "items": {
                    "items": {
                      "$ref": "#/components/schemas/Coordinate"
                    },
                    "type": "array"
                  },
                  "type": "array"
                },
                "type": "array"
              },
              "type": {
                "const": "MultiPolygon",
                "type": "string"
              }
            },
            "required": [
              "type",
              "coordinates"
            ],
            "type": "object"
          },
          {
            "properties": {
              "coordinates": {
                "items": {
                  "items": {
                    "$ref": "#/components/schemas/Coordinate"
                  },
                  "type": "array"
                },
                "type": "array"
              },
              "type": {
                "const": "MultiLineString",
                "type": "string"
              }
            },
            "required": [
              "type",
              "coordinates"
            ],
            "type": "object"
          }
        ]
      },
      "CutoffProperties": {
        "properties": {
          "cutoffMinutes": {
            "type": "number"
          }
        },
        "required": [
          "cutoffMinutes"
        ],
        "type": "object"
      },
      "DataMode": {
        "enum": [
          "scheduled",
          "realtime"
        ],
        "type": "string"
      },
      "DatasetLimitation": {
        "description": "A dataset or model limitation of the City.",
        "properties": {
          "code": {
            "type": "string"
          },
          "count": {
            "description": "Affected source records.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "detail": {
            "type": "string"
          },
          "exactness": {
            "description": "Such as `unsupported` or `unknown`.",
            "type": "string"
          }
        },
        "required": [
          "code"
        ],
        "type": "object"
      },
      "DecayFunction": {
        "oneOf": [
          {
            "additionalProperties": false,
            "properties": {
              "type": {
                "const": "step",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "standardDeviationMinutes": {
                "type": "number"
              },
              "type": {
                "const": "logistic",
                "type": "string"
              }
            },
            "required": [
              "type",
              "standardDeviationMinutes"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "type": {
                "const": "linear",
                "type": "string"
              },
              "widthMinutes": {
                "type": "number"
              }
            },
            "required": [
              "type",
              "widthMinutes"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "type": {
                "const": "exponential",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "decayConstant": {
                "type": "number"
              },
              "type": {
                "const": "fixed-exponential",
                "type": "string"
              }
            },
            "required": [
              "type",
              "decayConstant"
            ],
            "type": "object"
          }
        ]
      },
      "DiagnosticsLevel": {
        "enum": [
          "none",
          "summary",
          "profile",
          "trace"
        ],
        "type": "string"
      },
      "DistributionLayout": {
        "anyOf": [
          {
            "properties": {
              "bounds": {
                "$ref": "#/components/schemas/Bounds"
              },
              "height": {
                "format": "uint32",
                "minimum": 0,
                "type": "integer"
              },
              "sampling": {
                "type": "string"
              },
              "width": {
                "format": "uint32",
                "minimum": 0,
                "type": "integer"
              }
            },
            "required": [
              "width",
              "height",
              "bounds",
              "sampling"
            ],
            "type": "object"
          },
          {
            "properties": {
              "columns": {
                "format": "uint32",
                "minimum": 0,
                "type": "integer"
              },
              "destinations": {
                "items": {
                  "$ref": "#/components/schemas/Point"
                },
                "type": "array"
              },
              "order": {
                "type": "string"
              },
              "origins": {
                "items": {
                  "$ref": "#/components/schemas/Point"
                },
                "type": "array"
              },
              "rows": {
                "format": "uint32",
                "minimum": 0,
                "type": "integer"
              }
            },
            "required": [
              "origins",
              "destinations",
              "rows",
              "columns",
              "order"
            ],
            "type": "object"
          }
        ]
      },
      "DistributionResult": {
        "description": "Travel-time percentiles over a departure window and sampled schedules.",
        "properties": {
          "accessibility": {
            "$ref": "#/components/schemas/AccessibilityResult"
          },
          "assumptions": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "durationsSeconds": {
            "description": "One flattened destination array per percentile. Null means infinity;\nfinite zero is a valid travel time. Matrix arrays use row-major order.",
            "items": {
              "items": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "type": "array"
            },
            "type": "array"
          },
          "id": {
            "description": "The caller's `id`."
          },
          "kind": {
            "type": "string"
          },
          "layout": {
            "$ref": "#/components/schemas/DistributionLayout"
          },
          "meta": {
            "$ref": "#/components/schemas/Meta"
          },
          "percentiles": {
            "items": {
              "format": "uint8",
              "maximum": 255,
              "minimum": 0,
              "type": "integer"
            },
            "type": "array"
          },
          "query": {
            "description": "Complete request selectors, retained for reproducibility."
          },
          "reachableSamples": {
            "items": {
              "format": "uint32",
              "minimum": 0,
              "type": "integer"
            },
            "type": "array"
          },
          "sampling": {
            "$ref": "#/components/schemas/DistributionSampling"
          },
          "schema": {
            "const": "vigo.distribution.v1",
            "type": "string"
          },
          "sequence": {
            "description": "Line number on a resident stream.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "status": {
            "$ref": "#/components/schemas/OkStatus"
          },
          "timing": true,
          "warnings": true
        },
        "required": [
          "schema",
          "status",
          "kind",
          "query",
          "meta",
          "sampling",
          "layout",
          "percentiles",
          "durationsSeconds",
          "reachableSamples",
          "warnings",
          "assumptions",
          "timing"
        ],
        "type": "object"
      },
      "DistributionSampling": {
        "properties": {
          "departureMinutes": {
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          },
          "method": {
            "type": "string"
          },
          "observationBytes": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "quantileMethod": {
            "type": "string"
          },
          "requestedDraws": {
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          },
          "sampleCount": {
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          },
          "samplesPerMinute": {
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          },
          "seed": {
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          },
          "stepMinutes": {
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          },
          "stochastic": {
            "type": "boolean"
          },
          "unreachable": {
            "type": "string"
          }
        },
        "required": [
          "method",
          "seed",
          "stochastic",
          "requestedDraws",
          "sampleCount",
          "departureMinutes",
          "samplesPerMinute",
          "stepMinutes",
          "quantileMethod",
          "unreachable",
          "observationBytes"
        ],
        "type": "object"
      },
      "Endpoint": {
        "description": "A place on a journey. A free coordinate has no `stop` or `name`.",
        "properties": {
          "coordinate": {
            "$ref": "#/components/schemas/Coordinate"
          },
          "name": {
            "type": "string"
          },
          "stop": {
            "$ref": "#/components/schemas/Identifier"
          }
        },
        "type": "object"
      },
      "EndpointConnector": {
        "description": "The straight hop between a free coordinate and its street attachment.",
        "properties": {
          "coordinates": {
            "items": {
              "$ref": "#/components/schemas/Coordinate"
            },
            "maxItems": 2,
            "minItems": 2,
            "type": "array"
          },
          "distanceKm": {
            "type": "number"
          },
          "source": {
            "description": "`coordinate-snap`.",
            "type": "string"
          },
          "streetPathVerified": {
            "type": "boolean"
          }
        },
        "required": [
          "source",
          "streetPathVerified",
          "distanceKm"
        ],
        "type": "object"
      },
      "Enumerated": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "format": "int64",
            "type": "integer"
          }
        ],
        "description": "A GTFS-Realtime enumeration, by name or by numeric code."
      },
      "ErrorDetail": {
        "description": "Handle `code` and the HTTP status, not message text.",
        "properties": {
          "code": {
            "description": "Such as `invalid_request`, `stop_not_found`, `scenario_not_found`,\n`unsupported_mode`, `file_not_found`, `permission_denied` or\n`city_unavailable`.",
            "type": "string"
          },
          "message": {
            "type": "string"
          }
        },
        "required": [
          "code",
          "message"
        ],
        "type": "object"
      },
      "ErrorResult": {
        "properties": {
          "error": {
            "$ref": "#/components/schemas/ErrorDetail"
          },
          "id": {},
          "schema": {
            "const": "vigo.error.v1",
            "type": "string"
          },
          "sequence": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "status": {
            "$ref": "#/components/schemas/ErrorStatus"
          }
        },
        "required": [
          "schema",
          "status",
          "error"
        ],
        "type": "object"
      },
      "ErrorStatus": {
        "enum": [
          "error"
        ],
        "type": "string"
      },
      "Fare": {
        "description": "The published fare for a ride, or why there is none.",
        "discriminator": {
          "mapping": {
            "published": "#/components/schemas/PublishedFare",
            "unavailable": "#/components/schemas/UnavailableFare"
          },
          "propertyName": "status"
        },
        "oneOf": [
          {
            "$ref": "#/components/schemas/PublishedFare"
          },
          {
            "$ref": "#/components/schemas/UnavailableFare"
          }
        ]
      },
      "FareOption": {
        "properties": {
          "amount": {
            "type": [
              "number",
              "null"
            ]
          },
          "currency": {
            "type": "string"
          },
          "media": {
            "description": "Fare media name; empty when unspecified.",
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "productId": {
            "type": "string"
          },
          "riderCategory": {
            "description": "Fares v2 only; empty when unspecified.",
            "type": "string"
          }
        },
        "required": [
          "productId",
          "name",
          "amount",
          "media"
        ],
        "type": "object"
      },
      "FlexCapabilities": {
        "description": "Conditional GTFS service supported by this executable. Absent on older runtimes.",
        "properties": {
          "commands": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "conditionalBooking": {
            "type": "boolean"
          },
          "confirmsAvailability": {
            "type": "boolean"
          },
          "continuousStopping": {
            "type": "boolean"
          },
          "directOnly": {
            "type": "boolean"
          },
          "maximumMatrixCells": {
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          },
          "optIn": {
            "type": "boolean"
          },
          "transitTransfers": {
            "type": "boolean"
          },
          "wheelchair": {
            "type": "boolean"
          }
        },
        "required": [
          "commands",
          "optIn",
          "directOnly",
          "conditionalBooking",
          "confirmsAvailability",
          "maximumMatrixCells"
        ],
        "type": "object"
      },
      "FlexOptions": {
        "additionalProperties": false,
        "description": "Include conditional GTFS Flex journeys. Booking is never performed by VIGO.",
        "properties": {
          "bookingConfirmed": {
            "type": "boolean"
          },
          "durationFactor": {
            "description": "Fallback multiplier when the feed omits safe_duration_factor. Default 1.5.",
            "maximum": 10,
            "minimum": 1,
            "type": "number"
          },
          "durationOffsetSeconds": {
            "description": "Fallback addition when safe_duration_offset is absent. Default 300 seconds.",
            "maximum": 7200,
            "minimum": 0,
            "type": "number"
          }
        },
        "type": "object"
      },
      "FrequencyPhasing": {
        "additionalProperties": false,
        "properties": {
          "atStopIndex": {
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          },
          "fromStopIndex": {
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          },
          "offsetMinutes": {
            "type": "number"
          },
          "serviceId": {
            "type": "string"
          }
        },
        "required": [
          "serviceId",
          "atStopIndex",
          "fromStopIndex"
        ],
        "type": "object"
      },
      "GtfsSource": {
        "properties": {
          "feed": {
            "description": "The feed's scope.",
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "name",
          "feed"
        ],
        "type": "object"
      },
      "HttpCapabilities": {
        "properties": {
          "boundedConnections": {
            "type": "boolean"
          },
          "boundedQueue": {
            "type": "boolean"
          },
          "maxRequestBytes": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "maxWorkerResponseBytes": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "workerTerminationOnDeadline": {
            "type": "boolean"
          }
        },
        "required": [
          "maxRequestBytes",
          "maxWorkerResponseBytes",
          "boundedConnections",
          "boundedQueue",
          "workerTerminationOnDeadline"
        ],
        "type": "object"
      },
      "Identifier": {
        "description": "A feed-scoped GTFS identifier, such as a stop, route, trip or service.\n`feed` is `null` in a City built from a single unscoped feed.",
        "properties": {
          "feed": {
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "type": "string"
          }
        },
        "required": [
          "feed",
          "id"
        ],
        "type": "object"
      },
      "InSeatContinuation": {
        "description": "An explicit GTFS continuation from the preceding transit leg.",
        "properties": {
          "durationSeconds": {
            "format": "double",
            "type": "number"
          },
          "type": {
            "$ref": "#/components/schemas/InSeatContinuationType"
          }
        },
        "required": [
          "type",
          "durationSeconds"
        ],
        "type": "object"
      },
      "InSeatContinuationType": {
        "enum": [
          "stay_aboard"
        ],
        "type": "string"
      },
      "InfoResult": {
        "description": "A loaded City: identity, sources, size and limits.",
        "properties": {
          "counts": {
            "$ref": "#/components/schemas/CityCounts"
          },
          "datasetLimitations": {
            "items": {
              "$ref": "#/components/schemas/DatasetLimitation"
            },
            "type": "array"
          },
          "engineVersion": {
            "type": "string"
          },
          "id": {},
          "memory": {
            "description": "Process memory accounting. Diagnostic; its fields may change."
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "resourcePolicy": {
            "$ref": "#/components/schemas/ResourcePolicy"
          },
          "revision": {
            "type": [
              "string",
              "null"
            ]
          },
          "schema": {
            "const": "vigo.info.v1",
            "type": "string"
          },
          "sequence": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "sources": {
            "$ref": "#/components/schemas/CitySources"
          },
          "status": {
            "$ref": "#/components/schemas/OkStatus"
          }
        },
        "required": [
          "schema",
          "status",
          "name",
          "revision",
          "engineVersion",
          "counts",
          "sources",
          "datasetLimitations",
          "memory"
        ],
        "type": "object"
      },
      "InformedEntity": {
        "description": "An alert's GTFS-Realtime EntitySelector. A stop that is a station also\nselects its platforms. Agency-only entities are not applied.",
        "properties": {
          "agencyId": {
            "type": "string"
          },
          "directionId": true,
          "routeId": {
            "type": "string"
          },
          "routeType": {
            "format": "int64",
            "type": "integer"
          },
          "stopId": {
            "type": "string"
          },
          "trip": {
            "$ref": "#/components/schemas/AlertTrip"
          }
        },
        "type": "object"
      },
      "IntermediateStop": {
        "properties": {
          "arrivalTime": {
            "type": [
              "string",
              "null"
            ]
          },
          "coordinate": {
            "$ref": "#/components/schemas/Coordinate"
          },
          "departureTime": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": "string"
          },
          "stop": {
            "$ref": "#/components/schemas/Identifier"
          }
        },
        "required": [
          "arrivalTime",
          "departureTime"
        ],
        "type": "object"
      },
      "Journey": {
        "description": "One way to make the trip. Clocks are service-day `HH:MM:SS` (hours may\nexceed 23); durations are integer seconds.",
        "properties": {
          "arrivalTime": {
            "type": "string"
          },
          "boardings": {
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          },
          "clockDate": {
            "description": "Date anchoring every clock in this journey. Route only; `null` for a\nwalking or driving journey without a service date.",
            "type": [
              "string",
              "null"
            ]
          },
          "cyclingSeconds": {
            "format": "int64",
            "type": "integer"
          },
          "departureTime": {
            "type": "string"
          },
          "drivingSeconds": {
            "format": "int64",
            "type": "integer"
          },
          "durationSeconds": {
            "format": "int64",
            "type": "integer"
          },
          "expandedWalkingLimitKm": {
            "type": "number"
          },
          "legs": {
            "items": {
              "$ref": "#/components/schemas/Leg"
            },
            "type": "array"
          },
          "ridingSeconds": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "transfers": {
            "format": "uint32",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "waitingSeconds": {
            "description": "Gaps before and between legs. Not a reliability margin.",
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "walkingSeconds": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "departureTime",
          "arrivalTime",
          "durationSeconds",
          "walkingSeconds",
          "waitingSeconds",
          "ridingSeconds",
          "boardings",
          "transfers",
          "legs"
        ],
        "type": "object"
      },
      "JourneyFormat": {
        "oneOf": [
          {
            "enum": [
              "full"
            ],
            "type": "string"
          },
          {
            "const": "compact",
            "description": "The exact timed trip, stop and boarding witness, without display\nmetadata or walking evidence.",
            "type": "string"
          }
        ]
      },
      "JourneyPolicy": {
        "enum": [
          "alternatives-v1"
        ],
        "type": "string"
      },
      "Leg": {
        "discriminator": {
          "mapping": {
            "bike": "#/components/schemas/StreetLeg",
            "drive": "#/components/schemas/StreetLeg",
            "transit": "#/components/schemas/TransitLeg",
            "walk": "#/components/schemas/StreetLeg"
          },
          "propertyName": "type"
        },
        "oneOf": [
          {
            "$ref": "#/components/schemas/StreetLeg"
          },
          {
            "$ref": "#/components/schemas/TransitLeg"
          }
        ]
      },
      "LegAlert": {
        "properties": {
          "cause": true,
          "description": {
            "type": "string"
          },
          "effect": {
            "type": "string"
          },
          "header": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "severity": true,
          "url": {
            "type": "string"
          }
        },
        "required": [
          "effect"
        ],
        "type": "object"
      },
      "LineString": {
        "description": "A GeoJSON `LineString`.",
        "properties": {
          "coordinates": {
            "items": {
              "$ref": "#/components/schemas/Coordinate"
            },
            "type": "array"
          },
          "type": {
            "const": "LineString",
            "type": "string"
          }
        },
        "required": [
          "type",
          "coordinates"
        ],
        "type": "object"
      },
      "LiveSnapshotReport": {
        "description": "The live publication a query used: `vigo serve --realtime-poll`.",
        "properties": {
          "feeds": {
            "description": "Each configured source's kind, scope, feed timestamp and failure."
          },
          "generation": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "id": {
            "description": "Content identifier; equal snapshots have equal identifiers.",
            "type": "string"
          },
          "source": {
            "description": "`server`.",
            "type": "string"
          }
        },
        "required": [
          "source",
          "id",
          "generation"
        ],
        "type": "object"
      },
      "MatrixAccess": {
        "description": "Matrix access reports, keyed by endpoint index.",
        "properties": {
          "destinations": {
            "additionalProperties": {
              "$ref": "#/components/schemas/AccessReport"
            },
            "type": "object"
          },
          "origins": {
            "additionalProperties": {
              "$ref": "#/components/schemas/AccessReport"
            },
            "type": "object"
          }
        },
        "required": [
          "origins",
          "destinations"
        ],
        "type": "object"
      },
      "MatrixCapabilities": {
        "properties": {
          "journeyGeometry": {
            "type": "boolean"
          },
          "journeys": {
            "type": "boolean"
          },
          "realtimeTransit": {
            "type": "boolean"
          },
          "traffic": {
            "type": "boolean"
          }
        },
        "required": [
          "journeys",
          "journeyGeometry",
          "traffic",
          "realtimeTransit"
        ],
        "type": "object"
      },
      "MatrixQuery": {
        "properties": {
          "arrivalReserveSeconds": {
            "format": "int64",
            "type": "integer"
          },
          "dataMode": {
            "$ref": "#/components/schemas/DataMode"
          },
          "destinations": {
            "items": {
              "$ref": "#/components/schemas/QueryPlace"
            },
            "type": "array"
          },
          "origins": {
            "items": {
              "$ref": "#/components/schemas/QueryPlace"
            },
            "type": "array"
          },
          "planningArrivalTime": {
            "type": "string"
          },
          "requestedTime": {
            "type": [
              "string",
              "null"
            ]
          },
          "serviceDate": {
            "type": [
              "string",
              "null"
            ]
          },
          "timePreference": {
            "$ref": "#/components/schemas/TimePreference"
          }
        },
        "required": [
          "serviceDate",
          "timePreference",
          "requestedTime",
          "dataMode",
          "origins",
          "destinations"
        ],
        "type": "object"
      },
      "MatrixRequest": {
        "additionalProperties": false,
        "description": "`POST /v1/matrix`: travel times between every origin and destination.",
        "properties": {
          "allowLongWalk": {
            "default": true,
            "type": "boolean"
          },
          "allowStreetTransfers": {
            "default": true,
            "description": "Default `true`.",
            "type": "boolean"
          },
          "arrivalBufferMinutes": {
            "default": 0,
            "format": "uint32",
            "maximum": 60,
            "minimum": 0,
            "type": "integer"
          },
          "bike": {
            "$ref": "#/components/schemas/BikeOptions"
          },
          "dataMode": {
            "$ref": "#/components/schemas/DataMode",
            "description": "Alias of `routingDataMode`."
          },
          "destinations": {
            "items": {
              "$ref": "#/components/schemas/Point"
            },
            "maxItems": 65536,
            "minItems": 1,
            "type": "array"
          },
          "diagnostics": {
            "$ref": "#/components/schemas/DiagnosticsLevel",
            "default": "none",
            "description": "Added detail: `summary` counters, `profile` timings, or the\nunstable internal `trace`. Default `none`."
          },
          "disableCache": {
            "default": false,
            "type": "boolean"
          },
          "flex": {
            "$ref": "#/components/schemas/FlexOptions",
            "description": "Include conditional direct Flex journeys with explicit booking and timing assumptions."
          },
          "horizonMinutes": {
            "default": 480,
            "maximum": 2880,
            "minimum": 1,
            "type": "number"
          },
          "id": {
            "description": "Caller's identifier, echoed as `id` and `meta.requestId`."
          },
          "includeGeometry": {
            "default": false,
            "description": "Include GeoJSON on legs.",
            "type": "boolean"
          },
          "includeJourneys": {
            "default": false,
            "type": "boolean"
          },
          "includeLimitations": {
            "default": false,
            "description": "Add the City's dataset limitations to the Result. Default `false`.",
            "type": "boolean"
          },
          "journeyFormat": {
            "$ref": "#/components/schemas/JourneyFormat",
            "default": "full"
          },
          "kind": {
            "description": "Query kind on a resident stream.",
            "type": "string"
          },
          "maxStreetKm": {
            "default": 50,
            "maximum": 1000,
            "minimum": 0.05,
            "type": "number"
          },
          "maxTransfers": {
            "format": "uint32",
            "maximum": 31,
            "minimum": 0,
            "type": "integer"
          },
          "maxWalkKm": {
            "default": 1.2,
            "description": "Default 1.2.",
            "maximum": 100,
            "minimum": 0,
            "type": "number"
          },
          "minimumTransferBufferMinutes": {
            "default": 0,
            "description": "Default 0.",
            "format": "uint32",
            "maximum": 60,
            "minimum": 0,
            "type": "integer"
          },
          "mode": {
            "$ref": "#/components/schemas/Mode",
            "default": "transit"
          },
          "monteCarlo": {
            "$ref": "#/components/schemas/MonteCarloOptions",
            "description": "Seeded departure-window and frequency-schedule distribution."
          },
          "origins": {
            "items": {
              "$ref": "#/components/schemas/Point"
            },
            "maxItems": 65536,
            "minItems": 1,
            "type": "array"
          },
          "realtimeSnapshot": {
            "$ref": "#/components/schemas/RealtimeSnapshot",
            "description": "Transit Matrix searches the same realtime view as Route."
          },
          "requireCompleteServiceCoverage": {
            "default": false,
            "type": "boolean"
          },
          "requireTransitRide": {
            "default": false,
            "type": "boolean"
          },
          "routingDataMode": {
            "$ref": "#/components/schemas/DataMode"
          },
          "scenario": {
            "$ref": "#/components/schemas/Scenario",
            "description": "Planned service for Monte Carlo analysis."
          },
          "scenarioId": {
            "description": "Member of the loaded scenario collection; omitted selects its default.",
            "type": "string"
          },
          "serviceDate": {
            "description": "`YYYY-MM-DD`. Required for transit.",
            "format": "date",
            "type": "string"
          },
          "serviceDay": {
            "$ref": "#/components/schemas/ServiceDay"
          },
          "time": {
            "$ref": "#/components/schemas/Clock"
          },
          "timeMinutes": {
            "maximum": 4319,
            "minimum": 0,
            "type": "number"
          },
          "timePreference": {
            "$ref": "#/components/schemas/TimePreferenceInput",
            "default": "depart_at"
          },
          "traffic": {
            "$ref": "#/components/schemas/Traffic"
          },
          "walkSpeedKph": {
            "description": "Default from the City. Walking Route and Matrix, and Reach.",
            "maximum": 8,
            "minimum": 1,
            "type": "number"
          },
          "wheelchair": {
            "description": "Require a City prepared with the wheelchair-strict-v1 profile.\nOmitted inherits the City's profile; `false` rejects a wheelchair City.",
            "type": "boolean"
          }
        },
        "required": [
          "origins",
          "destinations"
        ],
        "type": "object"
      },
      "MatrixResult": {
        "properties": {
          "access": {
            "$ref": "#/components/schemas/MatrixAccess"
          },
          "accessibility": {
            "$ref": "#/components/schemas/Accessibility"
          },
          "datasetLimitations": {
            "items": {
              "$ref": "#/components/schemas/DatasetLimitation"
            },
            "type": "array"
          },
          "diagnostics": {
            "$ref": "#/components/schemas/SearchSummary"
          },
          "distancesMeters": {
            "description": "Driving distances, `[origin][destination]`.",
            "items": {
              "items": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "type": "array"
            },
            "type": "array"
          },
          "durationsSeconds": {
            "description": "`[origin][destination]` seconds; `null` when unreachable, never zero.",
            "items": {
              "items": {
                "format": "uint64",
                "minimum": 0,
                "type": [
                  "integer",
                  "null"
                ]
              },
              "type": "array"
            },
            "type": "array"
          },
          "id": {},
          "journeys": {
            "description": "Same order as `durationsSeconds`, with `includeJourneys`.",
            "items": {
              "items": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/Journey"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "type": "array"
            },
            "type": "array"
          },
          "meta": {
            "$ref": "#/components/schemas/Meta"
          },
          "mode": {
            "$ref": "#/components/schemas/Mode"
          },
          "profile": {
            "$ref": "#/components/schemas/Profile"
          },
          "query": {
            "$ref": "#/components/schemas/MatrixQuery"
          },
          "scenarioId": {
            "type": "string"
          },
          "schema": {
            "const": "vigo.matrix.v1",
            "type": "string"
          },
          "sequence": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "status": {
            "$ref": "#/components/schemas/QueryStatus"
          },
          "trace": true
        },
        "required": [
          "schema",
          "status",
          "mode",
          "query",
          "meta",
          "durationsSeconds"
        ],
        "type": "object"
      },
      "Meta": {
        "description": "How this Result was computed and how to reproduce it.",
        "properties": {
          "assumptionsFingerprint": {
            "type": "string"
          },
          "cityRevision": {
            "type": [
              "string",
              "null"
            ]
          },
          "computeScope": {
            "description": "`query_dispatch_including_materialization`.",
            "type": "string"
          },
          "computeUs": {
            "description": "Service-date activation, search and materialization, in microseconds.",
            "format": "uint64",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "engineVersion": {
            "type": "string"
          },
          "queryFingerprint": {
            "description": "Hash of the request (stop references canonicalized, output switches\nexcluded) and the City revision.",
            "type": "string"
          },
          "realtime": {
            "$ref": "#/components/schemas/RealtimeReport"
          },
          "realtimeSnapshotFingerprint": {
            "type": "string"
          },
          "requestId": {
            "description": "The caller's `id` when given; otherwise generated."
          },
          "scenarioFingerprint": {
            "type": "string"
          },
          "traffic": {
            "description": "Admission and road matching evidence for supplied traffic."
          }
        },
        "required": [
          "engineVersion",
          "cityRevision",
          "requestId",
          "queryFingerprint",
          "computeUs",
          "computeScope"
        ],
        "type": "object"
      },
      "Mode": {
        "enum": [
          "transit",
          "walk",
          "drive",
          "bike"
        ],
        "type": "string"
      },
      "MonteCarloCapabilities": {
        "properties": {
          "accessibility": {
            "type": "boolean"
          },
          "commands": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "maximumDraws": {
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          },
          "maximumObservationBytes": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "method": {
            "type": "string"
          },
          "phasing": {
            "type": "boolean"
          },
          "plannedServices": {
            "type": "boolean"
          },
          "scheduledOnly": {
            "type": "boolean"
          }
        },
        "required": [
          "commands",
          "method",
          "scheduledOnly",
          "plannedServices",
          "phasing",
          "maximumDraws",
          "maximumObservationBytes",
          "accessibility"
        ],
        "type": "object"
      },
      "MonteCarloOptions": {
        "additionalProperties": false,
        "description": "End-exclusive civil-day departure window, evaluated at every minute.",
        "properties": {
          "accessibility": {
            "$ref": "#/components/schemas/AccessibilityOptions"
          },
          "draws": {
            "default": 200,
            "description": "Rounded up to equal samples per minute; exact-only service uses one.",
            "format": "uint32",
            "maximum": 10000,
            "minimum": 1,
            "type": "integer"
          },
          "endMinutes": {
            "format": "uint32",
            "maximum": 1440,
            "minimum": 1,
            "type": "integer"
          },
          "percentiles": {
            "description": "Nearest-rank percentiles, including unreachable samples as infinity.",
            "items": {
              "format": "uint8",
              "maximum": 255,
              "minimum": 0,
              "type": "integer"
            },
            "maxItems": 21,
            "minItems": 1,
            "type": "array"
          },
          "seed": {
            "default": 0,
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          },
          "startMinutes": {
            "format": "uint32",
            "maximum": 1439,
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "startMinutes",
          "endMinutes"
        ],
        "type": "object"
      },
      "NearestStop": {
        "description": "A stop near an endpoint whose street access was not verified.",
        "properties": {
          "distanceKind": {
            "description": "`straight_line`: proximity, not walking distance.",
            "type": "string"
          },
          "distanceKm": {
            "type": "number"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "distanceKm",
          "distanceKind"
        ],
        "type": "object"
      },
      "Notice": {
        "description": "A code for programs and a message for people.",
        "properties": {
          "code": {
            "type": "string"
          },
          "message": {
            "type": "string"
          }
        },
        "required": [
          "code",
          "message"
        ],
        "type": "object"
      },
      "ObservedTraffic": {
        "description": "Observed traffic. One of `observedAt`, `fetchedAt` or `timestamp` is\nrequired, and one of `observations`, `segments` or `edgeUpdates`.",
        "properties": {
          "edgeUpdates": {
            "items": {
              "$ref": "#/components/schemas/TrafficObservation"
            },
            "type": "array"
          },
          "expiresAt": {
            "$ref": "#/components/schemas/Timestamp"
          },
          "fetchedAt": {
            "$ref": "#/components/schemas/Timestamp"
          },
          "observations": {
            "items": {
              "$ref": "#/components/schemas/TrafficObservation"
            },
            "type": "array"
          },
          "observedAt": {
            "$ref": "#/components/schemas/Timestamp"
          },
          "segments": {
            "items": {
              "$ref": "#/components/schemas/TrafficObservation"
            },
            "type": "array"
          },
          "snapRadiusMeters": {
            "type": "number"
          },
          "snapshotId": {
            "type": "string"
          },
          "source": {
            "type": "string"
          },
          "streetSourceFingerprint": {
            "type": "string"
          },
          "timestamp": {
            "$ref": "#/components/schemas/Timestamp"
          },
          "ttlSeconds": {
            "description": "Default 300.",
            "type": "number"
          }
        },
        "type": "object"
      },
      "OkStatus": {
        "enum": [
          "ok"
        ],
        "type": "string"
      },
      "OpportunityLayer": {
        "additionalProperties": false,
        "properties": {
          "counts": {
            "description": "Nonnegative weights in destination order (row-major cells for Reach).",
            "items": {
              "type": "number"
            },
            "type": "array"
          },
          "id": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "counts"
        ],
        "type": "object"
      },
      "OsmSource": {
        "properties": {
          "name": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "name"
        ],
        "type": "object"
      },
      "OutputCapabilities": {
        "properties": {
          "clock": {
            "type": "string"
          },
          "diagnostics": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "durationUnit": {
            "type": "string"
          },
          "geometry": {
            "type": "string"
          },
          "schemas": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "streamFormats": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "trace": {
            "type": "string"
          }
        },
        "required": [
          "schemas",
          "streamFormats",
          "diagnostics",
          "clock",
          "durationUnit",
          "geometry",
          "trace"
        ],
        "type": "object"
      },
      "Place": {
        "additionalProperties": false,
        "properties": {
          "baselineStopId": {
            "type": "string"
          },
          "baselineStopIndex": {
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          },
          "coordinate": {
            "$ref": "#/components/schemas/Coordinate"
          },
          "editStatus": {
            "type": "string"
          },
          "id": {
            "description": "Caller's label for a Matrix endpoint, echoed in `query`."
          },
          "label": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "source": {
            "type": "string"
          },
          "stop": {
            "$ref": "#/components/schemas/StopInput"
          },
          "stopId": {
            "description": "Older form of `stop`: an ID, scoped as `feed` + U+001F + `id`.",
            "type": "string"
          }
        },
        "type": "object"
      },
      "PlannedFlexZone": {
        "additionalProperties": false,
        "properties": {
          "averageSpeedKph": {
            "format": "double",
            "type": "number"
          },
          "endMinutes": {
            "format": "double",
            "type": "number"
          },
          "geometry": true,
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "startMinutes": {
            "format": "double",
            "type": "number"
          },
          "waitMinutes": {
            "format": "double",
            "type": "number"
          }
        },
        "required": [
          "id",
          "name",
          "geometry",
          "startMinutes",
          "endMinutes",
          "averageSpeedKph",
          "waitMinutes"
        ],
        "type": "object"
      },
      "Point": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Coordinate"
          },
          {
            "$ref": "#/components/schemas/Place"
          }
        ],
        "description": "A place: a bare `[longitude, latitude]`, or an object naming a stop and/or\ncoordinate. A selected stop overrides the coordinate unless `source` is\n`map`."
      },
      "PreparedTraffic": {
        "properties": {
          "edgeIndices": {
            "items": {
              "format": "uint32",
              "minimum": 0,
              "type": "integer"
            },
            "type": "array"
          },
          "edgeTimeUnits": {
            "items": {
              "format": "uint32",
              "minimum": 0,
              "type": "integer"
            },
            "type": "array"
          },
          "expiresAt": {
            "$ref": "#/components/schemas/Timestamp"
          },
          "ingestion": {
            "description": "Provider import diagnostics, outside the stable routing contract."
          },
          "observedAt": {
            "$ref": "#/components/schemas/Timestamp",
            "description": "Required freshness for prepared traffic; edge costs never remain live indefinitely."
          },
          "snapshotKey": {
            "type": "string"
          },
          "source": {
            "type": "string"
          },
          "streetSourceFingerprint": {
            "type": "string"
          },
          "ttlSeconds": {
            "type": "number"
          }
        },
        "required": [
          "snapshotKey",
          "streetSourceFingerprint",
          "edgeIndices",
          "edgeTimeUnits",
          "observedAt"
        ],
        "type": "object"
      },
      "Profile": {
        "description": "Measured timings, with `diagnostics: \"profile\"` or `\"trace\"`. Scopes can\noverlap; do not add them.",
        "properties": {
          "note": {
            "type": "string"
          },
          "timingsUs": {
            "additionalProperties": {
              "format": "int64",
              "type": "integer"
            },
            "description": "Dotted scope names to integer microseconds.",
            "type": "object"
          }
        },
        "required": [
          "timingsUs",
          "note"
        ],
        "type": "object"
      },
      "PublishedFare": {
        "properties": {
          "agencyUrl": {
            "type": "string"
          },
          "options": {
            "items": {
              "$ref": "#/components/schemas/FareOption"
            },
            "type": "array"
          },
          "source": {
            "description": "The feed the fare came from.",
            "type": "string"
          },
          "standard": {
            "description": "`GTFS Fares v1` or `GTFS Fares v2`.",
            "type": "string"
          },
          "status": {
            "const": "published",
            "type": "string"
          }
        },
        "required": [
          "status",
          "standard",
          "options"
        ],
        "type": "object"
      },
      "QueryPlace": {
        "description": "A requested place, in public form.",
        "properties": {
          "coordinate": {
            "$ref": "#/components/schemas/Coordinate"
          },
          "id": {
            "description": "The caller's Matrix endpoint `id`."
          },
          "name": {
            "type": "string"
          },
          "stop": {
            "$ref": "#/components/schemas/Identifier"
          }
        },
        "type": "object"
      },
      "QueryStatus": {
        "oneOf": [
          {
            "enum": [
              "ok"
            ],
            "type": "string"
          },
          {
            "const": "not_found",
            "description": "A valid outcome: nothing satisfies the request.",
            "type": "string"
          }
        ]
      },
      "ReachCapabilities": {
        "properties": {
          "geojson": {
            "type": "boolean"
          },
          "modes": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "raster": {
            "type": "boolean"
          },
          "realtimeTransit": {
            "type": "boolean"
          },
          "scenarios": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "streets": {
            "type": "boolean"
          },
          "timePreferences": {
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "modes",
          "timePreferences",
          "raster",
          "geojson",
          "streets",
          "realtimeTransit",
          "scenarios"
        ],
        "type": "object"
      },
      "ReachFormat": {
        "oneOf": [
          {
            "enum": [
              "full"
            ],
            "type": "string"
          },
          {
            "const": "surface",
            "description": "Raster only, without polygon construction.",
            "type": "string"
          },
          {
            "const": "map",
            "description": "Areas for the full reached extent, without rasters or stop lists.",
            "type": "string"
          }
        ]
      },
      "ReachMode": {
        "description": "Reach covers transit, walking, driving, and bicycle travel times.",
        "enum": [
          "transit",
          "walk",
          "drive",
          "bike"
        ],
        "type": "string"
      },
      "ReachQuery": {
        "properties": {
          "allDay": {
            "$ref": "#/components/schemas/AllDayQuery"
          },
          "dataMode": {
            "$ref": "#/components/schemas/DataMode"
          },
          "destination": {
            "$ref": "#/components/schemas/QueryPlace",
            "description": "Arrive-by Reach."
          },
          "origin": {
            "$ref": "#/components/schemas/QueryPlace",
            "description": "Depart-at Reach."
          },
          "requestedTime": {
            "type": [
              "string",
              "null"
            ]
          },
          "serviceDate": {
            "type": [
              "string",
              "null"
            ]
          },
          "timePreference": {
            "$ref": "#/components/schemas/TimePreference"
          }
        },
        "required": [
          "serviceDate",
          "timePreference",
          "dataMode"
        ],
        "type": "object"
      },
      "ReachRequest": {
        "additionalProperties": false,
        "description": "`POST /v1/reach` (and `/v1/isochrone`): where an origin reaches\nwithin cutoffs or, arriving by the requested time, where a\ndestination is reached from.",
        "properties": {
          "allDay": {
            "$ref": "#/components/schemas/AllDayWindow",
            "description": "Five-minute streaming aggregation over a service-day window."
          },
          "allowStreetTransfers": {
            "default": true,
            "description": "Default `true`.",
            "type": "boolean"
          },
          "bike": {
            "$ref": "#/components/schemas/BikeOptions"
          },
          "bounds": {
            "$ref": "#/components/schemas/Bounds"
          },
          "cutoffsMinutes": {
            "default": [
              15,
              30,
              45,
              60
            ],
            "description": "Default `[15, 30, 45, 60]`.",
            "items": {
              "maximum": 240,
              "minimum": 1,
              "type": "number"
            },
            "maxItems": 16,
            "minItems": 1,
            "type": "array"
          },
          "dataMode": {
            "$ref": "#/components/schemas/DataMode",
            "description": "Alias of `routingDataMode`."
          },
          "destination": {
            "$ref": "#/components/schemas/Point",
            "description": "Where arrive-by trips end. Required for arrive-by Reach, which\ntakes no origin."
          },
          "diagnostics": {
            "$ref": "#/components/schemas/DiagnosticsLevel",
            "default": "none",
            "description": "Added detail: `summary` counters, `profile` timings, or the\nunstable internal `trace`. Default `none`."
          },
          "disableCache": {
            "default": false,
            "type": "boolean"
          },
          "extentRadiusKm": {
            "default": 8,
            "description": "Default 8.",
            "maximum": 40,
            "minimum": 1,
            "type": "number"
          },
          "id": {
            "description": "Caller's identifier, echoed as `id` and `meta.requestId`."
          },
          "includeGeometry": {
            "default": false,
            "description": "Include GeoJSON on legs.",
            "type": "boolean"
          },
          "includeLimitations": {
            "default": false,
            "description": "Add the City's dataset limitations to the Result. Default `false`.",
            "type": "boolean"
          },
          "includeNodes": {
            "default": false,
            "type": "boolean"
          },
          "includeStreetEdges": {
            "default": false,
            "type": "boolean"
          },
          "kind": {
            "description": "Query kind on a resident stream.",
            "type": "string"
          },
          "maxTransfers": {
            "format": "uint32",
            "maximum": 31,
            "minimum": 0,
            "type": "integer"
          },
          "maxWalkKm": {
            "default": 1.2,
            "description": "Default 1.2.",
            "maximum": 100,
            "minimum": 0,
            "type": "number"
          },
          "minimumTransferBufferMinutes": {
            "default": 0,
            "description": "Default 0.",
            "format": "uint32",
            "maximum": 60,
            "minimum": 0,
            "type": "integer"
          },
          "mode": {
            "$ref": "#/components/schemas/ReachMode",
            "default": "transit"
          },
          "monteCarlo": {
            "$ref": "#/components/schemas/MonteCarloOptions",
            "description": "Seeded departure-window and frequency-schedule distribution."
          },
          "origin": {
            "$ref": "#/components/schemas/Point",
            "description": "Where depart-at trips start. Required for depart-at Reach."
          },
          "rasterSize": {
            "default": 96,
            "description": "Cells per side. Default 96.",
            "format": "uint32",
            "maximum": 1024,
            "minimum": 16,
            "type": "integer"
          },
          "reachFormat": {
            "$ref": "#/components/schemas/ReachFormat",
            "default": "full"
          },
          "realtimeSnapshot": {
            "$ref": "#/components/schemas/RealtimeSnapshot",
            "description": "Transit Reach searches the same realtime view as Route; a scenario\napplies on top of it."
          },
          "requireCompleteServiceCoverage": {
            "default": false,
            "type": "boolean"
          },
          "routingDataMode": {
            "$ref": "#/components/schemas/DataMode"
          },
          "scenario": {
            "$ref": "#/components/schemas/Scenario"
          },
          "scenarioId": {
            "description": "Member of the loaded scenario collection; omitted selects its default.",
            "type": "string"
          },
          "serviceDate": {
            "description": "`YYYY-MM-DD`. Required for transit.",
            "format": "date",
            "type": "string"
          },
          "serviceDay": {
            "$ref": "#/components/schemas/ServiceDay"
          },
          "surfaceSampling": {
            "$ref": "#/components/schemas/SurfaceSampling",
            "default": "street"
          },
          "time": {
            "$ref": "#/components/schemas/Clock"
          },
          "timeMinutes": {
            "maximum": 4319,
            "minimum": 0,
            "type": "number"
          },
          "timePreference": {
            "$ref": "#/components/schemas/TimePreferenceInput",
            "default": "depart_at"
          },
          "walkSpeedKph": {
            "description": "Default from the City. Walking Route and Matrix, and Reach.",
            "maximum": 8,
            "minimum": 1,
            "type": "number"
          },
          "wheelchair": {
            "description": "Require a City prepared with the wheelchair-strict-v1 profile.\nOmitted inherits the City's profile; `false` rejects a wheelchair City.",
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "ReachResult": {
        "properties": {
          "accessibility": {
            "$ref": "#/components/schemas/Accessibility"
          },
          "allDay": {
            "$ref": "#/components/schemas/AllDaySummary"
          },
          "areas": {
            "$ref": "#/components/schemas/CutoffFeatures",
            "description": "Areas within each cutoff. With `reachFormat: \"map\"`, these cover the\nfull reached extent."
          },
          "bounds": {
            "$ref": "#/components/schemas/Bounds",
            "description": "Full reached extent, with `reachFormat: \"map\"`."
          },
          "contours": {
            "$ref": "#/components/schemas/CutoffFeatures"
          },
          "cutoffsSeconds": {
            "items": {
              "format": "uint64",
              "minimum": 0,
              "type": "integer"
            },
            "type": "array"
          },
          "datasetLimitations": {
            "items": {
              "$ref": "#/components/schemas/DatasetLimitation"
            },
            "type": "array"
          },
          "diagnostics": {
            "$ref": "#/components/schemas/SearchSummary"
          },
          "fullAreas": {
            "$ref": "#/components/schemas/CutoffFeatures"
          },
          "fullContours": {
            "$ref": "#/components/schemas/CutoffFeatures"
          },
          "fullSurface": {
            "$ref": "#/components/schemas/ReachSurface",
            "description": "The same grid over the complete reached extent."
          },
          "id": {},
          "meta": {
            "$ref": "#/components/schemas/Meta"
          },
          "mode": {
            "$ref": "#/components/schemas/Mode"
          },
          "profile": {
            "$ref": "#/components/schemas/Profile"
          },
          "query": {
            "$ref": "#/components/schemas/ReachQuery"
          },
          "scenarioId": {
            "type": "string"
          },
          "scenarioStops": {
            "description": "Stops added by a scenario.",
            "items": {
              "$ref": "#/components/schemas/ReachStop"
            },
            "type": "array"
          },
          "schema": {
            "const": "vigo.reach.v1",
            "type": "string"
          },
          "sequence": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "status": {
            "$ref": "#/components/schemas/QueryStatus"
          },
          "stops": {
            "items": {
              "$ref": "#/components/schemas/ReachStop"
            },
            "type": "array"
          },
          "surface": {
            "$ref": "#/components/schemas/ReachSurface"
          },
          "trace": true
        },
        "required": [
          "schema",
          "status",
          "mode",
          "query",
          "meta",
          "cutoffsSeconds"
        ],
        "type": "object"
      },
      "ReachStop": {
        "description": "A stop reached by Reach, and when.",
        "properties": {
          "coordinate": {
            "$ref": "#/components/schemas/Coordinate"
          },
          "durationSeconds": {
            "format": "uint64",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "name": {
            "type": "string"
          },
          "stop": {
            "$ref": "#/components/schemas/Identifier"
          }
        },
        "required": [
          "durationSeconds"
        ],
        "type": "object"
      },
      "ReachSurface": {
        "description": "Reached time on a regular grid, row-major from the northwest corner.",
        "properties": {
          "bounds": {
            "$ref": "#/components/schemas/Bounds"
          },
          "edges": {
            "$ref": "#/components/schemas/StreetEdges",
            "description": "Reached street intervals, with `includeStreetEdges`."
          },
          "height": {
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          },
          "meanReachableDurationSeconds": {
            "items": {
              "type": [
                "number",
                "null"
              ]
            },
            "type": "array"
          },
          "nodes": {
            "description": "Reached street nodes, with `includeNodes`.",
            "items": {
              "$ref": "#/components/schemas/SurfaceNode"
            },
            "type": "array"
          },
          "reachableSamples": {
            "items": {
              "format": "uint32",
              "minimum": 0,
              "type": "integer"
            },
            "type": "array"
          },
          "reachableSamplesByCutoff": {
            "items": {
              "items": {
                "format": "uint32",
                "minimum": 0,
                "type": "integer"
              },
              "type": "array"
            },
            "type": "array"
          },
          "valuesSeconds": {
            "description": "Seconds per cell; `null` when unreachable.",
            "items": {
              "format": "uint64",
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            },
            "type": "array"
          },
          "width": {
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "width",
          "height",
          "bounds"
        ],
        "type": "object"
      },
      "RealtimeCoverage": {
        "properties": {
          "appliedUpdates": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "complete": {
            "type": "boolean"
          },
          "rejectedUpdates": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "appliedUpdates",
          "rejectedUpdates",
          "complete"
        ],
        "type": "object"
      },
      "RealtimeReport": {
        "description": "How a supplied realtime snapshot was admitted and applied.",
        "properties": {
          "alerts": {
            "$ref": "#/components/schemas/AlertReport",
            "description": "Present when the snapshot carries Service Alerts."
          },
          "appliedTrips": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "canceledTrips": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "coverage": {
            "$ref": "#/components/schemas/RealtimeCoverage"
          },
          "dateMismatches": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "duplicateTrips": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "feedTripUpdates": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "invalidTrips": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "mode": {
            "type": "string"
          },
          "omittedPastPrefixStops": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "pastPrefixTrips": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "snapshot": {
            "$ref": "#/components/schemas/LiveSnapshotReport",
            "description": "Present when the server's live snapshot was used."
          },
          "staleTrips": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "status": {
            "description": "Such as `applied` or `stale_fallback`.",
            "type": "string"
          },
          "unmatchedTrips": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "status",
          "mode",
          "coverage",
          "feedTripUpdates",
          "appliedTrips",
          "canceledTrips",
          "staleTrips",
          "unmatchedTrips",
          "invalidTrips",
          "duplicateTrips",
          "dateMismatches",
          "pastPrefixTrips",
          "omittedPastPrefixStops"
        ],
        "type": "object"
      },
      "RealtimeSnapshot": {
        "description": "Trip Updates and Service Alerts applied to one transit Route, Matrix or\nReach request. Freshness is checked against the current time. With\n`realtime` mode and no snapshot, `vigo serve --realtime-poll` uses its own.",
        "properties": {
          "alerts": {
            "description": "`NO_SERVICE` removes the selected service or closes the selected stops\nduring the active periods. Every fresh alert is reported on the legs\nit describes.",
            "items": {
              "$ref": "#/components/schemas/ServiceAlert"
            },
            "maxItems": 10000,
            "minItems": 0,
            "type": "array"
          },
          "feedTimestamp": {
            "description": "POSIX seconds.",
            "format": "uint64",
            "minimum": 1,
            "type": "integer"
          },
          "incrementality": {
            "$ref": "#/components/schemas/Enumerated",
            "description": "`FULL_DATASET` or `0`."
          },
          "timezone": {
            "type": "string"
          },
          "tripUpdates": {
            "items": {
              "$ref": "#/components/schemas/TripUpdate"
            },
            "maxItems": 100000,
            "minItems": 0,
            "type": "array"
          }
        },
        "required": [
          "tripUpdates"
        ],
        "type": "object"
      },
      "RequestedAlternatives": {
        "properties": {
          "maximum": {
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          },
          "rankings": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "timePreferences": {
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "maximum",
          "rankings",
          "timePreferences"
        ],
        "type": "object"
      },
      "ResourcePolicy": {
        "properties": {
          "memoryCapacityBytes": {
            "description": "Detected memory capacity; `null` when unknown.",
            "format": "uint64",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "swapCountsAsRam": {
            "type": "boolean"
          }
        },
        "required": [
          "memoryCapacityBytes",
          "swapCountsAsRam"
        ],
        "type": "object"
      },
      "Response": {
        "description": "Any document the engine writes for a query, keyed by its `schema`.",
        "discriminator": {
          "mapping": {
            "vigo.compare.v1": "#/components/schemas/CompareResult",
            "vigo.distribution.v1": "#/components/schemas/DistributionResult",
            "vigo.error.v1": "#/components/schemas/ErrorResult",
            "vigo.info.v1": "#/components/schemas/InfoResult",
            "vigo.matrix.v1": "#/components/schemas/MatrixResult",
            "vigo.reach.v1": "#/components/schemas/ReachResult",
            "vigo.route.v1": "#/components/schemas/RouteResult",
            "vigo.scenarios.info.v1": "#/components/schemas/CollectionInfoResult",
            "vigo.stream.detail.v1": "#/components/schemas/StreamDetail"
          },
          "propertyName": "schema"
        },
        "oneOf": [
          {
            "$ref": "#/components/schemas/RouteResult"
          },
          {
            "$ref": "#/components/schemas/MatrixResult"
          },
          {
            "$ref": "#/components/schemas/ReachResult"
          },
          {
            "$ref": "#/components/schemas/DistributionResult"
          },
          {
            "$ref": "#/components/schemas/CompareResult"
          },
          {
            "$ref": "#/components/schemas/InfoResult"
          },
          {
            "$ref": "#/components/schemas/CollectionInfoResult"
          },
          {
            "$ref": "#/components/schemas/StreamDetail"
          },
          {
            "$ref": "#/components/schemas/ErrorResult"
          }
        ]
      },
      "RouteAccess": {
        "properties": {
          "destination": {
            "$ref": "#/components/schemas/AccessReport"
          },
          "origin": {
            "$ref": "#/components/schemas/AccessReport"
          }
        },
        "required": [
          "origin",
          "destination"
        ],
        "type": "object"
      },
      "RouteCapabilities": {
        "properties": {
          "alternatives": {
            "$ref": "#/components/schemas/SampledAlternatives"
          },
          "arrivalWindows": {
            "type": "boolean"
          },
          "departureWindows": {
            "type": "boolean"
          },
          "fareAnnotations": {
            "type": "boolean"
          },
          "journeyPolicies": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "realtime": {
            "type": "boolean"
          },
          "requestedAlternatives": {
            "$ref": "#/components/schemas/RequestedAlternatives"
          },
          "transferControls": {
            "type": "boolean"
          },
          "transitShapes": {
            "type": "boolean"
          },
          "waypoints": {
            "type": "boolean"
          }
        },
        "required": [
          "realtime",
          "transferControls",
          "waypoints",
          "departureWindows",
          "arrivalWindows",
          "alternatives",
          "requestedAlternatives",
          "transitShapes",
          "fareAnnotations"
        ],
        "type": "object"
      },
      "RouteQuery": {
        "description": "The request as the engine understood it. Endpoints echo the caller's places.",
        "properties": {
          "arrivalReserveSeconds": {
            "format": "int64",
            "type": "integer"
          },
          "dataMode": {
            "$ref": "#/components/schemas/DataMode"
          },
          "destination": {
            "$ref": "#/components/schemas/QueryPlace"
          },
          "origin": {
            "$ref": "#/components/schemas/QueryPlace"
          },
          "planningArrivalTime": {
            "type": "string"
          },
          "requestedTime": {
            "type": [
              "string",
              "null"
            ]
          },
          "serviceDate": {
            "type": [
              "string",
              "null"
            ]
          },
          "timePreference": {
            "$ref": "#/components/schemas/TimePreference"
          }
        },
        "required": [
          "serviceDate",
          "timePreference",
          "requestedTime",
          "dataMode",
          "origin",
          "destination"
        ],
        "type": "object"
      },
      "RouteRequest": {
        "additionalProperties": false,
        "description": "`POST /v1/route`: journeys between two places.",
        "properties": {
          "allowLongWalk": {
            "default": true,
            "type": "boolean"
          },
          "allowStreetTransfers": {
            "default": true,
            "description": "Default `true`.",
            "type": "boolean"
          },
          "alternativeRanking": {
            "$ref": "#/components/schemas/AlternativeRanking",
            "default": "pareto"
          },
          "alternativeSlackMinutes": {
            "default": 15,
            "description": "Latest admitted arrival, in minutes after the primary arrival. Default 15.",
            "maximum": 120,
            "minimum": 0,
            "type": "number"
          },
          "alternatives": {
            "default": 0,
            "description": "Additional depart-at transit journeys; 0 turns alternatives off.",
            "format": "uint32",
            "maximum": 9,
            "minimum": 0,
            "type": "integer"
          },
          "arrivalBufferMinutes": {
            "default": 0,
            "description": "Arrival reserve for arrive-by transit without via points.",
            "format": "uint32",
            "maximum": 60,
            "minimum": 0,
            "type": "integer"
          },
          "bike": {
            "$ref": "#/components/schemas/BikeOptions"
          },
          "dataMode": {
            "$ref": "#/components/schemas/DataMode",
            "description": "Alias of `routingDataMode`."
          },
          "destination": {
            "$ref": "#/components/schemas/Point"
          },
          "diagnostics": {
            "$ref": "#/components/schemas/DiagnosticsLevel",
            "default": "none",
            "description": "Added detail: `summary` counters, `profile` timings, or the\nunstable internal `trace`. Default `none`."
          },
          "disableCache": {
            "default": false,
            "type": "boolean"
          },
          "expandedWalkKm": {
            "description": "Explicit permission to search for faster alternatives with more walking.",
            "maximum": 5,
            "minimum": 0.2,
            "type": "number"
          },
          "flex": {
            "$ref": "#/components/schemas/FlexOptions",
            "description": "Include conditional direct Flex journeys with explicit booking and timing assumptions."
          },
          "horizonMinutes": {
            "default": 480,
            "description": "Default 480.",
            "maximum": 2880,
            "minimum": 1,
            "type": "number"
          },
          "id": {
            "description": "Caller's identifier, echoed as `id` and `meta.requestId`."
          },
          "includeGeometry": {
            "default": true,
            "description": "Include GeoJSON on legs.",
            "type": "boolean"
          },
          "includeLimitations": {
            "default": false,
            "description": "Add the City's dataset limitations to the Result. Default `false`.",
            "type": "boolean"
          },
          "journeyPolicy": {
            "$ref": "#/components/schemas/JourneyPolicy",
            "description": "Versioned native alternatives selection; transit only."
          },
          "kind": {
            "description": "Query kind on a resident stream.",
            "type": "string"
          },
          "maxStreetKm": {
            "default": 50,
            "description": "Default 50.",
            "maximum": 1000,
            "minimum": 0.05,
            "type": "number"
          },
          "maxTransfers": {
            "format": "uint32",
            "maximum": 31,
            "minimum": 0,
            "type": "integer"
          },
          "maxWalkKm": {
            "default": 1.2,
            "description": "Default 1.2.",
            "maximum": 100,
            "minimum": 0,
            "type": "number"
          },
          "minimumTransferBufferMinutes": {
            "default": 0,
            "description": "Default 0.",
            "format": "uint32",
            "maximum": 60,
            "minimum": 0,
            "type": "integer"
          },
          "mode": {
            "$ref": "#/components/schemas/Mode",
            "default": "transit",
            "description": "Default `transit`."
          },
          "monteCarlo": {
            "$ref": "#/components/schemas/MonteCarloOptions",
            "description": "Seeded departure-window and frequency-schedule distribution."
          },
          "origin": {
            "$ref": "#/components/schemas/Point"
          },
          "realtimeSnapshot": {
            "$ref": "#/components/schemas/RealtimeSnapshot"
          },
          "requireCompleteServiceCoverage": {
            "default": false,
            "type": "boolean"
          },
          "requireTransitRide": {
            "default": false,
            "description": "Default `false`: a direct walk may answer the query.",
            "type": "boolean"
          },
          "routingDataMode": {
            "$ref": "#/components/schemas/DataMode"
          },
          "scenario": {
            "$ref": "#/components/schemas/Scenario"
          },
          "scenarioId": {
            "description": "Member of the loaded scenario collection; omitted selects its default.",
            "type": "string"
          },
          "serviceDate": {
            "description": "`YYYY-MM-DD`. Required for transit.",
            "format": "date",
            "type": "string"
          },
          "serviceDay": {
            "$ref": "#/components/schemas/ServiceDay"
          },
          "time": {
            "$ref": "#/components/schemas/Clock"
          },
          "timeMinutes": {
            "maximum": 4319,
            "minimum": 0,
            "type": "number"
          },
          "timePreference": {
            "$ref": "#/components/schemas/TimePreferenceInput",
            "default": "depart_at",
            "description": "Default `depart_at`."
          },
          "traffic": {
            "$ref": "#/components/schemas/Traffic"
          },
          "via": {
            "description": "Ordered intermediate places.",
            "items": {
              "$ref": "#/components/schemas/Point"
            },
            "maxItems": 16,
            "minItems": 0,
            "type": "array"
          },
          "walkSpeedKph": {
            "description": "Default from the City. Walking Route and Matrix, and Reach.",
            "maximum": 8,
            "minimum": 1,
            "type": "number"
          },
          "waypoints": {
            "description": "Alias of `via`.",
            "items": {
              "$ref": "#/components/schemas/Point"
            },
            "maxItems": 16,
            "minItems": 0,
            "type": "array"
          },
          "wheelchair": {
            "description": "Require a City prepared with the wheelchair-strict-v1 profile.\nOmitted inherits the City's profile; `false` rejects a wheelchair City.",
            "type": "boolean"
          },
          "windowMinutes": {
            "default": 0,
            "description": "Sample later departures (or earlier deadlines) over this many minutes.",
            "maximum": 240,
            "minimum": 0,
            "type": "number"
          },
          "windowStepMinutes": {
            "default": 1,
            "maximum": 60,
            "minimum": 1,
            "type": "number"
          }
        },
        "required": [
          "origin",
          "destination"
        ],
        "type": "object"
      },
      "RouteResult": {
        "properties": {
          "access": {
            "$ref": "#/components/schemas/RouteAccess"
          },
          "accessibility": {
            "$ref": "#/components/schemas/Accessibility"
          },
          "alternativeSearch": {
            "$ref": "#/components/schemas/AlternativeSearch"
          },
          "alternatives": {
            "description": "Further distinct journeys; omitted when there are none.",
            "items": {
              "$ref": "#/components/schemas/Journey"
            },
            "type": "array"
          },
          "datasetLimitations": {
            "items": {
              "$ref": "#/components/schemas/DatasetLimitation"
            },
            "type": "array"
          },
          "diagnostics": {
            "$ref": "#/components/schemas/SearchSummary"
          },
          "id": {
            "description": "The caller's `id`."
          },
          "journey": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Journey"
              },
              {
                "type": "null"
              }
            ],
            "description": "`null` when `status` is `not_found`."
          },
          "meta": {
            "$ref": "#/components/schemas/Meta"
          },
          "mode": {
            "$ref": "#/components/schemas/Mode"
          },
          "profile": {
            "$ref": "#/components/schemas/Profile"
          },
          "query": {
            "$ref": "#/components/schemas/RouteQuery"
          },
          "reason": {
            "$ref": "#/components/schemas/Notice",
            "description": "Why no journey was found."
          },
          "scenarioId": {
            "type": "string"
          },
          "schema": {
            "const": "vigo.route.v1",
            "type": "string"
          },
          "sequence": {
            "description": "Line number on a resident stream.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "status": {
            "$ref": "#/components/schemas/QueryStatus"
          },
          "trace": {
            "description": "The unstable internal result, with `diagnostics: \"trace\"`."
          },
          "warnings": {
            "description": "Qualifications of the returned journey.",
            "items": {
              "$ref": "#/components/schemas/Notice"
            },
            "type": "array"
          }
        },
        "required": [
          "schema",
          "status",
          "mode",
          "query",
          "meta",
          "journey"
        ],
        "type": "object"
      },
      "SampledAlternatives": {
        "properties": {
          "coverage": {
            "type": "string"
          },
          "maximum": {
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "coverage",
          "maximum"
        ],
        "type": "object"
      },
      "Scenario": {
        "additionalProperties": false,
        "description": "A request-scoped service change. Use `services` or a compiled `overlay`.",
        "properties": {
          "cityRevision": {
            "type": "string"
          },
          "excludedRouteIds": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "excludedTripIds": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "flexZones": {
            "description": "Query-local on-demand zones with an explicit planning time model.",
            "items": {
              "$ref": "#/components/schemas/PlannedFlexZone"
            },
            "type": "array"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "overlay": {
            "description": "A compiled native overlay; see the native field reference."
          },
          "services": {
            "items": {
              "$ref": "#/components/schemas/ScenarioService"
            },
            "maxItems": 128,
            "minItems": 0,
            "type": "array"
          }
        },
        "type": "object"
      },
      "ScenarioService": {
        "additionalProperties": false,
        "properties": {
          "addedStopDwellMinutes": {
            "default": 0,
            "description": "Default 0.",
            "maximum": 10,
            "minimum": 0,
            "type": "number"
          },
          "averageSpeedKph": {
            "default": 22,
            "description": "Default 22.",
            "maximum": 300,
            "minimum": 1,
            "type": "number"
          },
          "bidirectional": {
            "type": "boolean"
          },
          "dwellMinutes": {
            "default": 0.35,
            "description": "Default 0.35.",
            "maximum": 60,
            "minimum": 0,
            "type": "number"
          },
          "endMinutes": {
            "default": 1500,
            "description": "Default 1500.",
            "maximum": 4319,
            "minimum": 0,
            "type": "number"
          },
          "exactTimes": {
            "description": "A fixed timetable when true; otherwise simulation samples its phase.",
            "type": "boolean"
          },
          "headwayMinutes": {
            "default": 12,
            "description": "Default 12.",
            "maximum": 1440,
            "minimum": 0.1,
            "type": "number"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "operation": {
            "$ref": "#/components/schemas/ServiceOperation",
            "default": "add",
            "description": "Default `add`."
          },
          "phaseFrom": {
            "$ref": "#/components/schemas/FrequencyPhasing"
          },
          "scheduleMode": {
            "$ref": "#/components/schemas/ScheduleMode"
          },
          "scheduledTrips": {
            "items": {
              "$ref": "#/components/schemas/ScheduledTrip"
            },
            "type": "array"
          },
          "segmentDistancesKm": {
            "items": {
              "minimum": 0,
              "type": "number"
            },
            "type": "array"
          },
          "segmentRuntimeMinutes": {
            "items": {
              "minimum": 0,
              "type": "number"
            },
            "type": "array"
          },
          "sourceRouteId": {
            "type": "string"
          },
          "startMinutes": {
            "default": 300,
            "description": "Default 300.",
            "maximum": 4319,
            "minimum": 0,
            "type": "number"
          },
          "stops": {
            "description": "At least two places, in service order.",
            "items": {
              "$ref": "#/components/schemas/Point"
            },
            "minItems": 2,
            "type": "array"
          },
          "timeModel": {
            "$ref": "#/components/schemas/TimeModel",
            "default": "estimate-distance",
            "description": "Default `estimate-distance`."
          },
          "timetables": {
            "description": "Optional independent timetable rows. Replaces the top-level frequency\nwindow; weekdays refer to serviceDate, including times after midnight.",
            "items": {
              "$ref": "#/components/schemas/ScenarioTimetable"
            },
            "maxItems": 32,
            "minItems": 1,
            "type": "array"
          },
          "timing": {
            "$ref": "#/components/schemas/ServiceTiming",
            "description": "Adjust ride and dwell times while retaining original trip departures.\nRequires preserve-trips. Selection indexes refer to the edited pattern."
          }
        },
        "required": [
          "stops"
        ],
        "type": "object"
      },
      "ScenarioTimetable": {
        "additionalProperties": false,
        "description": "One independent, end-exclusive planned-service frequency window.",
        "properties": {
          "daysOfWeek": {
            "description": "ISO weekdays: 1 = Monday, 7 = Sunday. Omitted means every day.",
            "items": {
              "format": "uint8",
              "maximum": 7,
              "minimum": 1,
              "type": "integer"
            },
            "maxItems": 7,
            "minItems": 1,
            "type": "array"
          },
          "endMinutes": {
            "maximum": 4319,
            "minimum": 0,
            "type": "number"
          },
          "exactTimes": {
            "type": "boolean"
          },
          "headwayMinutes": {
            "maximum": 1440,
            "minimum": 0.1,
            "type": "number"
          },
          "id": {
            "type": "string"
          },
          "startMinutes": {
            "maximum": 4319,
            "minimum": 0,
            "type": "number"
          }
        },
        "required": [
          "id",
          "startMinutes",
          "endMinutes",
          "headwayMinutes"
        ],
        "type": "object"
      },
      "ScheduleMode": {
        "enum": [
          "frequency",
          "preserve-trips"
        ],
        "type": "string"
      },
      "ScheduleQuality": {
        "oneOf": [
          {
            "const": "timetable",
            "description": "Modeled timetable times, not observed punctuality.",
            "type": "string"
          },
          {
            "const": "source_time_limitations",
            "description": "The source repeats times or bridges untimed stops.",
            "type": "string"
          },
          {
            "const": "realtime",
            "description": "Realtime predictions for this trip were applied.",
            "type": "string"
          },
          {
            "const": "flex_estimate",
            "description": "On-demand timing estimated from OSM driving and explicit duration factors.",
            "type": "string"
          }
        ]
      },
      "ScheduledTrip": {
        "additionalProperties": false,
        "properties": {
          "arrivalOffsetsSeconds": {
            "items": {
              "minimum": 0,
              "type": "number"
            },
            "type": "array"
          },
          "canAlight": {
            "items": {
              "format": "uint8",
              "maximum": 1,
              "minimum": 0,
              "type": "integer"
            },
            "type": "array"
          },
          "canBoard": {
            "description": "One 0/1 flag per stop.",
            "items": {
              "format": "uint8",
              "maximum": 1,
              "minimum": 0,
              "type": "integer"
            },
            "type": "array"
          },
          "departureOffsetsSeconds": {
            "items": {
              "minimum": 0,
              "type": "number"
            },
            "type": "array"
          },
          "departureSeconds": {
            "maximum": 1048575,
            "minimum": 0,
            "type": "number"
          },
          "serviceDayOffset": {
            "description": "Days from the query's service date to the service date this trip runs\non; -1 keeps the previous day's trips that run past midnight.\n`departureSeconds` is on that day's clock. Omitted means 0.",
            "format": "int8",
            "maximum": 3,
            "minimum": -3,
            "type": "integer"
          },
          "tripId": {
            "type": "string"
          }
        },
        "required": [
          "departureSeconds",
          "arrivalOffsetsSeconds",
          "departureOffsetsSeconds"
        ],
        "type": "object"
      },
      "SearchSummary": {
        "description": "Search counters, with `diagnostics: \"summary\"` or more. Counters without\ninstrumentation are omitted.",
        "properties": {
          "algorithm": {
            "type": "string"
          },
          "cchAccelerated": {
            "type": "boolean"
          },
          "destinationCandidates": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "dominatedTripBoardings": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "expandedTripRuns": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "explicitTransferChecks": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "forwardSearches": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "originCandidates": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "relaxedStops": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "reverseSearches": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "scannedDepartures": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          }
        },
        "type": "object"
      },
      "ServiceAlert": {
        "description": "A GTFS-Realtime Service Alert, as the server's poller records it.",
        "properties": {
          "activePeriods": {
            "default": [],
            "description": "No periods means always active.",
            "items": {
              "$ref": "#/components/schemas/ActivePeriod"
            },
            "type": "array"
          },
          "cause": {
            "$ref": "#/components/schemas/Enumerated"
          },
          "description": {
            "type": "string"
          },
          "effect": {
            "$ref": "#/components/schemas/Enumerated",
            "description": "Such as `NO_SERVICE`, `DETOUR` or `SIGNIFICANT_DELAYS`, or its code."
          },
          "header": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "informedEntities": {
            "default": [],
            "description": "Each entity matches when all of its fields match; any entity applies.",
            "items": {
              "$ref": "#/components/schemas/InformedEntity"
            },
            "type": "array"
          },
          "severity": {
            "$ref": "#/components/schemas/Enumerated"
          },
          "sourceFeedTimestamp": {
            "format": "uint64",
            "minimum": 1,
            "type": "integer"
          },
          "sourceScope": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "ServiceDay": {
        "enum": [
          "weekday",
          "saturday",
          "sunday"
        ],
        "type": "string"
      },
      "ServiceOperation": {
        "enum": [
          "add",
          "augment",
          "replace"
        ],
        "type": "string"
      },
      "ServiceTiming": {
        "additionalProperties": false,
        "properties": {
          "dwellMinutes": {
            "description": "Set dwell at selected stops; mutually exclusive with dwellScale.",
            "maximum": 60,
            "minimum": 0,
            "type": "number"
          },
          "dwellScale": {
            "maximum": 10,
            "minimum": 0,
            "type": "number"
          },
          "segmentIndexes": {
            "description": "Zero-based segment indexes; omitted selects all segments.",
            "items": {
              "format": "uint32",
              "minimum": 0,
              "type": "integer"
            },
            "type": "array"
          },
          "speedFactor": {
            "description": "Divide moving time by this factor; 2 means twice as fast.",
            "maximum": 10,
            "minimum": 0.1,
            "type": "number"
          },
          "stopIndexes": {
            "description": "Stop indexes after the fixed first departure; omitted selects all.",
            "items": {
              "format": "uint32",
              "minimum": 0,
              "type": "integer"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "StationPath": {
        "oneOf": [
          {
            "enum": [
              "inferred"
            ],
            "type": "string"
          },
          {
            "const": "source_path",
            "description": "A published GTFS pathway.",
            "type": "string"
          }
        ]
      },
      "StationTime": {
        "oneOf": [
          {
            "const": "estimated",
            "description": "Untimed stairs or gates priced by routing estimates.",
            "type": "string"
          }
        ]
      },
      "StopInput": {
        "additionalProperties": false,
        "description": "A stop reference. Omit `feed`, or send `null`, for an unscoped feed.",
        "properties": {
          "feed": {
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "type": "string"
          }
        },
        "required": [
          "id"
        ],
        "type": "object"
      },
      "StopTimeEvent": {
        "properties": {
          "delay": {
            "format": "int64",
            "type": "integer"
          },
          "time": {
            "description": "POSIX seconds.",
            "format": "int64",
            "minimum": 0,
            "type": "integer"
          },
          "uncertainty": {
            "minimum": 0,
            "type": "number"
          }
        },
        "type": "object"
      },
      "StopTimeUpdate": {
        "properties": {
          "arrival": {
            "$ref": "#/components/schemas/StopTimeEvent"
          },
          "departure": {
            "$ref": "#/components/schemas/StopTimeEvent"
          },
          "scheduleRelationship": {
            "$ref": "#/components/schemas/Enumerated",
            "description": "`SCHEDULED`, `SKIPPED` or `NO_DATA`, or their codes 0 to 2."
          },
          "stopId": {
            "type": "string"
          },
          "stopSequence": {
            "format": "uint32",
            "maximum": 4294967295,
            "minimum": 0,
            "type": "integer"
          }
        },
        "type": "object"
      },
      "StreamDetail": {
        "description": "`stream --stream-output=detailed`: the internal result without a public\nprojection. `trace` is the unstable internal ABI.",
        "properties": {
          "id": true,
          "schema": {
            "const": "vigo.stream.detail.v1",
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/OkStatus"
          },
          "trace": true
        },
        "required": [
          "schema",
          "status",
          "id",
          "trace"
        ],
        "type": "object"
      },
      "StreetEdges": {
        "description": "Reached street intervals in indexed form. Every per-interval array has\n`count` entries.",
        "properties": {
          "count": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "durationMinutes": {
            "description": "Elapsed minutes at each interval end.",
            "items": {
              "type": "number"
            },
            "type": "array"
          },
          "edgeIds": {
            "items": {
              "format": "uint64",
              "minimum": 0,
              "type": "integer"
            },
            "type": "array"
          },
          "encoding": {
            "description": "`indexed-json`.",
            "type": "string"
          },
          "endFractions": {
            "items": {
              "type": "number"
            },
            "type": "array"
          },
          "endpoints": {
            "description": "From/to local node indices, `2 * count` long.",
            "items": {
              "format": "uint32",
              "minimum": 0,
              "type": "integer"
            },
            "type": "array"
          },
          "fromDurationMinutes": {
            "description": "Elapsed minutes at each interval start.",
            "items": {
              "type": "number"
            },
            "type": "array"
          },
          "nodeCount": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "nodes": {
            "description": "Flat longitude/latitude pairs, `2 * nodeCount` long.",
            "items": {
              "type": "number"
            },
            "type": "array"
          },
          "schemaVersion": {
            "description": "`vigo.standalone.street-edges.v2`.",
            "type": "string"
          },
          "startFractions": {
            "items": {
              "type": "number"
            },
            "type": "array"
          },
          "transitArrivalMinutes": {
            "description": "Elapsed minutes at the transit seed; −1 for the direct-origin seed.",
            "items": {
              "type": "number"
            },
            "type": "array"
          },
          "walkDistanceM": {
            "items": {
              "type": "number"
            },
            "type": "array"
          }
        },
        "required": [
          "schemaVersion",
          "encoding",
          "count",
          "nodeCount",
          "nodes",
          "endpoints",
          "edgeIds",
          "durationMinutes",
          "fromDurationMinutes",
          "startFractions",
          "endFractions",
          "walkDistanceM",
          "transitArrivalMinutes"
        ],
        "type": "object"
      },
      "StreetLeg": {
        "description": "A walking or driving leg.",
        "properties": {
          "arrivalTime": {
            "type": [
              "string",
              "null"
            ]
          },
          "components": {
            "description": "Street and station costs and their sources, when station access applies.",
            "items": {
              "$ref": "#/components/schemas/AccessComponent"
            },
            "type": "array"
          },
          "departureTime": {
            "type": [
              "string",
              "null"
            ]
          },
          "distanceMeters": {
            "format": "int64",
            "type": "integer"
          },
          "durationSeconds": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "endpointConnector": {
            "$ref": "#/components/schemas/EndpointConnector"
          },
          "from": {
            "$ref": "#/components/schemas/Endpoint"
          },
          "geometry": {
            "$ref": "#/components/schemas/LineString"
          },
          "quality": {
            "$ref": "#/components/schemas/StreetQuality"
          },
          "to": {
            "$ref": "#/components/schemas/Endpoint"
          },
          "type": {
            "enum": [
              "walk",
              "drive",
              "bike"
            ],
            "type": "string"
          }
        },
        "required": [
          "type",
          "from",
          "to",
          "departureTime",
          "arrivalTime",
          "durationSeconds",
          "quality"
        ],
        "type": "object"
      },
      "StreetQuality": {
        "properties": {
          "geometrySource": {
            "description": "Where the line came from: `osm`, `osm_and_station_path`, `gtfs_pathway`,\n`station_selection`, `unverified_transfer` or `unknown`. Treat other\nvalues as unverified.",
            "type": "string"
          },
          "stationPath": {
            "$ref": "#/components/schemas/StationPath"
          },
          "stationTime": {
            "$ref": "#/components/schemas/StationTime"
          },
          "streetGeometry": {
            "$ref": "#/components/schemas/StreetVerification"
          }
        },
        "required": [
          "streetGeometry",
          "geometrySource"
        ],
        "type": "object"
      },
      "StreetVerification": {
        "enum": [
          "verified",
          "unverified"
        ],
        "type": "string"
      },
      "SurfaceNode": {
        "properties": {
          "durationMinutes": {
            "type": [
              "number",
              "null"
            ]
          },
          "latitude": {
            "type": [
              "number",
              "null"
            ]
          },
          "longitude": {
            "type": [
              "number",
              "null"
            ]
          },
          "walkDistanceM": {
            "type": [
              "number",
              "null"
            ]
          }
        },
        "required": [
          "longitude",
          "latitude",
          "durationMinutes",
          "walkDistanceM"
        ],
        "type": "object"
      },
      "SurfaceSampling": {
        "enum": [
          "street",
          "cell-center"
        ],
        "type": "string"
      },
      "TimeModel": {
        "enum": [
          "estimate-distance",
          "preserve-scheduled",
          "infer-road"
        ],
        "type": "string"
      },
      "TimePreference": {
        "description": "The time preference a Result reports, after aliases are resolved.",
        "enum": [
          "depart_at",
          "arrive_by"
        ],
        "type": "string"
      },
      "TimePreferenceInput": {
        "description": "`depart` and `arrive` are accepted aliases.",
        "enum": [
          "depart_at",
          "arrive_by",
          "depart",
          "arrive"
        ],
        "type": "string"
      },
      "Timestamp": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "string"
          }
        ],
        "description": "POSIX milliseconds, or an RFC 3339 date-time."
      },
      "Traffic": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/PreparedTraffic"
          },
          {
            "$ref": "#/components/schemas/ObservedTraffic"
          }
        ],
        "description": "Supplied traffic for driving: prepared edge times, or observations."
      },
      "TrafficObservation": {
        "description": "Directed geometry or edge indices, and exactly one cost effect.",
        "properties": {
          "closed": {
            "type": "boolean"
          },
          "coordinates": {
            "items": {
              "$ref": "#/components/schemas/Coordinate"
            },
            "type": "array"
          },
          "delayFactor": {
            "type": "number"
          },
          "edgeIndex": {
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          },
          "edgeIndices": {
            "items": {
              "format": "uint32",
              "minimum": 0,
              "type": "integer"
            },
            "type": "array"
          },
          "factor": {
            "type": "number"
          },
          "fromCoordinate": {
            "$ref": "#/components/schemas/Coordinate"
          },
          "multiplier": {
            "type": "number"
          },
          "speedKph": {
            "type": "number"
          },
          "toCoordinate": {
            "$ref": "#/components/schemas/Coordinate"
          },
          "travelTimeSeconds": {
            "type": "number"
          }
        },
        "type": "object"
      },
      "TransitLeg": {
        "description": "A ride on one scheduled trip.",
        "properties": {
          "alerts": {
            "description": "Service Alerts active during the ride for its trip, route or stops.",
            "items": {
              "$ref": "#/components/schemas/LegAlert"
            },
            "type": "array"
          },
          "arrivalTime": {
            "type": [
              "string",
              "null"
            ]
          },
          "continuation": {
            "$ref": "#/components/schemas/InSeatContinuation"
          },
          "departureTime": {
            "type": [
              "string",
              "null"
            ]
          },
          "directionId": {
            "type": [
              "string",
              "null"
            ]
          },
          "distanceMeters": {
            "description": "Length of the returned line, boarding to alighting stop.",
            "format": "int64",
            "type": "integer"
          },
          "durationSeconds": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "endpointConnector": {
            "$ref": "#/components/schemas/EndpointConnector"
          },
          "fare": {
            "$ref": "#/components/schemas/Fare"
          },
          "from": {
            "$ref": "#/components/schemas/Endpoint"
          },
          "geometry": {
            "$ref": "#/components/schemas/LineString"
          },
          "headsign": {
            "type": [
              "string",
              "null"
            ]
          },
          "intermediateStops": {
            "items": {
              "$ref": "#/components/schemas/IntermediateStop"
            },
            "type": "array"
          },
          "quality": {
            "$ref": "#/components/schemas/TransitQuality"
          },
          "route": {
            "$ref": "#/components/schemas/TransitRoute"
          },
          "service": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Identifier"
              },
              {
                "type": "null"
              }
            ]
          },
          "serviceDate": {
            "type": [
              "string",
              "null"
            ]
          },
          "to": {
            "$ref": "#/components/schemas/Endpoint"
          },
          "trip": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Identifier"
              },
              {
                "type": "null"
              }
            ]
          },
          "tripShortName": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "const": "transit",
            "type": "string"
          }
        },
        "required": [
          "type",
          "from",
          "to",
          "departureTime",
          "arrivalTime",
          "durationSeconds",
          "route",
          "trip",
          "service",
          "serviceDate",
          "directionId",
          "headsign",
          "tripShortName",
          "quality"
        ],
        "type": "object"
      },
      "TransitQuality": {
        "properties": {
          "flex": true,
          "geometry": {
            "description": "Where the line came from: `gtfs_shape` (aligned to the feed's shape),\n`stop_sequence` (straight lines between stops) or `unknown`.",
            "type": "string"
          },
          "schedule": {
            "$ref": "#/components/schemas/ScheduleQuality"
          }
        },
        "required": [
          "geometry",
          "schedule"
        ],
        "type": "object"
      },
      "TransitRoute": {
        "properties": {
          "color": {
            "description": "GTFS `route_color`, without `#`; empty when the feed gives none.",
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Identifier"
              },
              {
                "type": "null"
              }
            ]
          },
          "longName": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "description": "Short name, else long name.",
            "type": [
              "string",
              "null"
            ]
          },
          "shortName": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "description": "GTFS `route_type`.",
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "name",
          "shortName",
          "longName",
          "color",
          "type"
        ],
        "type": "object"
      },
      "TripDescriptor": {
        "properties": {
          "startDate": {
            "type": "string"
          },
          "tripId": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "TripUpdate": {
        "properties": {
          "delaySeconds": {
            "format": "int64",
            "type": "integer"
          },
          "directionId": true,
          "routeId": {
            "type": "string"
          },
          "scheduleRelationship": {
            "$ref": "#/components/schemas/Enumerated",
            "description": "`SCHEDULED`, `CANCELED` or `DELETED`, or their codes 0, 3 and 7."
          },
          "sourceFeedTimestamp": {
            "format": "uint64",
            "minimum": 1,
            "type": "integer"
          },
          "sourceScope": {
            "type": "string"
          },
          "startDate": {
            "type": "string"
          },
          "stopTimeUpdates": {
            "items": {
              "$ref": "#/components/schemas/StopTimeUpdate"
            },
            "type": "array"
          },
          "timestamp": {
            "format": "uint64",
            "minimum": 1,
            "type": "integer"
          },
          "trip": {
            "$ref": "#/components/schemas/TripDescriptor"
          },
          "tripId": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "UnavailableFare": {
        "properties": {
          "code": {
            "description": "Such as `missing_catalog`, `no_rule` or `invalid_data`.",
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "status": {
            "const": "unavailable",
            "type": "string"
          }
        },
        "required": [
          "status",
          "code",
          "reason"
        ],
        "type": "object"
      },
      "WheelchairCapabilities": {
        "properties": {
          "dataMode": {
            "type": "string"
          },
          "modes": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "requiresCityProfile": {
            "type": "string"
          },
          "supported": {
            "type": "boolean"
          },
          "unknownData": {
            "type": "string"
          }
        },
        "required": [
          "supported",
          "requiresCityProfile",
          "modes",
          "dataMode",
          "unknownData"
        ],
        "type": "object"
      },
      "DescribePlacesInput": {
        "type": "object",
        "properties": {
          "longitudes": {
            "type": "array",
            "items": {
              "type": "number"
            }
          },
          "latitudes": {
            "type": "array",
            "items": {
              "type": "number"
            }
          }
        },
        "required": [
          "longitudes",
          "latitudes"
        ],
        "additionalProperties": true,
        "description": "Generated from crates/vigo-runtime/src/place_describe.rs. Native semantic validation also applies."
      },
      "DescribePlacesResult": {
        "type": "object",
        "properties": {
          "labels": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          "kinds": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          }
        },
        "required": [
          "labels",
          "kinds"
        ],
        "additionalProperties": true,
        "description": "Generated from crates/vigo-runtime/src/place_describe.rs. Native semantic validation also applies."
      },
      "TimetableQueryInput": {
        "type": "object",
        "properties": {
          "originStops": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            },
            "description": "Resident timetable stop indices for origin candidates."
          },
          "originWalkSeconds": {
            "type": "array",
            "items": {
              "type": "number"
            },
            "description": "Access seconds parallel to origin stop candidates."
          },
          "originCandidateIndices": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            },
            "description": "Caller candidate identities used in origin witness references."
          },
          "destinationStops": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            },
            "description": "Resident timetable stop indices for destination candidates."
          },
          "destinationWalkSeconds": {
            "type": "array",
            "items": {
              "type": "number"
            },
            "description": "Egress seconds parallel to destination stop candidates."
          },
          "destinationCandidateIndices": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            },
            "description": "Caller candidate identities used in destination witness references."
          },
          "departure": {
            "type": "number",
            "description": "Earliest departure clock in service-day seconds."
          },
          "horizon": {
            "type": "number",
            "description": "Latest scan clock in service-day seconds, not a duration."
          },
          "allowPreRideTransfers": {
            "type": "boolean",
            "description": "Allow transfer-graph movement before first boarding; per-origin arrays for grouped queries."
          },
          "allowPostRideTransfers": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "description": "Allow transfer-graph movement after the last ride; per-destination arrays where typed."
          },
          "maximumBoardings": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0,
                "maximum": 4294967295
              },
              {
                "type": "null"
              }
            ],
            "description": "Vehicle boarding cap, one larger than a transfer cap."
          }
        },
        "required": [
          "originStops",
          "originWalkSeconds",
          "originCandidateIndices",
          "destinationStops",
          "destinationWalkSeconds",
          "destinationCandidateIndices",
          "departure",
          "horizon",
          "allowPreRideTransfers"
        ],
        "additionalProperties": true,
        "description": "Generated from crates/vigo-route/src/timetable/types.rs. Native semantic validation also applies."
      },
      "TimetableQueryResult": {
        "type": "object",
        "properties": {
          "supported": {
            "type": "boolean"
          },
          "status": {
            "type": "string"
          },
          "reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "bestArrival": {
            "anyOf": [
              {
                "type": [
                  "number",
                  "null"
                ]
              },
              {
                "type": "null"
              }
            ],
            "description": "Selected arrival clock in service-day seconds, or null when no arrival is available."
          },
          "bestBoardings": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0,
                "maximum": 4294967295
              },
              {
                "type": "null"
              }
            ]
          },
          "bestDestinationIndex": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0,
                "maximum": 4294967295
              },
              {
                "type": "null"
              }
            ]
          },
          "chainKinds": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            }
          },
          "chainFromStops": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": -2147483648,
              "maximum": 2147483647
            }
          },
          "chainToStops": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": -2147483648,
              "maximum": 2147483647
            }
          },
          "chainTripOrCandidate": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": -2147483648,
              "maximum": 2147483647
            }
          },
          "chainBoardSequences": {
            "type": "array",
            "items": {
              "type": [
                "number",
                "null"
              ]
            }
          },
          "chainAlightSequences": {
            "type": "array",
            "items": {
              "type": [
                "number",
                "null"
              ]
            }
          },
          "chainDurations": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            }
          },
          "chainArrivals": {
            "type": "array",
            "items": {
              "type": [
                "number",
                "null"
              ]
            }
          },
          "queryNs": {
            "type": [
              "number",
              "null"
            ],
            "description": "Native query time in nanoseconds; excludes outer transport work."
          },
          "destinationSeedNs": {
            "type": [
              "number",
              "null"
            ]
          },
          "originSeedNs": {
            "type": [
              "number",
              "null"
            ]
          },
          "scanNs": {
            "type": [
              "number",
              "null"
            ]
          },
          "chainNs": {
            "type": [
              "number",
              "null"
            ]
          },
          "poppedStates": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "scannedDepartures": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "relaxedStops": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "expandedTripRuns": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "dominatedTripBoardings": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "explicitTransferChecks": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          }
        },
        "required": [
          "supported",
          "status",
          "reason",
          "bestArrival",
          "bestBoardings",
          "bestDestinationIndex",
          "chainKinds",
          "chainFromStops",
          "chainToStops",
          "chainTripOrCandidate",
          "chainBoardSequences",
          "chainAlightSequences",
          "chainDurations",
          "chainArrivals",
          "queryNs",
          "destinationSeedNs",
          "originSeedNs",
          "scanNs",
          "chainNs",
          "poppedStates",
          "scannedDepartures",
          "relaxedStops",
          "expandedTripRuns",
          "dominatedTripBoardings",
          "explicitTransferChecks"
        ],
        "additionalProperties": true,
        "description": "Generated from crates/vigo-route/src/timetable/types.rs. Native semantic validation also applies."
      },
      "TimetableArriveByQueryInput": {
        "type": "object",
        "properties": {
          "originStops": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            },
            "description": "Resident timetable stop indices for origin candidates."
          },
          "originWalkSeconds": {
            "type": "array",
            "items": {
              "type": "number"
            },
            "description": "Access seconds parallel to origin stop candidates."
          },
          "originCandidateIndices": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            },
            "description": "Caller candidate identities used in origin witness references."
          },
          "destinationStops": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            },
            "description": "Resident timetable stop indices for destination candidates."
          },
          "destinationWalkSeconds": {
            "type": "array",
            "items": {
              "type": "number"
            },
            "description": "Egress seconds parallel to destination stop candidates."
          },
          "destinationCandidateIndices": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            },
            "description": "Caller candidate identities used in destination witness references."
          },
          "earliest": {
            "type": "number",
            "description": "Earliest permitted search clock in service-day seconds."
          },
          "deadline": {
            "type": "number",
            "description": "Arrival deadline in service-day seconds."
          },
          "allowPreRideTransfers": {
            "type": "boolean",
            "description": "Allow transfer-graph movement before first boarding; per-origin arrays for grouped queries."
          },
          "allowPostRideTransfers": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "description": "Allow transfer-graph movement after the last ride; per-destination arrays where typed."
          },
          "maximumBoardings": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0,
                "maximum": 4294967295
              },
              {
                "type": "null"
              }
            ],
            "description": "Vehicle boarding cap, one larger than a transfer cap."
          }
        },
        "required": [
          "originStops",
          "originWalkSeconds",
          "originCandidateIndices",
          "destinationStops",
          "destinationWalkSeconds",
          "destinationCandidateIndices",
          "earliest",
          "deadline",
          "allowPreRideTransfers"
        ],
        "additionalProperties": true,
        "description": "Generated from crates/vigo-route/src/timetable/types.rs. Native semantic validation also applies."
      },
      "TimetableArriveByQueryResult": {
        "type": "object",
        "properties": {
          "supported": {
            "type": "boolean"
          },
          "status": {
            "type": "string"
          },
          "reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "latestDeparture": {
            "anyOf": [
              {
                "type": [
                  "number",
                  "null"
                ]
              },
              {
                "type": "null"
              }
            ],
            "description": "Selected departure clock in service-day seconds, or null when no departure is available."
          },
          "candidateCount": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "verifiedCandidates": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "queryNs": {
            "type": [
              "number",
              "null"
            ],
            "description": "Native query time in nanoseconds; excludes outer transport work."
          },
          "engineQueryNs": {
            "type": [
              "number",
              "null"
            ]
          },
          "scannedDepartures": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "relaxedStops": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "expandedTripRuns": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "dominatedTripBoardings": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "explicitTransferChecks": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          }
        },
        "required": [
          "supported",
          "status",
          "reason",
          "latestDeparture",
          "candidateCount",
          "verifiedCandidates",
          "queryNs",
          "engineQueryNs",
          "scannedDepartures",
          "relaxedStops",
          "expandedTripRuns",
          "dominatedTripBoardings",
          "explicitTransferChecks"
        ],
        "additionalProperties": true,
        "description": "Generated from crates/vigo-route/src/timetable/types.rs. Native semantic validation also applies."
      },
      "TimetableMatrixQueryInput": {
        "type": "object",
        "properties": {
          "originOffsets": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            },
            "description": "Cumulative boundaries grouping packed origin candidates; starts at zero."
          },
          "originStops": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            },
            "description": "Resident timetable stop indices for origin candidates."
          },
          "originWalkSeconds": {
            "type": "array",
            "items": {
              "type": "number"
            },
            "description": "Access seconds parallel to origin stop candidates."
          },
          "allowPreRideTransfers": {
            "type": "array",
            "items": {
              "type": "boolean"
            },
            "description": "Allow transfer-graph movement before first boarding; per-origin arrays for grouped queries."
          },
          "destinationOffsets": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            },
            "description": "Cumulative boundaries grouping packed destination candidates; starts at zero."
          },
          "destinationStops": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            },
            "description": "Resident timetable stop indices for destination candidates."
          },
          "destinationWalkSeconds": {
            "type": "array",
            "items": {
              "type": "number"
            },
            "description": "Egress seconds parallel to destination stop candidates."
          },
          "departure": {
            "type": "number",
            "description": "Depart-at: shared departure clock. Arrive-by: earliest search clock. Measured in service-day seconds."
          },
          "horizon": {
            "type": "number",
            "description": "Depart-at: latest scan clock. Arrive-by: shared arrival deadline. Measured in service-day seconds."
          },
          "arriveBy": {
            "type": "boolean",
            "description": "Use reverse time direction and a shared arrival deadline."
          },
          "allowPostRideTransfers": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "type": "boolean"
                }
              },
              {
                "type": "null"
              }
            ],
            "description": "Allow transfer-graph movement after the last ride; per-destination arrays where typed."
          },
          "maximumBoardings": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0,
                "maximum": 4294967295
              },
              {
                "type": "null"
              }
            ],
            "description": "Vehicle boarding cap, one larger than a transfer cap."
          },
          "includeJourneys": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "description": "Materialize compact native journey witnesses alongside matrix times."
          }
        },
        "required": [
          "originOffsets",
          "originStops",
          "originWalkSeconds",
          "allowPreRideTransfers",
          "destinationOffsets",
          "destinationStops",
          "destinationWalkSeconds",
          "departure",
          "horizon",
          "arriveBy"
        ],
        "additionalProperties": true,
        "description": "Generated from crates/vigo-route/src/timetable/types.rs. Native semantic validation also applies."
      },
      "TimetableMatrixQueryResult": {
        "type": "object",
        "properties": {
          "times": {
            "type": "array",
            "items": {
              "type": [
                "number",
                "null"
              ]
            },
            "description": "Flat origin-major matrix of service-day clocks in seconds: arrivals for depart-at, departures for arrive-by. Null marks an unreachable pair. These are not travel durations."
          },
          "journeys": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/TimetableMatrixJourney"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              {
                "type": "null"
              }
            ],
            "description": "Journey records in the same order as times. Null when journeys were not requested; individual null entries mark pairs without a journey."
          },
          "forwardSearches": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "reverseSearches": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "queryNs": {
            "type": [
              "number",
              "null"
            ],
            "description": "Native query time in nanoseconds; excludes outer transport work."
          },
          "scannedDepartures": {
            "type": [
              "number",
              "null"
            ]
          },
          "relaxedStops": {
            "type": [
              "number",
              "null"
            ]
          },
          "expandedTripRuns": {
            "type": [
              "number",
              "null"
            ]
          },
          "dominatedTripBoardings": {
            "type": [
              "number",
              "null"
            ]
          },
          "explicitTransferChecks": {
            "type": [
              "number",
              "null"
            ]
          }
        },
        "required": [
          "times",
          "journeys",
          "forwardSearches",
          "reverseSearches",
          "queryNs",
          "scannedDepartures",
          "relaxedStops",
          "expandedTripRuns",
          "dominatedTripBoardings",
          "explicitTransferChecks"
        ],
        "additionalProperties": true,
        "description": "Generated from crates/vigo-route/src/timetable/types.rs. Native semantic validation also applies."
      },
      "TimetableMatrixJourney": {
        "type": "object",
        "properties": {
          "departure": {
            "type": [
              "number",
              "null"
            ],
            "description": "Earliest departure clock in service-day seconds."
          },
          "arrival": {
            "type": [
              "number",
              "null"
            ]
          },
          "boardings": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "walkingSeconds": {
            "type": [
              "number",
              "null"
            ]
          },
          "rideSeconds": {
            "type": [
              "number",
              "null"
            ]
          },
          "waitingSeconds": {
            "type": [
              "number",
              "null"
            ]
          },
          "legs": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TimetableMatrixLeg"
            }
          }
        },
        "required": [
          "departure",
          "arrival",
          "boardings",
          "walkingSeconds",
          "rideSeconds",
          "waitingSeconds",
          "legs"
        ],
        "additionalProperties": true,
        "description": "Generated from crates/vigo-route/src/timetable/journeys.rs. Native semantic validation also applies."
      },
      "TimetableMatrixLeg": {
        "type": "object",
        "properties": {
          "inSeatSeconds": {
            "anyOf": [
              {
                "type": [
                  "number",
                  "null"
                ]
              },
              {
                "type": "null"
              }
            ],
            "description": "Time spent aboard between source trips; absent for a new boarding."
          },
          "kind": {
            "type": "string"
          },
          "fromStop": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0,
                "maximum": 4294967295
              },
              {
                "type": "null"
              }
            ]
          },
          "toStop": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0,
                "maximum": 4294967295
              },
              {
                "type": "null"
              }
            ]
          },
          "trip": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0,
                "maximum": 4294967295
              },
              {
                "type": "null"
              }
            ]
          },
          "boardSequence": {
            "anyOf": [
              {
                "type": [
                  "number",
                  "null"
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "alightSequence": {
            "anyOf": [
              {
                "type": [
                  "number",
                  "null"
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "departure": {
            "type": [
              "number",
              "null"
            ],
            "description": "Earliest departure clock in service-day seconds."
          },
          "arrival": {
            "type": [
              "number",
              "null"
            ]
          }
        },
        "required": [
          "inSeatSeconds",
          "kind",
          "fromStop",
          "toStop",
          "trip",
          "boardSequence",
          "alightSequence",
          "departure",
          "arrival"
        ],
        "additionalProperties": true,
        "description": "Generated from crates/vigo-route/src/timetable/journeys.rs. Native semantic validation also applies."
      },
      "TimetableManyQueryInput": {
        "type": "object",
        "properties": {
          "originStops": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            },
            "description": "Resident timetable stop indices for origin candidates."
          },
          "originWalkSeconds": {
            "type": "array",
            "items": {
              "type": "number"
            },
            "description": "Access seconds parallel to origin stop candidates."
          },
          "destinationOffsets": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            },
            "description": "Cumulative boundaries grouping packed destination candidates; starts at zero."
          },
          "destinationStops": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            },
            "description": "Resident timetable stop indices for destination candidates."
          },
          "destinationWalkSeconds": {
            "type": "array",
            "items": {
              "type": "number"
            },
            "description": "Egress seconds parallel to destination stop candidates."
          },
          "excludedTrips": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            },
            "description": "Active trip indices to exclude from this query."
          },
          "departure": {
            "type": "number",
            "description": "Earliest departure clock in service-day seconds."
          },
          "horizon": {
            "type": "number",
            "description": "Latest scan clock in service-day seconds, not a duration."
          },
          "allowPreRideTransfers": {
            "type": "boolean",
            "description": "Allow transfer-graph movement before first boarding; per-origin arrays for grouped queries."
          },
          "allowPostRideTransfers": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "type": "boolean"
                }
              },
              {
                "type": "null"
              }
            ],
            "description": "Allow transfer-graph movement after the last ride; per-destination arrays where typed."
          },
          "maximumBoardings": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0,
                "maximum": 4294967295
              },
              {
                "type": "null"
              }
            ],
            "description": "Vehicle boarding cap, one larger than a transfer cap."
          }
        },
        "required": [
          "originStops",
          "originWalkSeconds",
          "destinationOffsets",
          "destinationStops",
          "destinationWalkSeconds",
          "excludedTrips",
          "departure",
          "horizon",
          "allowPreRideTransfers"
        ],
        "additionalProperties": true,
        "description": "Generated from crates/vigo-route/src/timetable/types.rs. Native semantic validation also applies."
      },
      "TimetableManyQueryResult": {
        "type": "object",
        "properties": {
          "supported": {
            "type": "boolean"
          },
          "status": {
            "type": "string"
          },
          "reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "algorithm": {
            "type": "string"
          },
          "bestArrivals": {
            "type": "array",
            "items": {
              "type": [
                "number",
                "null"
              ]
            },
            "description": "Earliest arrival clocks in service-day seconds, in destination-group order. Null marks an unreachable destination."
          },
          "bestDestinationIndex": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0,
                "maximum": 4294967295
              },
              {
                "type": "null"
              }
            ]
          },
          "chainKinds": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            }
          },
          "chainFromStops": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": -2147483648,
              "maximum": 2147483647
            }
          },
          "chainToStops": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": -2147483648,
              "maximum": 2147483647
            }
          },
          "chainTripOrCandidate": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": -2147483648,
              "maximum": 2147483647
            }
          },
          "chainBoardSequences": {
            "type": "array",
            "items": {
              "type": [
                "number",
                "null"
              ]
            }
          },
          "chainAlightSequences": {
            "type": "array",
            "items": {
              "type": [
                "number",
                "null"
              ]
            }
          },
          "chainDurations": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            }
          },
          "chainArrivals": {
            "type": "array",
            "items": {
              "type": [
                "number",
                "null"
              ]
            }
          },
          "queryNs": {
            "type": [
              "number",
              "null"
            ],
            "description": "Native query time in nanoseconds; excludes outer transport work."
          },
          "scannedDepartures": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "excludedDepartures": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "relaxedStops": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "expandedTripRuns": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "dominatedTripBoardings": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "explicitTransferChecks": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          }
        },
        "required": [
          "supported",
          "status",
          "reason",
          "algorithm",
          "bestArrivals",
          "bestDestinationIndex",
          "chainKinds",
          "chainFromStops",
          "chainToStops",
          "chainTripOrCandidate",
          "chainBoardSequences",
          "chainAlightSequences",
          "chainDurations",
          "chainArrivals",
          "queryNs",
          "scannedDepartures",
          "excludedDepartures",
          "relaxedStops",
          "expandedTripRuns",
          "dominatedTripBoardings",
          "explicitTransferChecks"
        ],
        "additionalProperties": true,
        "description": "Generated from crates/vigo-route/src/timetable/types.rs. Native semantic validation also applies."
      },
      "TimetableArriveByManyQueryInput": {
        "type": "object",
        "properties": {
          "originOffsets": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            },
            "description": "Cumulative boundaries grouping packed origin candidates; starts at zero."
          },
          "originStops": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            },
            "description": "Resident timetable stop indices for origin candidates."
          },
          "originWalkSeconds": {
            "type": "array",
            "items": {
              "type": "number"
            },
            "description": "Access seconds parallel to origin stop candidates."
          },
          "allowPreRideTransfers": {
            "type": "array",
            "items": {
              "type": "boolean"
            },
            "description": "Allow transfer-graph movement before first boarding; per-origin arrays for grouped queries."
          },
          "destinationStops": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            },
            "description": "Resident timetable stop indices for destination candidates."
          },
          "destinationWalkSeconds": {
            "type": "array",
            "items": {
              "type": "number"
            },
            "description": "Egress seconds parallel to destination stop candidates."
          },
          "earliest": {
            "type": "number",
            "description": "Earliest permitted search clock in service-day seconds."
          },
          "deadline": {
            "type": "number",
            "description": "Arrival deadline in service-day seconds."
          },
          "excludedTrips": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            },
            "description": "Active trip indices to exclude from this query."
          },
          "allowPostRideTransfers": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "description": "Allow transfer-graph movement after the last ride; per-destination arrays where typed."
          },
          "maximumBoardings": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0,
                "maximum": 4294967295
              },
              {
                "type": "null"
              }
            ],
            "description": "Vehicle boarding cap, one larger than a transfer cap."
          }
        },
        "required": [
          "originOffsets",
          "originStops",
          "originWalkSeconds",
          "allowPreRideTransfers",
          "destinationStops",
          "destinationWalkSeconds",
          "earliest",
          "deadline",
          "excludedTrips"
        ],
        "additionalProperties": true,
        "description": "Generated from crates/vigo-route/src/timetable/types.rs. Native semantic validation also applies."
      },
      "TimetableArriveByManyQueryResult": {
        "type": "object",
        "properties": {
          "latestDepartures": {
            "type": "array",
            "items": {
              "type": [
                "number",
                "null"
              ]
            },
            "description": "Latest departure clocks in service-day seconds, in origin-group order. Null marks an unreachable origin."
          },
          "queryNs": {
            "type": [
              "number",
              "null"
            ],
            "description": "Native query time in nanoseconds; excludes outer transport work."
          },
          "scannedDepartures": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "excludedDepartures": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "relaxedStops": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "expandedTripRuns": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "dominatedTripBoardings": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "explicitTransferChecks": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          }
        },
        "required": [
          "latestDepartures",
          "queryNs",
          "scannedDepartures",
          "excludedDepartures",
          "relaxedStops",
          "expandedTripRuns",
          "dominatedTripBoardings",
          "explicitTransferChecks"
        ],
        "additionalProperties": true,
        "description": "Generated from crates/vigo-route/src/timetable/types.rs. Native semantic validation also applies."
      },
      "TimetableParetoQueryInput": {
        "type": "object",
        "properties": {
          "originStops": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            },
            "description": "Resident timetable stop indices for origin candidates."
          },
          "originWalkSeconds": {
            "type": "array",
            "items": {
              "type": "number"
            },
            "description": "Access seconds parallel to origin stop candidates."
          },
          "originCandidateIndices": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            },
            "description": "Caller candidate identities used in origin witness references."
          },
          "destinationStops": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            },
            "description": "Resident timetable stop indices for destination candidates."
          },
          "destinationWalkSeconds": {
            "type": "array",
            "items": {
              "type": "number"
            },
            "description": "Egress seconds parallel to destination stop candidates."
          },
          "destinationCandidateIndices": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            },
            "description": "Caller candidate identities used in destination witness references."
          },
          "departure": {
            "type": "number",
            "description": "Earliest departure clock in service-day seconds."
          },
          "horizon": {
            "type": "number",
            "description": "Latest scan clock in service-day seconds, not a duration."
          },
          "allowPreRideTransfers": {
            "type": "boolean",
            "description": "Allow transfer-graph movement before first boarding; per-origin arrays for grouped queries."
          },
          "earliestArrival": {
            "type": "number",
            "description": "Reference earliest arrival clock for Pareto bounds, in seconds."
          },
          "boardingUpperBound": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295,
            "description": "Maximum boarding count considered by the Pareto search."
          },
          "candidateDestinationIndex": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295,
            "description": "Reference candidate destination identity for Pareto certification."
          },
          "candidateWalkingSeconds": {
            "type": "number",
            "description": "Walking time of the candidate being certified."
          },
          "arrivalSlackSeconds": {
            "type": "number",
            "description": "Permitted arrival slack relative to the supplied reference arrival."
          },
          "transferPenaltySeconds": {
            "type": "number",
            "description": "Generalized-cost penalty associated with additional boardings."
          },
          "walkReluctance": {
            "type": "number",
            "description": "Walking cost multiplier used by the native Pareto objective."
          },
          "collectAlternatives": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "description": "Return arrival/boarding/walking trade-offs inside the supplied bounds."
          },
          "alternativeRanking": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "`pareto` (default) returns nondominated completions; `ranked` returns the earliest distinct completions, including dominated ones."
          },
          "alternativeLimit": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0,
                "maximum": 4294967295
              },
              {
                "type": "null"
              }
            ],
            "description": "Maximum ranked completions returned; Pareto frontiers are complete."
          },
          "restrictionMode": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional exact corridor restriction mode used by the production Pareto certifier."
          },
          "allowPostRideTransfers": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "description": "Allow transfer-graph movement after the last ride; per-destination arrays where typed."
          },
          "deadlineObjective": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "description": "At a fixed latest departure, minimize boardings, then walking, then arrival, subject to the supplied hard arrival bound."
          }
        },
        "required": [
          "originStops",
          "originWalkSeconds",
          "originCandidateIndices",
          "destinationStops",
          "destinationWalkSeconds",
          "destinationCandidateIndices",
          "departure",
          "horizon",
          "allowPreRideTransfers",
          "earliestArrival",
          "boardingUpperBound",
          "candidateDestinationIndex",
          "candidateWalkingSeconds",
          "arrivalSlackSeconds",
          "transferPenaltySeconds",
          "walkReluctance"
        ],
        "additionalProperties": true,
        "description": "Generated from crates/vigo-route/src/timetable/types.rs. Native semantic validation also applies."
      },
      "TimetableParetoQueryResult": {
        "type": "object",
        "properties": {
          "supported": {
            "type": "boolean"
          },
          "status": {
            "type": "string"
          },
          "reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "bestArrival": {
            "anyOf": [
              {
                "type": [
                  "number",
                  "null"
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "bestBoardings": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0,
                "maximum": 4294967295
              },
              {
                "type": "null"
              }
            ]
          },
          "bestDestinationIndex": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0,
                "maximum": 4294967295
              },
              {
                "type": "null"
              }
            ]
          },
          "bestWalkingSeconds": {
            "anyOf": [
              {
                "type": [
                  "number",
                  "null"
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "bestGeneralizedSeconds": {
            "anyOf": [
              {
                "type": [
                  "number",
                  "null"
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "improvedCandidate": {
            "type": "boolean"
          },
          "alternatives": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/TimetableParetoAlternative"
                }
              },
              {
                "type": "null"
              }
            ]
          },
          "chainKinds": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            }
          },
          "chainFromStops": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": -2147483648,
              "maximum": 2147483647
            }
          },
          "chainToStops": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": -2147483648,
              "maximum": 2147483647
            }
          },
          "chainTripOrCandidate": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": -2147483648,
              "maximum": 2147483647
            }
          },
          "chainBoardSequences": {
            "type": "array",
            "items": {
              "type": [
                "number",
                "null"
              ]
            }
          },
          "chainAlightSequences": {
            "type": "array",
            "items": {
              "type": [
                "number",
                "null"
              ]
            }
          },
          "chainDurations": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            }
          },
          "chainArrivals": {
            "type": "array",
            "items": {
              "type": [
                "number",
                "null"
              ]
            }
          },
          "queryNs": {
            "type": [
              "number",
              "null"
            ],
            "description": "Native query time in nanoseconds; excludes outer transport work."
          },
          "corridorNs": {
            "type": [
              "number",
              "null"
            ]
          },
          "forwardNs": {
            "type": [
              "number",
              "null"
            ]
          },
          "reverseNs": {
            "type": [
              "number",
              "null"
            ]
          },
          "roundNs": {
            "type": [
              "number",
              "null"
            ]
          },
          "corridorExitEvents": {
            "type": [
              "number",
              "null"
            ]
          },
          "corridorRunSegments": {
            "type": [
              "number",
              "null"
            ]
          },
          "corridorTransferEdges": {
            "type": [
              "number",
              "null"
            ]
          },
          "forwardDepartureEvents": {
            "type": [
              "number",
              "null"
            ]
          },
          "forwardRunSegments": {
            "type": [
              "number",
              "null"
            ]
          },
          "forwardTransferEdges": {
            "type": [
              "number",
              "null"
            ]
          },
          "scannedDepartures": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "relaxedStops": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "expandedTripRuns": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "dominatedTripBoardings": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "explicitTransferChecks": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "dominatedCandidateLabels": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "dominatedExistingLabels": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "terminalCandidatesEvaluated": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "paretoLabels": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "runProfiles": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "restrictionMode": {
            "type": "string"
          },
          "forwardRestrictionApplied": {
            "type": "boolean"
          },
          "reverseRestrictionApplied": {
            "type": "boolean"
          },
          "scalarEnvelopeReused": {
            "type": "boolean"
          },
          "forwardEnvelopeBuilt": {
            "type": "boolean"
          },
          "reverseCorridorBuilt": {
            "type": "boolean"
          },
          "retainedRunLayerMemberships": {
            "type": [
              "number",
              "null"
            ]
          },
          "totalRunLayerMemberships": {
            "type": [
              "number",
              "null"
            ]
          },
          "retainedSegmentLayerMemberships": {
            "type": [
              "number",
              "null"
            ]
          },
          "totalSegmentLayerMemberships": {
            "type": [
              "number",
              "null"
            ]
          },
          "retainedStopDeadlineMemberships": {
            "type": [
              "number",
              "null"
            ]
          },
          "totalStopDeadlineMemberships": {
            "type": [
              "number",
              "null"
            ]
          },
          "retainedUniqueRuns": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "restrictionBytes": {
            "type": [
              "number",
              "null"
            ]
          },
          "labelBytes": {
            "type": [
              "number",
              "null"
            ]
          }
        },
        "required": [
          "supported",
          "status",
          "reason",
          "bestArrival",
          "bestBoardings",
          "bestDestinationIndex",
          "bestWalkingSeconds",
          "bestGeneralizedSeconds",
          "improvedCandidate",
          "alternatives",
          "chainKinds",
          "chainFromStops",
          "chainToStops",
          "chainTripOrCandidate",
          "chainBoardSequences",
          "chainAlightSequences",
          "chainDurations",
          "chainArrivals",
          "queryNs",
          "corridorNs",
          "forwardNs",
          "reverseNs",
          "roundNs",
          "corridorExitEvents",
          "corridorRunSegments",
          "corridorTransferEdges",
          "forwardDepartureEvents",
          "forwardRunSegments",
          "forwardTransferEdges",
          "scannedDepartures",
          "relaxedStops",
          "expandedTripRuns",
          "dominatedTripBoardings",
          "explicitTransferChecks",
          "dominatedCandidateLabels",
          "dominatedExistingLabels",
          "terminalCandidatesEvaluated",
          "paretoLabels",
          "runProfiles",
          "restrictionMode",
          "forwardRestrictionApplied",
          "reverseRestrictionApplied",
          "scalarEnvelopeReused",
          "forwardEnvelopeBuilt",
          "reverseCorridorBuilt",
          "retainedRunLayerMemberships",
          "totalRunLayerMemberships",
          "retainedSegmentLayerMemberships",
          "totalSegmentLayerMemberships",
          "retainedStopDeadlineMemberships",
          "totalStopDeadlineMemberships",
          "retainedUniqueRuns",
          "restrictionBytes",
          "labelBytes"
        ],
        "additionalProperties": true,
        "description": "Generated from crates/vigo-route/src/timetable/types.rs. Native semantic validation also applies."
      },
      "TimetableParetoAlternative": {
        "type": "object",
        "properties": {
          "bestArrival": {
            "type": [
              "number",
              "null"
            ]
          },
          "bestBoardings": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "bestDestinationIndex": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "bestWalkingSeconds": {
            "type": [
              "number",
              "null"
            ]
          },
          "chainKinds": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            }
          },
          "chainFromStops": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": -2147483648,
              "maximum": 2147483647
            }
          },
          "chainToStops": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": -2147483648,
              "maximum": 2147483647
            }
          },
          "chainTripOrCandidate": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": -2147483648,
              "maximum": 2147483647
            }
          },
          "chainBoardSequences": {
            "type": "array",
            "items": {
              "type": [
                "number",
                "null"
              ]
            }
          },
          "chainAlightSequences": {
            "type": "array",
            "items": {
              "type": [
                "number",
                "null"
              ]
            }
          },
          "chainDurations": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            }
          },
          "chainArrivals": {
            "type": "array",
            "items": {
              "type": [
                "number",
                "null"
              ]
            }
          }
        },
        "required": [
          "bestArrival",
          "bestBoardings",
          "bestDestinationIndex",
          "bestWalkingSeconds",
          "chainKinds",
          "chainFromStops",
          "chainToStops",
          "chainTripOrCandidate",
          "chainBoardSequences",
          "chainAlightSequences",
          "chainDurations",
          "chainArrivals"
        ],
        "additionalProperties": true,
        "description": "Generated from crates/vigo-route/src/timetable/types.rs. Native semantic validation also applies."
      },
      "TimetableOverlayManyQueryInput": {
        "type": "object",
        "properties": {
          "originStops": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            },
            "description": "Resident timetable stop indices for origin candidates."
          },
          "originWalkSeconds": {
            "type": "array",
            "items": {
              "type": "number"
            },
            "description": "Access seconds parallel to origin stop candidates."
          },
          "destinationOffsets": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            },
            "description": "Cumulative boundaries grouping packed destination candidates; starts at zero."
          },
          "destinationStops": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            },
            "description": "Resident timetable stop indices for destination candidates."
          },
          "destinationWalkSeconds": {
            "type": "array",
            "items": {
              "type": "number"
            },
            "description": "Egress seconds parallel to destination stop candidates."
          },
          "excludedTrips": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            },
            "description": "Active trip indices to exclude from this query."
          },
          "departure": {
            "type": "number",
            "description": "Earliest departure clock in service-day seconds."
          },
          "horizon": {
            "type": "number",
            "description": "Latest scan clock in service-day seconds, not a duration."
          },
          "allowPreRideTransfers": {
            "type": "boolean",
            "description": "Allow transfer-graph movement before first boarding; per-origin arrays for grouped queries."
          },
          "overlayStopCount": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295,
            "description": "Number of overlay-local stops appended to the resident domain."
          },
          "overlayBaseStops": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": -2147483648,
              "maximum": 2147483647
            },
            "description": "Resident identity for each overlay stop, or -1 for a new scenario stop. Realtime replacements inherit the original station's transfer rules."
          },
          "directionOffsets": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            },
            "description": "Cumulative boundaries grouping each planned direction/run stop list."
          },
          "directionStops": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            },
            "description": "Packed stop indices in the overlay-local domain."
          },
          "directionStopOffsetsSeconds": {
            "type": "array",
            "items": {
              "type": "number"
            },
            "description": "Departure offsets from each planned run start."
          },
          "directionArrivalOffsetsSeconds": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "type": "number"
                }
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional arrival offsets preserve dwell time in realtime replacements. Frequency scenarios without this field retain their existing offsets."
          },
          "serviceStartSeconds": {
            "type": "array",
            "items": {
              "type": "number"
            },
            "description": "First run departure clock for each planned direction."
          },
          "serviceEndSeconds": {
            "type": "array",
            "items": {
              "type": "number"
            },
            "description": "Last allowed run departure clock for each planned direction."
          },
          "serviceHeadwaySeconds": {
            "type": "array",
            "items": {
              "type": "number"
            },
            "description": "Positive spacing between generated run departures."
          },
          "supplementalTransferOffsets": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            },
            "description": "Cumulative transfer boundaries for the combined resident-plus-overlay stop domain."
          },
          "supplementalTransferTo": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            },
            "description": "Transfer target indices in the combined stop domain."
          },
          "supplementalTransferDuration": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            },
            "description": "Supplemental transfer durations in seconds."
          },
          "originCandidateIndices": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 4294967295
                }
              },
              {
                "type": "null"
              }
            ],
            "description": "Caller candidate identities used in origin witness references."
          },
          "destinationCandidateIndices": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 4294967295
                }
              },
              {
                "type": "null"
              }
            ],
            "description": "Caller candidate identities used in destination witness references."
          },
          "directionCanBoard": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 255
                }
              },
              {
                "type": "null"
              }
            ]
          },
          "directionCanAlight": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 255
                }
              },
              {
                "type": "null"
              }
            ]
          },
          "allowPostRideTransfers": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "type": "boolean"
                }
              },
              {
                "type": "null"
              }
            ],
            "description": "Allow transfer-graph movement after the last ride; per-destination arrays where typed."
          },
          "maximumBoardings": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0,
                "maximum": 4294967295
              },
              {
                "type": "null"
              }
            ],
            "description": "Vehicle boarding cap, one larger than a transfer cap."
          },
          "certifyJourney": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "description": "Certify secondary objectives for a single journey, without charging matrix/scenario callers for itinerary ranking."
          }
        },
        "required": [
          "originStops",
          "originWalkSeconds",
          "destinationOffsets",
          "destinationStops",
          "destinationWalkSeconds",
          "excludedTrips",
          "departure",
          "horizon",
          "allowPreRideTransfers",
          "overlayStopCount",
          "overlayBaseStops",
          "directionOffsets",
          "directionStops",
          "directionStopOffsetsSeconds",
          "serviceStartSeconds",
          "serviceEndSeconds",
          "serviceHeadwaySeconds",
          "supplementalTransferOffsets",
          "supplementalTransferTo",
          "supplementalTransferDuration"
        ],
        "additionalProperties": true,
        "description": "Generated from crates/vigo-route/src/timetable/types.rs. Native semantic validation also applies."
      },
      "TimetableOverlayManyQueryResult": {
        "type": "object",
        "properties": {
          "timetable": {
            "$ref": "#/components/schemas/TimetableManyQueryResult"
          },
          "overlayConnections": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "overlayRuns": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "overlayRunDirections": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            },
            "description": "Input direction for each query-local run. Expired directions may emit no runs and frequency directions may emit several."
          },
          "supplementalTransferEdges": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "compileNs": {
            "type": [
              "number",
              "null"
            ]
          },
          "scanNs": {
            "type": [
              "number",
              "null"
            ]
          },
          "transientBytes": {
            "type": [
              "number",
              "null"
            ]
          },
          "workspaceBytes": {
            "type": [
              "number",
              "null"
            ]
          },
          "lexicographicCertified": {
            "type": "boolean"
          },
          "qualityQueryNs": {
            "type": [
              "number",
              "null"
            ]
          },
          "qualityBytes": {
            "type": [
              "number",
              "null"
            ]
          },
          "qualityReason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "timetable",
          "overlayConnections",
          "overlayRuns",
          "overlayRunDirections",
          "supplementalTransferEdges",
          "compileNs",
          "scanNs",
          "transientBytes",
          "workspaceBytes",
          "lexicographicCertified",
          "qualityQueryNs",
          "qualityBytes",
          "qualityReason"
        ],
        "additionalProperties": true,
        "description": "Generated from crates/vigo-route/src/timetable/types.rs. Native semantic validation also applies."
      },
      "EndpointRoleInput": {
        "type": "object",
        "properties": {
          "longitude": {
            "type": "number",
            "description": "WGS84 longitude in degrees."
          },
          "latitude": {
            "type": "number",
            "description": "WGS84 latitude in degrees."
          },
          "maximumWalkM": {
            "type": "number",
            "description": "Maximum endpoint or terminal walking distance in meters."
          },
          "walkingSpeedKph": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "description": "Walking speed in kilometers per hour; omission uses the prepared policy."
          },
          "accessPaddingFactor": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "description": "Multiplier applied to transit endpoint walking time."
          },
          "accessOverheadSeconds": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "description": "Fixed transit endpoint access overhead in seconds."
          },
          "role": {
            "type": "string",
            "description": "Endpoint direction: origin or destination; directed walking access and egress differ."
          },
          "disableCache": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "description": "Disable endpoint cache reuse for this call."
          }
        },
        "required": [
          "longitude",
          "latitude",
          "maximumWalkM",
          "role"
        ],
        "additionalProperties": true,
        "description": "Generated from crates/vigo-runtime/src/lib.rs. Native semantic validation also applies."
      },
      "EndpointRoleResult": {
        "type": "object",
        "properties": {
          "queryToken": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "cacheHit": {
            "type": "boolean"
          },
          "memberIndices": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            }
          },
          "pathMemberIndices": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            }
          },
          "distancesM": {
            "type": "array",
            "items": {
              "type": [
                "number",
                "null"
              ]
            }
          },
          "accessSeconds": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            }
          },
          "candidateKinds": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            }
          },
          "linkFromStopKeys": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            }
          },
          "linkToStopKeys": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            }
          },
          "linkDurations": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            }
          },
          "linkPathDistancesM": {
            "type": "array",
            "items": {
              "type": [
                "number",
                "null"
              ]
            }
          },
          "linkStreetVerified": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            }
          },
          "queryNs": {
            "type": [
              "number",
              "null"
            ],
            "description": "Native query time in nanoseconds; excludes outer transport work."
          },
          "accessReductionNs": {
            "type": [
              "number",
              "null"
            ]
          },
          "snapNs": {
            "type": [
              "number",
              "null"
            ]
          },
          "searchNs": {
            "type": [
              "number",
              "null"
            ]
          },
          "settledNodes": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "relaxedEdges": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "rawCandidates": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "linkedStations": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "cchAccelerated": {
            "type": "boolean"
          }
        },
        "required": [
          "queryToken",
          "cacheHit",
          "memberIndices",
          "pathMemberIndices",
          "distancesM",
          "accessSeconds",
          "candidateKinds",
          "linkFromStopKeys",
          "linkToStopKeys",
          "linkDurations",
          "linkPathDistancesM",
          "linkStreetVerified",
          "queryNs",
          "accessReductionNs",
          "snapNs",
          "searchNs",
          "settledNodes",
          "relaxedEdges",
          "rawCandidates",
          "linkedStations",
          "cchAccelerated"
        ],
        "additionalProperties": true,
        "description": "Generated from crates/vigo-runtime/src/lib.rs. Native semantic validation also applies."
      },
      "EndpointRouteInput": {
        "type": "object",
        "properties": {
          "originLon": {
            "type": "number",
            "description": "Origin longitude in degrees."
          },
          "originLat": {
            "type": "number",
            "description": "Origin latitude in degrees."
          },
          "destinationLon": {
            "type": "number",
            "description": "Destination longitude in degrees."
          },
          "destinationLat": {
            "type": "number",
            "description": "Destination latitude in degrees."
          },
          "maximumWalkM": {
            "type": "number",
            "description": "Maximum endpoint or terminal walking distance in meters."
          },
          "walkingSpeedKph": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "description": "Walking speed in kilometers per hour; omission uses the prepared policy."
          },
          "accessPaddingFactor": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "description": "Multiplier applied to transit endpoint walking time."
          },
          "accessOverheadSeconds": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "description": "Fixed transit endpoint access overhead in seconds."
          },
          "disableCache": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "description": "Disable endpoint cache reuse for this call."
          }
        },
        "required": [
          "originLon",
          "originLat",
          "destinationLon",
          "destinationLat",
          "maximumWalkM"
        ],
        "additionalProperties": true,
        "description": "Generated from crates/vigo-runtime/src/lib.rs. Native semantic validation also applies."
      },
      "EndpointRouteResult": {
        "type": "object",
        "properties": {
          "queryToken": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "cacheHit": {
            "type": "boolean"
          },
          "originCacheHit": {
            "type": "boolean"
          },
          "destinationCacheHit": {
            "type": "boolean"
          },
          "originMemberIndices": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            }
          },
          "originPathMemberIndices": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            }
          },
          "originDistancesM": {
            "type": "array",
            "items": {
              "type": [
                "number",
                "null"
              ]
            }
          },
          "originAccessSeconds": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            }
          },
          "originCandidateKinds": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            }
          },
          "originLinkFromStopKeys": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            }
          },
          "originLinkToStopKeys": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            }
          },
          "originLinkDurations": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            }
          },
          "originLinkPathDistancesM": {
            "type": "array",
            "items": {
              "type": [
                "number",
                "null"
              ]
            }
          },
          "originLinkStreetVerified": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            }
          },
          "originAccessReductionNs": {
            "type": [
              "number",
              "null"
            ]
          },
          "destinationMemberIndices": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            }
          },
          "destinationPathMemberIndices": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            }
          },
          "destinationDistancesM": {
            "type": "array",
            "items": {
              "type": [
                "number",
                "null"
              ]
            }
          },
          "destinationAccessSeconds": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            }
          },
          "destinationCandidateKinds": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            }
          },
          "destinationLinkFromStopKeys": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            }
          },
          "destinationLinkToStopKeys": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            }
          },
          "destinationLinkDurations": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            }
          },
          "destinationLinkPathDistancesM": {
            "type": "array",
            "items": {
              "type": [
                "number",
                "null"
              ]
            }
          },
          "destinationLinkStreetVerified": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            }
          },
          "destinationAccessReductionNs": {
            "type": [
              "number",
              "null"
            ]
          },
          "queryNs": {
            "type": [
              "number",
              "null"
            ],
            "description": "Native query time in nanoseconds; excludes outer transport work."
          },
          "accessReductionNs": {
            "type": [
              "number",
              "null"
            ]
          },
          "snapNs": {
            "type": [
              "number",
              "null"
            ]
          },
          "originSearchNs": {
            "type": [
              "number",
              "null"
            ]
          },
          "destinationSearchNs": {
            "type": [
              "number",
              "null"
            ]
          },
          "originSettledNodes": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "destinationSettledNodes": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "originRelaxedEdges": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "destinationRelaxedEdges": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "originRawCandidates": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "destinationRawCandidates": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "originLinkedStations": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "destinationLinkedStations": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "originCchAccelerated": {
            "type": "boolean"
          },
          "destinationCchAccelerated": {
            "type": "boolean"
          }
        },
        "required": [
          "queryToken",
          "cacheHit",
          "originCacheHit",
          "destinationCacheHit",
          "originMemberIndices",
          "originPathMemberIndices",
          "originDistancesM",
          "originAccessSeconds",
          "originCandidateKinds",
          "originLinkFromStopKeys",
          "originLinkToStopKeys",
          "originLinkDurations",
          "originLinkPathDistancesM",
          "originLinkStreetVerified",
          "originAccessReductionNs",
          "destinationMemberIndices",
          "destinationPathMemberIndices",
          "destinationDistancesM",
          "destinationAccessSeconds",
          "destinationCandidateKinds",
          "destinationLinkFromStopKeys",
          "destinationLinkToStopKeys",
          "destinationLinkDurations",
          "destinationLinkPathDistancesM",
          "destinationLinkStreetVerified",
          "destinationAccessReductionNs",
          "queryNs",
          "accessReductionNs",
          "snapNs",
          "originSearchNs",
          "destinationSearchNs",
          "originSettledNodes",
          "destinationSettledNodes",
          "originRelaxedEdges",
          "destinationRelaxedEdges",
          "originRawCandidates",
          "destinationRawCandidates",
          "originLinkedStations",
          "destinationLinkedStations",
          "originCchAccelerated",
          "destinationCchAccelerated"
        ],
        "additionalProperties": true,
        "description": "Generated from crates/vigo-runtime/src/lib.rs. Native semantic validation also applies."
      },
      "StreetPathInput": {
        "type": "object",
        "properties": {
          "originLon": {
            "type": "number",
            "description": "Origin longitude in degrees."
          },
          "originLat": {
            "type": "number",
            "description": "Origin latitude in degrees."
          },
          "destinationLon": {
            "type": "number",
            "description": "Destination longitude in degrees."
          },
          "destinationLat": {
            "type": "number",
            "description": "Destination latitude in degrees."
          },
          "maximumDistanceM": {
            "type": "number",
            "description": "Maximum street path distance in meters."
          },
          "maximumPoints": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295,
            "description": "Maximum number of returned path geometry points."
          }
        },
        "required": [
          "originLon",
          "originLat",
          "destinationLon",
          "destinationLat",
          "maximumDistanceM",
          "maximumPoints"
        ],
        "additionalProperties": true,
        "description": "Generated from crates/vigo-runtime/src/lib.rs. Native semantic validation also applies."
      },
      "StreetPathResult": {
        "type": "object",
        "properties": {
          "found": {
            "type": "boolean"
          },
          "distanceM": {
            "type": [
              "number",
              "null"
            ],
            "description": "Returned path distance in meters."
          },
          "originSnapDistanceM": {
            "type": [
              "number",
              "null"
            ]
          },
          "destinationSnapDistanceM": {
            "type": [
              "number",
              "null"
            ]
          },
          "coordinates": {
            "type": "array",
            "items": {
              "type": [
                "number",
                "null"
              ]
            },
            "description": "Flat longitude/latitude pairs describing the returned path."
          },
          "queryNs": {
            "type": [
              "number",
              "null"
            ],
            "description": "Native query time in nanoseconds; excludes outer transport work."
          },
          "settledNodes": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "relaxedEdges": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "chainSkippedNodes": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "contractedArcRelaxations": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "cchAccelerated": {
            "type": "boolean"
          }
        },
        "required": [
          "found",
          "distanceM",
          "originSnapDistanceM",
          "destinationSnapDistanceM",
          "coordinates",
          "queryNs",
          "settledNodes",
          "relaxedEdges",
          "chainSkippedNodes",
          "contractedArcRelaxations",
          "cchAccelerated"
        ],
        "additionalProperties": true,
        "description": "Generated from crates/vigo-runtime/src/lib.rs. Native semantic validation also applies."
      },
      "StreetMatrixInput": {
        "type": "object",
        "properties": {
          "originCoordinates": {
            "type": "array",
            "items": {
              "type": "number"
            },
            "description": "Flat longitude/latitude pairs in origin row order."
          },
          "destinationCoordinates": {
            "type": "array",
            "items": {
              "type": "number"
            },
            "description": "Flat longitude/latitude pairs in destination column order."
          },
          "maximumDistanceM": {
            "type": "number",
            "description": "Maximum street path distance in meters."
          },
          "disableCache": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "description": "Disable endpoint cache reuse for this call."
          }
        },
        "required": [
          "originCoordinates",
          "destinationCoordinates",
          "maximumDistanceM"
        ],
        "additionalProperties": true,
        "description": "Generated from crates/vigo-runtime/src/lib.rs. Native semantic validation also applies."
      },
      "StreetMatrixResult": {
        "type": "object",
        "properties": {
          "reusedEndpointSnaps": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "distancesM": {
            "type": "array",
            "items": {
              "type": [
                "number",
                "null"
              ]
            },
            "description": "Flat origin-major matrix of directed street distances in meters; null marks an unreachable pair."
          },
          "readyPairs": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "sourceCandidates": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "destinationCandidates": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "queryNs": {
            "type": [
              "number",
              "null"
            ],
            "description": "Native query time in nanoseconds; excludes outer transport work."
          },
          "cchAccelerated": {
            "type": "boolean"
          },
          "algorithm": {
            "type": "string"
          }
        },
        "required": [
          "reusedEndpointSnaps",
          "distancesM",
          "readyPairs",
          "sourceCandidates",
          "destinationCandidates",
          "queryNs",
          "cchAccelerated",
          "algorithm"
        ],
        "additionalProperties": true,
        "description": "Generated from crates/vigo-runtime/src/lib.rs. Native semantic validation also applies."
      },
      "StreetSurfaceInput": {
        "type": "object",
        "properties": {
          "surfaceReuse": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Internal Studio reference-state retention or scenario reuse; absent means a fresh search."
          },
          "bounds": {
            "type": "array",
            "items": {
              "type": "number"
            },
            "description": "Geographic bounds in west, south, east, north order."
          },
          "width": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295,
            "description": "Number of raster columns."
          },
          "height": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295,
            "description": "Number of raster rows."
          },
          "seedCoordinates": {
            "type": "array",
            "items": {
              "type": "number"
            },
            "description": "Flat longitude/latitude pairs for surface/connector seeds."
          },
          "seedDurationsMinutes": {
            "type": "array",
            "items": {
              "type": "number"
            },
            "description": "Elapsed minutes already spent reaching each seed."
          },
          "seedMemberIndices": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "type": "integer",
                  "minimum": -2147483648,
                  "maximum": 2147483647
                }
              },
              {
                "type": "null"
              }
            ]
          },
          "seedWalkDistancesM": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "type": "number"
                }
              },
              {
                "type": "null"
              }
            ]
          },
          "maximumWalkM": {
            "type": "number",
            "description": "Maximum endpoint or terminal walking distance in meters."
          },
          "walkSpeedKph": {
            "type": "number",
            "description": "Walking speed in kilometers per hour."
          },
          "maximumDurationMinutes": {
            "type": "number",
            "description": "Maximum elapsed duration accepted by the surface/connector query."
          },
          "independentTerminalWalk": {
            "type": "boolean"
          },
          "includeNodes": {
            "type": "boolean",
            "description": "Return native reached-node evidence."
          },
          "nodeEvidenceLimit": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295,
            "description": "Node evidence cap, clamped to 1..100000; zero therefore returns at most one node."
          },
          "includeEdges": {
            "type": "boolean",
            "description": "Return native directed-edge evidence."
          },
          "edgeEvidenceLimit": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295,
            "description": "Edge evidence cap; zero means no caller truncation limit."
          },
          "expandBoundsToReachedEdges": {
            "type": "boolean",
            "description": "Also construct a raster with bounds derived from reached street evidence; these bounds need not contain the requested bounds."
          },
          "reverseDirection": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "description": "Durations to reach the seeds rather than from them: streets are walked backwards, so one-way paths keep their direction."
          }
        },
        "required": [
          "bounds",
          "width",
          "height",
          "seedCoordinates",
          "seedDurationsMinutes",
          "maximumWalkM",
          "walkSpeedKph",
          "maximumDurationMinutes",
          "independentTerminalWalk",
          "includeNodes",
          "nodeEvidenceLimit",
          "includeEdges",
          "edgeEvidenceLimit",
          "expandBoundsToReachedEdges"
        ],
        "additionalProperties": true,
        "description": "Generated from crates/vigo-runtime/src/street_analysis.rs. Native semantic validation also applies."
      },
      "StreetSurfaceResult": {
        "type": "object",
        "properties": {
          "reusedLabels": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "reusedRaster": {
            "type": "boolean"
          },
          "reuseCacheBytes": {
            "type": [
              "number",
              "null"
            ]
          },
          "referenceBuildNs": {
            "type": [
              "number",
              "null"
            ]
          },
          "seedNs": {
            "type": [
              "number",
              "null"
            ]
          },
          "propagationNs": {
            "type": [
              "number",
              "null"
            ]
          },
          "envelopeNs": {
            "type": [
              "number",
              "null"
            ]
          },
          "rasterNs": {
            "type": [
              "number",
              "null"
            ]
          },
          "values": {
            "type": "array",
            "items": {
              "type": [
                "number",
                "null"
              ]
            },
            "description": "Elapsed minutes on the requested raster, flattened by row from the northwest corner. Null marks an unreached cell."
          },
          "fullSurfaceValues": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "type": [
                    "number",
                    "null"
                  ]
                }
              },
              {
                "type": "null"
              }
            ],
            "description": "Elapsed minutes on the recomputed raster, using fullSurfaceBounds and the requested dimensions. Null when no separate raster is returned."
          },
          "fullSurfaceBounds": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "type": [
                    "number",
                    "null"
                  ]
                }
              },
              {
                "type": "null"
              }
            ],
            "description": "Recomputed raster bounds in west, south, east, north order; can be smaller or larger than requested. Null when no separate raster is returned."
          },
          "snappedSeeds": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "settledLabels": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "relaxedEdges": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "retainedLabels": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "reachedPixels": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "queryNs": {
            "type": [
              "number",
              "null"
            ],
            "description": "Native query time in nanoseconds; excludes outer transport work."
          },
          "nodeEvidence": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StreetSurfaceNode"
            }
          },
          "nodeEvidenceTruncated": {
            "type": "boolean",
            "description": "True when reached-node samples exceeded nodeEvidenceLimit after clamping."
          },
          "reachedEdgeCount": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "reachedEdgeLengthM": {
            "type": [
              "number",
              "null"
            ]
          },
          "edgeEvidence": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StreetSurfaceEdge"
            }
          },
          "edgeEvidenceTruncated": {
            "type": "boolean"
          },
          "edgeEvidenceNodes": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "type": [
                    "number",
                    "null"
                  ]
                }
              },
              {
                "type": "null"
              }
            ]
          },
          "edgeEvidenceEndpoints": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 4294967295
                }
              },
              {
                "type": "null"
              }
            ]
          },
          "edgeEvidenceIds": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 4294967295
                }
              },
              {
                "type": "null"
              }
            ]
          },
          "edgeEvidenceDurations": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "type": [
                    "number",
                    "null"
                  ]
                }
              },
              {
                "type": "null"
              }
            ],
            "description": "Elapsed minutes at each retained directed interval end, not its traversal duration."
          },
          "edgeEvidenceStartDurations": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "type": [
                    "number",
                    "null"
                  ]
                }
              },
              {
                "type": "null"
              }
            ]
          },
          "edgeEvidenceStartFractions": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "type": [
                    "number",
                    "null"
                  ]
                }
              },
              {
                "type": "null"
              }
            ]
          },
          "edgeEvidenceEndFractions": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "type": [
                    "number",
                    "null"
                  ]
                }
              },
              {
                "type": "null"
              }
            ]
          },
          "edgeEvidenceWalkDistances": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "type": [
                    "number",
                    "null"
                  ]
                }
              },
              {
                "type": "null"
              }
            ]
          },
          "edgeEvidenceTransitArrivals": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "type": [
                    "number",
                    "null"
                  ]
                }
              },
              {
                "type": "null"
              }
            ],
            "description": "Elapsed seed duration for each indexed edge; -1 marks seed index zero."
          }
        },
        "required": [
          "reusedLabels",
          "reusedRaster",
          "reuseCacheBytes",
          "referenceBuildNs",
          "seedNs",
          "propagationNs",
          "envelopeNs",
          "rasterNs",
          "values",
          "fullSurfaceValues",
          "fullSurfaceBounds",
          "snappedSeeds",
          "settledLabels",
          "relaxedEdges",
          "retainedLabels",
          "reachedPixels",
          "queryNs",
          "nodeEvidence",
          "nodeEvidenceTruncated",
          "reachedEdgeCount",
          "reachedEdgeLengthM",
          "edgeEvidence",
          "edgeEvidenceTruncated",
          "edgeEvidenceNodes",
          "edgeEvidenceEndpoints",
          "edgeEvidenceIds",
          "edgeEvidenceDurations",
          "edgeEvidenceStartDurations",
          "edgeEvidenceStartFractions",
          "edgeEvidenceEndFractions",
          "edgeEvidenceWalkDistances",
          "edgeEvidenceTransitArrivals"
        ],
        "additionalProperties": true,
        "description": "Generated from crates/vigo-runtime/src/street_analysis.rs. Native semantic validation also applies."
      },
      "StreetSurfaceNode": {
        "type": "object",
        "properties": {
          "longitude": {
            "type": [
              "number",
              "null"
            ],
            "description": "WGS84 longitude in degrees."
          },
          "latitude": {
            "type": [
              "number",
              "null"
            ],
            "description": "WGS84 latitude in degrees."
          },
          "durationMinutes": {
            "type": [
              "number",
              "null"
            ]
          },
          "walkDistanceM": {
            "type": [
              "number",
              "null"
            ]
          }
        },
        "required": [
          "longitude",
          "latitude",
          "durationMinutes",
          "walkDistanceM"
        ],
        "additionalProperties": true,
        "description": "Generated from crates/vigo-runtime/src/street_analysis.rs. Native semantic validation also applies."
      },
      "StreetSurfaceEdge": {
        "type": "object",
        "properties": {
          "fromLongitude": {
            "type": [
              "number",
              "null"
            ]
          },
          "fromLatitude": {
            "type": [
              "number",
              "null"
            ]
          },
          "toLongitude": {
            "type": [
              "number",
              "null"
            ]
          },
          "toLatitude": {
            "type": [
              "number",
              "null"
            ]
          },
          "durationMinutes": {
            "type": [
              "number",
              "null"
            ]
          },
          "fromDurationMinutes": {
            "type": [
              "number",
              "null"
            ]
          },
          "walkDistanceM": {
            "type": [
              "number",
              "null"
            ]
          },
          "transitArrivalMinutes": {
            "anyOf": [
              {
                "type": [
                  "number",
                  "null"
                ]
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "fromLongitude",
          "fromLatitude",
          "toLongitude",
          "toLatitude",
          "durationMinutes",
          "fromDurationMinutes",
          "walkDistanceM",
          "transitArrivalMinutes"
        ],
        "additionalProperties": true,
        "description": "Generated from crates/vigo-runtime/src/street_analysis.rs. Native semantic validation also applies."
      },
      "TimedConnectorInput": {
        "type": "object",
        "properties": {
          "seedCoordinates": {
            "type": "array",
            "items": {
              "type": "number"
            },
            "description": "Flat longitude/latitude pairs for surface/connector seeds."
          },
          "seedDurationsMinutes": {
            "type": "array",
            "items": {
              "type": "number"
            },
            "description": "Elapsed minutes already spent reaching each seed."
          },
          "seedMaximumWalkM": {
            "type": "array",
            "items": {
              "type": "number"
            },
            "description": "Per-seed remaining walking allowance in meters."
          },
          "seedIndices": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            },
            "description": "Caller seed identities, parallel to seed coordinate pairs."
          },
          "targetCoordinates": {
            "type": "array",
            "items": {
              "type": "number"
            },
            "description": "Flat longitude/latitude pairs in target order."
          },
          "defaultMaximumWalkM": {
            "type": "number",
            "description": "Default walking allowance in meters."
          },
          "walkSpeedKph": {
            "type": "number",
            "description": "Walking speed in kilometers per hour."
          },
          "maximumDurationMinutes": {
            "type": "number",
            "description": "Maximum elapsed duration accepted by the surface/connector query."
          },
          "includeTargetMatrix": {
            "type": "boolean",
            "description": "Include the seed-to-target connector matrix."
          }
        },
        "required": [
          "seedCoordinates",
          "seedDurationsMinutes",
          "seedMaximumWalkM",
          "seedIndices",
          "targetCoordinates",
          "defaultMaximumWalkM",
          "walkSpeedKph",
          "maximumDurationMinutes",
          "includeTargetMatrix"
        ],
        "additionalProperties": true,
        "description": "Generated from crates/vigo-runtime/src/street_analysis.rs. Native semantic validation also applies."
      },
      "TimedConnectorResult": {
        "type": "object",
        "properties": {
          "durationsMinutes": {
            "type": "array",
            "items": {
              "type": [
                "number",
                "null"
              ]
            }
          },
          "walkDistancesM": {
            "type": "array",
            "items": {
              "type": [
                "number",
                "null"
              ]
            }
          },
          "seedIndices": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": -2147483648,
              "maximum": 2147483647
            },
            "description": "Caller seed identities, parallel to seed coordinate pairs."
          },
          "matrixDurationsMinutes": {
            "type": "array",
            "items": {
              "type": [
                "number",
                "null"
              ]
            }
          },
          "matrixWalkDistancesM": {
            "type": "array",
            "items": {
              "type": [
                "number",
                "null"
              ]
            }
          },
          "matrixReadyPairs": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "searches": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "snappedSeeds": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "snappedTargets": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "reachedTargets": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "settledLabels": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "relaxedEdges": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "retainedLabels": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "aggregateCchAccelerated": {
            "type": "boolean"
          },
          "aggregateCchQueryNs": {
            "type": [
              "number",
              "null"
            ]
          },
          "matrixCchAccelerated": {
            "type": "boolean"
          },
          "matrixCchQueryNs": {
            "type": [
              "number",
              "null"
            ]
          },
          "queryNs": {
            "type": [
              "number",
              "null"
            ],
            "description": "Native query time in nanoseconds; excludes outer transport work."
          }
        },
        "required": [
          "durationsMinutes",
          "walkDistancesM",
          "seedIndices",
          "matrixDurationsMinutes",
          "matrixWalkDistancesM",
          "matrixReadyPairs",
          "searches",
          "snappedSeeds",
          "snappedTargets",
          "reachedTargets",
          "settledLabels",
          "relaxedEdges",
          "retainedLabels",
          "aggregateCchAccelerated",
          "aggregateCchQueryNs",
          "matrixCchAccelerated",
          "matrixCchQueryNs",
          "queryNs"
        ],
        "additionalProperties": true,
        "description": "Generated from crates/vigo-runtime/src/street_analysis.rs. Native semantic validation also applies."
      },
      "DriveQueryInput": {
        "type": "object",
        "properties": {
          "originNodes": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            },
            "description": "Drive-graph candidate node indices for origins."
          },
          "originSnapMeters": {
            "type": "array",
            "items": {
              "type": "number"
            },
            "description": "Origin snap distances in meters, parallel to candidate nodes."
          },
          "targetNodes": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            },
            "description": "Drive-graph candidate node indices for destinations."
          },
          "targetSnapMeters": {
            "type": "array",
            "items": {
              "type": "number"
            },
            "description": "Destination snap distances in meters, parallel to candidate nodes."
          },
          "maximumDistanceMeters": {
            "type": "number",
            "description": "Maximum drive path distance in meters."
          },
          "traffic": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/DriveTrafficInput"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional directed drive-edge metric updates."
          },
          "originSnapSeconds": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "type": "number"
                }
              },
              {
                "type": "null"
              }
            ],
            "description": "Seconds to reach each candidate from its endpoint, when the caller prices the snap itself."
          },
          "targetSnapSeconds": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "type": "number"
                }
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "originNodes",
          "originSnapMeters",
          "targetNodes",
          "targetSnapMeters",
          "maximumDistanceMeters"
        ],
        "additionalProperties": true,
        "description": "Generated from crates/vigo-runtime/src/exact_routing.rs. Native semantic validation also applies."
      },
      "DriveTrafficInput": {
        "type": "object",
        "properties": {
          "snapshotKey": {
            "type": "string",
            "description": "Caller metric identity; the standalone adapter binds caches to actual weights."
          },
          "edgeIndices": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            },
            "description": "Directed edge indices in the active drive graph."
          },
          "edgeTimeUnits": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            },
            "description": "Weights in hundredths of seconds; 2147483647 closes an edge."
          }
        },
        "required": [
          "snapshotKey",
          "edgeIndices",
          "edgeTimeUnits"
        ],
        "additionalProperties": true,
        "description": "Generated from crates/vigo-runtime/src/exact_routing.rs. Native semantic validation also applies."
      },
      "DriveQueryResult": {
        "type": "object",
        "properties": {
          "supported": {
            "type": "boolean"
          },
          "status": {
            "type": "string"
          },
          "reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "distanceMeters": {
            "anyOf": [
              {
                "type": [
                  "number",
                  "null"
                ]
              },
              {
                "type": "null"
              }
            ],
            "description": "Selected drive-path distance in meters."
          },
          "durationSeconds": {
            "anyOf": [
              {
                "type": [
                  "number",
                  "null"
                ]
              },
              {
                "type": "null"
              }
            ],
            "description": "Selected drive-path duration in seconds."
          },
          "originSnapMeters": {
            "anyOf": [
              {
                "type": [
                  "number",
                  "null"
                ]
              },
              {
                "type": "null"
              }
            ],
            "description": "Distance in meters from the selected origin point to the drive graph."
          },
          "targetSnapMeters": {
            "anyOf": [
              {
                "type": [
                  "number",
                  "null"
                ]
              },
              {
                "type": "null"
              }
            ],
            "description": "Distance in meters from the drive graph to the selected destination point."
          },
          "nodeIndices": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            },
            "description": "Ordered node indices in the active drive graph for the selected path."
          },
          "settledLabels": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "relaxedEdges": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "generatedLabels": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "dominatedLabels": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "fastPathQueryNs": {
            "type": [
              "number",
              "null"
            ]
          },
          "distancePathQueryNs": {
            "type": [
              "number",
              "null"
            ]
          },
          "fallbackQueryNs": {
            "type": [
              "number",
              "null"
            ]
          },
          "fallbackUsed": {
            "type": "boolean"
          },
          "cchAccelerated": {
            "type": "boolean"
          },
          "cchCandidateQueries": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "cchSource": {
            "type": "string"
          },
          "trafficApplied": {
            "type": "boolean"
          },
          "trafficSnapshotKey": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "trafficUpdatedEdges": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "trafficCustomizationNs": {
            "type": [
              "number",
              "null"
            ]
          },
          "trafficMetricReused": {
            "type": "boolean"
          },
          "queryNs": {
            "type": [
              "number",
              "null"
            ],
            "description": "Native query time in nanoseconds; excludes outer transport work."
          },
          "algorithm": {
            "type": "string"
          }
        },
        "required": [
          "supported",
          "status",
          "reason",
          "distanceMeters",
          "durationSeconds",
          "originSnapMeters",
          "targetSnapMeters",
          "nodeIndices",
          "settledLabels",
          "relaxedEdges",
          "generatedLabels",
          "dominatedLabels",
          "fastPathQueryNs",
          "distancePathQueryNs",
          "fallbackQueryNs",
          "fallbackUsed",
          "cchAccelerated",
          "cchCandidateQueries",
          "cchSource",
          "trafficApplied",
          "trafficSnapshotKey",
          "trafficUpdatedEdges",
          "trafficCustomizationNs",
          "trafficMetricReused",
          "queryNs",
          "algorithm"
        ],
        "additionalProperties": true,
        "description": "Generated from crates/vigo-runtime/src/exact_routing.rs. Native semantic validation also applies."
      },
      "DriveMatrixInput": {
        "type": "object",
        "properties": {
          "originOffsets": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            },
            "description": "Cumulative boundaries grouping packed origin candidates; starts at zero."
          },
          "originNodes": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            },
            "description": "Drive-graph candidate node indices for origins."
          },
          "originSnapMeters": {
            "type": "array",
            "items": {
              "type": "number"
            },
            "description": "Origin snap distances in meters, parallel to candidate nodes."
          },
          "targetOffsets": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            },
            "description": "Cumulative boundaries grouping packed drive target candidates."
          },
          "targetNodes": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            },
            "description": "Drive-graph candidate node indices for destinations."
          },
          "targetSnapMeters": {
            "type": "array",
            "items": {
              "type": "number"
            },
            "description": "Destination snap distances in meters, parallel to candidate nodes."
          },
          "maximumDistanceMeters": {
            "type": "number",
            "description": "Maximum drive path distance in meters."
          },
          "traffic": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/DriveTrafficInput"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional directed drive-edge metric updates."
          },
          "originSnapSeconds": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "type": "number"
                }
              },
              {
                "type": "null"
              }
            ]
          },
          "targetSnapSeconds": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "type": "number"
                }
              },
              {
                "type": "null"
              }
            ]
          },
          "durationsOnly": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "description": "Report only each pair's least time. Distances stay unset, so neither a path is unpacked per pair nor `maximum_distance_meters` applied to it; a Reach grid reads only times."
          }
        },
        "required": [
          "originOffsets",
          "originNodes",
          "originSnapMeters",
          "targetOffsets",
          "targetNodes",
          "targetSnapMeters",
          "maximumDistanceMeters"
        ],
        "additionalProperties": true,
        "description": "Generated from crates/vigo-runtime/src/exact_routing.rs. Native semantic validation also applies."
      },
      "DriveMatrixResult": {
        "type": "object",
        "properties": {
          "distancesM": {
            "type": "array",
            "items": {
              "type": [
                "number",
                "null"
              ]
            },
            "description": "Flat origin-major matrix of distances in meters; null marks an unreachable pair."
          },
          "durationsS": {
            "type": "array",
            "items": {
              "type": [
                "number",
                "null"
              ]
            },
            "description": "Flat origin-major matrix of travel durations in seconds; null marks an unreachable pair."
          },
          "readyPairs": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "cchCandidateQueries": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "pathQueries": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "queryNs": {
            "type": [
              "number",
              "null"
            ],
            "description": "Native query time in nanoseconds; excludes outer transport work."
          },
          "cchAccelerated": {
            "type": "boolean"
          },
          "trafficApplied": {
            "type": "boolean"
          },
          "trafficSnapshotKey": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "trafficUpdatedEdges": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "trafficCustomizationNs": {
            "type": [
              "number",
              "null"
            ]
          },
          "trafficMetricReused": {
            "type": "boolean"
          },
          "algorithm": {
            "type": "string"
          }
        },
        "required": [
          "distancesM",
          "durationsS",
          "readyPairs",
          "cchCandidateQueries",
          "pathQueries",
          "queryNs",
          "cchAccelerated",
          "trafficApplied",
          "trafficSnapshotKey",
          "trafficUpdatedEdges",
          "trafficCustomizationNs",
          "trafficMetricReused",
          "algorithm"
        ],
        "additionalProperties": true,
        "description": "Generated from crates/vigo-runtime/src/exact_routing.rs. Native semantic validation also applies."
      },
      "RealtimeTimetableInput": {
        "type": "object",
        "properties": {
          "stopCount": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "departureSeconds": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            }
          },
          "arrivalSeconds": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            }
          },
          "fromStop": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            }
          },
          "toStop": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            }
          },
          "sequence": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            }
          },
          "segmentRun": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            }
          },
          "continuityBreak": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 255
            }
          },
          "canBoard": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 255
            }
          },
          "canAlight": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 255
            }
          },
          "tripStart": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            }
          },
          "canceled": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 255
            },
            "description": "Per-trip cancellation flags in the supplied baseline timetable."
          },
          "replacements": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RealtimeTripInput"
            },
            "description": "Explicit effective calls replacing identified baseline trips."
          }
        },
        "required": [
          "stopCount",
          "departureSeconds",
          "arrivalSeconds",
          "fromStop",
          "toStop",
          "sequence",
          "segmentRun",
          "continuityBreak",
          "canBoard",
          "canAlight",
          "tripStart",
          "canceled",
          "replacements"
        ],
        "additionalProperties": true,
        "description": "Generated from crates/vigo-route/src/timetable/realtime.rs. Native semantic validation also applies."
      },
      "RealtimeTripInput": {
        "type": "object",
        "properties": {
          "trip": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "stops": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RealtimeCallInput"
            }
          }
        },
        "required": [
          "trip",
          "stops"
        ],
        "additionalProperties": true,
        "description": "Generated from crates/vigo-route/src/timetable/realtime.rs. Native semantic validation also applies."
      },
      "RealtimeCallInput": {
        "type": "object",
        "properties": {
          "stop": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "arrival": {
            "type": "number"
          },
          "departure": {
            "type": "number",
            "description": "Earliest departure clock in service-day seconds."
          },
          "sequence": {
            "type": "number"
          },
          "canBoard": {
            "type": "boolean"
          },
          "canAlight": {
            "type": "boolean"
          }
        },
        "required": [
          "stop",
          "arrival",
          "departure",
          "sequence",
          "canBoard",
          "canAlight"
        ],
        "additionalProperties": true,
        "description": "Generated from crates/vigo-route/src/timetable/realtime.rs. Native semantic validation also applies."
      },
      "RealtimeTimetableResult": {
        "type": "object",
        "properties": {
          "departureSeconds": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            }
          },
          "arrivalSeconds": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            }
          },
          "fromStop": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            }
          },
          "toStop": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            }
          },
          "sequence": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            }
          },
          "segmentTrip": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            }
          },
          "segmentRun": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            }
          },
          "continuityBreak": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 255
            }
          },
          "canBoard": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 255
            }
          },
          "canAlight": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 255
            }
          },
          "tripStart": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            }
          },
          "departureOffset": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            }
          },
          "departureOrder": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            }
          },
          "runCount": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "activeSegmentCount": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
          },
          "realtimeTripIndices": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4294967295
            }
          }
        },
        "required": [
          "departureSeconds",
          "arrivalSeconds",
          "fromStop",
          "toStop",
          "sequence",
          "segmentTrip",
          "segmentRun",
          "continuityBreak",
          "canBoard",
          "canAlight",
          "tripStart",
          "departureOffset",
          "departureOrder",
          "runCount",
          "activeSegmentCount",
          "realtimeTripIndices"
        ],
        "additionalProperties": true,
        "description": "Generated from crates/vigo-route/src/timetable/realtime.rs. Native semantic validation also applies."
      },
      "NativeRequest": {
        "oneOf": [
          {
            "type": "object",
            "properties": {
              "operation": {
                "const": "timetable.identifiers"
              },
              "serviceDate": {
                "type": "string",
                "format": "date"
              },
              "kind": {
                "type": "string"
              },
              "id": {}
            },
            "required": [
              "operation",
              "serviceDate"
            ],
            "additionalProperties": true
          },
          {
            "type": "object",
            "properties": {
              "operation": {
                "const": "timetable.prepare"
              },
              "serviceDate": {
                "type": "string",
                "format": "date"
              },
              "time": {
                "type": "string"
              },
              "timeMinutes": {
                "type": "number",
                "minimum": 0
              },
              "timePreference": {
                "type": "string",
                "enum": [
                  "depart_at",
                  "arrive_by"
                ]
              },
              "allowStreetTransfers": {
                "type": "boolean",
                "default": true
              },
              "minimumTransferBufferMinutes": {
                "type": "integer",
                "minimum": 0,
                "maximum": 60,
                "default": 0
              },
              "kind": {
                "type": "string"
              },
              "id": {}
            },
            "required": [
              "operation",
              "serviceDate"
            ],
            "additionalProperties": true
          },
          {
            "type": "object",
            "properties": {
              "operation": {
                "const": "street.prepare"
              },
              "kind": {
                "type": "string"
              },
              "id": {}
            },
            "required": [
              "operation"
            ],
            "additionalProperties": true
          },
          {
            "type": "object",
            "properties": {
              "operation": {
                "const": "bike.prepare"
              },
              "kind": {
                "type": "string"
              },
              "id": {}
            },
            "required": [
              "operation"
            ],
            "additionalProperties": true
          },
          {
            "type": "object",
            "properties": {
              "operation": {
                "const": "drive.prepare"
              },
              "kind": {
                "type": "string"
              },
              "id": {}
            },
            "required": [
              "operation"
            ],
            "additionalProperties": true
          },
          {
            "type": "object",
            "properties": {
              "operation": {
                "const": "places.describe"
              },
              "input": {
                "$ref": "#/components/schemas/DescribePlacesInput"
              },
              "serviceDate": {
                "type": "string",
                "format": "date"
              },
              "kind": {
                "type": "string"
              },
              "id": {},
              "allowStreetTransfers": {
                "type": "boolean",
                "default": true
              },
              "minimumTransferBufferMinutes": {
                "type": "integer",
                "minimum": 0,
                "maximum": 60,
                "default": 0
              },
              "requireCompleteServiceCoverage": {
                "type": "boolean",
                "default": false
              }
            },
            "required": [
              "operation",
              "input"
            ],
            "additionalProperties": true
          },
          {
            "type": "object",
            "properties": {
              "operation": {
                "const": "timetable.route"
              },
              "input": {
                "$ref": "#/components/schemas/TimetableQueryInput"
              },
              "serviceDate": {
                "type": "string",
                "format": "date"
              },
              "kind": {
                "type": "string"
              },
              "id": {},
              "allowStreetTransfers": {
                "type": "boolean",
                "default": true
              },
              "minimumTransferBufferMinutes": {
                "type": "integer",
                "minimum": 0,
                "maximum": 60,
                "default": 0
              },
              "requireCompleteServiceCoverage": {
                "type": "boolean",
                "default": false
              }
            },
            "required": [
              "operation",
              "input",
              "serviceDate"
            ],
            "additionalProperties": true
          },
          {
            "type": "object",
            "properties": {
              "operation": {
                "const": "timetable.arrive_by"
              },
              "input": {
                "$ref": "#/components/schemas/TimetableArriveByQueryInput"
              },
              "serviceDate": {
                "type": "string",
                "format": "date"
              },
              "kind": {
                "type": "string"
              },
              "id": {},
              "allowStreetTransfers": {
                "type": "boolean",
                "default": true
              },
              "minimumTransferBufferMinutes": {
                "type": "integer",
                "minimum": 0,
                "maximum": 60,
                "default": 0
              },
              "requireCompleteServiceCoverage": {
                "type": "boolean",
                "default": false
              }
            },
            "required": [
              "operation",
              "input",
              "serviceDate"
            ],
            "additionalProperties": true
          },
          {
            "type": "object",
            "properties": {
              "operation": {
                "const": "timetable.matrix"
              },
              "input": {
                "$ref": "#/components/schemas/TimetableMatrixQueryInput"
              },
              "serviceDate": {
                "type": "string",
                "format": "date"
              },
              "kind": {
                "type": "string"
              },
              "id": {},
              "allowStreetTransfers": {
                "type": "boolean",
                "default": true
              },
              "minimumTransferBufferMinutes": {
                "type": "integer",
                "minimum": 0,
                "maximum": 60,
                "default": 0
              },
              "requireCompleteServiceCoverage": {
                "type": "boolean",
                "default": false
              }
            },
            "required": [
              "operation",
              "input",
              "serviceDate"
            ],
            "additionalProperties": true
          },
          {
            "type": "object",
            "properties": {
              "operation": {
                "const": "timetable.many"
              },
              "input": {
                "$ref": "#/components/schemas/TimetableManyQueryInput"
              },
              "serviceDate": {
                "type": "string",
                "format": "date"
              },
              "kind": {
                "type": "string"
              },
              "id": {},
              "allowStreetTransfers": {
                "type": "boolean",
                "default": true
              },
              "minimumTransferBufferMinutes": {
                "type": "integer",
                "minimum": 0,
                "maximum": 60,
                "default": 0
              },
              "requireCompleteServiceCoverage": {
                "type": "boolean",
                "default": false
              }
            },
            "required": [
              "operation",
              "input",
              "serviceDate"
            ],
            "additionalProperties": true
          },
          {
            "type": "object",
            "properties": {
              "operation": {
                "const": "timetable.arrive_by_many"
              },
              "input": {
                "$ref": "#/components/schemas/TimetableArriveByManyQueryInput"
              },
              "serviceDate": {
                "type": "string",
                "format": "date"
              },
              "kind": {
                "type": "string"
              },
              "id": {},
              "allowStreetTransfers": {
                "type": "boolean",
                "default": true
              },
              "minimumTransferBufferMinutes": {
                "type": "integer",
                "minimum": 0,
                "maximum": 60,
                "default": 0
              },
              "requireCompleteServiceCoverage": {
                "type": "boolean",
                "default": false
              }
            },
            "required": [
              "operation",
              "input",
              "serviceDate"
            ],
            "additionalProperties": true
          },
          {
            "type": "object",
            "properties": {
              "operation": {
                "const": "timetable.pareto"
              },
              "input": {
                "$ref": "#/components/schemas/TimetableParetoQueryInput"
              },
              "serviceDate": {
                "type": "string",
                "format": "date"
              },
              "kind": {
                "type": "string"
              },
              "id": {},
              "allowStreetTransfers": {
                "type": "boolean",
                "default": true
              },
              "minimumTransferBufferMinutes": {
                "type": "integer",
                "minimum": 0,
                "maximum": 60,
                "default": 0
              },
              "requireCompleteServiceCoverage": {
                "type": "boolean",
                "default": false
              }
            },
            "required": [
              "operation",
              "input",
              "serviceDate"
            ],
            "additionalProperties": true
          },
          {
            "type": "object",
            "properties": {
              "operation": {
                "const": "timetable.overlay"
              },
              "input": {
                "$ref": "#/components/schemas/TimetableOverlayManyQueryInput"
              },
              "serviceDate": {
                "type": "string",
                "format": "date"
              },
              "kind": {
                "type": "string"
              },
              "id": {},
              "allowStreetTransfers": {
                "type": "boolean",
                "default": true
              },
              "minimumTransferBufferMinutes": {
                "type": "integer",
                "minimum": 0,
                "maximum": 60,
                "default": 0
              },
              "requireCompleteServiceCoverage": {
                "type": "boolean",
                "default": false
              }
            },
            "required": [
              "operation",
              "input",
              "serviceDate"
            ],
            "additionalProperties": true
          },
          {
            "type": "object",
            "properties": {
              "operation": {
                "const": "access.endpoint"
              },
              "input": {
                "$ref": "#/components/schemas/EndpointRoleInput"
              },
              "serviceDate": {
                "type": "string",
                "format": "date"
              },
              "kind": {
                "type": "string"
              },
              "id": {},
              "allowStreetTransfers": {
                "type": "boolean",
                "default": true
              },
              "minimumTransferBufferMinutes": {
                "type": "integer",
                "minimum": 0,
                "maximum": 60,
                "default": 0
              },
              "requireCompleteServiceCoverage": {
                "type": "boolean",
                "default": false
              }
            },
            "required": [
              "operation",
              "input"
            ],
            "additionalProperties": true
          },
          {
            "type": "object",
            "properties": {
              "operation": {
                "const": "access.endpoints"
              },
              "input": {
                "$ref": "#/components/schemas/EndpointRouteInput"
              },
              "serviceDate": {
                "type": "string",
                "format": "date"
              },
              "kind": {
                "type": "string"
              },
              "id": {},
              "allowStreetTransfers": {
                "type": "boolean",
                "default": true
              },
              "minimumTransferBufferMinutes": {
                "type": "integer",
                "minimum": 0,
                "maximum": 60,
                "default": 0
              },
              "requireCompleteServiceCoverage": {
                "type": "boolean",
                "default": false
              }
            },
            "required": [
              "operation",
              "input"
            ],
            "additionalProperties": true
          },
          {
            "type": "object",
            "properties": {
              "operation": {
                "const": "street.path"
              },
              "input": {
                "$ref": "#/components/schemas/StreetPathInput"
              },
              "serviceDate": {
                "type": "string",
                "format": "date"
              },
              "kind": {
                "type": "string"
              },
              "id": {},
              "allowStreetTransfers": {
                "type": "boolean",
                "default": true
              },
              "minimumTransferBufferMinutes": {
                "type": "integer",
                "minimum": 0,
                "maximum": 60,
                "default": 0
              },
              "requireCompleteServiceCoverage": {
                "type": "boolean",
                "default": false
              }
            },
            "required": [
              "operation",
              "input"
            ],
            "additionalProperties": true
          },
          {
            "type": "object",
            "properties": {
              "operation": {
                "const": "street.matrix"
              },
              "input": {
                "$ref": "#/components/schemas/StreetMatrixInput"
              },
              "serviceDate": {
                "type": "string",
                "format": "date"
              },
              "kind": {
                "type": "string"
              },
              "id": {},
              "allowStreetTransfers": {
                "type": "boolean",
                "default": true
              },
              "minimumTransferBufferMinutes": {
                "type": "integer",
                "minimum": 0,
                "maximum": 60,
                "default": 0
              },
              "requireCompleteServiceCoverage": {
                "type": "boolean",
                "default": false
              }
            },
            "required": [
              "operation",
              "input"
            ],
            "additionalProperties": true
          },
          {
            "type": "object",
            "properties": {
              "operation": {
                "const": "street.surface"
              },
              "input": {
                "$ref": "#/components/schemas/StreetSurfaceInput"
              },
              "serviceDate": {
                "type": "string",
                "format": "date"
              },
              "kind": {
                "type": "string"
              },
              "id": {},
              "allowStreetTransfers": {
                "type": "boolean",
                "default": true
              },
              "minimumTransferBufferMinutes": {
                "type": "integer",
                "minimum": 0,
                "maximum": 60,
                "default": 0
              },
              "requireCompleteServiceCoverage": {
                "type": "boolean",
                "default": false
              }
            },
            "required": [
              "operation",
              "input"
            ],
            "additionalProperties": true
          },
          {
            "type": "object",
            "properties": {
              "operation": {
                "const": "street.connectors"
              },
              "input": {
                "$ref": "#/components/schemas/TimedConnectorInput"
              },
              "serviceDate": {
                "type": "string",
                "format": "date"
              },
              "kind": {
                "type": "string"
              },
              "id": {},
              "allowStreetTransfers": {
                "type": "boolean",
                "default": true
              },
              "minimumTransferBufferMinutes": {
                "type": "integer",
                "minimum": 0,
                "maximum": 60,
                "default": 0
              },
              "requireCompleteServiceCoverage": {
                "type": "boolean",
                "default": false
              }
            },
            "required": [
              "operation",
              "input"
            ],
            "additionalProperties": true
          },
          {
            "type": "object",
            "properties": {
              "operation": {
                "const": "drive.route"
              },
              "input": {
                "$ref": "#/components/schemas/DriveQueryInput"
              },
              "serviceDate": {
                "type": "string",
                "format": "date"
              },
              "kind": {
                "type": "string"
              },
              "id": {},
              "allowStreetTransfers": {
                "type": "boolean",
                "default": true
              },
              "minimumTransferBufferMinutes": {
                "type": "integer",
                "minimum": 0,
                "maximum": 60,
                "default": 0
              },
              "requireCompleteServiceCoverage": {
                "type": "boolean",
                "default": false
              }
            },
            "required": [
              "operation",
              "input"
            ],
            "additionalProperties": true
          },
          {
            "type": "object",
            "properties": {
              "operation": {
                "const": "drive.matrix"
              },
              "input": {
                "$ref": "#/components/schemas/DriveMatrixInput"
              },
              "serviceDate": {
                "type": "string",
                "format": "date"
              },
              "kind": {
                "type": "string"
              },
              "id": {},
              "allowStreetTransfers": {
                "type": "boolean",
                "default": true
              },
              "minimumTransferBufferMinutes": {
                "type": "integer",
                "minimum": 0,
                "maximum": 60,
                "default": 0
              },
              "requireCompleteServiceCoverage": {
                "type": "boolean",
                "default": false
              }
            },
            "required": [
              "operation",
              "input"
            ],
            "additionalProperties": true
          },
          {
            "type": "object",
            "properties": {
              "operation": {
                "const": "realtime.compile"
              },
              "input": {
                "$ref": "#/components/schemas/RealtimeTimetableInput"
              },
              "serviceDate": {
                "type": "string",
                "format": "date"
              },
              "kind": {
                "type": "string"
              },
              "id": {},
              "allowStreetTransfers": {
                "type": "boolean",
                "default": true
              },
              "minimumTransferBufferMinutes": {
                "type": "integer",
                "minimum": 0,
                "maximum": 60,
                "default": 0
              },
              "requireCompleteServiceCoverage": {
                "type": "boolean",
                "default": false
              }
            },
            "required": [
              "operation",
              "input"
            ],
            "additionalProperties": true
          }
        ]
      },
      "QueryMetadata": {
        "type": "object",
        "properties": {
          "schemaVersion": {
            "type": "string",
            "description": "JSON interface version; not the executable version."
          },
          "runtime": {
            "const": "rust"
          },
          "cityRevision": {
            "type": "string",
            "description": "Revision of the City loaded by this process."
          },
          "timing": {
            "type": "object",
            "properties": {
              "totalMs": {
                "type": "number",
                "minimum": 0,
                "description": "Milliseconds inside dispatch; excludes initial City loading, final serialization, HTTP queue/network time, and client parsing."
              }
            },
            "required": [
              "totalMs"
            ],
            "additionalProperties": false
          },
          "id": {
            "description": "Echoed by Stream and dispatched HTTP queries, not by one-shot CLI."
          }
        },
        "required": [],
        "additionalProperties": true
      },
      "TimetablePreparation": {
        "type": "object",
        "properties": {
          "ready": {
            "type": "boolean",
            "default": false
          },
          "activationMs": {
            "type": "number",
            "minimum": 0
          },
          "preparation": {}
        },
        "required": [
          "ready",
          "activationMs",
          "preparation"
        ],
        "additionalProperties": true
      },
      "NativeResult": {
        "allOf": [
          {
            "$ref": "#/components/schemas/QueryMetadata"
          },
          {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "operation": {
                    "const": "places.describe"
                  },
                  "result": {
                    "$ref": "#/components/schemas/DescribePlacesResult"
                  }
                },
                "required": [
                  "operation",
                  "result"
                ],
                "additionalProperties": true
              },
              {
                "type": "object",
                "properties": {
                  "operation": {
                    "const": "timetable.route"
                  },
                  "result": {
                    "$ref": "#/components/schemas/TimetableQueryResult"
                  }
                },
                "required": [
                  "operation",
                  "result"
                ],
                "additionalProperties": true
              },
              {
                "type": "object",
                "properties": {
                  "operation": {
                    "const": "timetable.arrive_by"
                  },
                  "result": {
                    "$ref": "#/components/schemas/TimetableArriveByQueryResult"
                  }
                },
                "required": [
                  "operation",
                  "result"
                ],
                "additionalProperties": true
              },
              {
                "type": "object",
                "properties": {
                  "operation": {
                    "const": "timetable.matrix"
                  },
                  "result": {
                    "$ref": "#/components/schemas/TimetableMatrixQueryResult"
                  }
                },
                "required": [
                  "operation",
                  "result"
                ],
                "additionalProperties": true
              },
              {
                "type": "object",
                "properties": {
                  "operation": {
                    "const": "timetable.many"
                  },
                  "result": {
                    "$ref": "#/components/schemas/TimetableManyQueryResult"
                  }
                },
                "required": [
                  "operation",
                  "result"
                ],
                "additionalProperties": true
              },
              {
                "type": "object",
                "properties": {
                  "operation": {
                    "const": "timetable.arrive_by_many"
                  },
                  "result": {
                    "$ref": "#/components/schemas/TimetableArriveByManyQueryResult"
                  }
                },
                "required": [
                  "operation",
                  "result"
                ],
                "additionalProperties": true
              },
              {
                "type": "object",
                "properties": {
                  "operation": {
                    "const": "timetable.pareto"
                  },
                  "result": {
                    "$ref": "#/components/schemas/TimetableParetoQueryResult"
                  }
                },
                "required": [
                  "operation",
                  "result"
                ],
                "additionalProperties": true
              },
              {
                "type": "object",
                "properties": {
                  "operation": {
                    "const": "timetable.overlay"
                  },
                  "result": {
                    "$ref": "#/components/schemas/TimetableOverlayManyQueryResult"
                  }
                },
                "required": [
                  "operation",
                  "result"
                ],
                "additionalProperties": true
              },
              {
                "type": "object",
                "properties": {
                  "operation": {
                    "const": "access.endpoint"
                  },
                  "result": {
                    "$ref": "#/components/schemas/EndpointRoleResult"
                  }
                },
                "required": [
                  "operation",
                  "result"
                ],
                "additionalProperties": true
              },
              {
                "type": "object",
                "properties": {
                  "operation": {
                    "const": "access.endpoints"
                  },
                  "result": {
                    "$ref": "#/components/schemas/EndpointRouteResult"
                  }
                },
                "required": [
                  "operation",
                  "result"
                ],
                "additionalProperties": true
              },
              {
                "type": "object",
                "properties": {
                  "operation": {
                    "const": "street.path"
                  },
                  "result": {
                    "$ref": "#/components/schemas/StreetPathResult"
                  }
                },
                "required": [
                  "operation",
                  "result"
                ],
                "additionalProperties": true
              },
              {
                "type": "object",
                "properties": {
                  "operation": {
                    "const": "street.matrix"
                  },
                  "result": {
                    "$ref": "#/components/schemas/StreetMatrixResult"
                  }
                },
                "required": [
                  "operation",
                  "result"
                ],
                "additionalProperties": true
              },
              {
                "type": "object",
                "properties": {
                  "operation": {
                    "const": "street.surface"
                  },
                  "result": {
                    "$ref": "#/components/schemas/StreetSurfaceResult"
                  }
                },
                "required": [
                  "operation",
                  "result"
                ],
                "additionalProperties": true
              },
              {
                "type": "object",
                "properties": {
                  "operation": {
                    "const": "street.connectors"
                  },
                  "result": {
                    "$ref": "#/components/schemas/TimedConnectorResult"
                  }
                },
                "required": [
                  "operation",
                  "result"
                ],
                "additionalProperties": true
              },
              {
                "type": "object",
                "properties": {
                  "operation": {
                    "const": "drive.route"
                  },
                  "result": {
                    "$ref": "#/components/schemas/DriveQueryResult"
                  }
                },
                "required": [
                  "operation",
                  "result"
                ],
                "additionalProperties": true
              },
              {
                "type": "object",
                "properties": {
                  "operation": {
                    "const": "drive.matrix"
                  },
                  "result": {
                    "$ref": "#/components/schemas/DriveMatrixResult"
                  }
                },
                "required": [
                  "operation",
                  "result"
                ],
                "additionalProperties": true
              },
              {
                "type": "object",
                "properties": {
                  "operation": {
                    "const": "realtime.compile"
                  },
                  "result": {
                    "$ref": "#/components/schemas/RealtimeTimetableResult"
                  }
                },
                "required": [
                  "operation",
                  "result"
                ],
                "additionalProperties": true
              },
              {
                "type": "object",
                "properties": {
                  "operation": {
                    "const": "timetable.prepare"
                  },
                  "result": {
                    "$ref": "#/components/schemas/TimetablePreparation"
                  }
                },
                "required": [
                  "operation",
                  "result"
                ],
                "additionalProperties": true
              },
              {
                "type": "object",
                "properties": {
                  "operation": {
                    "const": "timetable.identifiers"
                  },
                  "result": {
                    "type": "object",
                    "properties": {
                      "stopIds": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "tripIds": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "routeIds": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "accessMemberStopIds": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      }
                    },
                    "required": [],
                    "additionalProperties": true
                  }
                },
                "required": [
                  "operation",
                  "result"
                ],
                "additionalProperties": true
              },
              {
                "type": "object",
                "properties": {
                  "operation": {
                    "const": "street.prepare"
                  },
                  "result": {
                    "type": "object",
                    "properties": {
                      "ready": {
                        "type": "boolean",
                        "default": false
                      }
                    },
                    "required": [
                      "ready"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "operation",
                  "result"
                ],
                "additionalProperties": true
              },
              {
                "type": "object",
                "properties": {
                  "operation": {
                    "const": "bike.prepare"
                  },
                  "result": {
                    "type": "object",
                    "properties": {
                      "ready": {
                        "type": "boolean",
                        "default": false
                      }
                    },
                    "required": [
                      "ready"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "operation",
                  "result"
                ],
                "additionalProperties": true
              },
              {
                "type": "object",
                "properties": {
                  "operation": {
                    "const": "drive.prepare"
                  },
                  "result": {
                    "type": "object",
                    "properties": {
                      "ready": {
                        "type": "boolean",
                        "default": false
                      }
                    },
                    "required": [
                      "ready"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "operation",
                  "result"
                ],
                "additionalProperties": true
              }
            ]
          }
        ]
      }
    },
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  },
  "info": {
    "description": "Route, Matrix, Reach and Compare over a prepared City. Generated from the vigo-model types. Bearer authentication is optional only on a loopback listener without a configured token.",
    "title": "VIGO API",
    "version": "1.0.0"
  },
  "openapi": "3.1.0",
  "paths": {
    "/": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "text/html": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "Offline guide"
          }
        },
        "security": [],
        "summary": "Offline guide"
      }
    },
    "/docs": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "text/html": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "Offline guide"
          }
        },
        "security": [],
        "summary": "Offline guide"
      }
    },
    "/docs/": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "text/html": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "Offline guide"
          }
        },
        "security": [],
        "summary": "Offline guide"
      }
    },
    "/docs/openapi.json": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "This document"
          }
        },
        "security": [],
        "summary": "This document"
      }
    },
    "/docs/standalone-openapi.json": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "This document"
          }
        },
        "security": [],
        "summary": "This document"
      }
    },
    "/healthz": {
      "get": {
        "operationId": "healthz",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "runtime": {
                      "const": "rust"
                    },
                    "status": {
                      "enum": [
                        "ready",
                        "recovering"
                      ],
                      "type": "string"
                    },
                    "version": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "status",
                    "runtime",
                    "version"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Ready, or live while recovering"
          }
        },
        "security": [],
        "summary": "Liveness"
      }
    },
    "/openapi.json": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "This document"
          }
        },
        "security": [],
        "summary": "This document"
      }
    },
    "/readyz": {
      "get": {
        "operationId": "readyz",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "runtime": {
                      "const": "rust"
                    },
                    "status": {
                      "enum": [
                        "ready",
                        "recovering"
                      ],
                      "type": "string"
                    },
                    "version": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "status",
                    "runtime",
                    "version"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Ready"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "runtime": {
                      "const": "rust"
                    },
                    "status": {
                      "enum": [
                        "ready",
                        "recovering"
                      ],
                      "type": "string"
                    },
                    "version": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "status",
                    "runtime",
                    "version"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Recovering"
          }
        },
        "security": [],
        "summary": "Readiness"
      }
    },
    "/standalone-openapi.json": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "This document"
          }
        },
        "security": [],
        "summary": "This document"
      }
    },
    "/v1/capabilities": {
      "get": {
        "operationId": "capabilities",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Capabilities"
                }
              }
            },
            "description": "Supported commands, modes and options."
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Bearer authentication failed"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Tokenless loopback request with a non-local Host or Origin"
          }
        },
        "summary": "Capabilities"
      }
    },
    "/v1/compare": {
      "post": {
        "operationId": "compare",
        "parameters": [
          {
            "description": "Diagnostic detail; must agree with the body when both are set.",
            "in": "query",
            "name": "diagnostics",
            "schema": {
              "enum": [
                "none",
                "summary",
                "profile",
                "trace"
              ],
              "type": "string"
            }
          },
          {
            "description": "Alias of `diagnostics`.",
            "in": "query",
            "name": "vigo_diagnostics",
            "schema": {
              "enum": [
                "none",
                "summary",
                "profile",
                "trace"
              ],
              "type": "string"
            }
          },
          {
            "description": "Same as the body field.",
            "in": "query",
            "name": "includeGeometry",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Same as the body field.",
            "in": "query",
            "name": "includeLimitations",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CompareRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CompareResult"
                }
              }
            },
            "description": "Changes from `before` to `after`."
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Invalid request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Bearer authentication failed"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Tokenless loopback request with a non-local Host or Origin"
          },
          "408": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Request read deadline"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Request ID already active"
          },
          "413": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Body limit"
          },
          "417": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Unsupported Expect header"
          },
          "431": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Header limit"
          },
          "499": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Request canceled"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Capacity or worker unavailable"
          },
          "504": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Query deadline or worker failed"
          }
        },
        "summary": "Compare saved Results"
      }
    },
    "/v1/info": {
      "get": {
        "operationId": "info",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/InfoResult"
                    },
                    {
                      "$ref": "#/components/schemas/CollectionInfoResult"
                    }
                  ]
                }
              }
            },
            "description": "The loaded City or scenario collection."
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Bearer authentication failed"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Tokenless loopback request with a non-local Host or Origin"
          }
        },
        "summary": "Info"
      }
    },
    "/v1/isochrone": {
      "post": {
        "operationId": "isochrone",
        "parameters": [
          {
            "description": "Diagnostic detail; must agree with the body when both are set.",
            "in": "query",
            "name": "diagnostics",
            "schema": {
              "enum": [
                "none",
                "summary",
                "profile",
                "trace"
              ],
              "type": "string"
            }
          },
          {
            "description": "Alias of `diagnostics`.",
            "in": "query",
            "name": "vigo_diagnostics",
            "schema": {
              "enum": [
                "none",
                "summary",
                "profile",
                "trace"
              ],
              "type": "string"
            }
          },
          {
            "description": "Same as the body field.",
            "in": "query",
            "name": "includeGeometry",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Same as the body field.",
            "in": "query",
            "name": "includeLimitations",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReachRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ReachResult"
                    },
                    {
                      "$ref": "#/components/schemas/DistributionResult"
                    }
                  ]
                }
              }
            },
            "description": "Same as `/v1/reach`."
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Invalid request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Bearer authentication failed"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Tokenless loopback request with a non-local Host or Origin"
          },
          "408": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Request read deadline"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Request ID already active"
          },
          "413": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Body limit"
          },
          "417": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Unsupported Expect header"
          },
          "431": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Header limit"
          },
          "499": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Request canceled"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Capacity or worker unavailable"
          },
          "504": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Query deadline or worker failed"
          }
        },
        "summary": "Reach (alias)"
      }
    },
    "/v1/matrix": {
      "post": {
        "operationId": "matrix",
        "parameters": [
          {
            "description": "Diagnostic detail; must agree with the body when both are set.",
            "in": "query",
            "name": "diagnostics",
            "schema": {
              "enum": [
                "none",
                "summary",
                "profile",
                "trace"
              ],
              "type": "string"
            }
          },
          {
            "description": "Alias of `diagnostics`.",
            "in": "query",
            "name": "vigo_diagnostics",
            "schema": {
              "enum": [
                "none",
                "summary",
                "profile",
                "trace"
              ],
              "type": "string"
            }
          },
          {
            "description": "Same as the body field.",
            "in": "query",
            "name": "includeGeometry",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Same as the body field.",
            "in": "query",
            "name": "includeLimitations",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MatrixRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/MatrixResult"
                    },
                    {
                      "$ref": "#/components/schemas/DistributionResult"
                    }
                  ]
                }
              }
            },
            "description": "Travel times for every origin and destination."
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Invalid request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Bearer authentication failed"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Tokenless loopback request with a non-local Host or Origin"
          },
          "408": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Request read deadline"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Request ID already active"
          },
          "413": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Body limit"
          },
          "417": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Unsupported Expect header"
          },
          "431": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Header limit"
          },
          "499": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Request canceled"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Capacity or worker unavailable"
          },
          "504": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Query deadline or worker failed"
          }
        },
        "summary": "Matrix"
      }
    },
    "/v1/native": {
      "post": {
        "operationId": "native",
        "parameters": [
          {
            "description": "Diagnostic detail; must agree with the body when both are set.",
            "in": "query",
            "name": "diagnostics",
            "schema": {
              "enum": [
                "none",
                "summary",
                "profile",
                "trace"
              ],
              "type": "string"
            }
          },
          {
            "description": "Alias of `diagnostics`.",
            "in": "query",
            "name": "vigo_diagnostics",
            "schema": {
              "enum": [
                "none",
                "summary",
                "profile",
                "trace"
              ],
              "type": "string"
            }
          },
          {
            "description": "Same as the body field.",
            "in": "query",
            "name": "includeGeometry",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Same as the body field.",
            "in": "query",
            "name": "includeLimitations",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NativeRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NativeResult"
                }
              }
            },
            "description": "Raw native output."
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Invalid request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Bearer authentication failed"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Tokenless loopback request with a non-local Host or Origin"
          },
          "408": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Request read deadline"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Request ID already active"
          },
          "413": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Body limit"
          },
          "417": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Unsupported Expect header"
          },
          "431": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Header limit"
          },
          "499": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Request canceled"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Capacity or worker unavailable"
          },
          "504": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Query deadline or worker failed"
          }
        },
        "summary": "Native operation"
      }
    },
    "/v1/reach": {
      "post": {
        "operationId": "reach",
        "parameters": [
          {
            "description": "Diagnostic detail; must agree with the body when both are set.",
            "in": "query",
            "name": "diagnostics",
            "schema": {
              "enum": [
                "none",
                "summary",
                "profile",
                "trace"
              ],
              "type": "string"
            }
          },
          {
            "description": "Alias of `diagnostics`.",
            "in": "query",
            "name": "vigo_diagnostics",
            "schema": {
              "enum": [
                "none",
                "summary",
                "profile",
                "trace"
              ],
              "type": "string"
            }
          },
          {
            "description": "Same as the body field.",
            "in": "query",
            "name": "includeGeometry",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Same as the body field.",
            "in": "query",
            "name": "includeLimitations",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReachRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ReachResult"
                    },
                    {
                      "$ref": "#/components/schemas/DistributionResult"
                    }
                  ]
                }
              }
            },
            "description": "Reached area and times."
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Invalid request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Bearer authentication failed"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Tokenless loopback request with a non-local Host or Origin"
          },
          "408": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Request read deadline"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Request ID already active"
          },
          "413": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Body limit"
          },
          "417": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Unsupported Expect header"
          },
          "431": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Header limit"
          },
          "499": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Request canceled"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Capacity or worker unavailable"
          },
          "504": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Query deadline or worker failed"
          }
        },
        "summary": "Reach"
      }
    },
    "/v1/requests/{id}": {
      "delete": {
        "operationId": "cancelRequest",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "202": {
            "description": "Cancellation requested; running work is terminated and its worker replaced."
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Bearer authentication failed"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Tokenless loopback request with a non-local Host or Origin"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "No active request with this ID"
          }
        },
        "summary": "Cancel an active or queued named request"
      }
    },
    "/v1/route": {
      "post": {
        "operationId": "route",
        "parameters": [
          {
            "description": "Diagnostic detail; must agree with the body when both are set.",
            "in": "query",
            "name": "diagnostics",
            "schema": {
              "enum": [
                "none",
                "summary",
                "profile",
                "trace"
              ],
              "type": "string"
            }
          },
          {
            "description": "Alias of `diagnostics`.",
            "in": "query",
            "name": "vigo_diagnostics",
            "schema": {
              "enum": [
                "none",
                "summary",
                "profile",
                "trace"
              ],
              "type": "string"
            }
          },
          {
            "description": "Same as the body field.",
            "in": "query",
            "name": "includeGeometry",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Same as the body field.",
            "in": "query",
            "name": "includeLimitations",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RouteRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/RouteResult"
                    },
                    {
                      "$ref": "#/components/schemas/DistributionResult"
                    }
                  ]
                }
              }
            },
            "description": "A journey, or `not_found` when none satisfies the request."
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Invalid request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Bearer authentication failed"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Tokenless loopback request with a non-local Host or Origin"
          },
          "408": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Request read deadline"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Request ID already active"
          },
          "413": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Body limit"
          },
          "417": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Unsupported Expect header"
          },
          "431": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Header limit"
          },
          "499": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Request canceled"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Capacity or worker unavailable"
          },
          "504": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Query deadline or worker failed"
          }
        },
        "summary": "Route"
      }
    },
    "/v1/traffic": {
      "get": {
        "operationId": "traffic",
        "summary": "Traffic",
        "responses": {
          "200": {
            "description": "Runtime metadata.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Bearer authentication failed"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Tokenless loopback request with a non-local Host or Origin"
          }
        }
      }
    },
    "/v1/realtime": {
      "get": {
        "operationId": "realtime",
        "summary": "Realtime",
        "responses": {
          "200": {
            "description": "Runtime metadata.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Bearer authentication failed"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                }
              }
            },
            "description": "Tokenless loopback request with a non-local Host or Origin"
          }
        }
      }
    }
  },
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "servers": [
    {
      "description": "Default local listener",
      "url": "http://127.0.0.1:8080"
    }
  ]
}
