Open kdp-cloud opened 1 month ago
I have added a prototype at branch jsonata https://github.com/elixir-europe/MARS/blob/jsonata/mars-cli/jsonata_validate.py One improvement could be done related to the result format.
Currently it only export lines of plain text such as:
Validation failed at row 304: Sample ID: studies/assays/processSequence/parameterValues/unit/REFERENCE to an @id at unitCategories Expression: @id' in $.investigation.studies.assays.processSequence.parameterValues.unit.$keys() Result: False
Implement JSONata in CLI. This will provide a secondary validation mechanism for the user to validate the ISA-JSON and possibly patch simple mistakes.