tdegrunt/jsonschema — pull request #10 by Acubed (2012-12-06 18:02:45+00:00)
Title: Add support for various features and make numerous bugfixes

This set of changes implements additionalItems, dependencies, uniqueItems, divisibleBy, and disallow.

According to the tests at , the number of passing tests has increased from 139 to 182, and the number of failing+errored tests has fallen from 68 to 25.

It removes all the production dependencies because mocha and should are switched to development dependencies (as they should be), and deep-equal doesn't implement the object comparison algorithm correctly.

The design of the program is significantly changed to create internal consistency and allow for new features, particularly adding the ability to call `this.validateSchema` without affecting the state of the object, a feature necessary to be able to implement disallow. `require('jsonschema').Environment` is obsolete due to these changes, however I've opted not to remove it to preserve API backwards compatibility.