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
|
interactions:
- request:
body: null
headers:
Connection:
- close
Host:
- schemas.stacspec.org
User-Agent:
- Python-urllib/3.12
method: GET
uri: https://schemas.stacspec.org/v1.0.0/collection-spec/json-schema/collection.json
response:
body:
string: "{\n \"$schema\": \"http://json-schema.org/draft-07/schema#\",\n \"$id\":
\"https://schemas.stacspec.org/v1.0.0/collection-spec/json-schema/collection.json#\",\n
\ \"title\": \"STAC Collection Specification\",\n \"description\": \"This
object represents Collections in a SpatioTemporal Asset Catalog.\",\n \"allOf\":
[\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 \"stac_version\",\n \"type\",\n \"id\",\n \"description\",\n
\ \"license\",\n \"extent\",\n \"links\"\n ],\n \"properties\":
{\n \"stac_version\": {\n \"title\": \"STAC version\",\n \"type\":
\"string\",\n \"const\": \"1.0.0\"\n },\n \"stac_extensions\":
{\n \"title\": \"STAC extensions\",\n \"type\": \"array\",\n
\ \"uniqueItems\": true,\n \"items\": {\n \"title\":
\"Reference to a JSON Schema\",\n \"type\": \"string\",\n \"format\":
\"iri\"\n }\n },\n \"type\": {\n \"title\":
\"Type of STAC entity\",\n \"const\": \"Collection\"\n },\n
\ \"id\": {\n \"title\": \"Identifier\",\n \"type\":
\"string\",\n \"minLength\": 1\n },\n \"title\": {\n
\ \"title\": \"Title\",\n \"type\": \"string\"\n },\n
\ \"description\": {\n \"title\": \"Description\",\n \"type\":
\"string\",\n \"minLength\": 1\n },\n \"keywords\":
{\n \"title\": \"Keywords\",\n \"type\": \"array\",\n \"items\":
{\n \"type\": \"string\"\n }\n },\n \"license\":
{\n \"title\": \"Collection License Name\",\n \"type\":
\"string\",\n \"pattern\": \"^[\\\\w\\\\-\\\\.\\\\+]+$\"\n },\n
\ \"providers\": {\n \"type\": \"array\",\n \"items\":
{\n \"type\": \"object\",\n \"required\": [\n \"name\"\n
\ ],\n \"properties\": {\n \"name\": {\n
\ \"title\": \"Organization name\",\n \"type\":
\"string\"\n },\n \"description\": {\n \"title\":
\"Organization 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\": \"Organization homepage\",\n \"type\":
\"string\",\n \"format\": \"iri\"\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 \"oneOf\":
[\n {\n \"minItems\":4,\n \"maxItems\":4\n
\ },\n {\n \"minItems\":6,\n
\ \"maxItems\":6\n }\n ],\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
\ \"pattern\": \"(\\\\+00:00|Z)$\"\n }\n
\ }\n }\n }\n }\n }\n
\ },\n \"assets\": {\n \"$ref\": \"../../item-spec/json-schema/item.json#/definitions/assets\"\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 \"link\": {\n \"type\": \"object\",\n
\ \"required\": [\n \"rel\",\n \"href\"\n ],\n \"properties\":
{\n \"href\": {\n \"title\": \"Link reference\",\n \"type\":
\"string\",\n \"format\": \"iri-reference\",\n \"minLength\":
1\n },\n \"rel\": {\n \"title\": \"Link relation type\",\n
\ \"type\": \"string\",\n \"minLength\": 1\n },\n
\ \"type\": {\n \"title\": \"Link type\",\n \"type\":
\"string\"\n },\n \"title\": {\n \"title\": \"Link
title\",\n \"type\": \"string\"\n }\n }\n },\n \"summaries\":
{\n \"type\": \"object\",\n \"additionalProperties\": {\n \"anyOf\":
[\n {\n \"title\": \"JSON Schema\",\n \"type\":
\"object\",\n \"minProperties\": 1,\n \"allOf\": [\n
\ {\n \"$ref\": \"http://json-schema.org/draft-07/schema\"\n
\ }\n ]\n },\n {\n \"title\":
\"Range\",\n \"type\": \"object\",\n \"required\": [\n
\ \"minimum\",\n \"maximum\"\n ],\n \"properties\":
{\n \"minimum\": {\n \"title\": \"Minimum value\",\n
\ \"type\": [\n \"number\",\n \"string\"\n
\ ]\n },\n \"maximum\": {\n \"title\":
\"Maximum value\",\n \"type\": [\n \"number\",\n
\ \"string\"\n ]\n }\n }\n
\ },\n {\n \"title\": \"Set of values\",\n \"type\":
\"array\",\n \"minItems\": 1,\n \"items\": {\n \"description\":
\"For each field only the original data type of the property can occur (except
for arrays), but we can't validate that in JSON Schema yet. See the sumamry
description in the STAC specification for details.\"\n }\n }\n
\ ]\n }\n }\n }\n}"
headers:
Accept-Ranges:
- bytes
Access-Control-Allow-Origin:
- '*'
Age:
- '2'
Cache-Control:
- max-age=600
Connection:
- close
Content-Length:
- '7209'
Content-Type:
- application/json; charset=utf-8
Date:
- Thu, 23 Jan 2025 15:04:57 GMT
ETag:
- '"66e1651c-1c29"'
Last-Modified:
- Wed, 11 Sep 2024 09:38:36 GMT
Server:
- GitHub.com
Vary:
- Accept-Encoding
Via:
- 1.1 varnish
X-Cache:
- HIT
X-Cache-Hits:
- '1'
X-Fastly-Request-ID:
- efd8ba3912d47c549c476e6efcfb4e880d911ac5
X-GitHub-Request-Id:
- 2D0C:EEC2E:118BF48:1417D6B:67925A96
X-Served-By:
- cache-den-kden1300025-DEN
X-Timer:
- S1737644697.431260,VS0,VE3
expires:
- Thu, 23 Jan 2025 15:14:55 GMT
x-origin-cache:
- HIT
x-proxy-cache:
- MISS
status:
code: 200
message: OK
version: 1
|