(infer-strict data
&
[{:keys [schema-name schema uri description type-meta]
:as params}])
Naive but strict schema inference from associative data. Strict in the sense that everything is required, and nothing else is allowed.
Optional params:
Naive but strict schema inference from associative data. Strict in the sense that everything is required, and nothing else is allowed. Optional params: - schema-name - translates to schema title - uri - uri for the schema - description - description for the schema - schema - if you already started on a schema def - type-meta - extra meta data for properties (WIP!)
(infer-strict->json data params)
A helper function that returns inferred schema as JSON
A helper function that returns inferred schema as JSON
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close