-
Notifications
You must be signed in to change notification settings - Fork 1
/
openapi.yaml
66 lines (64 loc) · 1.79 KB
/
openapi.yaml
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
openapi: 3.0.3
info:
title: STAC API - Fields Extension
version: 1.0.0-rc.3
description: Adds parameter to control which fields are returned in the response.
contact:
name: STAC Specification
url: 'http://stacspec.org'
license:
name: Apache License 2.0
url: 'http://www.apache.org/licenses/LICENSE-2.0'
x-conformance-classes:
- 'https://api.stacspec.org/v1.0.0/item-search#fields'
- 'https://api.stacspec.org/v1.0.0/ogcapi-features#fields'
paths: {}
components:
parameters:
fields:
name: fields
x-stac-api-fragment: fields
in: query
description: |-
**Extension:** Fields
Determines the shape of the features in the response
required: false
schema:
type: string
example: 'id,type,-geometry,bbox,properties,-links,-assets'
style: form
explode: false
schemas:
searchBody:
type: object
x-stac-api-fragment: fields
description: |-
**Extension:** Fields
Determines the shape of the features in the response
properties:
fields:
$ref: '#/components/schemas/fields'
fields:
description: |
The include and exclude members specify an array of
property names that are either included or excluded
from the result, respectively. If both include and
exclude are specified, include takes precedence.
Values should include the full JSON path of the property.
type: object
properties:
include:
type: array
items:
type: string
exclude:
type: array
items:
type: string
example:
include:
- id
- 'properties.eo:cloud_cover'
exclude:
- geometry
- properties.datetime