Closed amnonkhen closed 1 month ago
The acceptance criterias for replacing XML checklist validation in ENA with JSON schema validation done in BioSamples are as follows:
The result of validating a sample document against a XML checklist and its corresponding JSON schema should be the same. If sample SAMEX is valid against a XML checklist it should be valid against the corresponding JSON schema and vice-versa. This is very important and if this fails this move will need to be rolled back until the behaviour is fixed.
E.g. extra error messages for synonyms etc should be filtered out, if collection_date and geographic_location are mandatory fields and the sample doesn't have those then there should be 2 error messages, 1. collection_date missing, 2. geographic_location missing, text can be different.
This task is a submission stream task.
DoD: