Skip to content

Commit

Permalink
Directions 2023-10-01-preview (#28644)
Browse files Browse the repository at this point in the history
* first commit

* update for roadtype

* update hints

* update TrafficCongestionEnum, hint and compassDegrees

---------

Co-authored-by: Will Huang <huangwill@microsoft.com>
Co-authored-by: Joel Hendrix <jhendrix@microsoft.com>
  • Loading branch information
3 people authored Apr 17, 2024
1 parent bcb917a commit b582344
Showing 1 changed file with 14 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,7 @@
"$ref": "#/definitions/Order"
},
"compassDirection": {
"description": "The direction of travel associated with a maneuver on a route, such as south or southwest.",
"description": "The direction of travel associated with a maneuver on a route, such as south or southwest. `Note`: Only supported for driving travelMode.",
"type": "string",
"readOnly": true
},
Expand Down Expand Up @@ -1026,7 +1026,7 @@
"type": "integer"
},
"Hint": {
"description": "Additional information that may be helpful in following a route. In addition to the hint text, this element has an attribute hintType that specifies what the hint refers to, such as “NextIntersection.” Hint is an optional element.",
"description": "Additional information that may be helpful in following a route. In addition to the hint text, this element has an attribute hintType that specifies what the hint refers to, such as “NextIntersection.” Hint is an optional element. `Note`: Only supported for driving travelMode.",
"type": "object",
"properties": {
"hintType": {
Expand All @@ -1047,7 +1047,7 @@
"type": "object",
"properties": {
"compassDegrees": {
"description": "The direction in degrees.",
"description": "The direction in degrees. `Note`: Only supported for driving travelMode.",
"readOnly": true,
"type": "number"
},
Expand Down Expand Up @@ -1524,7 +1524,7 @@
}
},
"RoadTypeEnum": {
"description": "The type of road.",
"description": "The type of road. `Note`: Only supported for driving travelMode.",
"type": "string",
"enum": [
"NotApplicable",
Expand Down Expand Up @@ -1657,7 +1657,7 @@
}
},
"TrafficCongestionEnum": {
"description": "The level of traffic congestion along the route.",
"description": "The level of traffic congestion along the route. `Note`: Only supported for driving travelMode",
"type": "string",
"enum": [
"Unknown",
Expand Down Expand Up @@ -1716,7 +1716,7 @@
"readOnly": true
},
"hints": {
"description": "Additional information that may be helpful in following a route. In addition to the hint text, this element has an attribute hintType that specifies what the hint refers to, such as “NextIntersection.” Hint is an optional element and a route step can contain more than one hint.",
"description": "Additional information that may be helpful in following a route. In addition to the hint text, this element has an attribute hintType that specifies what the hint refers to, such as “NextIntersection.” Hint is an optional element and a route step can contain more than one hint. `Note`: Only supported for driving travelMode",
"type": "array",
"items": {
"$ref": "#/definitions/Hint"
Expand Down Expand Up @@ -1787,6 +1787,14 @@
"minimum": 0,
"default": 0
},
"axleCount": {
"description": "Number of axles on the vehicle. A value of 0 means that axle restrictions are not considered.",
"format": "int64",
"type": "integer",
"maximum": 1000000,
"minimum": 0,
"default": 0
},
"loadType": {
"description": "Types of cargo that may be classified as hazardous materials and restricted from some roads. Available vehicleLoadType values are US Hazmat classes 1 through 9, plus generic classifications for use in other countries. Values beginning with USHazmat are for US routing while otherHazmat should be used for all other countries. vehicleLoadType supports multiple values in a request.",
"type": "array",
Expand Down

0 comments on commit b582344

Please sign in to comment.