Nice! I built something similar with io-ts at my previous job, unfortunately I wasn’t able to open source it. I have plans to build a new version from scratch without depending on a separate schema library, instead defining the type guards with JSON Schema to make doc gen a primary part of the API.
Oh to be clear: I don’t mean that the end user will be expected to write JSON Schema. In all likelihood most users never will. Instead they’d use an interface quite like zod or io-ts, it’s the core library and base types that are defined with JSON Schema. And of course that will be available to end users if the core library does not cover their particular use case.
Anyway, glad to see other work in the space!