Closed m-mohr closed 3 years ago
The field proj:projjson in the proj-example is invalid. STAC Node Validator in the dev version reports:
- C:\Dev\stac-spec\examples\extensions-collection\proj-example\proj-example.json -- Lint: File is well-formed -- STAC Version: 1.0.0-rc.2 --- item: valid --- https://stac-extensions.github.io/eo/v1.0.0/schema.json: valid --- https://stac-extensions.github.io/projection/v1.0.0/schema.json: invalid [ { keyword: 'oneOf', dataPath: ".properties['proj:projjson']", schemaPath: '#/properties/proj%3Aprojjson/oneOf/0/oneOf', params: { passingSchemas: [Array] }, message: 'should match exactly one schema in oneOf' }, { keyword: 'type', dataPath: ".properties['proj:projjson']", schemaPath: '#/properties/proj%3Aprojjson/oneOf/1/type', params: { type: 'null' }, message: 'should be null' }, { keyword: 'oneOf', dataPath: ".properties['proj:projjson']", schemaPath: '#/properties/proj%3Aprojjson/oneOf', params: { passingSchemas: null }, message: 'should match exactly one schema in oneOf' }, { keyword: 'const', dataPath: '.type', schemaPath: '#/oneOf/1/allOf/0/properties/type/const', params: { allowedValue: 'Collection' }, message: 'should be equal to constant' }, { keyword: 'oneOf', dataPath: '', schemaPath: '#/oneOf', params: { passingSchemas: null }, message: 'should match exactly one schema in oneOf' } ]
Seems like an issue in the validator.
The field proj:projjson in the proj-example is invalid. STAC Node Validator in the dev version reports: