From 8960c2fde854e320c9b3de3e399118abeb9fc0e9 Mon Sep 17 00:00:00 2001 From: Jon Duckworth Date: Fri, 21 Jan 2022 15:11:16 -0500 Subject: [PATCH] Fix all schema URIs for v1.0.1 release --- .../multidataset/spacenet-buildings/AOI_2_Vegas_img2636.json | 2 +- .../multidataset/spacenet-buildings/AOI_3_Paris_img1648.json | 2 +- .../spacenet-buildings/AOI_4_Shanghai_img3344.json | 2 +- examples/multidataset/zanzibar/znz001.json | 2 +- examples/spacenet-roads/roads_item.json | 2 +- json-schema/schema.json | 4 ++-- package.json | 4 ++-- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/examples/multidataset/spacenet-buildings/AOI_2_Vegas_img2636.json b/examples/multidataset/spacenet-buildings/AOI_2_Vegas_img2636.json index 53f851f..f40e2c3 100644 --- a/examples/multidataset/spacenet-buildings/AOI_2_Vegas_img2636.json +++ b/examples/multidataset/spacenet-buildings/AOI_2_Vegas_img2636.json @@ -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", diff --git a/examples/multidataset/spacenet-buildings/AOI_3_Paris_img1648.json b/examples/multidataset/spacenet-buildings/AOI_3_Paris_img1648.json index f24fec6..cec0f64 100644 --- a/examples/multidataset/spacenet-buildings/AOI_3_Paris_img1648.json +++ b/examples/multidataset/spacenet-buildings/AOI_3_Paris_img1648.json @@ -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", diff --git a/examples/multidataset/spacenet-buildings/AOI_4_Shanghai_img3344.json b/examples/multidataset/spacenet-buildings/AOI_4_Shanghai_img3344.json index 0a2f2a3..7eeca5d 100644 --- a/examples/multidataset/spacenet-buildings/AOI_4_Shanghai_img3344.json +++ b/examples/multidataset/spacenet-buildings/AOI_4_Shanghai_img3344.json @@ -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", diff --git a/examples/multidataset/zanzibar/znz001.json b/examples/multidataset/zanzibar/znz001.json index 4c99e06..f51944f 100644 --- a/examples/multidataset/zanzibar/znz001.json +++ b/examples/multidataset/zanzibar/znz001.json @@ -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", diff --git a/examples/spacenet-roads/roads_item.json b/examples/spacenet-roads/roads_item.json index ca51e2f..2f8c4db 100644 --- a/examples/spacenet-roads/roads_item.json +++ b/examples/spacenet-roads/roads_item.json @@ -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", diff --git a/json-schema/schema.json b/json-schema/schema.json index ade7325..113f297 100644 --- a/json-schema/schema.json +++ b/json-schema/schema.json @@ -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": [ @@ -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" } } } diff --git a/package.json b/package.json index fd904e3..5d2b8bb 100644 --- a/package.json +++ b/package.json @@ -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",