Skip to content

Commit 912f1a5

Browse files
committed
Delete superfluous default values
Removing `default:` entries for `land` and `water` features because: 1. These are required properties so the default is superfluous. 2. The stated default values are the wrong type - an array is given but it should be a string.
1 parent 80660f8 commit 912f1a5

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

schema/base/land.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ properties:
2626
properties:
2727
subtype:
2828
description: Further description of the type of land cover, such as forest, glacier, grass, or a physical feature, such as a mountain peak.
29-
default: [land]
3029
type: string
3130
enum:
3231
- crater
@@ -44,7 +43,6 @@ properties:
4443
- wetland
4544
class:
4645
description: Further classification of type of landcover
47-
default: [land]
4846
type: string
4947
enum:
5048
- archipelago

schema/base/water.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ properties:
2626
properties:
2727
subtype:
2828
description: The type of water body such as an river, ocean or lake.
29-
default: [water]
3029
type: string
3130
enum:
3231
- canal
@@ -43,7 +42,6 @@ properties:
4342
- water
4443
class:
4544
description: Further description of the type of water
46-
default: [water]
4745
enum:
4846
- basin
4947
- bay

0 commit comments

Comments
 (0)