json-schema icon indicating copy to clipboard operation
json-schema copied to clipboard

Clojure library JSON Schema validation and generation - Draft-07 compatible

Results 5 json-schema issues
Sort by recently updated
recently updated
newest added

Inferring schemas can be done on vector input. But not on lists (ie. coming from the result of `(map some-fn docs)`. The simple solution to this is of course to...

good first issue

If a set of documents being inferred have a vector of documents, but one document sets this to nil, the resulting inferred schema doesn't add type `:null` to the generated...

bug
good first issue

Hi, It seems the author dropped the original project to focus on a new one https://github.com/erosb/json-sKema . The new project supports newer schema drafts. See deprecation notice: https://github.com/everit-org/json-schema?tab=readme-ov-file#deprecation-notice Probably relates...

enhancement

Hey there! Thanks for this library, it's really helpful. Is there any interest in supporting later versions of the JSON Schema specification? There are some features I'd love to use...

enhancement

The README states that this: ```clj (json-schema.infer/infer-strict {:title "ent-1"}) {:things [{:quantity 1}]}) ``` Will generate this: ```clj {:$schema "http://json-schema.org/draft-07/schema#" :title "ent-1" :type :object :additionalProperties false :properties {"things" {:type :array :items...

enhancement