Skip to content

Commit eea5ac4

Browse files
committed
Add product:timeliness_category
1 parent 0669740 commit eea5ac4

File tree

4 files changed

+24
-5
lines changed

4 files changed

+24
-5
lines changed

README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,14 @@ The fields in the table below can be used in these parts of STAC documents:
2727
- [x] Assets (for both Collections and Items, incl. Item Asset Definitions in Collections)
2828
- [ ] Links
2929

30-
| Field Name | Type | Description |
31-
| ------------------ | ------ | ----------------- |
32-
| product:type | string | The product type. |
33-
| product:timeliness | string | The average expected timeliness of the product as an [ISO 8601 Duration](https://en.wikipedia.org/wiki/ISO_8601#Durations). |
30+
| Field Name | Type | Description |
31+
| --------------------------- | ------ | ----------------- |
32+
| product:type | string | The product type. |
33+
| product:timeliness | string | The average expected timeliness of the product as an [ISO 8601 Duration](https://en.wikipedia.org/wiki/ISO_8601#Durations). |
34+
| product:timeliness_category | string | A proprietary category identifier for the timeliness of the product. |
35+
36+
> \[!IMPORTANT]
37+
> `product:timeliness` is REQUIRED if `product:timeliness_category` is provided.
3438
3539
### Additional Field Information
3640

examples/collection.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@
3636
],
3737
"product:timeliness": [
3838
"PT3H"
39+
],
40+
"product:timeliness_category": [
41+
"NRT"
3942
]
4043
},
4144
"links": [

examples/item.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
"c-sar"
1616
],
1717
"product:type": "GRD",
18-
"product:timeliness": "PT3H"
18+
"product:timeliness": "PT3H",
19+
"product:timeliness_category": "NRT"
1920
},
2021
"geometry": {
2122
"type": "Polygon",

json-schema/schema.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,12 +105,20 @@
105105
"definitions": {
106106
"fields": {
107107
"type": "object",
108+
"dependencies": {
109+
"product:timeliness_category": [
110+
"product:timeliness"
111+
]
112+
},
108113
"properties": {
109114
"product:type": {
110115
"$ref": "#/definitions/product:type"
111116
},
112117
"product:timeliness": {
113118
"$ref": "#/definitions/product:timeliness"
119+
},
120+
"product:timeliness_category": {
121+
"$ref": "#/definitions/product:timeliness_category"
114122
}
115123
},
116124
"patternProperties": {
@@ -126,6 +134,9 @@
126134
"type": "string",
127135
"format": "duration"
128136
},
137+
"product:timeliness_category": {
138+
"type": "string"
139+
},
129140
"json_schema": {
130141
"$comment": "JSON Schema",
131142
"type": "object"

0 commit comments

Comments
 (0)