File: TestValidate.test_validate_examples%5Bexample32%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 (93 lines) | stat: -rw-r--r-- 3,854 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
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.9.0/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.9.0\"\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      }\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:
      - '1766'
      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:36 GMT
      ETag:
      - '"c76fd44b22619705d40fb03a5b1d875e2e786f9ac7a85244758d15cc7cc947a9"'
      Expires:
      - Thu, 23 Jan 2025 15:09:36 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:
      - 7f5d156cba189065da8b3b9577df370561561105
      X-Frame-Options:
      - deny
      X-GitHub-Request-Id:
      - 32E3:1E98A2:24AA70:27FA55:67925A83
      X-Served-By:
      - cache-den-kden1300065-DEN
      X-Timer:
      - S1737644676.883611,VS0,VE316
      X-XSS-Protection:
      - 1; mode=block
    status:
      code: 200
      message: OK
version: 1