Is there anything out there that converts a json-schema to a malli one?
Oh wow that’s awesome. Will take a look this afternoon. Thanks for digging it up.
re: json-schemas I could send a whole bunch if you don’t mind keeping them to yourself. I mean, it’s a public API but these are artifacts that have been generated as part of testing a big overhaul.
that would be cool. I'll dm you.
I created one but I might have lost it. I'll try and recover it.
I found the remains of it, it's a bit unorthodox. It translates JSON Schema to another format called Flanders, which then has a translation to Malli. I abandoned because I found a simpler solution to my problem, but it got pretty far.
https://github.com/threatgrid/flanders/blob/json-schema/src/flanders/json_schema.cljc
The full context is here https://github.com/threatgrid/flanders/pull/53
it shouldn't be too difficult to change the output format to be malli (and get equivalent support to where I left it with flanders). I was hoping to return to this one day.
It might get me interested again if you could send me json-schema examples.
There's also this existing work which did not meet my needs https://github.com/metosin/malli/pull/915