package com.conveyal.analysis.models;

/**
 * Represents problems encountered while validating a newly uploaded DataSource.
 */
public class DataSourceValidationIssue {

    public Level level;

    public String description;

    public enum Level {
        ERROR, WARN, INFO
    }

    public DataSourceValidationIssue (Level level, String description) {
        this.level = level;
        this.description = description;
    }

}

@@ -277,16 +277,163 @@
 %0A    %7D%0A%0A
+    /** Zero argument constructor required for MongoDB driver automatic POJO deserialization. */%0A    public DataSourceValidationIssue () %7B%0A%0A    %7D%0A%0A
     publ

Add zero-argument constructor for deserialization (#808)