Hacker News new | ask | show | jobs
by jestar_jokin 1684 days ago
There's libraries that let you define a schema programmatically, and then infer the types.

https://github.com/sinclairzx81/typebox