Skip to content

Provide an example with STAC 1.1 Bands #30

@fmigneault

Description

@fmigneault

🚀 Feature Request

Provide an example (https://github.com/stac-extensions/mlm/tree/main/examples) corresponding to the definition

mlm/json-schema/schema.json

Lines 902 to 931 in 25bef80

{
"$comment": "Bands described by STAC Core 1.1.",
"allOf": [
{
"$ref": "#/$defs/stac_version_1.1"
},
{
"$comment": "This is the JSON-object 'properties' definition, which describes the STAC-Item field named 'properties'.",
"properties": {
"properties": {
"required": [
"bands"
],
"$comment": "This is the JSON-object 'properties' definition for the STAC Core 'bands' field defined by [https://github.com/radiantearth/stac-spec/blob/bands/item-spec/common-metadata.md#bands].",
"properties": {
"bands": {
"type": "array",
"minItems": 1,
"items": {
"type": "object"
}
}
}
}
}
}
]
}
]
},

🔉 Motivation

Documentation and validation of the JSON schema, making sure that bands can be represented this way.

Ensure that STAC Core bands are not considered if stac_version: 1.0 is used. Consider adding a negative check such that it is valid only if stac_version: 1.1 or later is employed.

📡 Alternatives

n/a

📎 Additional context

Special consideration to be taken in account with rel: self link validation in STAC 1.1:

Most probably blocked by:

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestschemaIssues related to the JSON schema of the extension.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions