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

Support remote schemas specified by URIs #29

Open
epoberezkin opened this issue Apr 28, 2017 · 5 comments
Open

Support remote schemas specified by URIs #29

epoberezkin opened this issue Apr 28, 2017 · 5 comments
Labels

Comments

@epoberezkin
Copy link
Member

No description provided.

@GiovanniFrigo
Copy link

This would be super useful! Also, would it support local schemas, for example referring one schema to another in the same folder?

@epoberezkin
Copy link
Member Author

epoberezkin commented Apr 28, 2017

That would be another feature - relative file based references. At the moment you have to load them explicitly with -s option

@handrews
Copy link

handrews commented May 1, 2017

You've probably already thought of this :-) but ideally we can still override referenced schemas by supplying with -r, as often I'll want to test local changes without having to go change the $ids to not point to the remote hosted ones. Or there may not even been a remote hosted file yet.

Local schemas by filesystem reference should work by setting a file:// base URI, I'd expect (not necessarily the same feature as supporting http[s]:// retrieval depending on how it's implemented, I suppose).

@gabemeola
Copy link

Any update on this? Would love to use "$schema": "http://json-schema.org/draft/2019-09/schema#" from the JSON Schema docs.

@rayvincent2
Copy link

I've created a pull request ( #108 ) to address this. It will use the asynchronous compilation by default when using the cli.

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

No branches or pull requests

5 participants