https://github.com/simenandre/jsonschema-to-runtypes
Convert JSONSchema 👉 Runtypes
https://github.com/simenandre/jsonschema-to-runtypes
jsonschema runtypes typescript
Last synced: 4 months ago
JSON representation
Convert JSONSchema 👉 Runtypes
- Host: GitHub
- URL: https://github.com/simenandre/jsonschema-to-runtypes
- Owner: simenandre
- License: apache-2.0
- Created: 2021-03-20T14:06:57.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2025-03-16T03:28:19.000Z (over 1 year ago)
- Last Synced: 2025-04-04T20:56:56.079Z (about 1 year ago)
- Topics: jsonschema, runtypes, typescript
- Language: TypeScript
- Homepage:
- Size: 270 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 31
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
Generate Runtypes from JSONSchema
[](https://www.tidyverse.org/lifecycle/#experimental)
[](https://www.npmjs.com/package/jsonschema-to-runtypes)
[](https://codecov.io/gh/cobraz/jsonschema-to-runtypes)
This library aims to provide an intuitive and easy way to generate
[Runtypes][runtypes] types from JSONSchema, based on [generate-runtypes][] and
[ts-morph][].
We are thankful for all help with adding new functionality, fixing issues, or
improve the package. Feel free to open issues and pull requests ❤️
## Documentation
Apart from this README, you can find details and examples of using the SDK in
the following places:
- [API Documentation][docs]
## Thanks!
This library a fork of
[json-schema-to-typescript](https://github.com/bcherny/json-schema-to-typescript),
most of the work is done by the contributors of that library!
[runtypes]: https://github.com/pelotom/runtypes
[ts-morph]: https://github.com/dsherret/ts-morph
[docs]: ./docs
[generate-runtypes]: https://github.com/cobraz/generate-runtypes