Skip to content

Commit

Permalink
release: v2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gadomski committed Aug 21, 2024
1 parent 7ba8b0a commit db4d958
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 31 deletions.
14 changes: 9 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,24 @@
# 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] - 2024-08-21

### Changed

- Required properties of type `string` require a minimum length of `1`.

### Deprecated
- Updated to "Pilot" maturity
- Required properties of type `string` require a minimum length of `1`
- `pc:schemas` is no longer required

### Removed

- `pc:encoding` because there is an encoding key in the asset

### Fixed

- Fixed JSON Schema, which allowed pointcloud fields in the top-level of Collections
Expand All @@ -24,5 +27,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

Initial independent release, see [previous history](https://github.com/radiantearth/stac-spec/commits/v1.0.0-rc.1/extensions/pointcloud)

[Unreleased]: <https://github.com/stac-extensions/pointcloud/compare/v1.0.0...HEAD>
[Unreleased]: <https://github.com/stac-extensions/pointcloud/compare/v2.0.0...HEAD>
[v2.0.0]: <https://github.com/stac-extensions/pointcloud/compare/v1.0.0...v2.0.0>
[v1.0.0]: <https://github.com/stac-extensions/pointcloud/tree/v1.0.0>
2 changes: 1 addition & 1 deletion examples/example-autzen.json
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@
"title": "USGS 3DEP LiDAR"
},
"stac_extensions": [
"https://stac-extensions.github.io/pointcloud/v1.0.0/schema.json"
"https://stac-extensions.github.io/pointcloud/v2.0.0/schema.json"
],
"stac_version": "1.0.0",
"type": "Feature"
Expand Down
35 changes: 13 additions & 22 deletions json-schema/schema.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,19 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://stac-extensions.github.io/pointcloud/v1.0.0/schema.json#",
"$id": "https://stac-extensions.github.io/pointcloud/v2.0.0/schema.json#",
"title": "Point Cloud Extension",
"description": "STAC Point Cloud Extension for STAC Items and STAC Collections.",
"description": "STAC Point Cloud Extension for STAC Items and Collections.",
"required": [
"stac_extensions"
],
"properties": {
"stac_extensions": {
"type": "array",
"contains": {
"const": "https://stac-extensions.github.io/pointcloud/v2.0.0/schema.json"
}
}
},
"oneOf": [
{
"$comment": "This is the schema for STAC Items.",
Expand Down Expand Up @@ -39,9 +50,6 @@
}
}
}
},
{
"$ref": "#/definitions/stac_extensions"
}
]
},
Expand Down Expand Up @@ -70,28 +78,11 @@
}
}
}
},
{
"$ref": "#/definitions/stac_extensions"
}
]
}
],
"definitions": {
"stac_extensions": {
"type": "object",
"required": [
"stac_extensions"
],
"properties": {
"stac_extensions": {
"type": "array",
"contains": {
"const": "https://stac-extensions.github.io/pointcloud/v1.0.0/schema.json"
}
}
}
},
"fields": {
"type": "object",
"properties": {
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"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/pointcloud/v1.0.0/schema.json=./json-schema/schema.json",
"format-examples": "stac-node-validator . --format --schemaMap https://stac-extensions.github.io/pointcloud/v1.0.0/schema.json=./json-schema/schema.json"
"check-examples": "stac-node-validator . --lint --verbose --schemaMap https://stac-extensions.github.io/pointcloud/v2.0.0/schema.json=./json-schema/schema.json",
"format-examples": "stac-node-validator . --format --schemaMap https://stac-extensions.github.io/pointcloud/v2.0.0/schema.json=./json-schema/schema.json"
},
"dependencies": {
"remark-cli": "^12.0.0",
Expand All @@ -18,4 +18,4 @@
"remark-validate-links": "^13.0.0",
"stac-node-validator": "^1.0.0"
}
}
}

0 comments on commit db4d958

Please sign in to comment.