Skip to content

Include some jsonschema documents in the pystac distribution #1007

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

Closed
gadomski opened this issue Feb 23, 2023 · 0 comments · Fixed by #1165
Closed

Include some jsonschema documents in the pystac distribution #1007

gadomski opened this issue Feb 23, 2023 · 0 comments · Fixed by #1165
Assignees
Milestone

Comments

@gadomski
Copy link
Member

When doing some testing for #949, I was reminded that every single validate call hits the network. This makes it pretty hard to use PySTAC in a network-denied environment. I don't see any reason why we couldn't bundle the most common schemas in the PySTAC distribution and load them from the local system for validation -- the currently-supported version (v1.0.0 as of today) of the main data structures, plus GeoJSON Feature, seem like obvious candidates. It would additionally prevent issues like #622, where validation broke because the GeoSON Feature schema was a 404.

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