Skip to content

Commit 03255d7

Browse files
committed
schema addresses
1 parent a4c6f3d commit 03255d7

File tree

4 files changed

+12
-37
lines changed

4 files changed

+12
-37
lines changed

examples/catalog.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@
2222
}
2323
],
2424
"stac_extensions": [
25-
"https://stac-extensions.github.io/merkle/v1.0.0/schema.json"
25+
"https://raw.githubusercontent.com/Healy-Hyperspatial/merkle-tree-stac-extension/refs/heads/main/json-schema/schema.json"
2626
]
2727
}

examples/collection.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"stac_version": "1.1.0",
33
"stac_extensions": [
4-
"https://stac-extensions.github.io/merkle/v1.0.0/schema.json"
4+
"https://raw.githubusercontent.com/Healy-Hyperspatial/merkle-tree-stac-extension/refs/heads/main/json-schema/schema.json"
55
],
66
"type": "Collection",
77
"id": "collection-123",

examples/item.json

Lines changed: 7 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,20 @@
11
{
22
"stac_version": "1.1.0",
33
"stac_extensions": [
4-
"https://stac-extensions.github.io/merkle/v1.0.0/schema.json"
4+
"https://raw.githubusercontent.com/Healy-Hyperspatial/merkle-tree-stac-extension/refs/heads/main/json-schema/schema.json"
55
],
66
"type": "Feature",
77
"id": "item-123",
8-
"bbox": [
9-
172.9,
10-
1.3,
11-
173,
12-
1.4
13-
],
8+
"bbox": [172.9, 1.3, 173, 1.4],
149
"geometry": {
1510
"type": "Polygon",
1611
"coordinates": [
1712
[
18-
[
19-
172.9,
20-
1.3
21-
],
22-
[
23-
173,
24-
1.3
25-
],
26-
[
27-
173,
28-
1.4
29-
],
30-
[
31-
172.9,
32-
1.4
33-
],
34-
[
35-
172.9,
36-
1.3
37-
]
13+
[172.9, 1.3],
14+
[173, 1.3],
15+
[173, 1.4],
16+
[172.9, 1.4],
17+
[172.9, 1.3]
3818
]
3919
]
4020
},

json-schema/schema.json

Lines changed: 3 additions & 8 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://stac-extensions.github.io/merkle/v1.0.0/schema.json#",
3+
"$id": "https://raw.githubusercontent.com/Healy-Hyperspatial/merkle-tree-stac-extension/refs/heads/main/json-schema/schema.json#",
44
"title": "Merkle Root Extension",
55
"description": "An extension to ensure metadata integrity for STAC Items, Collections, and Catalogs by encoding them in a Merkle tree via hashing.",
66
"oneOf": [
@@ -12,19 +12,14 @@
1212
},
1313
{
1414
"type": "object",
15-
"required": [
16-
"type",
17-
"properties"
18-
],
15+
"required": ["type", "properties"],
1916
"properties": {
2017
"type": {
2118
"const": "Feature"
2219
},
2320
"properties": {
2421
"type": "object",
25-
"required": [
26-
"merkle:object_hash"
27-
],
22+
"required": ["merkle:object_hash"],
2823
"properties": {
2924
"merkle:object_hash": {
3025
"type": "string",

0 commit comments

Comments
 (0)