Skip to content

Commit

Permalink
Merge pull request #291 from CityOfLosAngeles/add-278
Browse files Browse the repository at this point in the history
Add event_type_reason for agency admin access.
  • Loading branch information
hunterowens authored Apr 29, 2019
2 parents 6240286 + 028e222 commit 26f107d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
6 changes: 4 additions & 2 deletions generate_schema/provider/status_changes.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@
"service_start",
"user_drop_off",
"rebalance_drop_off",
"maintenance_drop_off"
"maintenance_drop_off",
"agency_drop_off"
]
}
}
Expand Down Expand Up @@ -157,7 +158,8 @@
"enum": [
"service_end",
"rebalance_pick_up",
"maintenance_pick_up"
"maintenance_pick_up",
"agency_pick_up"
]
}
}
Expand Down
2 changes: 2 additions & 0 deletions provider/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -295,12 +295,14 @@ When multiple query parameters are specified, they should all apply to the retur
| | | `user_drop_off` | User ends reservation |
| | | `rebalance_drop_off` | Device moved for rebalancing |
| | | `maintenance_drop_off` | Device introduced into service after being removed for maintenance |
| | | `agency_drop_off` | The administrative agency (ie, DOT) drops a device into the PROW using an admin code or similar |
| `reserved` | A customer reserves a device (even if trip has not started yet) | `user_pick_up` | Customer reserves device |
| `unavailable` | A device is on the street but becomes unavailable for customer use | `maintenance` | A device is no longer available due to equipment issues |
| | | `low_battery` | A device is no longer available due to insufficient battery |
| `removed` | A device is removed from the street and unavailable for customer use | `service_end` | Device removed from street because service has ended for the day (if program does not operate 24/7) |
| | | `rebalance_pick_up` | Device removed from street and will be placed at another location to rebalance service |
| | | `maintenance_pick_up` | Device removed from street so it can be worked on |
| | | `agency_pick_up` | The administrative agency (ie, DOT) removes a device using an admin code or similar |

[Top][toc]

Expand Down
6 changes: 4 additions & 2 deletions provider/status_changes.json
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,8 @@
"service_start",
"user_drop_off",
"rebalance_drop_off",
"maintenance_drop_off"
"maintenance_drop_off",
"agency_drop_off"
]
}
}
Expand Down Expand Up @@ -359,7 +360,8 @@
"enum": [
"service_end",
"rebalance_pick_up",
"maintenance_pick_up"
"maintenance_pick_up",
"agency_pick_up"
]
}
}
Expand Down

0 comments on commit 26f107d

Please sign in to comment.