Skip to content

Commit

Permalink
Merge pull request #9 from stac-extensions/fix/v1.0.1-schema-uris
Browse files Browse the repository at this point in the history
Fix all schema URIs for v1.0.1 release
  • Loading branch information
duckontheweb authored Jan 21, 2022
2 parents ab1f736 + 8960c2f commit e13a395
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"stac_version": "1.0.0-rc.1",
"stac_extensions": [
"https://stac-extensions.github.io/label/v1.0.0/schema.json",
"https://stac-extensions.github.io/label/v1.0.1/schema.json",
"https://stac-extensions.github.io/version/v1.0.0/schema.json"
],
"id": "AOI_2_Vegas_img2636",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"stac_version": "1.0.0-rc.1",
"stac_extensions": [
"https://stac-extensions.github.io/label/v1.0.0/schema.json",
"https://stac-extensions.github.io/label/v1.0.1/schema.json",
"https://stac-extensions.github.io/version/v1.0.0/schema.json"
],
"id": "AOI_3_Paris_img1648",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"stac_version": "1.0.0-rc.1",
"stac_extensions": [
"https://stac-extensions.github.io/label/v1.0.0/schema.json",
"https://stac-extensions.github.io/label/v1.0.1/schema.json",
"https://stac-extensions.github.io/version/v1.0.0/schema.json"
],
"id": "AOI_4_Shanghai_img3344",
Expand Down
2 changes: 1 addition & 1 deletion examples/multidataset/zanzibar/znz001.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"stac_version": "1.0.0-rc.1",
"stac_extensions": [
"https://stac-extensions.github.io/label/v1.0.0/schema.json",
"https://stac-extensions.github.io/label/v1.0.1/schema.json",
"https://stac-extensions.github.io/version/v1.0.0/schema.json"
],
"id": "znz001",
Expand Down
2 changes: 1 addition & 1 deletion examples/spacenet-roads/roads_item.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"stac_version": "1.0.0-rc.1",
"stac_extensions": [
"https://stac-extensions.github.io/label/v1.0.0/schema.json",
"https://stac-extensions.github.io/label/v1.0.1/schema.json",
"https://stac-extensions.github.io/version/v1.0.0/schema.json"
],
"id": "AOI_3_Paris_img101",
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/label/v1.0.0/schema.json#",
"$id": "https://stac-extensions.github.io/label/v1.0.1/schema.json#",
"title": "Label Extension",
"description": "STAC Label Extension for STAC Items and STAC Collections.",
"oneOf": [
Expand Down Expand Up @@ -95,7 +95,7 @@
"stac_extensions": {
"type": "array",
"contains": {
"const": "https://stac-extensions.github.io/label/v1.0.0/schema.json"
"const": "https://stac-extensions.github.io/label/v1.0.1/schema.json"
}
}
}
Expand Down
4 changes: 2 additions & 2 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/label/v1.0.0/schema.json=./json-schema/schema.json",
"format-examples": "stac-node-validator . --format --schemaMap https://stac-extensions.github.io/label/v1.0.0/schema.json=./json-schema/schema.json"
"check-examples": "stac-node-validator . --lint --verbose --schemaMap https://stac-extensions.github.io/label/v1.0.1/schema.json=./json-schema/schema.json",
"format-examples": "stac-node-validator . --format --schemaMap https://stac-extensions.github.io/label/v1.0.1/schema.json=./json-schema/schema.json"
},
"dependencies": {
"remark-cli": "^8.0.0",
Expand Down

0 comments on commit e13a395

Please sign in to comment.