malli

2025-09-01T16:08:25.649259Z

Is there anything out there that converts a json-schema to a malli one?

2025-09-03T09:51:24.410379Z

Oh wow that’s awesome. Will take a look this afternoon. Thanks for digging it up.

2025-09-03T09:55:01.927919Z

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.

2025-09-03T16:36:08.802529Z

that would be cool. I'll dm you.

2025-09-02T19:55:39.243089Z

I created one but I might have lost it. I'll try and recover it.

2025-09-02T23:15:57.351069Z

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.

2025-09-02T23:17:18.019249Z

The full context is here https://github.com/threatgrid/flanders/pull/53

2025-09-02T23:17:58.215279Z

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.

2025-09-02T23:19:35.893099Z

It might get me interested again if you could send me json-schema examples.

2025-09-02T23:22:23.903359Z

There's also this existing work which did not meet my needs https://github.com/metosin/malli/pull/915