Introduction
March 2, 2020 ยท View on GitHub
This repository represents a tool for validating maDMP against RDA mdDMP schema. It depends on AJV. This tool developed using the most basics of HTML and JavaScript.
Used tools
- AJV which is used for json files validating.
- AJV Errors which is used to handle resulting error messsages.
- Browserify which is used to require('modules') in the browser by bundling up all dependencies
Getting statrted
- For Chrome users, add this extension to your browser Allow-Control-Allow-Origin (It's for the URL checking feature)
- Run index.html
- Pasete your maDMP and click validate button to see the result
- For testing the tool, you can use this full maDMP json file: Full maDMP
Schema used to validate
Checking maDMP against custom vocabs text files
You can use text files with a list of tokens to be used in the validation process. For example, you can check maDMP's dataset hosts against a list of custome file of host certificates.
Example of custome vocabs for validating maDMP
This list was used as a custome vocab file for testing maDMP hosts certificates.
orcid.org/0000-0002-1223-9620