bmir-radx / radx-project

This repo serves as a primary location for tracking issues that don't quite fit into our other dedicated repositories
0 stars 0 forks source link

Develop CEDAR / RADx Data Hub Metadata Validator #45

Open marcosmro opened 10 months ago

marcosmro commented 10 months ago

Develop a tool to check that metadata adheres to certain standards. This tool could be helpful as part of the RADx Data Hub submission workflow, at the validation step.

Examples: check that the JSON conforms to the template, check all the optional/recommended/required fields are filled out, compute a validation score, etc.

Part of https://github.com/bmir-radx/radx-project/issues/28

@marcosmro: Reviewer @matthewhorridge: Reviewer

yancao77 commented 9 months ago

The library hits the targeted minimum functionality, including:

  1. Validating the template and instance files as valid JSON.
  2. Validating the template is a valid CEDAR template.
  3. Conducting JSON Schema Validation.
  4. Verifying that the required fields are not empty.
yancao77 commented 8 months ago

Incorporate a data type validation component into the library. This component encompasses various validations tailored to specific field types, as outlined below:

yancao77 commented 8 months ago
yancao77 commented 7 months ago
yancao77 commented 7 months ago

Recent updates have been made to guarantee the integration of the metadata validator:

Version 1.0.3 has been successfully integrated into the Data Hub.