docs: fix valid field type

This commit is contained in:
Jay Zhang 2021-03-26 00:25:26 +00:00
parent 574060418a
commit e2de71bdcf

View File

@ -762,8 +762,8 @@ step.
{ "bearings" : [ 10, 92, 184, 270 ], { "bearings" : [ 10, 92, 184, 270 ],
"lanes" : [ "lanes" : [
{ "indications" : [ "left", "straight" ], { "indications" : [ "left", "straight" ],
"valid" : "false" }, "valid" : false },
{ "valid" : "true", { "valid" : true,
"indications" : [ "right" ] } "indications" : [ "right" ] }
], ],
"out" : 2, "out" : 2,
@ -774,9 +774,9 @@ step.
{ "out" : 1, { "out" : 1,
"lanes" : [ "lanes" : [
{ "indications" : [ "straight" ], { "indications" : [ "straight" ],
"valid" : "true" }, "valid" : true },
{ "indications" : [ "right" ], { "indications" : [ "right" ],
"valid" : "false" } "valid" : false }
], ],
"bearings" : [ 60, 240, 330 ], "bearings" : [ 60, 240, 330 ],
"in" : 0, "in" : 0,
@ -884,7 +884,7 @@ A `Lane` represents a turn lane at the corresponding turn location.
```json ```json
{ {
"indications": ["left", "straight"], "indications": ["left", "straight"],
"valid": "false" "valid": false
} }
``` ```
@ -919,7 +919,7 @@ location of the StepManeuver. Further intersections are listed for every cross-w
"classes": ["toll", "restricted"], "classes": ["toll", "restricted"],
"lanes":{ "lanes":{
"indications": ["left", "straight"], "indications": ["left", "straight"],
"valid": "false" "valid": false
} }
} }
``` ```