Skip to content

Commit 26f107d

Browse files
authored
Merge pull request #291 from CityOfLosAngeles/add-278
Add event_type_reason for agency admin access.
2 parents 6240286 + 028e222 commit 26f107d

3 files changed

Lines changed: 10 additions & 4 deletions

File tree

generate_schema/provider/status_changes.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,8 @@
123123
"service_start",
124124
"user_drop_off",
125125
"rebalance_drop_off",
126-
"maintenance_drop_off"
126+
"maintenance_drop_off",
127+
"agency_drop_off"
127128
]
128129
}
129130
}
@@ -157,7 +158,8 @@
157158
"enum": [
158159
"service_end",
159160
"rebalance_pick_up",
160-
"maintenance_pick_up"
161+
"maintenance_pick_up",
162+
"agency_pick_up"
161163
]
162164
}
163165
}

provider/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,12 +295,14 @@ When multiple query parameters are specified, they should all apply to the retur
295295
| | | `user_drop_off` | User ends reservation |
296296
| | | `rebalance_drop_off` | Device moved for rebalancing |
297297
| | | `maintenance_drop_off` | Device introduced into service after being removed for maintenance |
298+
| | | `agency_drop_off` | The administrative agency (ie, DOT) drops a device into the PROW using an admin code or similar |
298299
| `reserved` | A customer reserves a device (even if trip has not started yet) | `user_pick_up` | Customer reserves device |
299300
| `unavailable` | A device is on the street but becomes unavailable for customer use | `maintenance` | A device is no longer available due to equipment issues |
300301
| | | `low_battery` | A device is no longer available due to insufficient battery |
301302
| `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) |
302303
| | | `rebalance_pick_up` | Device removed from street and will be placed at another location to rebalance service |
303304
| | | `maintenance_pick_up` | Device removed from street so it can be worked on |
305+
| | | `agency_pick_up` | The administrative agency (ie, DOT) removes a device using an admin code or similar |
304306

305307
[Top][toc]
306308

provider/status_changes.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,8 @@
314314
"service_start",
315315
"user_drop_off",
316316
"rebalance_drop_off",
317-
"maintenance_drop_off"
317+
"maintenance_drop_off",
318+
"agency_drop_off"
318319
]
319320
}
320321
}
@@ -359,7 +360,8 @@
359360
"enum": [
360361
"service_end",
361362
"rebalance_pick_up",
362-
"maintenance_pick_up"
363+
"maintenance_pick_up",
364+
"agency_pick_up"
363365
]
364366
}
365367
}

0 commit comments

Comments
 (0)