js-schema

js-schema is an easy to use JavaScript library for schema handling. It has a clean and simple syntax and supports the standard JSON Schema format as well.

View project on GitHub Download (v0.6.2, 5kb minified and gzipped)

Try it here:

Data: