Hi everyone,
is there a way to convert json schema into clojure spec in dynamic way ?
what i mean by dynamic here is: i read json schema files and convert them into equivalent clojure spec which could be used
Depending the exact specs you need, you might be able to write a utility using spec-tools
to do accomplish your goal. For examples, https://github.com/metosin/spec-tools/blob/master/docs/02_data_specs.md.
I would make a single spec per schema which was a predicate which validated the data using the schema?