Skip to content

Commit

Permalink
Fix if-enum statement (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
schnuerle authored Sep 27, 2024
2 parents 4d407b5 + e5be0c4 commit d90669a
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 38 deletions.
23 changes: 12 additions & 11 deletions models/modes/car-share/event.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,17 +102,18 @@ if:
properties:
event_types:
contains:
- customer_cancellation
- driver_cancellation
- provider_cancellation
- reservation_start
- reservation_stop
- trip_end
- trip_enter_jurisdiction
- trip_leave_jurisdiction
- trip_resume
- trip_start
- trip_stop
items:
- customer_cancellation
- driver_cancellation
- provider_cancellation
- reservation_start
- reservation_stop
- trip_end
- trip_enter_jurisdiction
- trip_leave_jurisdiction
- trip_resume
- trip_start
- trip_stop
then:
properties:
trip_ids:
Expand Down
23 changes: 12 additions & 11 deletions models/modes/delivery-robots/event.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,17 +113,18 @@ if:
properties:
event_types:
contains:
- customer_cancellation
- driver_cancellation
- provider_cancellation
- reservation_start
- reservation_stop
- trip_end
- trip_enter_jurisdiction
- trip_leave_jurisdiction
- trip_pause
- trip_resume
- trip_start
items:
- customer_cancellation
- driver_cancellation
- provider_cancellation
- reservation_start
- reservation_stop
- trip_end
- trip_enter_jurisdiction
- trip_leave_jurisdiction
- trip_pause
- trip_resume
- trip_start
then:
properties:
trip_ids:
Expand Down
11 changes: 6 additions & 5 deletions models/modes/micromobility/event.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,12 @@ if:
properties:
event_types:
contains:
- trip_cancel
- trip_end
- trip_enter_jurisdiction
- trip_leave_jurisdiction
- trip_start
items:
- trip_cancel
- trip_end
- trip_enter_jurisdiction
- trip_leave_jurisdiction
- trip_start
then:
properties:
trip_ids:
Expand Down
23 changes: 12 additions & 11 deletions models/modes/passenger-services/event.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,17 +96,18 @@ if:
properties:
event_types:
contains:
- driver_cancellation
- passenger_cancellation
- provider_cancellation
- reservation_start
- reservation_stop
- trip_end
- trip_enter_jurisdiction
- trip_leave_jurisdiction
- trip_resume
- trip_start
- trip_stop
items:
- driver_cancellation
- passenger_cancellation
- provider_cancellation
- reservation_start
- reservation_stop
- trip_end
- trip_enter_jurisdiction
- trip_leave_jurisdiction
- trip_resume
- trip_start
- trip_stop
then:
properties:
trip_ids:
Expand Down

0 comments on commit d90669a

Please sign in to comment.