File: TestValidate.test_validate_examples%5Bexample0%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 (105 lines) | stat: -rw-r--r-- 4,936 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
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/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:30 GMT
      ETag:
      - '"3b514933a3747f038125935624a13df108e30fe1cb8f9660a7f54ac6d4765ce9"'
      Expires:
      - Thu, 23 Jan 2025 15:09:30 GMT
      Source-Age:
      - '0'
      Strict-Transport-Security:
      - max-age=31536000
      Vary:
      - Authorization,Accept-Encoding,Origin
      Via:
      - 1.1 varnish
      X-Cache:
      - MISS
      X-Cache-Hits:
      - '0'
      X-Content-Type-Options:
      - nosniff
      X-Fastly-Request-ID:
      - 0072fe4b9485f8d60f575097e38a8d2be57ea54d
      X-Frame-Options:
      - deny
      X-GitHub-Request-Id:
      - 5AA5:22F95D:20650F:23B5CA:67925A7C
      X-Served-By:
      - cache-den-kden1300051-DEN
      X-Timer:
      - S1737644670.048000,VS0,VE349
      X-XSS-Protection:
      - 1; mode=block
    status:
      code: 200
      message: OK
version: 1