Implementation JSON schema in Clojure, which passes specs (https://github.com/json-schema/JSON-Schema-Test-Suite)
(require '[json-schema.core :as sch])
(sch/valid? schema instance) ;; return true or false
(sch/validate schema instance) ;; return {:errors [...] :warnings [...]}
See https://github.com/json-schema/json-schema/wiki/v5-Proposals
Copyright © 2016 FIXME
Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.
Can you improve this documentation? These fine people already did:
niquola & Lucian BuzzoEdit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close