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 6161 key : ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
6262 restore-keys : ${{ runner.os }}-gradle
6363 - name : Package cli app jar with Gradle
64- uses : gradle/gradle-build-action@v4
64+ uses : gradle/actions/setup-gradle@v3
6565
6666 - name : Builds ShadowJar
6767 run : ./gradlew shadowJar
Original file line number Diff line number Diff line change @@ -49,4 +49,6 @@ public interface GtfsAgencySchema extends GtfsEntity {
4949
5050 @ FieldType (FieldTypeEnum .EMAIL )
5151 String agencyEmail ();
52+
53+ GtfsCemvSupport cemvSupport ();
5254}
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 cemv_support field values.
7+ *
8+ * <p>0 or empty: No cEMV information available for trips associated with this agency or route. 1:
9+ * Riders may use cEMVs as fare media for trips associated with this agency or route. 2: cEMVs are
10+ * not supported as fare media for trips associated with this agency or route.
11+ */
12+ @ GtfsEnumValue (name = "NO_INFORMATION" , value = 0 )
13+ @ GtfsEnumValue (name = "SUPPORTED" , value = 1 )
14+ @ GtfsEnumValue (name = "NOT_SUPPORTED" , value = 2 )
15+ public interface GtfsCemvSupportEnum {}
Original file line number Diff line number Diff line change @@ -69,4 +69,6 @@ public interface GtfsRouteSchema extends GtfsEntity {
6969 @ Index
7070 @ ConditionallyRequired
7171 String networkId ();
72+
73+ GtfsCemvSupport cemvSupport ();
7274}
You can’t perform that action at this time.
0 commit comments