Project

General

Profile

Idea #9043 » inputs-post.json

Peter Amstutz, 07/13/2016 07:16 PM

 
{
"cwlVersion": "v1.0",
"inputs": [
{
"doc": "a longer documentation string for this parameter (optional)",
"type": "boolean",
"id": "file:///home/peter/work/exampleinputs.yml#ex_boolean",
"label": "a short label for this parameter (optional)"
},
{
"doc": "directory selection should present the workbench collection picker",
"type": "Directory",
"id": "file:///home/peter/work/exampleinputs.yml#ex_dir"
},
{
"type": "double",
"id": "file:///home/peter/work/exampleinputs.yml#ex_double"
},
{
"doc": "file selection should present the workbench file picker",
"type": "File",
"id": "file:///home/peter/work/exampleinputs.yml#ex_file"
},
{
"doc": "any parameter can be turned into an array with {\"type\": \"array\", \"items\": \"the_type\"}\n",
"type": {
"items": "File",
"type": "array"
},
"id": "file:///home/peter/work/exampleinputs.yml#ex_file_array"
},
{
"type": "float",
"id": "file:///home/peter/work/exampleinputs.yml#ex_float"
},
{
"type": "int",
"id": "file:///home/peter/work/exampleinputs.yml#ex_int"
},
{
"type": "long",
"id": "file:///home/peter/work/exampleinputs.yml#ex_long"
},
{
"doc": "any parameter can be turned into an optional array with [\"null\", {\"type\": \"array\", \"items\": \"the_type\"}\n",
"type": [
"null",
{
"items": "File",
"type": "array"
}
],
"id": "file:///home/peter/work/exampleinputs.yml#ex_opt_file_array"
},
{
"doc": "any parameter can be made optional by providing a union of [\"null\", \"the_type\"]\n",
"type": [
"null",
"string"
],
"id": "file:///home/peter/work/exampleinputs.yml#ex_opt_string"
},
{
"type": "string",
"id": "file:///home/peter/work/exampleinputs.yml#ex_string"
}
],
"id": "file:///home/peter/work/exampleinputs.yml"
}
(2-2/2)