Skip to content

Commit d114bb9

Browse files
Added context for processing extension
1 parent bbd7424 commit d114bb9

File tree

3 files changed

+34
-12
lines changed

3 files changed

+34
-12
lines changed

_sources/extensions/mlm/schema.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ allOf:
55
- anyOf:
66
- $ref: bblocks://ogc.contrib.stac.collection
77
- $ref: bblocks://ogc.contrib.stac.item
8-
- $ref: https://stac-extensions.github.io/mlm/v1.4.0/schema.json
8+
- $ref: https://stac-extensions.github.io/mlm/v1.5.0/schema.json
Lines changed: 30 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,34 @@
11
{
22
"@context": {
3-
"raster": "https://w3id.org/ogc/stac/raster/",
4-
"raster:bands": {
5-
"@id": "raster:bands",
6-
"@context": {
7-
"@vocab": "https://w3id.org/ogc/stac/raster/"
8-
}
9-
},
10-
"raster:range": {
11-
"@id": "raster:range",
12-
"@container": "@list"
3+
"processing": "https://w3id.org/ogc/stac/processing/",
4+
"processing:software": {
5+
"@id": "processing:software",
6+
"@type": "@json",
7+
"comment": "this is necessary since software name cannot be guaranteed to be convertible to a URI "
8+
},
9+
"processing:expression": {
10+
"@id": "processing:expression",
11+
"@type": "@json"
12+
},
13+
"processing:lineage": {
14+
"@id": "processing:lineage",
15+
"@type": "xsd:string"
16+
},
17+
"processing:level": {
18+
"@id": "processing:level",
19+
"@type": "xsd:string"
20+
},
21+
"processing:facility": {
22+
"@id": "processing:facility",
23+
"@type": "xsd:string"
24+
},
25+
"processing:version": {
26+
"@id": "processing:version",
27+
"@type": "xsd:string"
28+
},
29+
"processing:datetime": {
30+
"@id": "processing:datetime",
31+
"@type": "xsd:dateTime"
1332
}
1433
}
15-
}
34+
}

_sources/extensions/processing/schema.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,6 @@ allOf:
66
- $ref: bblocks://ogc.contrib.stac.collection
77
- $ref: bblocks://ogc.contrib.stac.item
88
- $ref: https://stac-extensions.github.io/processing/v1.2.0/schema.json
9+
- properties:
10+
"processing:software":
11+
"type": "object"

0 commit comments

Comments
 (0)