Skip to content

Commit 4422c60

Browse files
authored
Simplify some enum types (#529)
1 parent 0100f9a commit 4422c60

File tree

3 files changed

+4
-12
lines changed

3 files changed

+4
-12
lines changed

proposals/ard_surface_reflectance.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,7 @@
3333
"description": "The atmospheric correction method to use.",
3434
"name": "atmospheric_correction_method",
3535
"schema": {
36-
"type": [
37-
"string"
38-
],
36+
"type": "string",
3937
"enum": [
4038
"FORCE",
4139
"iCOR"
@@ -46,9 +44,7 @@
4644
"description": "The cloud detection method to use.\n\nEach method supports detecting different atmospheric disturbances such as clouds, cloud shadows, aerosols, haze, ozone and/or water vapour in optical imagery.",
4745
"name": "cloud_detection_method",
4846
"schema": {
49-
"type": [
50-
"string"
51-
],
47+
"type": "string",
5248
"enum": [
5349
"Fmask",
5450
"s2cloudless",

proposals/atmospheric_correction.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,7 @@
3333
"name": "method",
3434
"schema": [
3535
{
36-
"type": [
37-
"string"
38-
],
36+
"type": "string",
3937
"enum": [
4038
"FORCE",
4139
"iCOR"

proposals/cloud_detection.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,7 @@
3333
"name": "method",
3434
"schema": [
3535
{
36-
"type": [
37-
"string"
38-
],
36+
"type": "string",
3937
"enum": [
4038
"Fmask",
4139
"s2cloudless",

0 commit comments

Comments
 (0)