As a developer, I want to have a JSON file describing the PDCM metadata dictionary.
The JSON file should have a format suitable for the Lectern service. An example of the dictionary is the one used by ARGO: ARGO_dictionary_1.16.
Design notes
Schemas correspond to the "tables" in our current validator. E.g.: patient, patient-sample. In other words, schemas are the different sheets in our Excel templates.
“meta” fields are specific to the Argo site (i.e. for display purposes only) and can be safely dismissed/ignored.
Current validator's property not_empty, is equivalent to restriction.required which will validate that a value is provided for that property. By default, every property is optional (can be empty)
Current validator's property charset can be modeled using regular expressions (restrictions.regex)
Description
As a developer, I want to have a JSON file describing the PDCM metadata dictionary.
The JSON file should have a format suitable for the Lectern service. An example of the dictionary is the one used by ARGO: ARGO_dictionary_1.16.
Design notes
patient
,patient-sample
. In other words, schemas are the different sheets in our Excel templates.not_empty
, is equivalent torestriction.required
which will validate that a value is provided for that property. By default, every property is optional (can be empty)charset
can be modeled using regular expressions (restrictions.regex
)Reference document for JSON Transformation.
Acceptance Criteria