You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"""A STAC Catalog object represents a logical group of other Catalog, Collection, and Item objects."""
10
-
11
-
type: Required[str]
12
-
"""Set to Catalog if this Catalog only implements the Catalog spec."""
13
-
14
-
stac_version: Required[str]
15
-
"""The STAC version the Catalog implements."""
16
-
17
-
stac_extensions: list[str] |None
18
-
"""A list of extension identifiers the Catalog implements."""
19
-
20
-
id: Required[str]
21
-
"""Identifier for the Catalog."""
22
-
23
-
title: str|None
24
-
"""A short descriptive one-line title for the Catalog."""
25
-
26
-
description: Required[str]
27
-
"""Detailed multi-line description to fully explain the Catalog.
28
-
29
-
CommonMark 0.29 syntax MAY be used for rich text representation."""
30
-
31
-
links: Required[list[Link]]
32
-
"""A list of references to other documents."""
33
-
34
-
classCollection(TypedDict, total=False):
35
-
"""The STAC Collection Specification defines a set of common fields to describe a group of Items that share properties and metadata."""
36
-
37
-
type: Required[str]
38
-
"""Must be set to Collection to be a valid Collection."""
39
-
40
-
stac_version: Required[str]
41
-
"""The STAC version the Collection implements."""
42
-
43
-
stac_extensions: list[str] |None
44
-
"""A list of extension identifiers the Collection implements."""
45
-
46
-
id: Required[str]
47
-
"""Identifier for the Collection that is unique across all collections in the root catalog."""
48
-
49
-
title: str|None
50
-
"""A short descriptive one-line title for the Collection."""
51
-
52
-
description: Required[str]
53
-
"""Detailed multi-line description to fully explain the Collection.
54
-
55
-
CommonMark 0.29 syntax MAY be used for rich text representation."""
56
-
57
-
keywords: list[str] |None
58
-
"""List of keywords describing the Collection."""
59
-
60
-
license: Required[str]
61
-
"""License(s) of the data collection as SPDX License identifier, SPDX License expression, or `other`."""
62
-
63
-
providers: list[Provider] |None
64
-
"""A list of providers, which may include all organizations capturing or processing the data or the hosting provider."""
65
-
66
-
extent: Required[Extent]
67
-
"""Spatial and temporal extents."""
68
-
69
-
summaries: dict[str, Any] |None
70
-
"""A map of property summaries, either a set of values, a range of values or a JSON Schema."""
71
-
72
-
links: Required[list[Link]]
73
-
"""A list of references to other documents."""
74
-
75
-
assets: dict[str, Asset] |None
76
-
"""Dictionary of asset objects that can be downloaded, each with a unique key."""
77
-
78
-
item_assets: dict[str, ItemAsset] |None
79
-
"""A dictionary of assets that can be found in member Items."""
80
-
81
-
classProvider(TypedDict, total=False):
82
-
"""A provider is any of the organizations that captures or processes the content of the Collection and therefore influences the data offered by this Collection."""
83
-
84
-
name: Required[str]
85
-
"""The name of the organization or the individual."""
86
-
87
-
description: str|None
88
-
"""Multi-line description to add further provider information such as processing details for processors and producers, hosting details for hosts or basic contact information.
89
-
90
-
CommonMark 0.29 syntax MAY be used for rich text representation."""
91
-
92
-
roles: list[
93
-
Literal["licensor"]
94
-
|Literal["producer"]
95
-
|Literal["processor"]
96
-
|Literal["host"]
97
-
] |None
98
-
"""Roles of the provider."""
99
-
100
-
url: str|None
101
-
"""Homepage on which the provider describes the dataset and publishes contact information."""
102
-
103
-
classExtent(TypedDict):
104
-
"""The object describes the spatio-temporal extents of the Collection."""
105
-
106
-
spatial: SpatialExtent
107
-
"""Potential spatial extents covered by the Collection."""
108
-
109
-
temporal: TemporalExtent
110
-
"""Potential temporal extents covered by the Collection."""
111
-
112
-
classSpatialExtent(TypedDict):
113
-
"""The object describes the spatial extents of the Collection."""
114
-
115
-
bbox: list[list[int|float]]
116
-
"""Potential spatial extents covered by the Collection."""
117
-
118
-
classTemporalExtent(TypedDict):
119
-
"""The object describes the temporal extents of the Collection."""
120
-
121
-
bbox: list[list[str|None]]
122
-
"""Potential temporal extents covered by the Collection."""
123
-
124
-
classItemAsset(TypedDict, total=False):
125
-
"""An Item Asset Object defined at the Collection level is nearly the same as the Asset Object in Items, except for two differences.
126
-
127
-
The href field is not required, because Item Asset Definitions don't point to any data by themselves, but at least two other fields must be present."""
128
-
129
-
title: str|None
130
-
"""The displayed title for clients and users."""
131
-
132
-
description: str|None
133
-
"""A description of the Asset providing additional details, such as how it was processed or created.
134
-
135
-
CommonMark 0.29 syntax MAY be used for rich text representation."""
136
-
137
-
type: str|None
138
-
"""Media type of the asset."""
139
-
140
-
roles: list[str] |None
141
-
"""The semantic roles of the asset, similar to the use of rel in links."""
142
-
143
-
classItem(TypedDict, total=False):
144
-
"""An Item is a GeoJSON Feature augmented with foreign members relevant to a STAC object."""
145
-
146
-
type: Required[str]
147
-
"""Type of the GeoJSON Object. MUST be set to Feature."""
148
-
149
-
stac_version: Required[str]
150
-
"""The STAC version the Item implements."""
151
-
152
-
stac_extensions: list[str] |None
153
-
"""A list of extensions the Item implements."""
154
-
155
-
id: Required[str]
156
-
"""Provider identifier. The ID should be unique within the Collection that contains the Item."""
157
-
158
-
geometry: dict[str, Any] |None
159
-
"""Defines the full footprint of the asset represented by this item, formatted according to RFC 7946, section 3.1 if a geometry is provided or section 3.2 if no geometry is provided."""
160
-
161
-
bbox: list[int|float] |None
162
-
"""REQUIRED if geometry is not null, prohibited if geometry is null.
163
-
164
-
Bounding Box of the asset represented by this Item, formatted according to RFC 7946, section 5."""
165
-
166
-
properties: Required[Properties]
167
-
"""A dictionary of additional metadata for the Item."""
168
-
169
-
links: Required[list[Link]]
170
-
"""List of link objects to resources and related URLs.
171
-
172
-
See the best practices for details on when the use self links is strongly recommended."""
173
-
174
-
assets: Required[dict[str, Asset]]
175
-
"""Dictionary of asset objects that can be downloaded, each with a unique key."""
176
-
177
-
collection: str|None
178
-
"""The id of the STAC Collection this Item references to.
179
-
180
-
This field is required if a link with a collection relation type is present and is not allowed otherwise."""
181
-
182
-
classProperties(TypedDict):
183
-
"""Additional metadata fields can be added to the GeoJSON Object Properties."""
184
-
185
-
datetime: str|None
186
-
"""The searchable date and time of the assets, which must be in UTC.
187
-
188
-
It is formatted according to RFC 3339, section 5.6. null is allowed, but requires start_datetime and end_datetime from common metadata to be set."""
189
-
190
-
classLink(TypedDict, total=False):
191
-
"""This object describes a relationship with another entity.
192
-
193
-
Data providers are advised to be liberal with the links section, to describe
194
-
things like the Catalog an Item is in, related Items, parent or child Items
195
-
(modeled in different ways, like an 'acquisition' or derived data)."""
196
-
197
-
href: Required[str]
198
-
"""The actual link in the format of an URL.
199
-
200
-
Relative and absolute links are both allowed. Trailing slashes are significant."""
201
-
202
-
rel: Required[str]
203
-
"""Relationship between the current document and the linked document."""
204
-
205
-
type: str|None
206
-
"""Media type of the referenced entity."""
207
-
208
-
title: str|None
209
-
"""A human readable title to be used in rendered displays of the link."""
210
-
211
-
method: str|None
212
-
"""The HTTP method that shall be used for the request to the target resource, in uppercase.
213
-
214
-
GET by default"""
215
-
216
-
headers: dict[str, str|list[str]] |None
217
-
"""The HTTP headers to be sent for the request to the target resource."""
218
-
219
-
body: Any|None
220
-
"""The HTTP body to be sent to the target resource."""
221
-
222
-
classAsset(TypedDict, total=False):
223
-
"""An Asset is an object that contains a URI to data associated with the Item that can be downloaded or streamed.
224
-
225
-
It is allowed to add additional fields."""
226
-
227
-
href: Required[str]
228
-
"""URI to the asset object. Relative and absolute URI are both allowed. Trailing slashes are significant."""
229
-
230
-
title: str|None
231
-
"""The displayed title for clients and users."""
232
-
233
-
description: str|None
234
-
"""A description of the Asset providing additional details, such as how it was processed or created.
235
-
236
-
CommonMark 0.29 syntax MAY be used for rich text representation."""
237
-
238
-
type: str|None
239
-
"""Media type of the asset.
240
-
241
-
See the common media types in the best practice doc for commonly used asset types."""
242
-
243
-
roles: list[str] |None
244
-
"""The semantic roles of the asset, similar to the use of rel in links."""
0 commit comments