Skip to content

Commit

Permalink
Add roles to common metadata #1267 (#1269)
Browse files Browse the repository at this point in the history
  • Loading branch information
m-mohr committed Feb 2, 2024
1 parent 68fe319 commit edf2cc9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

- The `keywords` field known from Collections is available in common metadata. ([#1187](https://github.com/radiantearth/stac-spec/issues/1187))
- The `license` field additionally supports SPDX expressions and the value `other`.
- The `roles` field known from Assets and Providers is available in common metadata. ([#1267](https://github.com/radiantearth/stac-spec/issues/1267))

### Changed

Expand Down
1 change: 1 addition & 0 deletions item-spec/common-metadata.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ Descriptive fields to give a basic overview of a STAC entity (e.g. Catalog, Coll
| title | string | A human readable title describing the STAC entity. |
| description | string | Detailed multi-line description to fully explain the STAC entity. [CommonMark 0.29](https://commonmark.org/) syntax MAY be used for rich text representation. |
| keywords | \[string] | List of keywords describing the STAC entity. |
| roles | \[string] | The semantic roles of the entity, e.g. for assets, links, providers, bands, etc. |

## Date and Time

Expand Down
7 changes: 7 additions & 0 deletions item-spec/json-schema/basics.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@
"items": {
"type": "string"
}
},
"roles": {
"title": "Roles",
"type": "array",
"items": {
"type": "string"
}
}
}
}

0 comments on commit edf2cc9

Please sign in to comment.