radiantearth / stac-spec

SpatioTemporal Asset Catalog specification - making geospatial assets openly searchable and crawlable
https://stacspec.org
Apache License 2.0
772 stars 177 forks source link

Array `href` not validated properly by validators? #1233

Closed m-mohr closed 1 year ago

m-mohr commented 1 year ago

@cboettig reported in issue https://github.com/radiantearth/stac-browser/issues/331:

First, on a technical side, I note that the STAC validator seems to be perfectly happy to have an array-valued href for an asset, e.g. modifying the simple-item.json gives us valid STAC.

@cboettig Can you provide example data and clarify which validator you used?

cboettig commented 1 year ago

Apologies, example is linked in the issue but I confirmed this does throw an error on the python validator CLI function, though for some reason my R wrapper of the same python module thinks it is valid, so I need to debug my end.

m-mohr commented 1 year ago

stac-node-validator also complains, so it's indeed not a schema issue. Closing.