File: TestValidate.test_validate_examples%5Bexample15%5D.yaml

package info (click to toggle)
pystac 1.13.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 19,904 kB
  • sloc: python: 24,370; makefile: 124; sh: 7
file content (229 lines) | stat: -rw-r--r-- 11,905 bytes parent folder | download
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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
interactions:
- request:
    body: null
    headers:
      Connection:
      - close
      Host:
      - raw.githubusercontent.com
      User-Agent:
      - Python-urllib/3.12
    method: GET
    uri: https://raw.githubusercontent.com/radiantearth/stac-spec/v0.8.1/collection-spec/json-schema/collection.json
  response:
    body:
      string: "{\n  \"$schema\": \"http://json-schema.org/draft-07/schema#\",\n  \"$id\":
        \"collection.json#\",\n  \"title\": \"STAC Collection Specification\",\n  \"description\":
        \"This object represents Collections in a SpatioTemporal Asset Catalog.\",\n
        \ \"allOf\": [\n    {\n      \"$ref\": \"../../catalog-spec/json-schema/catalog.json\"\n
        \   },\n    {\n      \"$ref\": \"#/definitions/collection\"\n    }\n  ],\n
        \ \"definitions\": {\n    \"collection\": {\n      \"title\": \"STAC Collection\",\n
        \     \"description\": \"These are the fields specific to a STAC Collection.
        All other fields are inherited from STAC Catalog.\",\n      \"type\": \"object\",\n
        \     \"required\": [\n        \"license\",\n        \"extent\"\n      ],\n
        \     \"properties\": {\n        \"stac_extensions\": {\n          \"title\":
        \"STAC extensions\",\n          \"type\": \"array\",\n          \"uniqueItems\":
        true,\n          \"items\": {\n            \"anyOf\": [\n              {\n
        \               \"title\": \"Reference to a JSON Schema\",\n                \"type\":
        \"string\",\n                \"format\": \"uri\"\n              },\n              {\n
        \               \"title\": \"Reference to a core extension\",\n                \"type\":
        \"string\",\n                \"enum\": [\n                  \"asset\",\n                  \"checksum\",\n
        \                 \"scientific\"\n                ]\n              }\n            ]\n
        \         }\n        },\n        \"keywords\": {\n          \"title\": \"Keywords\",\n
        \         \"type\": \"array\",\n          \"items\": {\n            \"type\":
        \"string\"\n          }\n        },\n        \"version\": {\n          \"title\":
        \"Collection Version\",\n          \"type\": \"string\"\n        },\n        \"license\":
        {\n          \"title\": \"Collection License Name\",\n          \"type\":
        \"string\"\n        },\n        \"providers\": {\n          \"type\": \"array\",\n
        \         \"items\": {\n            \"properties\": {\n              \"name\":
        {\n                \"title\": \"Organization name\",\n                \"type\":
        \"string\"\n              },\n              \"description\": {\n                \"title\":
        \"Provider description\",\n                \"type\": \"string\"\n              },\n
        \             \"roles\": {\n                \"title\": \"Organization roles\",\n
        \               \"type\": \"array\",\n                \"items\": {\n                  \"type\":
        \"string\",\n                  \"enum\": [\n                    \"producer\",\n
        \                   \"licensor\",\n                    \"processor\",\n                    \"host\"\n
        \                 ]\n                }\n              },\n              \"url\":
        {\n                \"title\": \"Homepage\",\n                \"type\": \"string\",\n
        \               \"format\": \"url\"\n              }\n            }\n          }\n
        \       },\n        \"extent\": {\n          \"title\": \"Extents\",\n          \"type\":
        \"object\",\n          \"required\": [\n            \"spatial\",\n            \"temporal\"\n
        \         ],\n          \"properties\": {\n            \"spatial\": {\n              \"title\":
        \"Spatial extent object\",\n              \"type\": \"object\",\n              \"required\":
        [\n                \"bbox\"\n              ],\n              \"properties\":
        {\n                \"bbox\": {\n                  \"title\": \"Spatial extents\",\n
        \                 \"type\": \"array\",\n                  \"minItems\": 1,\n
        \                 \"items\": {\n                    \"title\": \"Spatial extent\",\n
        \                   \"type\": \"array\",\n                    \"minItems\":
        4,\n                    \"maxItems\": 6,\n                    \"items\": {\n
        \                     \"type\": \"number\"\n                    }\n                  }\n
        \               }\n              }\n            },\n            \"temporal\":
        {\n              \"title\": \"Temporal extent object\",\n              \"type\":
        \"object\",\n              \"required\": [\n                \"interval\"\n
        \             ],\n              \"properties\": {\n                \"interval\":
        {\n                  \"title\": \"Temporal extents\",\n                  \"type\":
        \"array\",\n                  \"minItems\": 1,\n                  \"items\":
        {\n                    \"title\": \"Temporal extent\",\n                    \"type\":
        \"array\",\n                    \"minItems\": 2,\n                    \"maxItems\":
        2,\n                    \"items\": {\n                      \"type\": [\n
        \                       \"string\",\n                        \"null\"\n                      ],\n
        \                     \"format\": \"date-time\"\n                    }\n                  }\n
        \               }\n              }\n            }\n          }\n        },\n
        \       \"properties\": {\n          \"title\": \"Common properties\",\n          \"type\":
        \"object\"\n        }\n      }\n    }\n  }\n}"
    headers:
      Accept-Ranges:
      - bytes
      Access-Control-Allow-Origin:
      - '*'
      Cache-Control:
      - max-age=300
      Connection:
      - close
      Content-Length:
      - '4394'
      Content-Security-Policy:
      - default-src 'none'; style-src 'unsafe-inline'; sandbox
      Content-Type:
      - text/plain; charset=utf-8
      Cross-Origin-Resource-Policy:
      - cross-origin
      Date:
      - Thu, 23 Jan 2025 15:04:32 GMT
      ETag:
      - '"031974beaaaf6f0b5c6877dc97088d9e2aff3bc8962df33ff291dddded353f09"'
      Expires:
      - Thu, 23 Jan 2025 15:09:32 GMT
      Source-Age:
      - '2'
      Strict-Transport-Security:
      - max-age=31536000
      Vary:
      - Authorization,Accept-Encoding,Origin
      Via:
      - 1.1 varnish
      X-Cache:
      - HIT
      X-Cache-Hits:
      - '1'
      X-Content-Type-Options:
      - nosniff
      X-Fastly-Request-ID:
      - 5f408e3419e818fa41899c5dcdf98459a143aaf6
      X-Frame-Options:
      - deny
      X-GitHub-Request-Id:
      - 31A4:2AEF76:21042C:245237:67925A7D
      X-Served-By:
      - cache-den-kden1300059-DEN
      X-Timer:
      - S1737644673.575234,VS0,VE1
      X-XSS-Protection:
      - 1; mode=block
    status:
      code: 200
      message: OK
