Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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