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

name in label:classes can be null #8

Merged
merged 4 commits into from
Aug 23, 2021

Conversation

cuttlefish
Copy link
Contributor

I'm unsure if this is correct or not, but it attempts to address #7

@m-mohr
Copy link
Contributor

m-mohr commented Aug 20, 2021

null is only allowed for raster, right? So I guess we should go one step further and only allow null if label:type is set to raster, right?

@cuttlefish
Copy link
Contributor Author

I'm not very familiar with JSON Schema. Is this roughly how it would work?
I haven't had a chance to test it yet. I guess we need a raster example for that.

json-schema/schema.json Outdated Show resolved Hide resolved
Copy link
Member

@jisantuc jisantuc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

CHANGELOG.md Outdated Show resolved Hide resolved
Co-authored-by: James Santucci <[email protected]>
@jisantuc jisantuc merged commit ad483a1 into stac-extensions:main Aug 23, 2021
@cuttlefish
Copy link
Contributor Author

@jisantuc Thanks for the review!
I was working on a test case for this, but think I won't have time to get to it in the next few days.
I could open another PR next week if you like

@cuttlefish cuttlefish deleted the fix/labelclasses-name branch August 23, 2021 17:16
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

Successfully merging this pull request may close these issues.

3 participants