Skip to content
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

Provide an example with STAC 1.1 Bands #30

Open
fmigneault opened this issue Oct 3, 2024 · 0 comments
Open

Provide an example with STAC 1.1 Bands #30

fmigneault opened this issue Oct 3, 2024 · 0 comments
Labels
enhancement New feature or request schema Issues related to the JSON schema of the extension.

Comments

@fmigneault
Copy link
Collaborator

🚀 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

n/a

@fmigneault fmigneault added enhancement New feature or request schema Issues related to the JSON schema of the extension. labels Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request schema Issues related to the JSON schema of the extension.
Projects
None yet
Development

No branches or pull requests

1 participant