-
Notifications
You must be signed in to change notification settings - Fork 178
/
item.json
120 lines (120 loc) · 2.78 KB
/
item.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
{
"$schema": "http://json-schema.org/draft-06/schema#",
"id": "item.json#",
"title": "STAC Item",
"type": "object",
"description": "This object represents the metadata for an item in a SpatioTemporal Asset Catalog.",
"additionalProperties": true,
"allOf": [
{
"$ref": "#/definitions/core"
}
],
"definitions": {
"core": {
"allOf": [
{
"oneOf": [
{
"$ref": "geojson.json#/definitions/feature"
}
]
},
{
"type": "object",
"required": [
"id",
"type",
"links",
"assets"
],
"properties": {
"id": {
"title": "Provider ID",
"description": "Provider item ID",
"type": "string"
},
"links": {
"title": "Item links",
"description": "Links to item relations",
"type": "array",
"items": {
"$ref": "#/definitions/link"
}
},
"assets": {
"title": "Asset links",
"description": "Links to assets",
"type": "object",
"patternProperties": {
".+": {
"$ref": "#/definitions/asset"
}
},
"additionalProperties": false
},
"properties": {
"type": "object",
"required": [
"datetime"
],
"properties": {
"datetime": {
"title": "Date and Time",
"description": "The searchable date/time of the assets, in UTC (Formatted in RFC 3339) ",
"type": "string",
"format": "date-time"
}
}
}
}
}
]
},
"link": {
"type": "object",
"required": [
"rel",
"href"
],
"properties": {
"href": {
"title": "Link reference",
"type": "string"
},
"rel": {
"title": "Link relation type",
"type": "string"
},
"type": {
"title": "Link type",
"type": "string"
},
"title": {
"title": "Link title",
"type": "string"
}
}
},
"asset": {
"type": "object",
"required": [
"href"
],
"properties": {
"href": {
"title": "Asset reference",
"type": "string"
},
"title": {
"title": "Asset title",
"type": "string"
},
"type": {
"title": "Asset type",
"type": "string"
}
}
}
}
}