Skip to content
Open
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
4 changes: 0 additions & 4 deletions docs/NEW_RULES.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,10 +143,6 @@ Values for `csvRowNumber` and `tripId` will be different for each generated noti

### c. Implement the validation rule logic (`FileValidator`)

<!--suppress ALL -->

<a name="examples"/>

Here's the fun part - writing the rule. Because this rule `...extends FileValidator`, we need to define what GTFS files we want - in this case the `trips.txt` and `stop_times.txt` tables.

We do that by declaring the two variables at the top of the class `GtfsTripTableContainer tripTable` and `GtfsStopTimeTableContainer stopTimeTable` (similar `...TableContainer` classes exist for all GTFS files).
Expand Down