Skip to content

Commit ffe4a1a

Browse files
update stac_extensions jsonschema
1 parent 6221897 commit ffe4a1a

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

examples/example-naip.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"stac_version": "1.0.0-beta.2",
33
"stac_extensions": [
4-
"storage"
4+
"https://stac-extensions.github.io/sar/v1.0.0/schema.json"
55
],
66
"id": "m_3009743_sw_14_1_20160928_20161129",
77
"collection": "NAIP_MOSAIC",

examples/example-nsl.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"stac_version": "1.0.0-beta.2",
33
"stac_extensions": [
44
"view",
5-
"storage"
5+
"https://stac-extensions.github.io/sar/v1.0.0/schema.json"
66
],
77
"id": "20190822T183518Z_746_POM1_ST2_P",
88
"collection": "NSL_SCENE",

json-schema/schema.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "http://json-schema.org/draft-07/schema#",
3-
"$id": "https://schemas.stacspec.org/v1.0.0-beta.2/extensions/view/json-schema/schema.json#",
3+
"$id": "https://stac-extensions.github.io/storage/v1.0.0/schema.json",
44
"title": "Storage Object Extension",
55
"description": "STAC Storage Object Extension to a STAC Item and STAC Assets.",
66
"definitions": {
@@ -15,10 +15,7 @@
1515
"stac_extensions": {
1616
"type": "array",
1717
"contains": {
18-
"enum": [
19-
"storage",
20-
"https://schemas.stacspec.org/v1.0.0-beta.2/extensions/view/json-schema/schema.json"
21-
]
18+
"const": "https://stac-extensions.github.io/sar/v1.0.0/schema.json"
2219
}
2320
},
2421
"properties": {

0 commit comments

Comments
 (0)