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

Add support for external schema references for json #58

Open
shiveshr opened this issue Jul 17, 2020 · 0 comments
Open

Add support for external schema references for json #58

shiveshr opened this issue Jul 17, 2020 · 0 comments

Comments

@shiveshr
Copy link
Contributor

Problem description
For complex schemas, users may have broken the schema into multiple smaller schemas that are referenced in the complex object. And they may want to break it into multiple smaller files. Json schema description inherently supports this by way of "$ref" which can refer to another schema in the same definitions or in a different location identified by a uri. A uri could be a file path in same directory or another location.

Currently schema registry allows for schemas to be sent as a singular schema file. This works when all the references are defined in the same file. But does not support multiple files.

Problem location
JsonSchema

Suggestions for an improvement
Explore possibility of adding references to json by referencing other schemas registered in the group

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

1 participant