Skip to content

feature: ability to convert arri type defs into json schemas #190

@joshmossas

Description

@joshmossas

Describe the feature

Even though I'm not a fan of JSON schemas it's likely worthwhile for people to be able to convert their Arri Type Definitions into JSON schemas as it could help with adoption and interoperating with other ecosystems.

Additional context

We already have a library that converts JSON schemas into Arri Type Definitions called json-schema-to-atd. We basically needs something to do the inverse.

This would also open the door for us to implement "standard json schema" support which was recently added to the standard-schema spec. Although we probably need to an exploration into how adding support for this will affect bundle sizes and performance for @arrirpc/schema

Would you be willing to implement this feature?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestschemaIssues related to arri schemas and the arri schema builder

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions