Skip to content

Commit 1faa834

Browse files
committed
fixes #278. Add event type reasons for agency in provider
1 parent 9b23b9d commit 1faa834

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

generate_schema/provider/status_changes.json

Lines changed: 3 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
}
@@ -144,7 +145,7 @@
144145
"enum": ["unavailable"]
145146
},
146147
"event_type_reason": {
147-
"enum": ["low_battery", "maintenance"]
148+
"enum": ["low_battery", "maintenance", "agency_pick_up"]
148149
}
149150
}
150151
},

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
}
@@ -343,7 +344,8 @@
343344
"event_type_reason": {
344345
"enum": [
345346
"low_battery",
346-
"maintenance"
347+
"maintenance",
348+
"agency_pick_up"
347349
]
348350
}
349351
}

0 commit comments

Comments
 (0)