Closed jlaura closed 3 years ago
@jlaura try pasting your stac in https://staclint.com (it passes there) - staclint is built from stac validator running in a lambda on aws - I will try to figure out why you are getting an error
This is the response I get with stac-validator - maybe you are using an older version?
[
{
"version": "1.0.0",
"path": "stac.json",
"schema": [
"https://stac-extensions.github.io/projection/v1.0.0/schema.json",
"https://stac-extensions.github.io/datacube/v1.0.0/schema.json",
"https://schemas.stacspec.org/v1.0.0/item-spec/json-schema/item.json"
],
"valid_stac": true,
"asset_type": "ITEM",
"validation_method": "default"
}
]
here is my version information:
➜ stac_validator --version
stac_validator, version 2.2.0
I also tried messing with the text file formatting (after validating via jsonlint) with a newline at the end, just a '{' at the head, etc. Very strange that we are seeing different results!
weird yea - I'm using 2.2.0 too - did you try on https://staclint.com ?
@jonhealy staclint works wonderfully. Super nice. I am going to try to get stac_validator into my CI pipeline and see if maybe it is this machine that is causing issues. Want me to close the issue since it seems really localized to this env?
Thanks for the quick reply and the support.
@jlaura ok sounds good thanks
Given the following STAC file, validation fails. Looks like the failure is because of a missing schema
Running:
$ stac_validator stac.json
I am seeing the following error:Navigating to https://schemas.stacspec.org/, I do not see the feature-spec anywhere in the file listing.