# general


03/31/2023, 4:41 PM
@fresh-cat-90827 Do you think the json-schema generation code you wrote is generic enough to be put into a plugin? I'm running into several circumstances where I need/want to create a json schema (which then becomes types, in Typescript - for example). Currently using
in Python, but feels heavy for what is a pretty "simple" task generally
Thinking maybe a code generation target, or some intermediate representation that can be `export`ed
In some other examples, I see that it's only a couple hundred lines of python to turn dataclasses into json schemas - so seems simple enough. Or, could wrap Pydantic as a CLI tool and try to use that