News for hackers. Stuff that matters.
Re:JSON Schema Store by vorticalbox on Sunday August 20, 2023 @09:40PM (#37204585)
You could use this[0] package but you would need to download the schema first into a folder say "schemas" and then add a build step as a script in your package.json '"compile-schemas": "json2ts -i schemas -o types"' to export to a "type" folder

[0] json-schema-to-typescript

Re:JSON Schema Store by avx56 on Monday August 21, 2023 @12:36AM (#37205546)
If it's a one-off you can just use http://borischerny.com/json-schema-to-typescript-browser/ or https://transform.tools/json-schema-to-typescript (they both use the same library).