Skip to content

Commit f7c2fb1

Browse files
authored
Merge pull request #397 from radiantearth/m-mohr-patch-1
Add explicit type restrictions
2 parents 95f0812 + b8f6622 commit f7c2fb1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

core/commons.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ components:
5353
$ref: '#/components/schemas/stac_extensions'
5454
type:
5555
type: string
56+
enum:
57+
- Catalog
5658
id:
5759
type: string
5860
title:
@@ -78,6 +80,8 @@ components:
7880
$ref: '#/components/schemas/stac_extensions'
7981
type:
8082
type: string
83+
enum:
84+
- Collection
8185
id:
8286
description: identifier of the collection used, for example, in URIs
8387
type: string

0 commit comments

Comments
 (0)