stac-extensions / classification

Describes categorical values and bitfields to give values in a file a certain meaning (classification).
Apache License 2.0
11 stars 3 forks source link

No fields are required #45

Open jpolchlo opened 1 year ago

jpolchlo commented 1 year ago

While looking at the extension schema, I noticed that the require_any_field definition was unused. As such, one can pull in the classification extension without needing to apply any classification-specific content to the Item/Collection. @pjhartzell concurs that this is a bug in the schema and should be addressed.

m-mohr commented 9 months ago

Yes, sounds like a bug. PRs are welcome.

m-mohr commented 5 months ago

I tried to fix it, but it's nearly impossible to capture all cases with reasonable effort.

It's something that we generally face more and more often in the extensions and maybe needs a different solution than JSON Schema.