Skip to content

Commit baf7122

Browse files
committed
Add maximum value of 1 for current_fuel_percent
1 parent 6c1e66c commit baf7122

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

v2.3/free_bike_status.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,8 @@
9696
"current_fuel_percent": {
9797
"description": "This value represents the current percentage, expressed from 0 to 1, of fuel or battery power remaining in the vehicle. Added in v2.3-RC.",
9898
"type": "number",
99-
"minimum": 0
99+
"minimum": 0,
100+
"maximum": 1
100101
},
101102
"station_id": {
102103
"description": "Identifier referencing the station_id if the vehicle is currently at a station (added in v2.1-RC2).",

v3.0/vehicle_status.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,8 @@
9696
"current_fuel_percent": {
9797
"description": "This value represents the current percentage, expressed from 0 to 1, of fuel or battery power remaining in the vehicle. Added in v2.3-RC.",
9898
"type": "number",
99-
"minimum": 0
99+
"minimum": 0,
100+
"maximum": 1
100101
},
101102
"station_id": {
102103
"description": "Identifier referencing the station_id if the vehicle is currently at a station (added in v2.1-RC2).",

v3.1-RC/vehicle_status.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,8 @@
9696
"current_fuel_percent": {
9797
"description": "This value represents the current percentage, expressed from 0 to 1, of fuel or battery power remaining in the vehicle. Added in v2.3-RC.",
9898
"type": "number",
99-
"minimum": 0
99+
"minimum": 0,
100+
"maximum": 1
100101
},
101102
"station_id": {
102103
"description": "Identifier referencing the station_id if the vehicle is currently at a station (added in v2.1-RC2).",

0 commit comments

Comments
 (0)