Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Convert a schema to json & vice versa #8

Open
matteoc99 opened this issue Jun 24, 2024 · 1 comment
Open

Feature: Convert a schema to json & vice versa #8

matteoc99 opened this issue Jun 24, 2024 · 1 comment

Comments

@matteoc99
Copy link

First of all, great project.

Would it be feasible to convert a schema to json? I think this project will benefit from working together with zod, instead of Maintaining schemas both in the backend and frontend.

What i had in mind was something like:
zod-to-json-schema
json-schema-to-zod

Let me know what you think

@dominikzogg
Copy link
Member

dominikzogg commented Jul 13, 2024

@matteoc99 first of all, sorry for not replying earlier. I forgot to enable all notification for the repository. I will look into the links and think about it.

https://json-schema.org/draft/2020-12/json-schema-validation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants