Is your feature request related to a problem? Please describe.
From TypeSchema website:
TypeSchema is a JSON format to describe data models in a language neutral format. A TypeSchema can be easily transformed into specific code for almost any programming language. This helps to reuse core data models in different environments.
TypeSchema is similar to JSON Schema, but is designed to make generating code from it easier than from JSON Schema.
I think it will take time before TypeSchema is more widely used.
Nevertheless I opened this issue to draw attention to the existence of this project, so that TypeSchema support would be taken into account when developing the datamodel-code-generator
.
Describe the solution you'd like
It's gonna be great to have the ability to generate pydantic models from TypeSchema schemas.
Describe alternatives you've considered
It's probably possible to convert from JSON Schema to TypeSchema and from TypeSchema to JSON Schema, but I think it won't give as good results as native TypeSchema support.
Additional context
Python generator is available at https://typeschema.org/ but it doesn't generate pydantic models, just vanilla Python classes.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too