Skip to content

Commit

Permalink
Add optional station_parking rule to geofencing_zones.json (#349)
Browse files Browse the repository at this point in the history
Merging - will fix key words issue discussed above in separate PR
  • Loading branch information
viestat authored Dec 15, 2021
1 parent 0252f00 commit 4477767
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gbfs.md
Original file line number Diff line number Diff line change
Expand Up @@ -1081,6 +1081,7 @@ Field Name | REQUIRED | Type | Defines
&emsp;&emsp;&emsp;\-&nbsp;`ride_allowed` | Conditionally REQUIRED | Boolean | REQUIRED if `rules` array is defined. Is the undocked (“free floating”) ride allowed to start and end in this zone? <br /><br /> `true` - Undocked (“free floating”) ride can start and end in this zone. <br /> `false` - Undocked (“free floating”) ride cannot start and end in this zone.
&emsp;&emsp;&emsp;\-&nbsp;`ride_through_allowed` | Conditionally REQUIRED | Boolean | REQUIRED if `rules` array is defined. Is the ride allowed to travel through this zone? <br /><br /> `true` - Ride can travel through this zone. <br /> `false` - Ride cannot travel through this zone.
&emsp;&emsp;&emsp;\-&nbsp;`maximum_speed_kph` | OPTIONAL | Non-negative Integer | What is the maximum speed allowed, in kilometers per hour? <br /><br /> If there is no maximum speed to observe, this can be omitted.
&emsp;&emsp;&emsp;\-&nbsp;`station_parking` | OPTIONAL | Boolean | Vehicle MUST be parked at stations defined in station_information.json within this geofence zone? <br /><br />`true` - MUST only be parked at stations. <br /> `false` - MAY be parked outside of stations.

##### Example:

Expand Down Expand Up @@ -1160,7 +1161,8 @@ Field Name | REQUIRED | Type | Defines
],
"ride_allowed": false,
"ride_through_allowed": true,
"maximum_speed_kph": 10
"maximum_speed_kph": 10,
"station_parking": true
}
]
}
Expand Down

0 comments on commit 4477767

Please sign in to comment.