Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 1.81 KB

README.md

File metadata and controls

28 lines (17 loc) · 1.81 KB

This repository has been deprecated.

This is a collection of [meta]data standards used in the EBI Data submission portal.

Updated on 18/05/2020

DSP have two endpoints for querying those standards, the checklists endpoint and the validationSchema endpoint.

DSP checklists include both spreadsheetTemplate and validationSchema for the [meta]data standards. The spreadsheetTemplate is designed for non-programatic users and implemented in the DSP UI. The validationSchema is the JSON implementation of the standard. It is used in the DSP API for data validation . DSP validationSchema is a subset of DSP checklists. Not all DSP checklists have corresponding validation schemas.

It's recommended to use the DSP checklists endpoint to get a overview of DSP standards, and use the validationSchema endpoint for data validation.

Get all DSP standards.

#checklists
curl "https://submission-test.ebi.ac.uk/api/checklists?size=100 " > DSP_checklists.json

#validation schemas
curl "https://submission-test.ebi.ac.uk/api/validationSchemas?size=100 " > DSP_schema.json

A summary of all validationschemas and checklists

A small script to extract all DSP validation schemas into seperate JSON files, and generate a validation schema summary file and a checklist summary file .