Skip to content

Bands in Item Properties #1359

@m-mohr

Description

@m-mohr

Item validation fails for (STAC version 1.1.0) with bands only present in Item properties:

[
  {
    instancePath: '/properties/bands',
    schemaPath: '#/allOf/2/allOf/1/then/properties/properties/properties/bands/false schema',
    keyword: 'false schema',
    params: {},
    message: 'boolean schema is false'
  },
  {
    instancePath: '',
    schemaPath: '#/allOf/2/allOf/1/if',
    keyword: 'if',
    params: { failingKeyword: 'then' },
    message: 'must match "then" schema'
  }
]

Looking at the schema https://github.com/radiantearth/stac-spec/blob/master/item-spec/json-schema/item.json#L175-L191
bands must be included inside assets to be provided inside properties object, but this is not mentioned in the README.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions