Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access method #76

Closed
wants to merge 7 commits into from
Closed
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
21 changes: 21 additions & 0 deletions provider/README.md
Expand Up @@ -95,6 +95,7 @@ Data: `{ "trips": [] }`, an array of objects with the following structure
| `trip_duration` | Integer | Required | Time, in Seconds |
| `trip_distance` | Integer | Required | Trip Distance, in Meters |
| `route` | Route | Required | See detail below |
| `access_method` | Enum | Required | How the user gained access to the vehicle |
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you link to #access-methods here like we do for the other enum fields/tables?

Otherwise this looks great, and agreed it is a useful datapoint to have.

| `accuracy` | Integer | Required | The approximate level of accuracy, in meters, of `Points` within `route` |
| `start_time` | Unix Timestamp | Required | |
| `end_time` | Unix Timestamp | Required | |
Expand Down Expand Up @@ -156,6 +157,26 @@ Routes must include at least 2 points: the start point and end point. Additional
}
```

### Access methods

| `access_method` | meaning |
|-----------------|--------------------------------------------------------------------------------|
| `qr_code` | The user scanned a QR code with their mobile device |
| `keypad` | The user entered an identification number on a keypad |
| `transit_card` | The user used a transit card to unlock the vehicle |
| `rfid` | The user accessed the vehicle with an RFID card or fob that is not a transit card |
| `mobile_id` | The user entered the ID of the device on their mobile phone |
| `other_mobile` | The user used a mobile phone, but did not scan a QR code or enter a vehicle ID |
| `credit_card_pay` | The user swiped/inserted/tapped their credit card to pay for the ride |
| `credit_card_id` | The user swiped/inserted/tapped their credit card to identify themselves, but their card was not charged an additional amount |
| `cash_attendant` | The user paid an attendant or operator cash to use the vehicle |
| `cash_automated` | The user paid cash using an automated system |
| `call_center` | The user accessed the vehicle by calling a call center operated by humans |
| `ivr` | An interactive voice response system was used to access the vehicle |
| `sms` | An SMS system was used to access the vehicle |
| `no_security` | The vehicles are unsecured and can be used by anyone without charge |
|------------------|-------------------------------------------------------------------------------|

[Top][toc]

## Status Changes
Expand Down