arktype icon indicating copy to clipboard operation
arktype copied to clipboard

Support JSON-schema as an input format

Open ssalbdivad opened this issue 1 year ago • 7 comments

This would be a large feature allowing JSON schemas as an alternative definition format, that would be statically validated and inferred, similarly to the primary TS-based syntax.

Some additional investigation is needed to determine what roadblocks we might hit (I'm not deeply familiar with JSON schema), but it seems to be structurally quite straightforward, so it should lend itself well to a parse-based approach like ArkType.

ssalbdivad avatar Apr 24 '23 20:04 ssalbdivad