-
Notifications
You must be signed in to change notification settings - Fork 157
Validation error reported only in stac-browser #504
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
Comments
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 |
Another example, so it's not depending on the underlying data source. |
The issue actually was inside of stac-migrate, see the related commits above. The mystery is finally fixed. |
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: