Wondering if there was any talk of merging these efforts down the line, or if you see the two as having distinct features.
From a quick look, it seems yours is further along in terms of the json-schema spec, and has unicode support; but json-elm-schema has EncodingProgram that enables a node-based CLI for generating JSON from Elm-defined schemas. Did you have any plans to do JSON Schema generation like this? It shouldn't be too hard I guess since you do have Json.Schema.Builder.encode. Maybe I'll give it a try.
I do like the fact that your library has less dependencies, and seems to have support for "tuple typing" (that's the difference between withItem and withItems yes?), and building $refs.
EDIT: I now see Json.Schema.Builder.encode generates Elm, not JSON. So my question remains, any plans to do JSON generation? It is a key feature in my case, where I want the canonical representation to be in Elm and to generate the JSON files for the server side, rather than the other way around.
Wondering if there was any talk of merging these efforts down the line, or if you see the two as having distinct features.
From a quick look, it seems yours is further along in terms of the json-schema spec, and has unicode support; but json-elm-schema has EncodingProgram that enables a node-based CLI for generating JSON from Elm-defined schemas. Did you have any plans to do JSON Schema generation like this? It shouldn't be too hard I guess since you do have Json.Schema.Builder.encode. Maybe I'll give it a try.
I do like the fact that your library has less dependencies, and seems to have support for "tuple typing" (that's the difference between
withItemandwithItemsyes?), and building$refs.EDIT: I now see
Json.Schema.Builder.encodegenerates Elm, not JSON. So my question remains, any plans to do JSON generation? It is a key feature in my case, where I want the canonical representation to be in Elm and to generate the JSON files for the server side, rather than the other way around.