Sha256: 1d12356a92bb7f80fef4f4ce10dc4845d02d005083cd14027f2b4fb9765740e4

Contents?: true

Size: 1.42 KB

Versions: 40

Compression:

Stored size: 1.42 KB

Contents

[![Build Status](https://travis-ci.org/adiwg/mdJson-schemas.svg?branch=master)](https://travis-ci.org/adiwg/mdJson-schemas)
[![Gem Version](https://badge.fury.io/rb/adiwg-mdjson_schemas.svg)](http://badge.fury.io/rb/adiwg-mdjson_schemas)
[![Bower version](https://badge.fury.io/bo/mdjson-schemas.svg)](https://badge.fury.io/bo/mdjson-schemas)

# mdJson-schemas


JSON schemas for the ADIwg project and data metadata standard

## Ruby Gem

Use with [ruby-json-schema/json-schema](https://github.com/ruby-json-schema/json-schema) to validate mdJSON records in Ruby.

### Installation

Add this line to your application's Gemfile:

    gem 'adiwg-json_schemas'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install adiwg-json_schemas

## Bower

Install:

    $ bower install mdjson-schemas

### Usage

The main schema file is `schema/schema.json`.  Load that file in your validator.

**NOTE**: The schemas use relative addresses for `$ref` paths. This causes a problem
with the [ruby-json-schema/json-schema](https://github.com/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

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
adiwg-mdjson_schemas-2.0.0.pre.beta README.md
adiwg-mdjson_schemas-2.0.0.pre.alpha.18 README.md
adiwg-mdjson_schemas-2.0.0.pre.alpha.17 README.md
adiwg-mdjson_schemas-2.0.0.pre.alpha.16 README.md
adiwg-mdjson_schemas-2.0.0.pre.alpha.15 README.md
adiwg-mdjson_schemas-2.0.0.pre.alpha.14 README.md
adiwg-mdjson_schemas-2.0.0.pre.alpha.13 README.md
adiwg-mdjson_schemas-2.0.0.pre.alpha.12 README.md
adiwg-mdjson_schemas-2.0.0.pre.alpha.11 README.md
adiwg-mdjson_schemas-2.0.0.pre.alpha.10 README.md
adiwg-mdjson_schemas-2.0.0.pre.alpha.9 README.md
adiwg-mdjson_schemas-2.0.0.pre.alpha.8 README.md
adiwg-mdjson_schemas-2.0.0.pre.alpha.7 README.md
adiwg-mdjson_schemas-2.0.0.pre.alpha.6 README.md
adiwg-mdjson_schemas-2.0.0.pre.alpha.5 README.md
adiwg-mdjson_schemas-2.0.0.pre.alpha.4 README.md
adiwg-mdjson_schemas-2.0.0.pre.alpha.3 README.md
adiwg-mdjson_schemas-2.0.0.pre.alpha.2 README.md
adiwg-mdjson_schemas-2.0.0.pre.alpha.1 README.md
adiwg-mdjson_schemas-2.0.0.pre.alpha README.md