The following is an example of a JSON report:
{
"title": "PDS Validation Tool Report",
"configuration": {
"version": "1.9.0",
"date": "2015-12-01T19:12:23Z",
"coreSchemas": "[PDS4_PDS_1500.xsd]",
"coreSchematrons": "[PDS4_PDS_1500.sch]",
"modelVersion": "1500"
},
"parameters": {
"targets": "[file:/home/pds4/dph_example_archive_VG2PLS/data/ele_mom_tblChar.xml]",
"severityLevel": "WARNING",
"recurseDirectories": "true",
"fileFiltersUsed": "[*.xml, *.XML]",
"forceMode": "off",
"referentialIntegrityCheck": "off"
},
"validationDetails": [
{
"status": "FAIL",
"label": "file:/home/pds4/dph_example_archive_VG2PLS/data/ele_mom_tblChar.xml",
"messages": [
{
"severity": "ERROR",
"line": 93,
"column": 47,
"message": "cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'dph:spacecraft_clock_start_count'."
},
{
"severity": "ERROR",
"line": 94,
"column": 46,
"message": "cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'dph:spacecraft_clock_stop_count'."
}
],
"fragments": []
}
],
"summary": {
"totalProcessed": 1,
"totalSkipped": 0,
"totalValidated": 1,
"totalPassedValidation": 0
}
}