You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I face a STAC validation error from stac-browser, related to the timestamps extension:
timestamps v1.1.0 Extension
/properties/published must match format "date-time" (format: date-time)
/type must be equal to constant (allowed value: Collection)
/type must be equal to constant (allowed value: Catalog)
must match exactly one schema in "oneOf" (passing schemas: null), for schema #/oneOf
I don't understand the error as the contents look valid to me. I tried to validate the file manually with stac-node-validator and it reports valid contents too, even in strict mode:
Hmm, the published property looks valid to me. So I assume there's some difference between browser JS and Node JS that comes into play here, maybe just different versions of the dependencies (ajv/ajv-formats). Needs further investigation...
Another weird thing is that for other items where only the date changes, the contents are reported valid. I couldn't characterize the problem yet, I wonder if it only affects dates with milliseconds part starting with a zero or something like that.
Another wieird thing is that published is valid and reported as invalid, but datetime/start_datetime/end_datetime are all invalid but not reported as invalid (it should end with a Z, not +00:00).
I can reproduce it, but it's really weird. The same string set as datetime and it validates, although it's the same schema and validator. If I change the value slightly in published it also works. I'm a little clueless right now and will investigate further whenever I have a bit more time. Your item seems to be valid at first sight so just ignore the STAC Browser report for now.
I face a STAC validation error from stac-browser, related to the timestamps extension:
My STAC item is as follows:
S1A_20241114143038056552_redacted.json
I don't understand the error as the contents look valid to me. I tried to validate the file manually with stac-node-validator and it reports valid contents too, even in strict mode:
So I don't understand if I face a bug from stac-browser, stac-node-validator, or simply invalid contents in my data :(
The text was updated successfully, but these errors were encountered: