Skip to content

Commit

Permalink
Suggestion: Add Clarification to Propulsion Types
Browse files Browse the repository at this point in the history
This is a suggestion to add some additional clarification around propulsion types, mainly the difference between `electric_assist` and [`human`, `electric`]. I've seen a couple of provider APIs submitted that have the former when it should be the latter. I think that #48 did a great job of explaining why this should be represented as an array, but that reasoning is not reflected in the current MDS spec.
  • Loading branch information
black-tea authored Oct 30, 2018
1 parent 3eebbb1 commit 1b82fe1
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions provider/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,12 +163,14 @@ Gets all trips within that bounding-box where any point inside the `route` is in

### Propulsion Types

| `propulsion_type` |
|-----------------|
| human |
| electric_assist |
| electric |
| combustion |
| `propulsion_type` | Description |
| ----------------- | ----------------- |
| human | Pedal or foot propulsion |
| electric_assist | Provides power only alongside human propulsion |
| electric | Contains throttle mode with a battery-powered motor |
| combustion | Contains throttle mode with a gas engine-powered motor |

A device may have one or more values from the `propulsion_type`, depending on the number of modes of operation. For example, a scooter that can be powered by foot or by electric motor would have the `propulsion_type` represented by the array `['human', 'electric']`. A bicycle with pedal-assist would have the `propulsion_type` represented by the array `['human', 'electric_assist']` if it can also be operated as a traditional bicycle.

### Routes

Expand Down

0 comments on commit 1b82fe1

Please sign in to comment.