The following is an example of a json report:
{ "title": "PDS Validation Tool Report", "configuration": { "version": "2.4.0-dev", "date": "2013-09-13T16:21:52Z", "levelOfValidation": "Syntactic and Semantic", "dictionaryVersion": "1.80" }, "parameters": { "targets": "[/Users/mcayanan/tool-tests/tests/VTT_EN_19-1/target/DATA/COMBINED_DETACHED.LBL]", "dictionaryFiles": "[/Users/mcayanan/pdsdd/pdsdd.full]", "aliasing": "false", "directoryRecursion": "true", "followPointers": "true", "validateStandaloneFragments": "false", "reportStyle": "json", "severityLevel": "WARNING", "progressReporting": "false" }, "status": "FAIL", "label": "file:/Users/mcayanan/tool-tests/tests/VTT_EN_19-1/target/DATA/COMBINED_DETACHED.LBL", "messages": [ { "severity": "ERROR", "line": "43", "type": "parser.error.missingRefFile", "keywordIdentifier": "STRUCTURE", "keywordValue": "COSPIN.FMT", "message": "Unable to find the referenced file \"COSPIN.FMT\"." }, { "severity": "ERROR", "line": "20", "type": "parser.error.definitionNotFound", "keywordIdentifier": "CASSINI:ADC_TIMING_SETTINGS", "keywordValue": "?", "message": "No definition was found for the keyword \"CASSINI:ADC_TIMING_SETTINGS\"." }, { "severity": "ERROR", "line": "21", "type": "parser.error.definitionNotFound", "keywordIdentifier": "CASSINI:BARREL_BAFFLE_TEMPERATURE", "keywordValue": "(0.25, 3.00, 0.30)", "message": "No definition was found for the keyword \"CASSINI:BARREL_BAFFLE_TEMPERATURE\"." }, { "severity": "ERROR", "line": "23", "type": "parser.error.definitionNotFound", "keywordIdentifier": "CASSINI:CPMM_NUMBER", "keywordValue": "{0, 1, 2, 3, 4, 5, 6, 7, 8, 9}", "message": "No definition was found for the keyword \"CASSINI:CPMM_NUMBER\"." }, { "severity": "ERROR", "line": "25", "type": "parser.error.definitionNotFound", "keywordIdentifier": "CASSINI:POWERED_CPMM_FLAG", "keywordValue": "{ON, OFF}", "message": "No definition was found for the keyword \"CASSINI:POWERED_CPMM_FLAG\"." }, { "severity": "ERROR", "line": "26", "type": "parser.error.definitionNotFound", "keywordIdentifier": "CASSINI:BINNING", "keywordValue": "{1, 2, 4, 8}", "message": "No definition was found for the keyword \"CASSINI:BINNING\"." }, { "severity": "WARNING", "line": "28", "type": "parser.warning.unknownValue", "keywordIdentifier": "MRO:ADC_TIMING_SETTINGS", "keywordValue": "?", "message": "\"?\" is not in the list of valid values for \"MRO:ADC_TIMING_SETTINGS\". It may be that the value needs to be added to the dictionary." }, { "severity": "ERROR", "line": "35", "type": "parser.error.missingRequiredObject", "keywordIdentifier": "TIME_SERIES", "message": "\"TIME_SERIES\" does not contain required object \"COLUMN\"." }, { "severity": "ERROR", "line": "14", "type": "parser.error.missingRefFile", "keywordIdentifier": "NOTE", "keywordValue": "NOTE-1.TXT", "message": "Unable to find the referenced file \"NOTE-1.TXT\"." }, { "severity": "ERROR", "line": "15", "type": "parser.error.missingRefFile", "keywordIdentifier": "DESCRIPTION", "keywordValue": "DESC-1.TXT", "message": "Unable to find the referenced file \"DESC-1.TXT\"." }, { "severity": "ERROR", "line": "16", "type": "parser.error.missingRefFile", "keywordIdentifier": "TEXT", "keywordValue": "GEOMINFO.TXT", "message": "Unable to find the referenced file \"GEOMINFO.TXT\"." } ] }