Skip to content

Commit

Permalink
Merge pull request #2 from m-mohr/patch-1
Browse files Browse the repository at this point in the history
Specify subtypes for a nicer UI in the Web Editor
  • Loading branch information
PondiB committed Sep 27, 2022
2 parents 5a574f8 + d19ad09 commit bac7c78
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions R/processes.R
Original file line number Diff line number Diff line change
Expand Up @@ -121,14 +121,16 @@ load_collection = Process$new(
name = "time_aggregation",
description = "size of pixels in time-direction, expressed as ISO8601 period string (only 1 number and unit is allowed) such as \"P16D\".Default is monthly i.e. \"P1M\".",
schema = list(
type = "string"),
type = "string",
subtype = "duration"),
optional = TRUE
),
Parameter$new(
name = "crs",
description = "Coordinate Reference System, default = 4326",
schema = list(
type = "number"),
type = "number",
subtype = "epsg-code"),
optional = TRUE
)

Expand Down

0 comments on commit bac7c78

Please sign in to comment.