You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
jinx is a recursive acronym: jinx is not xml-schema
jinx is json-schema!
Introduction
Almost all Clojure implementations of json
schema validators wrap Java libraries. This is generally a good idea.
However, there are some reasons why a native Clojure implementation
can be useful:
Java libraries compile jsonschema to object graphs, making them
inaccessible to many of the data functions in the Clojure core
library.
On the front-end, it can be painful to have to convert Clojure data
to JavaScript objects simply for the purposes of calling a
jsonschema validation such as
Ajv.
Extensibility: JSON Schema is designed to be extended with additional
vocabularies. Clojure has some nice open-for-extension mechanisms.
Size: Implementing JSON Schema is not that scary in a language as
nice as Clojure. There’s not so much code to read, understand and
possibly extend.
Scope
This library implements JSON Schema 'draft7'
(draft-handrews-json-schema-validation-01).
Status
Caution
This is a new project, of alpha status. There may be future
incompatible changes ahead.
Most core features are working but there is more work yet to do: