Skip to content

Commit f06e4ce

Browse files
committed
Add missing instances schemas
Add the missing OpenAPI instances schemas
1 parent a91c0b5 commit f06e4ce

File tree

3 files changed

+31
-0
lines changed

3 files changed

+31
-0
lines changed

core/standard/openapi/schemas/collections/collection.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,11 @@ properties:
106106
properties:
107107
link:
108108
$ref: itemsLink.yaml
109+
instances:
110+
type: object
111+
properties:
112+
link:
113+
$ref: instancesLink.yaml
109114
crs:
110115
description: list of the coordinate reference systems the collection results can support
111116
type: array
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
description: Property to contain any extra metadata information that is specific
2+
to an individual data queries
3+
type: object
4+
properties:
5+
title:
6+
description: title of the query
7+
type: string
8+
example: Instances query
9+
description:
10+
description: description of the query
11+
type: string
12+
example: Instances of collection each representing different versions
13+
query_type:
14+
description: Instances of collection
15+
type: string
16+
enum:
17+
- instances
18+
example: instances
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
allOf:
2+
- $ref: ../core/link.yaml
3+
properties:
4+
href:
5+
type: string
6+
example: https://example.com/collections/monitoringsites/instances
7+
variables:
8+
$ref: instancesDataQuery.yaml

0 commit comments

Comments
 (0)