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

Loading 2 schema from 2 different sources #1090

Open
FinalFortune opened this issue Nov 8, 2019 · 1 comment
Open

Loading 2 schema from 2 different sources #1090

FinalFortune opened this issue Nov 8, 2019 · 1 comment

Comments

@FinalFortune
Copy link

FinalFortune commented Nov 8, 2019

I have a base schema defined in my app directory, while a client defines a schema which references my app's schema using allOf. the client uploads the schema through the network, while I retrieve the base schema locally.

How do I load both from memory / strings, such that the client schema correctly validates data?

@handrews
Copy link

handrews commented Feb 8, 2020

@FinalFortune while I can't comment on how this implementation works, I'd like to note that we're trying to clarify this sort of schema loading question and provide better guidance on it in the next draft, as discussed at json-schema-org/json-schema-spec#849

Feedback would be welcome!

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