mdjson-schemas v2.10.2
mdJson-schemas
JSON schemas for the ADIwg project and data metadata standard
Ruby Gem
Use with ruby-json-schema/json-schema to validate mdJSON records in Ruby.
Installation
Add this line to your application's Gemfile:
gem 'adiwg-mdjson_schemas'And then execute:
$ bundleOr install it yourself as:
$ gem install adiwg-mdjson_schemasnpm
Install:
$ npm install mdjson-schemas
const Schemas = require('../resources/js/schemas.js');Usage
The main schema file is schema/schema.json. Load that file in your validator.
NOTE: The schemas use relative addresses for $ref paths. If this causes a problem
with the ruby-json-schema/json-schema gem,
as a workaround you can pre-load all of the schemas by calling ADIWG::MdjsonSchemas::Utils::load_schemas before validation.
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request
See CONTRIBUTING file
View the CONTRIBUTING.md file for additional guidelines related to developing mdJson schemas.
9 months ago
10 months ago
8 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
6 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago