stac-extensions/classification

No fields are required

jpolchlo opened this issue · 2 comments

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

Yes, sounds like a bug. PRs are welcome.

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.