File tree Expand file tree Collapse file tree
main/src/main/java/org/mobilitydata/gtfsvalidator/table Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ package org .mobilitydata .gtfsvalidator .table ;
2+
3+ import org .mobilitydata .gtfsvalidator .annotation .GtfsEnumValue ;
4+
5+ /**
6+ * Enum representing the cars_allowed field values.
7+ *
8+ * <p>0 or empty: No information available about car access for trips associated with this agency or
9+ * route. 1: Cars are allowed for trips associated with this agency or route. 2: Cars are not
10+ * allowed for trips associated with this agency or route.
11+ */
12+ @ GtfsEnumValue (name = "NO_INFORMATION" , value = 0 )
13+ @ GtfsEnumValue (name = "ALLOWED" , value = 1 )
14+ @ GtfsEnumValue (name = "NOT_ALLOWED" , value = 2 )
15+ public interface GtfsCarsAllowedEnum {}
Original file line number Diff line number Diff line change @@ -58,4 +58,6 @@ public interface GtfsTripSchema extends GtfsEntity {
5858 GtfsWheelchairBoarding wheelchairAccessible ();
5959
6060 GtfsBikesAllowed bikesAllowed ();
61+
62+ GtfsCarsAllowed carsAllowed ();
6163}
You can’t perform that action at this time.
0 commit comments