Skip to content

Commit

Permalink
Specify subtypes for a nicer UI in the Web Editor
Browse files Browse the repository at this point in the history
  • Loading branch information
m-mohr committed Sep 27, 2022
1 parent 5a574f8 commit d19ad09
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 d19ad09

Please sign in to comment.