2.10.2 • Published 4 months ago

mdjson-schemas v2.10.2

Weekly downloads
1
License
GPL-3.0
Repository
github
Last release
4 months ago

Build Status Gem Version Bower version npm version

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:

$ bundle

Or install it yourself as:

$ gem install adiwg-mdjson_schemas

npm

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

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

See CONTRIBUTING file

View the CONTRIBUTING.md file for additional guidelines related to developing mdJson schemas.

2.9.6

5 months ago

2.10.1

6 months ago

2.10.2

4 months ago

2.9.5

1 year ago

2.10.0-beta.3

1 year ago

2.10.0-beta.5

1 year ago

2.10.0-beta.1

1 year ago

2.9.3-beta.5

1 year ago

2.9.3-beta.3

1 year ago

2.9.3-beta.2

1 year ago

2.9.3-beta.1

1 year ago

2.10.0-beta.0

1 year ago

2.9.3-beta.0

1 year ago

2.9.2

1 year ago

2.9.2-beta.20

1 year ago

2.9.2-beta.21

1 year ago

2.9.2-beta.5

1 year ago

2.9.2-beta.7

1 year ago

2.9.2-beta.6

1 year ago

2.9.2-beta.19

1 year ago

2.9.2-beta.4

1 year ago

2.9.2-beta.3

1 year ago

2.9.1

1 year ago

2.9.0

1 year ago

2.8.4

1 year ago

2.8.3

1 year ago

2.8.2

1 year ago

2.8.1

2 years ago

2.8.0-rc5

2 years ago

2.8.0-rc7

2 years ago

2.8.0-rc6

2 years ago

2.8.0-rc9

2 years ago

2.8.0-rc8

2 years ago

2.8.0

2 years ago

2.8.0-rc4

3 years ago

2.8.0-rc1

3 years ago

2.8.0-rc3

3 years ago

2.8.0-rc2

3 years ago

2.7.0

6 years ago

2.6.3

7 years ago

2.6.2

7 years ago

2.6.1

7 years ago

2.6.0

7 years ago

2.5.1

7 years ago

2.5.0

7 years ago

2.4.9

7 years ago

2.4.8

7 years ago

2.4.7

7 years ago

2.4.5

7 years ago

2.4.4

7 years ago

2.4.3

7 years ago

2.4.2

7 years ago

2.4.1

7 years ago

2.3.2

8 years ago

2.3.1

8 years ago

2.3.0

8 years ago