- request:
    body: null
    headers:
      Connection:
      - close
      Host:
      - raw.githubusercontent.com
      User-Agent:
      - Python-urllib/3.12
    method: GET
    uri: https://raw.githubusercontent.com/radiantearth/stac-spec/v0.8.1/catalog-spec/json-schema/catalog.json
  response:
    body:
      string: "{\n  \"$schema\": \"http://json-schema.org/draft-07/schema#\",\n  \"$id\":
        \"catalog.json#\",\n  \"title\": \"STAC Catalog Specification\",\n  \"description\":
        \"This object represents Catalogs in a SpatioTemporal Asset Catalog.\",\n
        \ \"allOf\": [\n    {\n      \"$ref\": \"#/definitions/catalog\"\n    }\n
        \ ],\n  \"definitions\": {\n    \"catalog\": {\n      \"title\": \"Catalog\",\n
        \     \"type\": \"object\",\n      \"required\": [\n        \"stac_version\",\n
        \       \"id\",\n        \"description\",\n        \"links\"\n      ],\n      \"properties\":
        {\n        \"stac_version\": {\n          \"title\": \"STAC version\",\n          \"type\":
        \"string\",\n          \"const\": \"0.8.1\"\n        },\n        \"stac_extensions\":
        {\n          \"title\": \"STAC extensions\",\n          \"type\": \"array\",\n
        \         \"uniqueItems\": true,\n          \"items\": {\n            \"type\":
        \"string\"\n          }\n        },\n        \"id\": {\n          \"title\":
        \"Identifier\",\n          \"type\": \"string\"\n        },\n        \"title\":
        {\n          \"title\": \"Title\",\n          \"type\": \"string\"\n        },\n
        \       \"description\": {\n          \"title\": \"Description\",\n          \"type\":
        \"string\"\n        },\n        \"links\": {\n          \"title\": \"Links\",\n
        \         \"type\": \"array\",\n          \"items\": {\n            \"$ref\":
        \"#/definitions/link\"\n          }\n        },\n        \"summaries\": {\n
        \         \"$ref\": \"#/definitions/summaries\"\n        }\n      }\n    },\n
        \   \"summaries\": {\n      \"type\": \"object\",\n      \"additionalProperties\":
        {\n        \"oneOf\": [\n          {\n            \"title\": \"Stats\",\n
        \           \"type\": \"object\",\n            \"required\": [\n              \"min\",\n
        \             \"max\"\n            ],\n            \"properties\": {\n              \"min\":
        {\n                \"title\": \"Minimum value\",\n                \"type\":
        [\"number\", \"string\"]\n              },\n              \"max\": {\n                \"title\":
        \"Maximum value\",\n                \"type\": [\"number\", \"string\"]\n              }\n
        \           }\n          },\n          {\n            \"title\": \"Set of
        values\",\n            \"type\": \"array\",\n            \"minItems\": 1,\n
        \           \"items\": {\n              \"description\": \"Any data type could
        occur.\"\n            }\n          }\n        ]\n      }\n    },\n    \"link\":
        {\n      \"type\": \"object\",\n      \"required\": [\n        \"rel\",\n
        \       \"href\"\n      ],\n      \"properties\": {\n        \"href\": {\n
        \         \"title\": \"Link reference\",\n          \"type\": \"string\"\n
        \       },\n        \"rel\": {\n          \"title\": \"Link relation type\",\n
        \         \"type\": \"string\"\n        },\n        \"type\": {\n          \"title\":
        \"Link type\",\n          \"type\": \"string\"\n        },\n        \"title\":
        {\n          \"title\": \"Link title\",\n          \"type\": \"string\"\n
        \       }\n      }\n    }\n  }\n}\n"
    headers:
      Accept-Ranges:
      - bytes
      Access-Control-Allow-Origin:
      - '*'
      Cache-Control:
      - max-age=300
      Connection:
      - close
      Content-Length:
      - '2638'
      Content-Security-Policy:
      - default-src 'none'; style-src 'unsafe-inline'; sandbox
      Content-Type:
      - text/plain; charset=utf-8
      Cross-Origin-Resource-Policy:
      - cross-origin
      Date:
      - Thu, 23 Jan 2025 15:04:32 GMT
      ETag:
      - '"3b514933a3747f038125935624a13df108e30fe1cb8f9660a7f54ac6d4765ce9"'
      Expires:
      - Thu, 23 Jan 2025 15:09:32 GMT
      Source-Age:
      - '2'
      Strict-Transport-Security:
      - max-age=31536000
      Vary:
      - Authorization,Accept-Encoding,Origin
      Via:
      - 1.1 varnish
      X-Cache:
      - HIT
      X-Cache-Hits:
      - '1'
      X-Content-Type-Options:
      - nosniff
      X-Fastly-Request-ID:
      - 611475a21f012381a14e3b90d0ac37d23dbd1a12
      X-Frame-Options:
      - deny
      X-GitHub-Request-Id:
      - 5AA5:22F95D:20650F:23B5CA:67925A7C
      X-Served-By:
      - cache-den-kden1300061-DEN
      X-Timer:
      - S1737644673.595007,VS0,VE1
      X-XSS-Protection:
      - 1; mode=block
    status:
      code: 200
      message: OK
version: 1