JSON Schemas

From ECRIN-MDR Wiki
Jump to navigation Jump to search

The metadata schemas are available below using json schemas (see http://json-schema.org/), described as “a vocabulary that allows you to annotate and validate JSON documents.”
JSON schema provides a relatively simple way to define precisely what elements are required, add any additional constraints on element values (beyond basic JSON type), add descriptions to elements, distinguish required and optional properties, define default values, etc. It enforces a more rigorous approach to the definition of the JSON file, and can also be used to validate files against the specified structure.

To provide a more accurate description of the files used in the MDR system, therefore, JSON schema descriptions were developed for the two main files. Those schemas are available at:


Change History
A summary of the changes between versions 4 and 5, and the definition files for V4 can be found here

A summary of the changes between versions 3 and 4 along with the definition files for V3 can be found here:

The differences between versions 2 and 3, and the reasons for them, are summarised in

The Previous versions (February 2019) are available at

The differences between versions 1 and 2, and the reasons for them, are summarised in

The initial JSON file definitions are available at