Skip to content

Commit

Permalink
Merge pull request #5 from stac-extensions/release-2.0.0
Browse files Browse the repository at this point in the history
Release 2.0.0
  • Loading branch information
emmanuelmathot authored Jun 9, 2021
2 parents 182107e + 74e0231 commit a40d8b9
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 16 deletions.
9 changes: 3 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,16 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

### Added
## [v2.0.0]

### Changed

- Summaries for values must be non-empty

### Deprecated

### Removed

- `file:bits_per_sample`: now in `raster:bands.bits_per_sample`
Expand All @@ -29,5 +26,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Initial release

[Unreleased]: <https://github.com/stac-extensions/template/compare/v1.0.0...HEAD>
[v2.0.0]: <https://github.com/stac-extensions/tree/v2.0.0>
[v1.0.0]: <https://github.com/stac-extensions/tree/v1.0.0>
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# File Info Extension Specification

- **Title:** File Info
- **Identifier:** <https://stac-extensions.github.io/file/v1.0.0/schema.json>
- **Identifier:** <https://stac-extensions.github.io/file/v2.0.0/schema.json>
- **Field Name Prefix:** file
- **Scope:** Item, Collection
- **Extension [Maturity Classification](https://github.com/radiantearth/stac-spec/tree/master/extensions/README.md#extension-maturity):** Proposal
Expand Down
4 changes: 2 additions & 2 deletions examples/collection.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"stac_version": "1.0.0-rc.4",
"stac_version": "1.0.0",
"stac_extensions": [
"https://stac-extensions.github.io/file/v1.0.0/schema.json"
"https://stac-extensions.github.io/file/v2.0.0/schema.json"
],
"id": "example",
"type": "Collection",
Expand Down
4 changes: 2 additions & 2 deletions examples/item.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"id": "S1A_EW_GRDM_1SSH_20181103T235855_20181103T235955_024430_02AD5D_5616",
"type": "Feature",
"stac_version": "1.0.0-rc.4",
"stac_version": "1.0.0",
"stac_extensions": [
"https://stac-extensions.github.io/file/v1.0.0/schema.json"
"https://stac-extensions.github.io/file/v2.0.0/schema.json"
],
"bbox": [
-70.275032,
Expand Down
4 changes: 2 additions & 2 deletions json-schema/schema.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://stac-extensions.github.io/file/v1.0.0/schema.json#",
"$id": "https://stac-extensions.github.io/file/v2.0.0/schema.json#",
"title": "File Info Extension",
"description": "STAC File Info Extension for STAC Items and STAC Collections.",
"oneOf": [
Expand Down Expand Up @@ -72,7 +72,7 @@
"stac_extensions": {
"type": "array",
"contains": {
"const": "https://stac-extensions.github.io/file/v1.0.0/schema.json"
"const": "https://stac-extensions.github.io/file/v2.0.0/schema.json"
}
}
}
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "stac-extensions",
"version": "1.0.0",
"version": "2.0.0",
"scripts": {
"test": "npm run check-markdown && npm run check-examples",
"check-markdown": "remark . -f -r .github/remark.yaml",
"check-examples": "stac-node-validator . --lint --verbose --schemaMap https://stac-extensions.github.io/file/v1.0.0/schema.json=./json-schema/schema.json",
"format-examples": "stac-node-validator . --format --schemaMap https://stac-extensions.github.io/file/v1.0.0/schema.json=./json-schema/schema.json"
"check-examples": "stac-node-validator . --lint --verbose --schemaMap https://stac-extensions.github.io/file/v2.0.0/schema.json=./json-schema/schema.json",
"format-examples": "stac-node-validator . --format --schemaMap https://stac-extensions.github.io/file/v2.0.0/schema.json=./json-schema/schema.json"
},
"dependencies": {
"remark-cli": "^8.0.0",
Expand Down

0 comments on commit a40d8b9

Please sign in to comment.