Skip to content

Commit

Permalink
Update file_presence.rs
Browse files Browse the repository at this point in the history
Optional files adding in accordance with the new GTFS release
  • Loading branch information
Brewennn authored Jan 15, 2025
1 parent 738d1b1 commit 0d6f1ef
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/validators/file_presence.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ const OPTIONAL_FILES: &[&str] = &[
"calendar.txt",
"calendar_dates.txt",
"fare_rules.txt",
"fare_media.txt",
"fare_products.txt",
"fare_leg_rules.txt",
"fare_leg_join_rules.txt",
"feed_info.txt",
"frequencies.txt",
"transfers.txt",
Expand All @@ -22,6 +26,15 @@ const OPTIONAL_FILES: &[&str] = &[
"feed_info.txt",
"translations.txt",
"attributions.txt",
"timeframes.txt",
"areas.txt",
"stop_areas.txt",
"networks.txt",
"route_networks.txt",
"location_groups.txt",
"location_group_stops.txt",
"locations.geojson",
"booking_rules.txt",
];

fn missing_files(raw_gtfs: &gtfs_structures::RawGtfs) -> Vec<Issue> {
Expand Down

0 comments on commit 0d6f1ef

Please sign in to comment.