Skip to content

Commit

Permalink
Fix if-enum statement
Browse files Browse the repository at this point in the history
  • Loading branch information
mihailpw committed Mar 1, 2024
1 parent a4e0d04 commit 0e9b55d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion models/modes/car-share/event.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ oneOf:
if:
properties:
event_types:
contains:
enum:
- customer_cancellation
- driver_cancellation
- provider_cancellation
Expand Down
2 changes: 1 addition & 1 deletion models/modes/delivery-robots/event.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ oneOf:
if:
properties:
event_types:
contains:
enum:
- customer_cancellation
- driver_cancellation
- provider_cancellation
Expand Down
2 changes: 1 addition & 1 deletion models/modes/micromobility/event.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ oneOf:
if:
properties:
event_types:
contains:
enum:
- trip_cancel
- trip_end
- trip_enter_jurisdiction
Expand Down
2 changes: 1 addition & 1 deletion models/modes/passenger-services/event.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ oneOf:
if:
properties:
event_types:
contains:
enum:
- driver_cancellation
- passenger_cancellation
- provider_cancellation
Expand Down

0 comments on commit 0e9b55d

Please sign in to comment.