<commit_before># Openc::JsonSchema

[![Gem Version](https://badge.fury.io/rb/openc-json_schema.svg)](https://badge.fury.io/rb/openc-json_schema)
[![Build Status](https://secure.travis-ci.org/openc/openc-json_schema.png)](https://travis-ci.org/openc/openc-json_schema)
[![Dependency Status](https://gemnasium.com/openc/openc-json_schema.png)](https://gemnasium.com/openc/openc-json_schema)
[![Coverage Status](https://coveralls.io/repos/openc/openc-json_schema/badge.png)](https://coveralls.io/r/openc/openc-json_schema)
[![Code Climate](https://codeclimate.com/github/openc/openc-json_schema.png)](https://codeclimate.com/github/openc/openc-json_schema)

A wrapper around the json-schema gem to provide better error messages on
validation failure.

## Releasing a new version

Bump the version in `lib/openc/json_schema/version.rb` according to the [Semantic Versioning](http://semver.org/) convention, then:

    git commit lib/openc/json_schema/version.rb -m 'Release new version'
    rake release # requires Rubygems credentials

Finally, [rebuild the Docker image](https://github.com/openc/morph-docker-ruby#readme).
<commit_msg>Add instruction<commit_after># Openc::JsonSchema

[![Gem Version](https://badge.fury.io/rb/openc-json_schema.svg)](https://badge.fury.io/rb/openc-json_schema)
[![Build Status](https://secure.travis-ci.org/openc/openc-json_schema.png)](https://travis-ci.org/openc/openc-json_schema)
[![Dependency Status](https://gemnasium.com/openc/openc-json_schema.png)](https://gemnasium.com/openc/openc-json_schema)
[![Coverage Status](https://coveralls.io/repos/openc/openc-json_schema/badge.png)](https://coveralls.io/r/openc/openc-json_schema)
[![Code Climate](https://codeclimate.com/github/openc/openc-json_schema.png)](https://codeclimate.com/github/openc/openc-json_schema)

A wrapper around the json-schema gem to provide better error messages on
validation failure.

## Releasing a new version

Bump the version in `lib/openc/json_schema/version.rb` according to the [Semantic Versioning](http://semver.org/) convention, then:

    git commit lib/openc/json_schema/version.rb -m 'Release new version'
    rake release # requires Rubygems credentials

Finally, [rebuild the Docker image](https://github.com/openc/morph-docker-ruby#readme) and deploy [morph](https://github.com/sebbacon/morph/).

{'fraction_non_alphanumeric': 0.1597072750753336, 'fraction_numerical': 0.0, 'mean_word_length': 5.509803921568627, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 23, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '437028', 'n_tokens_mistral': 822, 'n_tokens_neox': 799, 'n_words': 122}