{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-location-service/json-schema/amazon-location-service-calculate-routes-response-schema.json",
  "title": "CalculateRoutesResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-location-service-routes-api-openapi.yml#/components/schemas/CalculateRoutesResponse",
  "type": "object",
  "properties": {
    "LegGeometryFormat": {
      "type": "string",
      "enum": [
        "FlexiblePolyline",
        "Simple"
      ],
      "description": "Specifies the format of the geometry returned for each leg of the route."
    },
    "Notices": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/RouteResponseNotice"
      },
      "description": "Notices are additional information returned that indicate issues that occurred during route calculation. Not supported in ap-southeast-1 and ap-southeast-5 regions for GrabMaps customers."
    },
    "PricingBucket": {
      "type": "string",
      "description": "The pricing bucket for which the query is charged at."
    },
    "Routes": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Route"
      },
      "description": "The path from the origin to the destination."
    }
  },
  "required": [
    "LegGeometryFormat",
    "Notices",
    "PricingBucket",
    "Routes"
  ],
  "$defs": {
    "LocalizedString": {
      "type": "object",
      "properties": {
        "Language": {
          "type": "string",
          "description": "A list of BCP 47 compliant language codes for the results to be rendered in. The request uses the regional default as the fallback if the requested language can't be provided."
        },
        "Value": {
          "type": "string",
          "description": "The value of the localized string."
        }
      },
      "required": [
        "Value"
      ]
    },
    "Route": {
      "type": "object",
      "properties": {
        "Legs": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RouteLeg"
          },
          "description": "A leg is a section of a route from one waypoint to the next. A leg could be of type Vehicle, Pedestrian or Ferry. Legs of different types could occur together within a single route. For example, a car employing the use of a Ferry will contain Vehicle legs corresponding to journey on land, and Ferry legs corresponding to the journey via Ferry."
        },
        "MajorRoadLabels": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RouteMajorRoadLabel"
          },
          "description": "Important labels including names and route numbers that differentiate the current route from the alternatives presented."
        },
        "Summary": {
          "$ref": "#/$defs/RouteSummary"
        }
      },
      "required": [
        "Legs",
        "MajorRoadLabels"
      ]
    },
    "RouteAccessPointDetails": {
      "type": "object",
      "properties": {
        "Accessibility": {
          "$ref": "#/$defs/RouteAccessibilityAvailabilityDetails"
        }
      }
    },
    "RouteAccessibilityAvailabilityDetails": {
      "type": "object",
      "properties": {
        "Wheelchair": {
          "type": "string",
          "enum": [
            "Available",
            "Limited",
            "Unavailable",
            "Unknown"
          ],
          "description": "Wheelchair accessibility status."
        }
      }
    },
    "RouteAttribution": {
      "type": "object",
      "properties": {
        "AttributionType": {
          "type": "string",
          "enum": [
            "Disclaimer",
            "Tariff"
          ],
          "description": "The type of the attribution link."
        },
        "WebLink": {
          "$ref": "#/$defs/RouteWebLink"
        }
      },
      "required": [
        "WebLink"
      ]
    },
    "RouteChargeStepDetails": {
      "type": "object",
      "properties": {
        "ArrivalCharge": {
          "type": "number",
          "description": "Estimated vehicle battery charge before this step (in kWh)."
        },
        "ConsumablePower": {
          "type": "number",
          "description": "Maximum charging power available to the vehicle. Unit: KwH"
        },
        "DesiredCharge": {
          "type": "number",
          "description": "Details that are specific to a Charge step. Unit: KwH"
        }
      }
    },
    "RouteContinueHighwayStepDetails": {
      "type": "object",
      "properties": {
        "Intersection": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/LocalizedString"
          },
          "description": "Name of the intersection, if applicable to the step."
        },
        "SteeringDirection": {
          "type": "string",
          "enum": [
            "Left",
            "Right",
            "Straight"
          ],
          "description": "Steering direction for the step."
        },
        "TurnAngle": {
          "type": "number",
          "description": "Angle of the turn."
        },
        "TurnIntensity": {
          "type": "string",
          "enum": [
            "Sharp",
            "Slight",
            "Typical"
          ],
          "description": "Intensity of the turn."
        }
      },
      "required": [
        "Intersection"
      ]
    },
    "RouteContinueStepDetails": {
      "type": "object",
      "properties": {
        "Intersection": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/LocalizedString"
          },
          "description": "Name of the intersection, if applicable to the step."
        }
      },
      "required": [
        "Intersection"
      ]
    },
    "RouteEnterHighwayStepDetails": {
      "type": "object",
      "properties": {
        "Intersection": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/LocalizedString"
          },
          "description": "Name of the intersection, if applicable to the step."
        },
        "SteeringDirection": {
          "type": "string",
          "enum": [
            "Left",
            "Right",
            "Straight"
          ],
          "description": "Steering direction for the step."
        },
        "TurnAngle": {
          "type": "number",
          "description": "Angle of the turn."
        },
        "TurnIntensity": {
          "type": "string",
          "enum": [
            "Sharp",
            "Slight",
            "Typical"
          ],
          "description": "Intensity of the turn."
        }
      },
      "required": [
        "Intersection"
      ]
    },
    "RouteExitStepDetails": {
      "type": "object",
      "properties": {
        "Intersection": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/LocalizedString"
          },
          "description": "Name of the intersection, if applicable to the step."
        },
        "RelativeExit": {
          "type": "integer",
          "description": "Exit to be taken."
        },
        "SteeringDirection": {
          "type": "string",
          "enum": [
            "Left",
            "Right",
            "Straight"
          ],
          "description": "Steering direction for the step."
        },
        "TurnAngle": {
          "type": "number",
          "description": "Angle of the turn."
        },
        "TurnIntensity": {
          "type": "string",
          "enum": [
            "Sharp",
            "Slight",
            "Typical"
          ],
          "description": "Intensity of the turn."
        }
      },
      "required": [
        "Intersection"
      ]
    },
    "RouteFerryAfterTravelStep": {
      "type": "object",
      "properties": {
        "Duration": {
          "type": "integer",
          "description": "Duration of the step. Unit: seconds"
        },
        "Instruction": {
          "type": "string",
          "description": "Brief description of the step in the requested language. Only available when the TravelStepType is Default."
        },
        "Type": {
          "type": "string",
          "enum": [
            "Deboard"
          ],
          "description": "Type of the step."
        }
      },
      "required": [
        "Duration",
        "Type"
      ]
    },
    "RouteFerryArrival": {
      "type": "object",
      "properties": {
        "Place": {
          "$ref": "#/$defs/RouteFerryPlace"
        },
        "Time": {
          "type": "string",
          "description": "The arrival time."
        }
      },
      "required": [
        "Place"
      ]
    },
    "RouteFerryBeforeTravelStep": {
      "type": "object",
      "properties": {
        "Duration": {
          "type": "integer",
          "description": "Duration of the step. Unit: seconds"
        },
        "Instruction": {
          "type": "string",
          "description": "Brief description of the step in the requested language. Only available when the TravelStepType is Default."
        },
        "Type": {
          "type": "string",
          "enum": [
            "Board"
          ],
          "description": "Type of the step."
        }
      },
      "required": [
        "Duration",
        "Type"
      ]
    },
    "RouteFerryDeparture": {
      "type": "object",
      "properties": {
        "Place": {
          "$ref": "#/$defs/RouteFerryPlace"
        },
        "Time": {
          "type": "string",
          "description": "The departure time."
        }
      },
      "required": [
        "Place"
      ]
    },
    "RouteFerryLegDetails": {
      "type": "object",
      "properties": {
        "AfterTravelSteps": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RouteFerryAfterTravelStep"
          },
          "description": "Steps of a leg that must be performed after the travel portion of the leg."
        },
        "Arrival": {
          "$ref": "#/$defs/RouteFerryArrival"
        },
        "BeforeTravelSteps": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RouteFerryBeforeTravelStep"
          },
          "description": "Steps of a leg that must be performed before the travel portion of the leg."
        },
        "Departure": {
          "$ref": "#/$defs/RouteFerryDeparture"
        },
        "Notices": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RouteFerryNotice"
          },
          "description": "Notices are additional information returned that indicate issues that occurred during route calculation."
        },
        "PassThroughWaypoints": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RoutePassThroughWaypoint"
          },
          "description": "Waypoints that were passed through during the leg. This includes the waypoints that were configured with the PassThrough option."
        },
        "RouteName": {
          "type": "string",
          "description": "Route name of the ferry line."
        },
        "Spans": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RouteFerrySpan"
          },
          "description": "Spans that were computed for the requested SpanAdditionalFeatures."
        },
        "Summary": {
          "$ref": "#/$defs/RouteFerrySummary"
        },
        "TravelSteps": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RouteFerryTravelStep"
          },
          "description": "Steps of a leg that must be performed before the travel portion of the leg."
        }
      },
      "required": [
        "AfterTravelSteps",
        "Arrival",
        "BeforeTravelSteps",
        "Departure",
        "Notices",
        "PassThroughWaypoints",
        "Spans",
        "TravelSteps"
      ]
    },
    "RouteFerryNotice": {
      "type": "object",
      "properties": {
        "Code": {
          "type": "string",
          "enum": [
            "AccuratePolylineUnavailable",
            "NoSchedule",
            "Other",
            "ViolatedAvoidFerry",
            "ViolatedAvoidRailFerry",
            "SeasonalClosure",
            "PotentialViolatedVehicleRestrictionUsage",
            "ViolatedAvoidAreas",
            "ViolatedVehicleRestriction"
          ],
          "description": "Code corresponding to the issue."
        },
        "Impact": {
          "type": "string",
          "enum": [
            "High",
            "Low"
          ],
          "description": "Impact corresponding to the issue. While Low impact notices can be safely ignored, High impact notices must be evaluated further to determine the impact."
        }
      },
      "required": [
        "Code"
      ]
    },
    "RouteFerryOverviewSummary": {
      "type": "object",
      "properties": {
        "Distance": {
          "type": "integer",
          "description": "Distance of the entire leg. Unit: meters"
        },
        "Duration": {
          "type": "integer",
          "description": "Duration of the entire leg. Unit: seconds"
        }
      },
      "required": [
        "Distance",
        "Duration"
      ]
    },
    "RouteFerryPlace": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string",
          "description": "The name of the place."
        },
        "OriginalPosition": {
          "type": "array",
          "items": {
            "type": "number"
          },
          "description": "Position provided in the request."
        },
        "Position": {
          "type": "array",
          "items": {
            "type": "number"
          },
          "description": "Position in World Geodetic System (WGS 84) format: [longitude, latitude]."
        },
        "WaypointIndex": {
          "type": "integer",
          "description": "Index of the waypoint in the request."
        }
      },
      "required": [
        "Position"
      ]
    },
    "RouteFerrySpan": {
      "type": "object",
      "properties": {
        "Country": {
          "type": "string",
          "description": "3 letter Country code corresponding to the Span."
        },
        "Distance": {
          "type": "integer",
          "description": "Distance of the computed span. This feature doesn't split a span, but is always computed on a span split by other properties. Unit: meters"
        },
        "Duration": {
          "type": "integer",
          "description": "Duration of the computed span. This feature doesn't split a span, but is always computed on a span split by other properties. Unit: seconds"
        },
        "GeometryOffset": {
          "type": "integer",
          "description": "Offset in the leg geometry corresponding to the start of this span."
        },
        "Names": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/LocalizedString"
          },
          "description": "Names of the ferry span in available languages."
        },
        "Region": {
          "type": "string",
          "description": "2-3 letter Region code corresponding to the Span. This is either a province or a state."
        }
      }
    },
    "RouteFerrySummary": {
      "type": "object",
      "properties": {
        "Overview": {
          "$ref": "#/$defs/RouteFerryOverviewSummary"
        },
        "TravelOnly": {
          "$ref": "#/$defs/RouteFerryTravelOnlySummary"
        }
      }
    },
    "RouteFerryTravelOnlySummary": {
      "type": "object",
      "properties": {
        "Duration": {
          "type": "integer",
          "description": "Total duration in free flowing traffic, which is the best case or shortest duration possible to cover the leg. Unit: seconds"
        }
      },
      "required": [
        "Duration"
      ]
    },
    "RouteFerryTravelStep": {
      "type": "object",
      "properties": {
        "Distance": {
          "type": "integer",
          "description": "Distance of the step."
        },
        "Duration": {
          "type": "integer",
          "description": "Duration of the step. Unit: seconds"
        },
        "GeometryOffset": {
          "type": "integer",
          "description": "Offset in the leg geometry corresponding to the start of this step."
        },
        "Instruction": {
          "type": "string",
          "description": "Brief description of the step in the requested language. Only available when the TravelStepType is Default."
        },
        "Type": {
          "type": "string",
          "enum": [
            "Depart",
            "Continue",
            "Arrive"
          ],
          "description": "Type of the step."
        }
      },
      "required": [
        "Duration",
        "Type"
      ]
    },
    "RouteKeepStepDetails": {
      "type": "object",
      "properties": {
        "Intersection": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/LocalizedString"
          },
          "description": "Name of the intersection, if applicable to the step."
        },
        "SteeringDirection": {
          "type": "string",
          "enum": [
            "Left",
            "Right",
            "Straight"
          ],
          "description": "Steering direction for the step."
        },
        "TurnAngle": {
          "type": "number",
          "description": "Angle of the turn."
        },
        "TurnIntensity": {
          "type": "string",
          "enum": [
            "Sharp",
            "Slight",
            "Typical"
          ],
          "description": "Intensity of the turn."
        }
      },
      "required": [
        "Intersection"
      ]
    },
    "RouteLeg": {
      "type": "object",
      "properties": {
        "FerryLegDetails": {
          "$ref": "#/$defs/RouteFerryLegDetails"
        },
        "Geometry": {
          "$ref": "#/$defs/RouteLegGeometry"
        },
        "Language": {
          "type": "string",
          "description": "List of languages for instructions within steps in the response. Not supported in ap-southeast-1 and ap-southeast-5 regions for GrabMaps customers."
        },
        "PedestrianLegDetails": {
          "$ref": "#/$defs/RoutePedestrianLegDetails"
        },
        "TravelMode": {
          "type": "string",
          "enum": [
            "Car",
            "Ferry",
            "Pedestrian",
            "Scooter",
            "Truck",
            "CarShuttleTrain",
            "AerialTramway",
            "Airplane",
            "Bus",
            "BusRapidTransit",
            "CityTrain",
            "FunicularRailway",
            "HighSpeedTrain",
            "IntercityTrain",
            "InterregionalTrain",
            "LightRail",
            "Monorail",
            "PrivateBus",
            "RegionalTrain",
            "Subway"
          ],
          "description": "Specifies the mode of transport when calculating a route. Used in estimating the speed of travel and road compatibility. Default value: Car"
        },
        "Type": {
          "type": "string",
          "enum": [
            "Ferry",
            "Pedestrian",
            "Vehicle",
            "Rental",
            "Taxi",
            "Transit"
          ],
          "description": "Type of the leg."
        },
        "VehicleLegDetails": {
          "$ref": "#/$defs/RouteVehicleLegDetails"
        },
        "RentalLegDetails": {
          "$ref": "#/$defs/RouteRentalLegDetails"
        },
        "TaxiLegDetails": {
          "$ref": "#/$defs/RouteTaxiLegDetails"
        },
        "TransitLegDetails": {
          "$ref": "#/$defs/RouteTransitLegDetails"
        }
      },
      "required": [
        "Geometry",
        "TravelMode",
        "Type"
      ]
    },
    "RouteLegGeometry": {
      "type": "object",
      "properties": {
        "LineString": {
          "type": "array",
          "items": {
            "type": "array",
            "items": {
              "type": "number"
            }
          },
          "description": "An ordered list of positions used to plot a route on a map. LineString and Polyline are mutually exclusive properties."
        },
        "Polyline": {
          "type": "string",
          "description": "An ordered list of positions used to plot a route on a map in a lossy compression format. LineString and Polyline are mutually exclusive properties."
        }
      }
    },
    "RouteMajorRoadLabel": {
      "type": "object",
      "properties": {
        "RoadName": {
          "$ref": "#/$defs/LocalizedString"
        },
        "RouteNumber": {
          "$ref": "#/$defs/RouteNumber"
        }
      }
    },
    "RouteNoticeDetailRange": {
      "type": "object",
      "properties": {
        "Min": {
          "type": "integer",
          "description": "Minimum value for the range."
        },
        "Max": {
          "type": "integer",
          "description": "Maximum value for the range."
        }
      }
    },
    "RouteNumber": {
      "type": "object",
      "properties": {
        "Direction": {
          "type": "string",
          "enum": [
            "East",
            "North",
            "South",
            "West"
          ],
          "description": "Directional identifier of the route."
        },
        "Language": {
          "type": "string",
          "description": "List of languages for instructions corresponding to the route number."
        },
        "Value": {
          "type": "string",
          "description": "The route number."
        }
      },
      "required": [
        "Value"
      ]
    },
    "RoutePassThroughPlace": {
      "type": "object",
      "properties": {
        "OriginalPosition": {
          "type": "array",
          "items": {
            "type": "number"
          },
          "description": "Position provided in the request."
        },
        "Position": {
          "type": "array",
          "items": {
            "type": "number"
          },
          "description": "Position in World Geodetic System (WGS 84) format: [longitude, latitude]."
        },
        "WaypointIndex": {
          "type": "integer",
          "description": "Index of the waypoint in the request."
        }
      },
      "required": [
        "Position"
      ]
    },
    "RoutePassThroughWaypoint": {
      "type": "object",
      "properties": {
        "GeometryOffset": {
          "type": "integer",
          "description": "Offset in the leg geometry corresponding to the start of this step."
        },
        "Place": {
          "$ref": "#/$defs/RoutePassThroughPlace"
        }
      },
      "required": [
        "Place"
      ]
    },
    "RoutePedestrianAfterTravelStep": {
      "type": "object",
      "properties": {
        "Duration": {
          "type": "integer",
          "description": "Duration of the step. Unit: seconds"
        },
        "Instruction": {
          "type": "string",
          "description": "Brief description of the step in the requested language. Only available when the TravelStepType is Default."
        },
        "Type": {
          "type": "string",
          "enum": [
            "Wait"
          ],
          "description": "Type of the step."
        }
      },
      "required": [
        "Duration",
        "Type"
      ]
    },
    "RoutePedestrianArrival": {
      "type": "object",
      "properties": {
        "Place": {
          "$ref": "#/$defs/RoutePedestrianPlace"
        },
        "Time": {
          "type": "string",
          "description": "The arrival time."
        }
      },
      "required": [
        "Place"
      ]
    },
    "RoutePedestrianDeparture": {
      "type": "object",
      "properties": {
        "Place": {
          "$ref": "#/$defs/RoutePedestrianPlace"
        },
        "Time": {
          "type": "string",
          "description": "The departure time."
        }
      },
      "required": [
        "Place"
      ]
    },
    "RoutePedestrianLegDetails": {
      "type": "object",
      "properties": {
        "AfterTravelSteps": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RoutePedestrianAfterTravelStep"
          },
          "description": "Steps of a leg that must be performed after the travel portion of the leg."
        },
        "Arrival": {
          "$ref": "#/$defs/RoutePedestrianArrival"
        },
        "Departure": {
          "$ref": "#/$defs/RoutePedestrianDeparture"
        },
        "Notices": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RoutePedestrianNotice"
          },
          "description": "Notices are additional information returned that indicate issues that occurred during route calculation. Not supported in ap-southeast-1 and ap-southeast-5 regions for GrabMaps customers."
        },
        "PassThroughWaypoints": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RoutePassThroughWaypoint"
          },
          "description": "Waypoints that were passed through during the leg. This includes the waypoints that were configured with the PassThrough option."
        },
        "Spans": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RoutePedestrianSpan"
          },
          "description": "Spans that were computed for the requested SpanAdditionalFeatures. Not supported in ap-southeast-1 and ap-southeast-5 regions for GrabMaps customers."
        },
        "Summary": {
          "$ref": "#/$defs/RoutePedestrianSummary"
        },
        "TravelSteps": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RoutePedestrianTravelStep"
          },
          "description": "Steps of a leg that must be performed before the travel portion of the leg."
        }
      },
      "required": [
        "AfterTravelSteps",
        "Arrival",
        "Departure",
        "Notices",
        "PassThroughWaypoints",
        "Spans",
        "TravelSteps"
      ]
    },
    "RoutePedestrianNotice": {
      "type": "object",
      "properties": {
        "Code": {
          "type": "string",
          "enum": [
            "AccuratePolylineUnavailable",
            "Other",
            "ViolatedAvoidDirtRoad",
            "ViolatedAvoidTunnel",
            "ViolatedPedestrianOption",
            "ViolatedAvoidAreas"
          ],
          "description": "Code corresponding to the issue."
        },
        "Impact": {
          "type": "string",
          "enum": [
            "High",
            "Low"
          ],
          "description": "Impact corresponding to the issue. While Low impact notices can be safely ignored, High impact notices must be evaluated further to determine the impact."
        }
      },
      "required": [
        "Code"
      ]
    },
    "RoutePedestrianOverviewSummary": {
      "type": "object",
      "properties": {
        "Distance": {
          "type": "integer",
          "description": "Distance of the entire leg. Unit: meters"
        },
        "Duration": {
          "type": "integer",
          "description": "Duration of the entire leg. Unit: seconds"
        }
      },
      "required": [
        "Distance",
        "Duration"
      ]
    },
    "RoutePedestrianPlace": {
      "type": "object",
      "properties": {
        "AccessPointDetails": {
          "$ref": "#/$defs/RouteAccessPointDetails"
        },
        "Name": {
          "type": "string",
          "description": "The name of the place."
        },
        "OriginalPosition": {
          "type": "array",
          "items": {
            "type": "number"
          },
          "description": "Position provided in the request."
        },
        "Position": {
          "type": "array",
          "items": {
            "type": "number"
          },
          "description": "Position in World Geodetic System (WGS 84) format: [longitude, latitude]."
        },
        "SideOfStreet": {
          "type": "string",
          "enum": [
            "Left",
            "Right"
          ],
          "description": "Options to configure matching the provided position to a side of the street."
        },
        "StationDetails": {
          "$ref": "#/$defs/RouteStationDetails"
        },
        "Type": {
          "type": "string",
          "enum": [
            "AccessPoint",
            "DockingStation",
            "ParkingLot",
            "Station"
          ],
          "description": "The type of the place."
        },
        "WaypointIndex": {
          "type": "integer",
          "description": "Index of the waypoint in the request."
        }
      },
      "required": [
        "Position"
      ]
    },
    "RoutePedestrianSpan": {
      "type": "object",
      "properties": {
        "BestCaseDuration": {
          "type": "integer",
          "description": "Duration of the computed span without traffic congestion. Unit: seconds"
        },
        "Country": {
          "type": "string",
          "description": "3 letter Country code corresponding to the Span."
        },
        "Distance": {
          "type": "integer",
          "description": "Distance of the computed span. This feature doesn't split a span, but is always computed on a span split by other properties."
        },
        "Duration": {
          "type": "integer",
          "description": "Duration of the computed span. This feature doesn't split a span, but is always computed on a span split by other properties. Unit: seconds"
        },
        "DynamicSpeed": {
          "$ref": "#/$defs/RouteSpanDynamicSpeedDetails"
        },
        "FunctionalClassification": {
          "type": "integer",
          "description": "A numerical value indicating the functional classification of the road segment corresponding to the span. Classification values are part of the hierarchical network that helps determine a logical and efficient route, and have the following definitions: Roads that allow for high volume, maximum speed traffic movement between and through major metropolitan areas. Roads that are used to channel traffic to functional class 1 roads for travel between and through cities in the shortest amount of time. Roads that intersect functional class 2 roads and provide a high volume of traffic movement at a lo"
        },
        "GeometryOffset": {
          "type": "integer",
          "description": "Offset in the leg geometry corresponding to the start of this span."
        },
        "Incidents": {
          "type": "array",
          "items": {
            "type": "integer"
          },
          "description": "Incidents corresponding to the span. These index into the Incidents in the parent Leg."
        },
        "Names": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/LocalizedString"
          },
          "description": "Provides an array of names of the pedestrian span in available languages."
        },
        "PedestrianAccess": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "Allowed",
              "Indoors",
              "NoThroughTraffic",
              "Park",
              "Stairs",
              "TollRoad"
            ]
          },
          "description": "Access attributes for a pedestrian corresponding to the span."
        },
        "Region": {
          "type": "string",
          "description": "2-3 letter Region code corresponding to the Span. This is either a province or a state."
        },
        "RoadAttributes": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "Bridge",
              "BuiltUpArea",
              "ControlledAccessHighway",
              "DirtRoad",
              "DividedRoad",
              "Motorway",
              "PrivateRoad",
              "Ramp",
              "RightHandTraffic",
              "Roundabout",
              "Tunnel",
              "UnderConstruction"
            ]
          },
          "description": "Attributes for the road segment corresponding to the span."
        },
        "RouteNumbers": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RouteNumber"
          },
          "description": "Designated route name or number corresponding to the span."
        },
        "SpeedLimit": {
          "$ref": "#/$defs/RouteSpanSpeedLimitDetails"
        },
        "TypicalDuration": {
          "type": "integer",
          "description": "Duration of the computed span under typical traffic congestion. Unit: seconds"
        }
      }
    },
    "RoutePedestrianSummary": {
      "type": "object",
      "properties": {
        "Overview": {
          "$ref": "#/$defs/RoutePedestrianOverviewSummary"
        },
        "TravelOnly": {
          "$ref": "#/$defs/RoutePedestrianTravelOnlySummary"
        }
      }
    },
    "RoutePedestrianTravelOnlySummary": {
      "type": "object",
      "properties": {
        "Duration": {
          "type": "integer",
          "description": "Duration of the step. Unit: seconds"
        }
      },
      "required": [
        "Duration"
      ]
    },
    "RoutePedestrianTravelStep": {
      "type": "object",
      "properties": {
        "ContinueStepDetails": {
          "$ref": "#/$defs/RouteContinueStepDetails"
        },
        "CurrentRoad": {
          "$ref": "#/$defs/RouteRoad"
        },
        "Distance": {
          "type": "integer",
          "description": "Distance of the step."
        },
        "Duration": {
          "type": "integer",
          "description": "Duration of the step. Unit: seconds"
        },
        "ExitNumber": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/LocalizedString"
          },
          "description": "Exit number of the road exit, if applicable."
        },
        "GeometryOffset": {
          "type": "integer",
          "description": "Offset in the leg geometry corresponding to the start of this step."
        },
        "Instruction": {
          "type": "string",
          "description": "Brief description of the step in the requested language. Only available when the TravelStepType is Default."
        },
        "KeepStepDetails": {
          "$ref": "#/$defs/RouteKeepStepDetails"
        },
        "NextRoad": {
          "$ref": "#/$defs/RouteRoad"
        },
        "RoundaboutEnterStepDetails": {
          "$ref": "#/$defs/RouteRoundaboutEnterStepDetails"
        },
        "RoundaboutExitStepDetails": {
          "$ref": "#/$defs/RouteRoundaboutExitStepDetails"
        },
        "RoundaboutPassStepDetails": {
          "$ref": "#/$defs/RouteRoundaboutPassStepDetails"
        },
        "Signpost": {
          "$ref": "#/$defs/RouteSignpost"
        },
        "TurnStepDetails": {
          "$ref": "#/$defs/RouteTurnStepDetails"
        },
        "Type": {
          "type": "string",
          "enum": [
            "Arrive",
            "Continue",
            "Depart",
            "Keep",
            "RoundaboutEnter",
            "RoundaboutExit",
            "RoundaboutPass",
            "Turn"
          ],
          "description": "Type of the step."
        }
      },
      "required": [
        "Duration",
        "Type"
      ]
    },
    "RouteRampStepDetails": {
      "type": "object",
      "properties": {
        "Intersection": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/LocalizedString"
          },
          "description": "Name of the intersection, if applicable to the step."
        },
        "SteeringDirection": {
          "type": "string",
          "enum": [
            "Left",
            "Right",
            "Straight"
          ],
          "description": "Steering direction for the step."
        },
        "TurnAngle": {
          "type": "number",
          "description": "Angle of the turn."
        },
        "TurnIntensity": {
          "type": "string",
          "enum": [
            "Sharp",
            "Slight",
            "Typical"
          ],
          "description": "Intensity of the turn."
        }
      },
      "required": [
        "Intersection"
      ]
    },
    "RouteRentalAfterTravelStep": {
      "type": "object",
      "properties": {
        "Duration": {
          "type": "integer",
          "description": "Duration of the step. Unit: seconds"
        },
        "Instruction": {
          "type": "string",
          "description": "Brief description of the step in the requested language."
        },
        "Type": {
          "type": "string",
          "enum": [
            "Park"
          ],
          "description": "Type of the step."
        }
      },
      "required": [
        "Duration",
        "Type"
      ]
    },
    "RouteRentalAgency": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string",
          "description": "Name of the agency."
        },
        "Url": {
          "type": "string",
          "description": "URL to the agency's website."
        }
      },
      "required": [
        "Name"
      ]
    },
    "RouteRentalArrival": {
      "type": "object",
      "properties": {
        "Place": {
          "$ref": "#/$defs/RouteRentalPlace"
        },
        "Time": {
          "type": "string",
          "description": "The arrival time."
        }
      },
      "required": [
        "Place"
      ]
    },
    "RouteRentalBeforeTravelStep": {
      "type": "object",
      "properties": {
        "Duration": {
          "type": "integer",
          "description": "Duration of the step. Unit: seconds"
        },
        "Instruction": {
          "type": "string",
          "description": "Brief description of the step in the requested language."
        },
        "Type": {
          "type": "string",
          "enum": [
            "Setup"
          ],
          "description": "Type of the step."
        }
      },
      "required": [
        "Duration",
        "Type"
      ]
    },
    "RouteRentalDeparture": {
      "type": "object",
      "properties": {
        "Place": {
          "$ref": "#/$defs/RouteRentalPlace"
        },
        "Time": {
          "type": "string",
          "description": "The departure time."
        }
      },
      "required": [
        "Place"
      ]
    },
    "RouteRentalLegDetails": {
      "type": "object",
      "properties": {
        "AfterTravelSteps": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RouteRentalAfterTravelStep"
          },
          "description": "Steps of a leg that must be performed after the travel portion of the leg."
        },
        "Agency": {
          "$ref": "#/$defs/RouteRentalAgency"
        },
        "Arrival": {
          "$ref": "#/$defs/RouteRentalArrival"
        },
        "Attributions": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RouteAttribution"
          },
          "description": "List of required attributions to display."
        },
        "BeforeTravelSteps": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RouteRentalBeforeTravelStep"
          },
          "description": "Steps of a leg that must be performed before the travel portion of the leg."
        },
        "BookingWebLinks": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RouteWebLink"
          },
          "description": "Web links to external ticket booking services for the rental."
        },
        "Departure": {
          "$ref": "#/$defs/RouteRentalDeparture"
        },
        "Summary": {
          "$ref": "#/$defs/RouteRentalSummary"
        },
        "Transport": {
          "$ref": "#/$defs/RouteRentalTransportModeDetails"
        },
        "TravelSteps": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RouteRentalTravelStep"
          },
          "description": "Steps of a leg that must be performed during the travel portion of the leg."
        }
      },
      "required": [
        "AfterTravelSteps",
        "Agency",
        "Arrival",
        "Attributions",
        "BeforeTravelSteps",
        "BookingWebLinks",
        "Departure",
        "Transport",
        "TravelSteps"
      ]
    },
    "RouteRentalOverviewSummary": {
      "type": "object",
      "properties": {
        "Duration": {
          "type": "integer",
          "description": "Duration of the entire leg. Unit: seconds"
        },
        "Distance": {
          "type": "integer",
          "description": "Distance of the entire leg. Unit: meters"
        }
      },
      "required": [
        "Duration",
        "Distance"
      ]
    },
    "RouteRentalPlace": {
      "type": "object",
      "properties": {
        "AccessPointDetails": {
          "$ref": "#/$defs/RouteAccessPointDetails"
        },
        "Name": {
          "type": "string",
          "description": "The name of the place."
        },
        "OriginalPosition": {
          "type": "array",
          "items": {
            "type": "number"
          },
          "description": "Position provided in the request."
        },
        "Position": {
          "type": "array",
          "items": {
            "type": "number"
          },
          "description": "Position in World Geodetic System (WGS 84) format: [longitude, latitude]."
        },
        "StationDetails": {
          "$ref": "#/$defs/RouteStationDetails"
        },
        "Type": {
          "type": "string",
          "enum": [
            "AccessPoint",
            "DockingStation",
            "ParkingLot",
            "Station"
          ],
          "description": "The type of the place."
        },
        "WaypointIndex": {
          "type": "integer",
          "description": "Index of the waypoint in the request."
        }
      },
      "required": [
        "Position"
      ]
    },
    "RouteRentalSummary": {
      "type": "object",
      "properties": {
        "Overview": {
          "$ref": "#/$defs/RouteRentalOverviewSummary"
        },
        "TravelOnly": {
          "$ref": "#/$defs/RouteRentalTravelOnlySummary"
        }
      }
    },
    "RouteRentalTransportModeDetails": {
      "type": "object",
      "properties": {
        "AvailableSeats": {
          "type": "integer",
          "description": "Number of available seats in the vehicle."
        },
        "Category": {
          "type": "string",
          "description": "Human readable transport category."
        },
        "Color": {
          "type": "string",
          "description": "Color of the transport polyline and background for the transport name."
        },
        "Engine": {
          "type": "string",
          "enum": [
            "Electric",
            "InternalCombustion",
            "PluginHybrid"
          ],
          "description": "Vehicle engine type."
        },
        "LicensePlate": {
          "type": "string",
          "description": "Vehicle license plate number."
        },
        "Mode": {
          "type": "string",
          "enum": [
            "All",
            "Car"
          ],
          "description": "Mode of the rental transport."
        },
        "Model": {
          "type": "string",
          "description": "Vehicle model."
        },
        "Name": {
          "type": "string",
          "description": "Vehicle name or mobility provider name."
        },
        "TextColor": {
          "type": "string",
          "description": "Color of the transport name text."
        }
      },
      "required": [
        "Mode"
      ]
    },
    "RouteRentalTravelOnlySummary": {
      "type": "object",
      "properties": {
        "Duration": {
          "type": "integer",
          "description": "Duration of the travel portion of the rental leg. Unit: seconds"
        }
      },
      "required": [
        "Duration"
      ]
    },
    "RouteRentalTravelStep": {
      "type": "object",
      "properties": {
        "ContinueStepDetails": {
          "$ref": "#/$defs/RouteContinueStepDetails"
        },
        "Distance": {
          "type": "integer",
          "description": "Distance of the step. Unit: meters"
        },
        "Duration": {
          "type": "integer",
          "description": "Duration of the step. Unit: seconds"
        },
        "ExitStepDetails": {
          "$ref": "#/$defs/RouteExitStepDetails"
        },
        "GeometryOffset": {
          "type": "integer",
          "description": "Offset in the leg geometry corresponding to the start of this step."
        },
        "Instruction": {
          "type": "string",
          "description": "Brief description of the step in the requested language."
        },
        "KeepStepDetails": {
          "$ref": "#/$defs/RouteKeepStepDetails"
        },
        "RampStepDetails": {
          "$ref": "#/$defs/RouteRampStepDetails"
        },
        "RoundaboutEnterStepDetails": {
          "$ref": "#/$defs/RouteRoundaboutEnterStepDetails"
        },
        "RoundaboutExitStepDetails": {
          "$ref": "#/$defs/RouteRoundaboutExitStepDetails"
        },
        "RoundaboutPassStepDetails": {
          "$ref": "#/$defs/RouteRoundaboutPassStepDetails"
        },
        "TurnStepDetails": {
          "$ref": "#/$defs/RouteTurnStepDetails"
        },
        "Type": {
          "type": "string",
          "enum": [
            "Arrive",
            "Continue",
            "Depart",
            "Exit",
            "Keep",
            "Ramp",
            "RoundaboutEnter",
            "RoundaboutExit",
            "RoundaboutPass",
            "Turn",
            "UTurn"
          ],
          "description": "Type of the step."
        },
        "UTurnStepDetails": {
          "$ref": "#/$defs/RouteUTurnStepDetails"
        }
      },
      "required": [
        "Duration",
        "Type"
      ]
    },
    "RouteResponseNotice": {
      "type": "object",
      "properties": {
        "Code": {
          "type": "string",
          "enum": [
            "MainLanguageNotFound",
            "Other",
            "TravelTimeExceedsDriverWorkHours",
            "TransitDataUnavailable",
            "TransitRouteUnavailable",
            "NoTransitStationsFound"
          ],
          "description": "Code corresponding to the issue."
        },
        "Impact": {
          "type": "string",
          "enum": [
            "High",
            "Low"
          ],
          "description": "Impact corresponding to the issue. While Low impact notices can be safely ignored, High impact notices must be evaluated further to determine the impact."
        }
      },
      "required": [
        "Code"
      ]
    },
    "RouteRoad": {
      "type": "object",
      "properties": {
        "RoadName": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/LocalizedString"
          },
          "description": "Name of the road (localized)."
        },
        "RouteNumber": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RouteNumber"
          },
          "description": "Route number of the road."
        },
        "Towards": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/LocalizedString"
          },
          "description": "Names of destinations that can be reached when traveling on the road."
        },
        "Type": {
          "type": "string",
          "enum": [
            "Highway",
            "Rural",
            "Urban"
          ],
          "description": "The type of road."
        }
      },
      "required": [
        "RoadName",
        "RouteNumber",
        "Towards"
      ]
    },
    "RouteRoundaboutEnterStepDetails": {
      "type": "object",
      "properties": {
        "Intersection": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/LocalizedString"
          },
          "description": "Name of the intersection, if applicable to the step."
        },
        "SteeringDirection": {
          "type": "string",
          "enum": [
            "Left",
            "Right",
            "Straight"
          ],
          "description": "Steering direction for the step."
        },
        "TurnAngle": {
          "type": "number",
          "description": "Angle of the turn."
        },
        "TurnIntensity": {
          "type": "string",
          "enum": [
            "Sharp",
            "Slight",
            "Typical"
          ],
          "description": "Intensity of the turn."
        }
      },
      "required": [
        "Intersection"
      ]
    },
    "RouteRoundaboutExitStepDetails": {
      "type": "object",
      "properties": {
        "Intersection": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/LocalizedString"
          },
          "description": "Name of the intersection, if applicable to the step."
        },
        "RelativeExit": {
          "type": "integer",
          "description": "Exit to be taken."
        },
        "RoundaboutAngle": {
          "type": "number",
          "description": "Angle of the roundabout."
        },
        "SteeringDirection": {
          "type": "string",
          "enum": [
            "Left",
            "Right",
            "Straight"
          ],
          "description": "Steering direction for the step."
        }
      },
      "required": [
        "Intersection"
      ]
    },
    "RouteRoundaboutPassStepDetails": {
      "type": "object",
      "properties": {
        "Intersection": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/LocalizedString"
          },
          "description": "Name of the intersection, if applicable to the step."
        },
        "SteeringDirection": {
          "type": "string",
          "enum": [
            "Left",
            "Right",
            "Straight"
          ],
          "description": "Steering direction for the step."
        },
        "TurnAngle": {
          "type": "number",
          "description": "Angle of the turn."
        },
        "TurnIntensity": {
          "type": "string",
          "enum": [
            "Sharp",
            "Slight",
            "Typical"
          ],
          "description": "Intensity of the turn."
        }
      },
      "required": [
        "Intersection"
      ]
    },
    "RouteSignpost": {
      "type": "object",
      "properties": {
        "Labels": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RouteSignpostLabel"
          },
          "description": "Labels present on the sign post."
        }
      },
      "required": [
        "Labels"
      ]
    },
    "RouteSignpostLabel": {
      "type": "object",
      "properties": {
        "RouteNumber": {
          "$ref": "#/$defs/RouteNumber"
        },
        "Text": {
          "$ref": "#/$defs/LocalizedString"
        }
      }
    },
    "RouteSpanDynamicSpeedDetails": {
      "type": "object",
      "properties": {
        "BestCaseSpeed": {
          "type": "number",
          "description": "Estimated speed while traversing the span without traffic congestion. Unit: kilometers per hour"
        },
        "TurnDuration": {
          "type": "integer",
          "description": "Estimated time to turn from this span into the next. Unit: seconds"
        },
        "TypicalSpeed": {
          "type": "number",
          "description": "Estimated speed while traversing the span under typical traffic congestion. Unit: kilometers per hour"
        }
      }
    },
    "RouteSpanSpeedLimitDetails": {
      "type": "object",
      "properties": {
        "MaxSpeed": {
          "type": "number",
          "description": "Maximum speed. Unit: kilometers per hour"
        },
        "Unlimited": {
          "type": "boolean",
          "description": "If the span doesn't have a speed limit like the Autobahn."
        }
      }
    },
    "RouteStationDetails": {
      "type": "object",
      "properties": {
        "Accessibility": {
          "$ref": "#/$defs/RouteAccessibilityAvailabilityDetails"
        },
        "PlatformName": {
          "type": "string",
          "description": "Platform name or number."
        },
        "ShortName": {
          "type": "string",
          "description": "Short text or a number that identifies the station."
        }
      }
    },
    "RouteSummary": {
      "type": "object",
      "properties": {
        "Distance": {
          "type": "integer",
          "description": "Distance of the route."
        },
        "Duration": {
          "type": "integer",
          "description": "Duration of the route. Unit: seconds"
        },
        "Tolls": {
          "$ref": "#/$defs/RouteTollSummary"
        }
      }
    },
    "RouteTaxiAfterTravelStep": {
      "type": "object",
      "properties": {
        "Duration": {
          "type": "integer",
          "description": "Duration of the step. Unit: seconds"
        },
        "Instruction": {
          "type": "string",
          "description": "Brief description of the step in the requested language."
        },
        "Type": {
          "type": "string",
          "enum": [
            "Park"
          ],
          "description": "Type of the step."
        }
      },
      "required": [
        "Duration",
        "Type"
      ]
    },
    "RouteTaxiAgency": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string",
          "description": "Name of the agency."
        },
        "Url": {
          "type": "string",
          "description": "URL to the agency's website."
        }
      },
      "required": [
        "Name"
      ]
    },
    "RouteTaxiArrival": {
      "type": "object",
      "properties": {
        "Place": {
          "$ref": "#/$defs/RouteTaxiPlace"
        },
        "Time": {
          "type": "string",
          "description": "The arrival time."
        }
      },
      "required": [
        "Place"
      ]
    },
    "RouteTaxiBeforeTravelStep": {
      "type": "object",
      "properties": {
        "Duration": {
          "type": "integer",
          "description": "Duration of the step. Unit: seconds"
        },
        "Instruction": {
          "type": "string",
          "description": "Brief description of the step in the requested language."
        },
        "Type": {
          "type": "string",
          "enum": [
            "Wait"
          ],
          "description": "Type of the step."
        }
      },
      "required": [
        "Duration",
        "Type"
      ]
    },
    "RouteTaxiDeparture": {
      "type": "object",
      "properties": {
        "Place": {
          "$ref": "#/$defs/RouteTaxiPlace"
        },
        "Time": {
          "type": "string",
          "description": "The departure time."
        }
      },
      "required": [
        "Place"
      ]
    },
    "RouteTaxiLegDetails": {
      "type": "object",
      "properties": {
        "AfterTravelSteps": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RouteTaxiAfterTravelStep"
          },
          "description": "Steps of a leg that must be performed after the travel portion of the leg."
        },
        "Agency": {
          "$ref": "#/$defs/RouteTaxiAgency"
        },
        "Arrival": {
          "$ref": "#/$defs/RouteTaxiArrival"
        },
        "Attributions": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RouteAttribution"
          },
          "description": "List of required attributions to display."
        },
        "BeforeTravelSteps": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RouteTaxiBeforeTravelStep"
          },
          "description": "Steps of a leg that must be performed before the travel portion of the leg."
        },
        "BookingWebLinks": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RouteWebLink"
          },
          "description": "Web links to external ticket booking services for the taxi."
        },
        "Departure": {
          "$ref": "#/$defs/RouteTaxiDeparture"
        },
        "Notices": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RouteTaxiNotice"
          },
          "description": "List of notices that indicate issues that occurred during route calculation."
        },
        "Summary": {
          "$ref": "#/$defs/RouteTaxiSummary"
        },
        "Transport": {
          "$ref": "#/$defs/RouteTaxiTransportModeDetails"
        },
        "TravelSteps": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RouteTaxiTravelStep"
          },
          "description": "Steps of a leg that must be performed during the travel portion of the leg."
        }
      },
      "required": [
        "AfterTravelSteps",
        "Agency",
        "Arrival",
        "Attributions",
        "BeforeTravelSteps",
        "BookingWebLinks",
        "Departure",
        "Notices",
        "Transport",
        "TravelSteps"
      ]
    },
    "RouteTaxiNotice": {
      "type": "object",
      "properties": {
        "Code": {
          "type": "string",
          "enum": [
            "AccuratePolylineUnavailable",
            "Other"
          ],
          "description": "Code corresponding to the issue."
        },
        "Impact": {
          "type": "string",
          "enum": [
            "High",
            "Low"
          ],
          "description": "Impact corresponding to the issue. While Low impact notices can be safely ignored, High impact notices must be evaluated further to determine the impact."
        }
      },
      "required": [
        "Code"
      ]
    },
    "RouteTaxiOverviewSummary": {
      "type": "object",
      "properties": {
        "Duration": {
          "type": "integer",
          "description": "Duration of the entire leg. Unit: seconds"
        },
        "Distance": {
          "type": "integer",
          "description": "Distance of the entire leg. Unit: meters"
        }
      },
      "required": [
        "Duration",
        "Distance"
      ]
    },
    "RouteTaxiPlace": {
      "type": "object",
      "properties": {
        "AccessPointDetails": {
          "$ref": "#/$defs/RouteAccessPointDetails"
        },
        "Name": {
          "type": "string",
          "description": "The name of the place."
        },
        "OriginalPosition": {
          "type": "array",
          "items": {
            "type": "number"
          },
          "description": "Position provided in the request."
        },
        "Position": {
          "type": "array",
          "items": {
            "type": "number"
          },
          "description": "Position in World Geodetic System (WGS 84) format: [longitude, latitude]."
        },
        "StationDetails": {
          "$ref": "#/$defs/RouteStationDetails"
        },
        "Type": {
          "type": "string",
          "enum": [
            "AccessPoint",
            "Station"
          ],
          "description": "The type of the place."
        },
        "WaypointIndex": {
          "type": "integer",
          "description": "Index of the waypoint in the request."
        }
      },
      "required": [
        "Position"
      ]
    },
    "RouteTaxiSummary": {
      "type": "object",
      "properties": {
        "Overview": {
          "$ref": "#/$defs/RouteTaxiOverviewSummary"
        },
        "TravelOnly": {
          "$ref": "#/$defs/RouteTaxiTravelOnlySummary"
        }
      }
    },
    "RouteTaxiTransportModeDetails": {
      "type": "object",
      "properties": {
        "AvailableSeats": {
          "type": "integer",
          "description": "Number of available seats in the vehicle."
        },
        "Category": {
          "type": "string",
          "description": "Human readable transport category."
        },
        "Color": {
          "type": "string",
          "description": "Color of the transport polyline and background for the transport name."
        },
        "Engine": {
          "type": "string",
          "enum": [
            "Electric",
            "InternalCombustion",
            "PluginHybrid"
          ],
          "description": "Vehicle engine type."
        },
        "LicensePlate": {
          "type": "string",
          "description": "Vehicle license plate number."
        },
        "Mode": {
          "type": "string",
          "enum": [
            "All",
            "Car"
          ],
          "description": "Mode of the taxi transport."
        },
        "Model": {
          "type": "string",
          "description": "Vehicle model."
        },
        "Name": {
          "type": "string",
          "description": "Vehicle name or mobility provider name."
        },
        "TextColor": {
          "type": "string",
          "description": "Color of the transport name text."
        }
      },
      "required": [
        "Mode"
      ]
    },
    "RouteTaxiTravelOnlySummary": {
      "type": "object",
      "properties": {
        "Duration": {
          "type": "integer",
          "description": "Duration of the travel portion of the taxi leg. Unit: seconds"
        }
      },
      "required": [
        "Duration"
      ]
    },
    "RouteTaxiTravelStep": {
      "type": "object",
      "properties": {
        "ContinueStepDetails": {
          "$ref": "#/$defs/RouteContinueStepDetails"
        },
        "Distance": {
          "type": "integer",
          "description": "Distance of the step. Unit: meters"
        },
        "Duration": {
          "type": "integer",
          "description": "Duration of the step. Unit: seconds"
        },
        "ExitStepDetails": {
          "$ref": "#/$defs/RouteExitStepDetails"
        },
        "GeometryOffset": {
          "type": "integer",
          "description": "Offset in the leg geometry corresponding to the start of this step."
        },
        "Instruction": {
          "type": "string",
          "description": "Brief description of the step in the requested language."
        },
        "KeepStepDetails": {
          "$ref": "#/$defs/RouteKeepStepDetails"
        },
        "RampStepDetails": {
          "$ref": "#/$defs/RouteRampStepDetails"
        },
        "RoundaboutEnterStepDetails": {
          "$ref": "#/$defs/RouteRoundaboutEnterStepDetails"
        },
        "RoundaboutExitStepDetails": {
          "$ref": "#/$defs/RouteRoundaboutExitStepDetails"
        },
        "RoundaboutPassStepDetails": {
          "$ref": "#/$defs/RouteRoundaboutPassStepDetails"
        },
        "TurnStepDetails": {
          "$ref": "#/$defs/RouteTurnStepDetails"
        },
        "Type": {
          "type": "string",
          "enum": [
            "Arrive",
            "Continue",
            "Depart",
            "Exit",
            "Keep",
            "Ramp",
            "RoundaboutEnter",
            "RoundaboutExit",
            "RoundaboutPass",
            "Turn",
            "UTurn"
          ],
          "description": "Type of the step."
        },
        "UTurnStepDetails": {
          "$ref": "#/$defs/RouteUTurnStepDetails"
        }
      },
      "required": [
        "Duration",
        "Type"
      ]
    },
    "RouteToll": {
      "type": "object",
      "properties": {
        "Country": {
          "type": "string",
          "description": "The alpha-2 or alpha-3 character code for the country."
        },
        "PaymentSites": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RouteTollPaymentSite"
          },
          "description": "Locations or sites where the toll fare is collected."
        },
        "Rates": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RouteTollRate"
          },
          "description": "Toll rates that need to be paid to travel this leg of the route."
        },
        "Systems": {
          "type": "array",
          "items": {
            "type": "integer"
          },
          "description": "Toll systems are authorities that collect payments for the toll."
        }
      },
      "required": [
        "PaymentSites",
        "Rates",
        "Systems"
      ]
    },
    "RouteTollPass": {
      "type": "object",
      "properties": {
        "IncludesReturnTrip": {
          "type": "boolean",
          "description": "If the pass includes the rate for the return leg of the trip."
        },
        "SeniorPass": {
          "type": "boolean",
          "description": "If the pass is only valid for senior persons."
        },
        "TransferCount": {
          "type": "integer",
          "description": "If the toll pass can be transferred, and how many times."
        },
        "TripCount": {
          "type": "integer",
          "description": "Number of trips the pass is valid for."
        },
        "ValidityPeriod": {
          "$ref": "#/$defs/RouteTollPassValidityPeriod"
        }
      }
    },
    "RouteTollPassValidityPeriod": {
      "type": "object",
      "properties": {
        "Period": {
          "type": "string",
          "enum": [
            "Annual",
            "Days",
            "ExtendedAnnual",
            "Minutes",
            "Months"
          ],
          "description": "Validity period."
        },
        "PeriodCount": {
          "type": "integer",
          "description": "Counts for the validity period."
        }
      },
      "required": [
        "Period"
      ]
    },
    "RouteTollPaymentSite": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string",
          "description": "Name of the payment site."
        },
        "Position": {
          "type": "array",
          "items": {
            "type": "number"
          },
          "description": "Position in World Geodetic System (WGS 84) format: [longitude, latitude]."
        }
      },
      "required": [
        "Position"
      ]
    },
    "RouteTollPrice": {
      "type": "object",
      "properties": {
        "Currency": {
          "type": "string",
          "description": "Currency code corresponding to the price. This is the same as Currency specified in the request."
        },
        "Estimate": {
          "type": "boolean",
          "description": "If the price is an estimate or an exact value."
        },
        "PerDuration": {
          "type": "integer",
          "description": "Duration for which the price corresponds to. Unit: seconds"
        },
        "Range": {
          "type": "boolean",
          "description": "If the price is a range or an exact value. If any of the toll fares making up the route is a range, the overall price is also a range."
        },
        "RangeValue": {
          "$ref": "#/$defs/RouteTollPriceValueRange"
        },
        "Value": {
          "type": "number",
          "description": "Exact price, if not a range."
        }
      },
      "required": [
        "Currency",
        "Estimate",
        "Range",
        "Value"
      ]
    },
    "RouteTollPriceSummary": {
      "type": "object",
      "properties": {
        "Currency": {
          "type": "string",
          "description": "Currency code corresponding to the price. This is the same as Currency specified in the request."
        },
        "Estimate": {
          "type": "boolean",
          "description": "If the price is an estimate or an exact value."
        },
        "Range": {
          "type": "boolean",
          "description": "If the price is a range or an exact value. If any of the toll fares making up the route is a range, the overall price is also a range."
        },
        "RangeValue": {
          "$ref": "#/$defs/RouteTollPriceValueRange"
        },
        "Value": {
          "type": "number",
          "description": "Exact price, if not a range."
        }
      },
      "required": [
        "Currency",
        "Estimate",
        "Range",
        "Value"
      ]
    },
    "RouteTollPriceValueRange": {
      "type": "object",
      "properties": {
        "Min": {
          "type": "number",
          "description": "Minimum price."
        },
        "Max": {
          "type": "number",
          "description": "Maximum price."
        }
      },
      "required": [
        "Min",
        "Max"
      ]
    },
    "RouteTollRate": {
      "type": "object",
      "properties": {
        "ApplicableTimes": {
          "type": "string",
          "description": "Time when the rate is valid."
        },
        "ConvertedPrice": {
          "$ref": "#/$defs/RouteTollPrice"
        },
        "Id": {
          "type": "string",
          "description": "The Toll rate Id."
        },
        "LocalPrice": {
          "$ref": "#/$defs/RouteTollPrice"
        },
        "Name": {
          "type": "string",
          "description": "The name of the toll."
        },
        "Pass": {
          "$ref": "#/$defs/RouteTollPass"
        },
        "PaymentMethods": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "BankCard",
              "Cash",
              "CashExact",
              "CreditCard",
              "PassSubscription",
              "TravelCard",
              "Transponder",
              "VideoToll"
            ]
          },
          "description": "Accepted payment methods at the toll."
        },
        "Transponders": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RouteTransponder"
          },
          "description": "Transponders for which this toll can be applied."
        }
      },
      "required": [
        "Id",
        "LocalPrice",
        "Name",
        "PaymentMethods",
        "Transponders"
      ]
    },
    "RouteTollSummary": {
      "type": "object",
      "properties": {
        "Total": {
          "$ref": "#/$defs/RouteTollPriceSummary"
        }
      }
    },
    "RouteTollSystem": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string",
          "description": "The toll system name."
        }
      }
    },
    "RouteTransitAfterTravelStep": {
      "type": "object",
      "properties": {
        "Duration": {
          "type": "integer",
          "description": "Duration of the step. Unit: seconds"
        },
        "Instruction": {
          "type": "string",
          "description": "Brief description of the step in the requested language."
        },
        "Type": {
          "type": "string",
          "enum": [
            "Deboard"
          ],
          "description": "Type of the step."
        }
      },
      "required": [
        "Duration",
        "Type"
      ]
    },
    "RouteTransitAgency": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string",
          "description": "Name of the agency."
        },
        "Url": {
          "type": "string",
          "description": "URL to the agency's website."
        }
      },
      "required": [
        "Name"
      ]
    },
    "RouteTransitArrival": {
      "type": "object",
      "properties": {
        "Delay": {
          "type": "integer",
          "description": "The delay from the scheduled arrival time. Unit: seconds"
        },
        "Place": {
          "$ref": "#/$defs/RouteTransitPlace"
        },
        "Status": {
          "type": "string",
          "enum": [
            "Added",
            "Cancelled",
            "Replaced",
            "Scheduled"
          ],
          "description": "The status of the arrival."
        },
        "Time": {
          "type": "string",
          "description": "The arrival time."
        }
      },
      "required": [
        "Place"
      ]
    },
    "RouteTransitBeforeTravelStep": {
      "type": "object",
      "properties": {
        "Duration": {
          "type": "integer",
          "description": "Duration of the step. Unit: seconds"
        },
        "Instruction": {
          "type": "string",
          "description": "Brief description of the step in the requested language."
        },
        "Type": {
          "type": "string",
          "enum": [
            "Board"
          ],
          "description": "Type of the step."
        }
      },
      "required": [
        "Duration",
        "Type"
      ]
    },
    "RouteTransitDeparture": {
      "type": "object",
      "properties": {
        "Delay": {
          "type": "integer",
          "description": "The delay from the scheduled departure time. Unit: seconds"
        },
        "Place": {
          "$ref": "#/$defs/RouteTransitPlace"
        },
        "Status": {
          "type": "string",
          "enum": [
            "Added",
            "Cancelled",
            "Replaced",
            "Scheduled"
          ],
          "description": "The status of the departure."
        },
        "Time": {
          "type": "string",
          "description": "The departure time."
        }
      },
      "required": [
        "Place"
      ]
    },
    "RouteTransitIncident": {
      "type": "object",
      "properties": {
        "Description": {
          "type": "string",
          "description": "A human readable description of the incident."
        },
        "Effect": {
          "type": "string",
          "enum": [
            "Delayed",
            "Detoured",
            "Other",
            "ServiceAdded",
            "ServiceCancelled",
            "ServiceModified",
            "ServiceReduced",
            "StopMoved"
          ],
          "description": "The effect of the incident on the transit service."
        },
        "EndTime": {
          "type": "string",
          "description": "The end time of the incident."
        },
        "StartTime": {
          "type": "string",
          "description": "The start time of the incident."
        },
        "Type": {
          "type": "string",
          "enum": [
            "Accident",
            "Construction",
            "Demonstration",
            "Holiday",
            "Maintenance",
            "MedicalEmergency",
            "Other",
            "PoliceActivity",
            "Strike",
            "TechnicalProblem",
            "Weather"
          ],
          "description": "Type of the incident."
        },
        "Url": {
          "type": "string",
          "description": "URL to the original incident published at the agency website."
        }
      },
      "required": [
        "Effect",
        "Type"
      ]
    },
    "RouteTransitIntermediateStop": {
      "type": "object",
      "properties": {
        "Attributes": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "NoEntry",
              "NoExit"
            ]
          },
          "description": "Attributes of the intermediate stop."
        },
        "Departure": {
          "$ref": "#/$defs/RouteTransitDeparture"
        },
        "Duration": {
          "type": "integer",
          "description": "Duration of the stop. Unit: seconds"
        },
        "GeometryOffset": {
          "type": "integer",
          "description": "Offset in the leg geometry corresponding to the start of this stop."
        },
        "Transport": {
          "$ref": "#/$defs/RouteTransitTransportModeDetails"
        }
      },
      "required": [
        "Departure",
        "Duration"
      ]
    },
    "RouteTransitLegDetails": {
      "type": "object",
      "properties": {
        "AfterTravelSteps": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RouteTransitAfterTravelStep"
          },
          "description": "Steps of a leg that must be performed after the travel portion of the leg."
        },
        "Agency": {
          "$ref": "#/$defs/RouteTransitAgency"
        },
        "Arrival": {
          "$ref": "#/$defs/RouteTransitArrival"
        },
        "Attributions": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RouteAttribution"
          },
          "description": "List of required attributions to display."
        },
        "BeforeTravelSteps": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RouteTransitBeforeTravelStep"
          },
          "description": "Steps of a leg that must be performed before the travel portion of the leg."
        },
        "BookingWebLinks": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RouteWebLink"
          },
          "description": "Web links to external ticket booking services for the transit."
        },
        "Departure": {
          "$ref": "#/$defs/RouteTransitDeparture"
        },
        "Incidents": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RouteTransitIncident"
          },
          "description": "Incidents affecting this leg of the transit route."
        },
        "IntermediateStops": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RouteTransitIntermediateStop"
          },
          "description": "Intermediate stops between departure and destination of the transit route."
        },
        "NextDepartures": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RouteTransitNextDeparture"
          },
          "description": "List of next departures that cover the same section of the route."
        },
        "Notices": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RouteTransitNotice"
          },
          "description": "List of notices that indicate issues that occurred during route calculation."
        },
        "PassThroughWaypoints": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RoutePassThroughWaypoint"
          },
          "description": "Waypoints that were passed through during the leg. This includes the waypoints that were configured with the PassThrough option. Not populated when the TravelMode is Transit or Intermodal."
        },
        "Spans": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RouteTransitSpan"
          },
          "description": "Spans that were computed for the requested SpanAdditionalFeatures. Not populated when the TravelMode is Transit or Intermodal."
        },
        "Summary": {
          "$ref": "#/$defs/RouteTransitSummary"
        },
        "Transport": {
          "$ref": "#/$defs/RouteTransitTransportModeDetails"
        },
        "TravelSteps": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RouteTransitTravelStep"
          },
          "description": "Steps of a leg that must be performed during the travel portion of the leg."
        }
      },
      "required": [
        "AfterTravelSteps",
        "Arrival",
        "Attributions",
        "BeforeTravelSteps",
        "BookingWebLinks",
        "Departure",
        "Incidents",
        "IntermediateStops",
        "NextDepartures",
        "Notices",
        "PassThroughWaypoints",
        "Spans",
        "Transport",
        "TravelSteps"
      ]
    },
    "RouteTransitNextDeparture": {
      "type": "object",
      "properties": {
        "Delay": {
          "type": "integer",
          "description": "The delay from the scheduled departure time. Unit: seconds"
        },
        "PlatformName": {
          "type": "string",
          "description": "Platform name or number for the departure."
        },
        "Status": {
          "type": "string",
          "enum": [
            "Added",
            "Cancelled",
            "Replaced",
            "Scheduled"
          ],
          "description": "The status of the departure."
        },
        "Time": {
          "type": "string",
          "description": "The departure time."
        },
        "Transport": {
          "$ref": "#/$defs/RouteTransitTransportModeDetails"
        }
      },
      "required": [
        "Time"
      ]
    },
    "RouteTransitNotice": {
      "type": "object",
      "properties": {
        "Code": {
          "type": "string",
          "enum": [
            "AccuratePolylineUnavailable",
            "IntermediateStopsUnavailable",
            "NoSchedule",
            "Other",
            "PotentialViolatedVehicleRestrictionUsage",
            "ScheduledTimes",
            "SeasonalClosure",
            "ViolatedAvoidFerry",
            "ViolatedAvoidRailFerry",
            "ViolatedExcludedTransitMode",
            "ViolatedVehicleRestriction",
            "ViolatedAvoidAreas"
          ],
          "description": "Code corresponding to the issue."
        },
        "Impact": {
          "type": "string",
          "enum": [
            "High",
            "Low"
          ],
          "description": "Impact corresponding to the issue. While Low impact notices can be safely ignored, High impact notices must be evaluated further to determine the impact."
        }
      },
      "required": [
        "Code"
      ]
    },
    "RouteTransitOverviewSummary": {
      "type": "object",
      "properties": {
        "Distance": {
          "type": "integer",
          "description": "Distance of the entire leg. Unit: meters"
        },
        "Duration": {
          "type": "integer",
          "description": "Duration of the entire leg. Unit: seconds"
        }
      },
      "required": [
        "Distance",
        "Duration"
      ]
    },
    "RouteTransitPlace": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string",
          "description": "The name of the place."
        },
        "OriginalPosition": {
          "type": "array",
          "items": {
            "type": "number"
          },
          "description": "Position provided in the request."
        },
        "Position": {
          "type": "array",
          "items": {
            "type": "number"
          },
          "description": "Position in World Geodetic System (WGS 84) format: [longitude, latitude]."
        },
        "StationDetails": {
          "$ref": "#/$defs/RouteStationDetails"
        },
        "Type": {
          "type": "string",
          "enum": [
            "Station"
          ],
          "description": "The type of the place."
        },
        "WaypointIndex": {
          "type": "integer",
          "description": "Index of the waypoint in the request."
        }
      },
      "required": [
        "Position"
      ]
    },
    "RouteTransitSpan": {
      "type": "object",
      "properties": {
        "Country": {
          "type": "string",
          "description": "3 letter Country code corresponding to the Span."
        },
        "Distance": {
          "type": "integer",
          "description": "Distance of the computed span. This feature doesn't split a span, but is always computed on a span split by other properties. Unit: meters"
        },
        "Duration": {
          "type": "integer",
          "description": "Duration of the computed span. This feature doesn't split a span, but is always computed on a span split by other properties. Unit: seconds"
        },
        "GeometryOffset": {
          "type": "integer",
          "description": "Offset in the leg geometry corresponding to the start of this span."
        },
        "Names": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/LocalizedString"
          },
          "description": "Names of the transit span in available languages."
        },
        "Region": {
          "type": "string",
          "description": "2-3 letter Region code corresponding to the Span. This is either a province or a state."
        }
      }
    },
    "RouteTransitSummary": {
      "type": "object",
      "properties": {
        "Overview": {
          "$ref": "#/$defs/RouteTransitOverviewSummary"
        },
        "TravelOnly": {
          "$ref": "#/$defs/RouteTransitTravelOnlySummary"
        }
      }
    },
    "RouteTransitTransportModeDetails": {
      "type": "object",
      "properties": {
        "Accessibility": {
          "$ref": "#/$defs/RouteAccessibilityAvailabilityDetails"
        },
        "Color": {
          "type": "string",
          "description": "Color of the transport polyline and background for the transport name."
        },
        "Headsign": {
          "type": "string",
          "description": "Transit route headsign."
        },
        "LongRouteName": {
          "type": "string",
          "description": "Long name of the transit route."
        },
        "Mode": {
          "type": "string",
          "enum": [
            "AerialTramway",
            "Airplane",
            "All",
            "Bus",
            "BusRapidTransit",
            "CityTrain",
            "Ferry",
            "FunicularRailway",
            "HighSpeedTrain",
            "IntercityTrain",
            "InterregionalTrain",
            "LightRail",
            "Monorail",
            "PrivateBus",
            "RegionalTrain",
            "Subway"
          ],
          "description": "Mode of the transit transport."
        },
        "RouteName": {
          "type": "string",
          "description": "Transit route name."
        },
        "ShortRouteName": {
          "type": "string",
          "description": "Short name of the transit route."
        },
        "TextColor": {
          "type": "string",
          "description": "Color of the transport name text."
        }
      },
      "required": [
        "Mode"
      ]
    },
    "RouteTransitTravelOnlySummary": {
      "type": "object",
      "properties": {
        "Duration": {
          "type": "integer",
          "description": "Duration of the travel portion of the transit leg. Unit: seconds"
        }
      },
      "required": [
        "Duration"
      ]
    },
    "RouteTransitTravelStep": {
      "type": "object",
      "properties": {
        "Distance": {
          "type": "integer",
          "description": "Distance of the step. Unit: meters"
        },
        "Duration": {
          "type": "integer",
          "description": "Duration of the step. Unit: seconds"
        },
        "GeometryOffset": {
          "type": "integer",
          "description": "Offset in the leg geometry corresponding to the start of this step."
        },
        "Instruction": {
          "type": "string",
          "description": "Brief description of the step in the requested language."
        },
        "Type": {
          "type": "string",
          "enum": [
            "Depart"
          ],
          "description": "Type of the step."
        }
      },
      "required": [
        "Duration",
        "Type"
      ]
    },
    "RouteTransponder": {
      "type": "object",
      "properties": {
        "SystemName": {
          "type": "string",
          "description": "Names of the toll system collecting the toll."
        }
      }
    },
    "RouteTurnStepDetails": {
      "type": "object",
      "properties": {
        "Intersection": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/LocalizedString"
          },
          "description": "Name of the intersection, if applicable to the step."
        },
        "SteeringDirection": {
          "type": "string",
          "enum": [
            "Left",
            "Right",
            "Straight"
          ],
          "description": "Steering direction for the step."
        },
        "TurnAngle": {
          "type": "number",
          "description": "Angle of the turn."
        },
        "TurnIntensity": {
          "type": "string",
          "enum": [
            "Sharp",
            "Slight",
            "Typical"
          ],
          "description": "Intensity of the turn."
        }
      },
      "required": [
        "Intersection"
      ]
    },
    "RouteUTurnStepDetails": {
      "type": "object",
      "properties": {
        "Intersection": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/LocalizedString"
          },
          "description": "Name of the intersection, if applicable to the step."
        },
        "SteeringDirection": {
          "type": "string",
          "enum": [
            "Left",
            "Right",
            "Straight"
          ],
          "description": "Steering direction for the step."
        },
        "TurnAngle": {
          "type": "number",
          "description": "Angle of the turn."
        },
        "TurnIntensity": {
          "type": "string",
          "enum": [
            "Sharp",
            "Slight",
            "Typical"
          ],
          "description": "Intensity of the turn."
        }
      },
      "required": [
        "Intersection"
      ]
    },
    "RouteVehicleAfterTravelStep": {
      "type": "object",
      "properties": {
        "ChargeStepDetails": {
          "$ref": "#/$defs/RouteChargeStepDetails"
        },
        "Duration": {
          "type": "integer",
          "description": "Duration of the step. Unit: seconds"
        },
        "Instruction": {
          "type": "string",
          "description": "Brief description of the step in the requested language. Only available when the TravelStepType is Default."
        },
        "Type": {
          "type": "string",
          "enum": [
            "Park"
          ],
          "description": "Type of the step."
        }
      },
      "required": [
        "Duration",
        "Type"
      ]
    },
    "RouteVehicleArrival": {
      "type": "object",
      "properties": {
        "Place": {
          "$ref": "#/$defs/RouteVehiclePlace"
        },
        "Time": {
          "type": "string",
          "description": "The arrival time."
        }
      },
      "required": [
        "Place"
      ]
    },
    "RouteVehicleDeparture": {
      "type": "object",
      "properties": {
        "Place": {
          "$ref": "#/$defs/RouteVehiclePlace"
        },
        "Time": {
          "type": "string",
          "description": "The departure time."
        }
      },
      "required": [
        "Place"
      ]
    },
    "RouteVehicleIncident": {
      "type": "object",
      "properties": {
        "Description": {
          "type": "string",
          "description": "Brief readable description of the incident."
        },
        "EndTime": {
          "type": "string",
          "description": "End timestamp of the incident."
        },
        "Severity": {
          "type": "string",
          "enum": [
            "Critical",
            "High",
            "Medium",
            "Low"
          ],
          "description": "Severity of the incident Critical - The part of the route the incident affects is unusable. Major- Major impact on the leg duration, for example stop and go Minor- Minor impact on the leg duration, for example traffic jam Low - Low on duration, for example slightly increased traffic"
        },
        "StartTime": {
          "type": "string",
          "description": "Start time of the incident."
        },
        "Type": {
          "type": "string",
          "enum": [
            "Accident",
            "Congestion",
            "Construction",
            "DisabledVehicle",
            "LaneRestriction",
            "MassTransit",
            "Other",
            "PlannedEvent",
            "RoadClosure",
            "RoadHazard",
            "Weather"
          ],
          "description": "Type of the incident."
        }
      }
    },
    "RouteVehicleLegDetails": {
      "type": "object",
      "properties": {
        "AfterTravelSteps": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RouteVehicleAfterTravelStep"
          },
          "description": "Steps of a leg that must be performed after the travel portion of the leg."
        },
        "Arrival": {
          "$ref": "#/$defs/RouteVehicleArrival"
        },
        "Departure": {
          "$ref": "#/$defs/RouteVehicleDeparture"
        },
        "Incidents": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RouteVehicleIncident"
          },
          "description": "Incidents corresponding to this leg of the route. Not supported in ap-southeast-1 and ap-southeast-5 regions for GrabMaps customers."
        },
        "Notices": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RouteVehicleNotice"
          },
          "description": "Notices are additional information returned that indicate issues that occurred during route calculation. Not supported in ap-southeast-1 and ap-southeast-5 regions for GrabMaps customers."
        },
        "PassThroughWaypoints": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RoutePassThroughWaypoint"
          },
          "description": "Waypoints that were passed through during the leg. This includes the waypoints that were configured with the PassThrough option."
        },
        "Spans": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RouteVehicleSpan"
          },
          "description": "Spans that were computed for the requested SpanAdditionalFeatures. Not supported in ap-southeast-1 and ap-southeast-5 regions for GrabMaps customers."
        },
        "Summary": {
          "$ref": "#/$defs/RouteVehicleSummary"
        },
        "Tolls": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RouteToll"
          },
          "description": "Toll related options. Not supported in ap-southeast-1 and ap-southeast-5 regions for GrabMaps customers."
        },
        "TollSystems": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RouteTollSystem"
          },
          "description": "Toll systems are authorities that collect payments for the toll. Not supported in ap-southeast-1 and ap-southeast-5 regions for GrabMaps customers."
        },
        "TravelSteps": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RouteVehicleTravelStep"
          },
          "description": "Steps of a leg that must be performed before the travel portion of the leg."
        },
        "TruckRoadTypes": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Truck road type identifiers. BK1 through BK4 apply only to Sweden. A2,A4,B2,B4,C,D,ET2,ET4 apply only to Mexico. Not supported in ap-southeast-1 and ap-southeast-5 regions for GrabMaps customers. There are currently no other supported values as of 26th April 2024."
        },
        "Zones": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RouteZone"
          },
          "description": "Zones corresponding to this leg of the route. Not supported in ap-southeast-1 and ap-southeast-5 regions for GrabMaps customers."
        }
      },
      "required": [
        "AfterTravelSteps",
        "Arrival",
        "Departure",
        "Incidents",
        "Notices",
        "PassThroughWaypoints",
        "Spans",
        "Tolls",
        "TollSystems",
        "TravelSteps",
        "TruckRoadTypes",
        "Zones"
      ]
    },
    "RouteVehicleNotice": {
      "type": "object",
      "properties": {
        "Code": {
          "type": "string",
          "enum": [
            "AccuratePolylineUnavailable",
            "Other",
            "PotentialViolatedAvoidTollRoadUsage",
            "PotentialViolatedCarpoolUsage",
            "PotentialViolatedTurnRestrictionUsage",
            "PotentialViolatedVehicleRestrictionUsage",
            "PotentialViolatedZoneRestrictionUsage",
            "SeasonalClosure",
            "TollsDataTemporarilyUnavailable",
            "TollsDataUnavailable",
            "TollTransponder",
            "ViolatedAvoidControlledAccessHighway",
            "ViolatedAvoidDifficultTurns",
            "ViolatedAvoidDirtRoad",
            "ViolatedAvoidSeasonalClosure",
            "ViolatedAvoidTollRoad",
            "ViolatedAvoidTollTransponder",
            "ViolatedAvoidTruckRoadType",
            "ViolatedAvoidTunnel",
            "ViolatedAvoidUTurns",
            "ViolatedBlockedRoad",
            "ViolatedCarpool",
            "ViolatedEmergencyGate",
            "ViolatedStartDirection",
            "ViolatedTurnRestriction",
            "ViolatedVehicleRestriction",
            "ViolatedZoneRestriction",
            "TravelTimeExceedsDriverWorkHours"
          ],
          "description": "Code corresponding to the issue."
        },
        "Details": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RouteVehicleNoticeDetail"
          },
          "description": "Additional details of the notice."
        },
        "Impact": {
          "type": "string",
          "enum": [
            "High",
            "Low"
          ],
          "description": "Impact corresponding to the issue. While Low impact notices can be safely ignored, High impact notices must be evaluated further to determine the impact."
        }
      },
      "required": [
        "Code",
        "Details"
      ]
    },
    "RouteVehicleNoticeDetail": {
      "type": "object",
      "properties": {
        "Title": {
          "type": "string",
          "description": "The notice title."
        },
        "ViolatedConstraints": {
          "$ref": "#/$defs/RouteViolatedConstraints"
        }
      }
    },
    "RouteVehicleOverviewSummary": {
      "type": "object",
      "properties": {
        "BestCaseDuration": {
          "type": "integer",
          "description": "Total duration in free flowing traffic, which is the best case or shortest duration possible to cover the leg. Unit: seconds"
        },
        "Distance": {
          "type": "integer",
          "description": "Distance of the entire leg. Unit: meters"
        },
        "Duration": {
          "type": "integer",
          "description": "Duration of the entire leg. Unit: seconds"
        },
        "TypicalDuration": {
          "type": "integer",
          "description": "Duration of the leg under typical traffic congestion. Unit: seconds"
        }
      },
      "required": [
        "Distance",
        "Duration"
      ]
    },
    "RouteVehiclePlace": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string",
          "description": "The name of the place."
        },
        "OriginalPosition": {
          "type": "array",
          "items": {
            "type": "number"
          },
          "description": "Position provided in the request."
        },
        "Position": {
          "type": "array",
          "items": {
            "type": "number"
          },
          "description": "Position in World Geodetic System (WGS 84) format: [longitude, latitude]."
        },
        "SideOfStreet": {
          "type": "string",
          "enum": [
            "Left",
            "Right"
          ],
          "description": "Options to configure matching the provided position to a side of the street."
        },
        "WaypointIndex": {
          "type": "integer",
          "description": "Index of the waypoint in the request."
        },
        "AccessPointDetails": {
          "$ref": "#/$defs/RouteAccessPointDetails"
        },
        "StationDetails": {
          "$ref": "#/$defs/RouteStationDetails"
        },
        "Type": {
          "type": "string",
          "enum": [
            "AccessPoint",
            "DockingStation",
            "ParkingLot",
            "Station"
          ],
          "description": "The type of the place."
        }
      },
      "required": [
        "Position"
      ]
    },
    "RouteVehicleSpan": {
      "type": "object",
      "properties": {
        "BestCaseDuration": {
          "type": "integer",
          "description": "Duration of the computed span without traffic congestion. Unit: seconds"
        },
        "CarAccess": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "Allowed",
              "NoThroughTraffic",
              "TollRoad"
            ]
          },
          "description": "Access attributes for a car corresponding to the span."
        },
        "Country": {
          "type": "string",
          "description": "3 letter Country code corresponding to the Span."
        },
        "Distance": {
          "type": "integer",
          "description": "Distance of the computed span. This feature doesn't split a span, but is always computed on a span split by other properties."
        },
        "Duration": {
          "type": "integer",
          "description": "Duration of the computed span. This feature doesn't split a span, but is always computed on a span split by other properties. Unit: seconds"
        },
        "DynamicSpeed": {
          "$ref": "#/$defs/RouteSpanDynamicSpeedDetails"
        },
        "FunctionalClassification": {
          "type": "integer",
          "description": "A numerical value indicating the functional classification of the road segment corresponding to the span. Classification values are part of the hierarchical network that helps determine a logical and efficient route, and have the following definitions: Roads that allow for high volume, maximum speed traffic movement between and through major metropolitan areas. Roads that are used to channel traffic to functional class 1 roads for travel between and through cities in the shortest amount of time. Roads that intersect functional class 2 roads and provide a high volume of traffic movement at a lo"
        },
        "Gate": {
          "type": "string",
          "enum": [
            "Emergency",
            "KeyAccess",
            "PermissionRequired"
          ],
          "description": "Attributes corresponding to a gate. The gate is present at the end of the returned span."
        },
        "GeometryOffset": {
          "type": "integer",
          "description": "Offset in the leg geometry corresponding to the start of this span."
        },
        "Incidents": {
          "type": "array",
          "items": {
            "type": "integer"
          },
          "description": "Incidents corresponding to the span. These index into the Incidents in the parent Leg."
        },
        "Names": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/LocalizedString"
          },
          "description": "Provides an array of names of the vehicle span in available languages."
        },
        "Notices": {
          "type": "array",
          "items": {
            "type": "integer"
          },
          "description": "Notices are additional information returned that indicate issues that occurred during route calculation."
        },
        "RailwayCrossing": {
          "type": "string",
          "enum": [
            "Protected",
            "Unprotected"
          ],
          "description": "Attributes corresponding to a railway crossing. The gate is present at the end of the returned span."
        },
        "Region": {
          "type": "string",
          "description": "2-3 letter Region code corresponding to the Span. This is either a province or a state."
        },
        "RoadAttributes": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "Bridge",
              "BuiltUpArea",
              "ControlledAccessHighway",
              "DirtRoad",
              "DividedRoad",
              "Motorway",
              "PrivateRoad",
              "Ramp",
              "RightHandTraffic",
              "Roundabout",
              "Tunnel",
              "UnderConstruction"
            ]
          },
          "description": "Attributes for the road segment corresponding to the span."
        },
        "RouteNumbers": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RouteNumber"
          },
          "description": "Designated route name or number corresponding to the span."
        },
        "ScooterAccess": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "Allowed",
              "NoThroughTraffic",
              "TollRoad"
            ]
          },
          "description": "Access attributes for a scooter corresponding to the span."
        },
        "SpeedLimit": {
          "$ref": "#/$defs/RouteSpanSpeedLimitDetails"
        },
        "TollSystems": {
          "type": "array",
          "items": {
            "type": "integer"
          },
          "description": "Toll systems are authorities that collect payments for the toll."
        },
        "TruckAccess": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "Allowed",
              "NoThroughTraffic",
              "TollRoad"
            ]
          },
          "description": "Access attributes for a truck corresponding to the span."
        },
        "TruckRoadTypes": {
          "type": "array",
          "items": {
            "type": "integer"
          },
          "description": "Truck road type identifiers. BK1 through BK4 apply only to Sweden. A2,A4,B2,B4,C,D,ET2,ET4 apply only to Mexico. There are currently no other supported values as of 26th April 2024."
        },
        "TypicalDuration": {
          "type": "integer",
          "description": "Duration of the computed span under typical traffic congestion. Unit: seconds"
        },
        "Zones": {
          "type": "array",
          "items": {
            "type": "integer"
          },
          "description": "Zones corresponding to this leg of the route."
        }
      }
    },
    "RouteVehicleSummary": {
      "type": "object",
      "properties": {
        "Overview": {
          "$ref": "#/$defs/RouteVehicleOverviewSummary"
        },
        "TravelOnly": {
          "$ref": "#/$defs/RouteVehicleTravelOnlySummary"
        }
      }
    },
    "RouteVehicleTravelOnlySummary": {
      "type": "object",
      "properties": {
        "BestCaseDuration": {
          "type": "integer",
          "description": "Total duration in free flowing traffic, which is the best case or shortest duration possible to cover the leg. Unit: seconds"
        },
        "Duration": {
          "type": "integer",
          "description": "Duration of the step. Unit: seconds"
        },
        "TypicalDuration": {
          "type": "integer",
          "description": "Duration of the leg under typical traffic congestion. Unit: seconds"
        }
      },
      "required": [
        "Duration"
      ]
    },
    "RouteVehicleTravelStep": {
      "type": "object",
      "properties": {
        "ContinueHighwayStepDetails": {
          "$ref": "#/$defs/RouteContinueHighwayStepDetails"
        },
        "ContinueStepDetails": {
          "$ref": "#/$defs/RouteContinueStepDetails"
        },
        "CurrentRoad": {
          "$ref": "#/$defs/RouteRoad"
        },
        "Distance": {
          "type": "integer",
          "description": "Distance of the step."
        },
        "Duration": {
          "type": "integer",
          "description": "Duration of the step. Unit: seconds"
        },
        "EnterHighwayStepDetails": {
          "$ref": "#/$defs/RouteEnterHighwayStepDetails"
        },
        "ExitNumber": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/LocalizedString"
          },
          "description": "Exit number of the road exit, if applicable."
        },
        "ExitStepDetails": {
          "$ref": "#/$defs/RouteExitStepDetails"
        },
        "GeometryOffset": {
          "type": "integer",
          "description": "Offset in the leg geometry corresponding to the start of this step."
        },
        "Instruction": {
          "type": "string",
          "description": "Brief description of the step in the requested language. Only available when the TravelStepType is Default."
        },
        "KeepStepDetails": {
          "$ref": "#/$defs/RouteKeepStepDetails"
        },
        "NextRoad": {
          "$ref": "#/$defs/RouteRoad"
        },
        "RampStepDetails": {
          "$ref": "#/$defs/RouteRampStepDetails"
        },
        "RoundaboutEnterStepDetails": {
          "$ref": "#/$defs/RouteRoundaboutEnterStepDetails"
        },
        "RoundaboutExitStepDetails": {
          "$ref": "#/$defs/RouteRoundaboutExitStepDetails"
        },
        "RoundaboutPassStepDetails": {
          "$ref": "#/$defs/RouteRoundaboutPassStepDetails"
        },
        "Signpost": {
          "$ref": "#/$defs/RouteSignpost"
        },
        "TurnStepDetails": {
          "$ref": "#/$defs/RouteTurnStepDetails"
        },
        "Type": {
          "type": "string",
          "enum": [
            "Arrive",
            "Continue",
            "ContinueHighway",
            "Depart",
            "EnterHighway",
            "Exit",
            "Keep",
            "Ramp",
            "RoundaboutEnter",
            "RoundaboutExit",
            "RoundaboutPass",
            "Turn",
            "UTurn"
          ],
          "description": "Type of the step."
        },
        "UTurnStepDetails": {
          "$ref": "#/$defs/RouteUTurnStepDetails"
        }
      },
      "required": [
        "Duration",
        "Type"
      ]
    },
    "RouteViolatedConstraints": {
      "type": "object",
      "properties": {
        "AllHazardsRestricted": {
          "type": "boolean",
          "description": "This restriction applies to truck cargo, where the resulting route excludes roads on which hazardous materials are prohibited from being transported."
        },
        "AxleCount": {
          "$ref": "#/$defs/RouteNoticeDetailRange"
        },
        "HazardousCargos": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "Combustible",
              "Corrosive",
              "Explosive",
              "Flammable",
              "Gas",
              "HarmfulToWater",
              "Organic",
              "Other",
              "Poison",
              "PoisonousInhalation",
              "Radioactive"
            ]
          },
          "description": "List of Hazardous cargo contained in the vehicle."
        },
        "MaxHeight": {
          "type": "integer",
          "description": "The maximum height of the vehicle."
        },
        "MaxKpraLength": {
          "type": "integer",
          "description": "The maximum Kpra length of the vehicle. Unit: centimeters"
        },
        "MaxLength": {
          "type": "integer",
          "description": "The maximum length of the vehicle."
        },
        "MaxPayloadCapacity": {
          "type": "integer",
          "description": "The maximum load capacity of the vehicle. Unit: kilograms"
        },
        "MaxWeight": {
          "$ref": "#/$defs/RouteWeightConstraint"
        },
        "MaxWeightPerAxle": {
          "type": "integer",
          "description": "The maximum weight per axle of the vehicle. Unit: kilograms"
        },
        "MaxWeightPerAxleGroup": {
          "$ref": "#/$defs/WeightPerAxleGroup"
        },
        "MaxWidth": {
          "type": "integer",
          "description": "The maximum width of the vehicle."
        },
        "Occupancy": {
          "$ref": "#/$defs/RouteNoticeDetailRange"
        },
        "RestrictedTimes": {
          "type": "string",
          "description": "Access radius restrictions based on time."
        },
        "TimeDependent": {
          "type": "boolean",
          "description": "The time dependent constraint."
        },
        "TrailerCount": {
          "$ref": "#/$defs/RouteNoticeDetailRange"
        },
        "TravelMode": {
          "type": "boolean",
          "description": "Travel mode corresponding to the leg."
        },
        "TruckRoadType": {
          "type": "string",
          "description": "Truck road type identifiers. BK1 through BK4 apply only to Sweden. A2,A4,B2,B4,C,D,ET2,ET4 apply only to Mexico. There are currently no other supported values as of 26th April 2024."
        },
        "TruckType": {
          "type": "string",
          "enum": [
            "LightTruck",
            "StraightTruck",
            "Tractor"
          ],
          "description": "The type of truck: LightTruck for smaller delivery vehicles, StraightTruck for rigid body trucks, or Tractor for tractor-trailer combinations."
        },
        "TunnelRestrictionCode": {
          "type": "string",
          "description": "The tunnel restriction code. Tunnel categories in this list indicate the restrictions which apply to certain tunnels in Great Britain. They relate to the types of dangerous goods that can be transported through them. Tunnel Category B Risk Level: Limited risk Restrictions: Few restrictions Tunnel Category C Risk Level: Medium risk Restrictions: Some restrictions Tunnel Category D Risk Level: High risk Restrictions: Many restrictions occur Tunnel Category E Risk Level: Very high risk Restrictions: Restricted tunnel"
        }
      },
      "required": [
        "HazardousCargos"
      ]
    },
    "RouteWebLink": {
      "type": "object",
      "properties": {
        "AnchorText": {
          "type": "string",
          "description": "The interactive or clickable portion of the text."
        },
        "Description": {
          "type": "string",
          "description": "Text describing the URL."
        },
        "DeviceType": {
          "type": "string",
          "enum": [
            "Android",
            "Ios",
            "Web"
          ],
          "description": "Device type for which the link is intended."
        },
        "Url": {
          "type": "string",
          "description": "The URL of the link."
        }
      },
      "required": [
        "Description"
      ]
    },
    "RouteWeightConstraint": {
      "type": "object",
      "properties": {
        "Type": {
          "type": "string",
          "enum": [
            "Current",
            "Gross",
            "Unknown"
          ],
          "description": "The type of constraint."
        },
        "Value": {
          "type": "integer",
          "description": "The constraint value. Unit: kilograms"
        }
      },
      "required": [
        "Type",
        "Value"
      ]
    },
    "RouteZone": {
      "type": "object",
      "properties": {
        "Category": {
          "type": "string",
          "enum": [
            "CongestionPricing",
            "Environmental",
            "Vignette"
          ],
          "description": "The zone category."
        },
        "Name": {
          "type": "string",
          "description": "The name of the zone."
        }
      }
    },
    "WeightPerAxleGroup": {
      "type": "object",
      "properties": {
        "Single": {
          "type": "integer",
          "description": "Total weight in kilograms for single axle configurations. Unit: kilograms"
        },
        "Tandem": {
          "type": "integer",
          "description": "Total weight in kilograms for tandem (two adjacent) axle configurations. Unit: kilograms"
        },
        "Triple": {
          "type": "integer",
          "description": "Total weight in kilograms for triple (three adjacent) axle configurations. Unit: kilograms"
        },
        "Quad": {
          "type": "integer",
          "description": "Total weight in kilograms for quad (four adjacent) axle configurations. Unit: kilograms"
        },
        "Quint": {
          "type": "integer",
          "description": "Total weight in kilograms for quint (five adjacent) axle configurations. Unit: kilograms"
        }
      }
    }
  }
}