@@ -0,0 +1,1372 @@
+package com.conveyal.gtfs.validator.json;%0A%0Aimport java.util.Collection;%0Aimport java.util.Date;%0A%0Aimport com.conveyal.gtfs.model.ValidationResult;%0A%0A/**%0A * A class to hold all of the results of a validation on a single feed.%0A * Not to be confused with %7B@link com.conveyal.gtfs.model.ValidationResult%7D, which holds all instances of%0A * a particular type of error.%0A * @author mattwigway%0A *%0A */%0Apublic class FeedValidationResult %7B%0A%09/** Were we able to load the GTFS at all (note that this should only indicate corrupted files,%0A%09 * not missing ones; that should raise an exception instead.)%0A%09 */%0A%09public LoadStatus loadStatus;%0A%09%0A%09/**%0A%09 * Additional description of why the feed failed to load.%0A%09 */%0A%09public String loadFailureReason;%0A%09%0A%09/**%0A%09 * The name of the feed on the file system%0A%09 */%0A%09public String feedFileName;%0A%09%0A%09/**%0A%09 * All of the agencies in the feed%0A%09 */%0A%09public Collection%3CString%3E agencies;%0A%09%0A%09public ValidationResult routes;%0A%09public ValidationResult stops;%0A%09public ValidationResult trips;%0A%09public ValidationResult shapes;%0A%0A%09// statistics%0A%09public int agencyCount;%0A%09public int routeCount;%0A%09public int tripCount;%0A%09public int stopTimesCount;%0A%09%0A%09/** The first date the feed has service, either in calendar.txt or calendar_dates.txt */%0A%09public Date startDate;%0A%09%0A%09/** The last date the feed has service, either in calendar.txt or calendar_dates.txt */%0A%09public Date endDate;%0A%7D

Rename FeedValidationResults to FeedValidationResult, so we don't have confusion when we introduce FeedValidationResultSet.