forked from radiantearth/stac-api-spec
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathopenapi.yaml
57 lines (55 loc) · 1.51 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
openapi: 3.0.3
info:
title: The SpatioTemporal Asset Catalog API - Fields
description: Adds parameter to control which fields are returned in the response.
version: 1.0.0-rc.1
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