Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/end_to_end.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: ${{ runner.os }}-gradle
- name: Package cli app jar with Gradle
uses: gradle/gradle-build-action@v4
uses: gradle/actions/setup-gradle@v3

- name: Builds ShadowJar
run: ./gradlew shadowJar
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,6 @@ public interface GtfsAgencySchema extends GtfsEntity {

@FieldType(FieldTypeEnum.EMAIL)
String agencyEmail();

GtfsCemvSupport cemvSupport();
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
package org.mobilitydata.gtfsvalidator.table;

import org.mobilitydata.gtfsvalidator.annotation.GtfsEnumValue;

/**
* Enum representing the cemv_support field values.
*
* <p>0 or empty: No cEMV information available for trips associated with this agency or route. 1:
* Riders may use cEMVs as fare media for trips associated with this agency or route. 2: cEMVs are
* not supported as fare media for trips associated with this agency or route.
*/
@GtfsEnumValue(name = "NO_INFORMATION", value = 0)
@GtfsEnumValue(name = "SUPPORTED", value = 1)
@GtfsEnumValue(name = "NOT_SUPPORTED", value = 2)
public interface GtfsCemvSupportEnum {}
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,6 @@ public interface GtfsRouteSchema extends GtfsEntity {
@Index
@ConditionallyRequired
String networkId();

GtfsCemvSupport cemvSupport();
}
Loading