Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
JSON-Schema-Test-Suite @ 8c3d56d
doc
resources
src/json_schema
test
.gitignore
.gitmodules
.travis.yml
LICENSE
README.md
project.clj

README.md

json-schema

Build Status

Clojars Project

Dependency Status

Implementation JSON schema in Clojure, which passes specs (https://github.com/json-schema/JSON-Schema-Test-Suite)

Usage

(require '[json-schema.core :as sch])

(sch/valid? schema instance) ;; return true or false
(sch/validate schema instance) ;; return {:errors [...] :warnings [...]}

Partial support for v5

  • constant
  • contains

See https://github.com/json-schema/json-schema/wiki/v5-Proposals

Road Map

  • errors formatting
  • add the ability to use custom keywords
  • performance tests
  • v5 support

License

Copyright © 2016 FIXME

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.

You can’t perform that action at this time.