Idea #9043 » inputs-post.json
1 |
{
|
---|---|
2 |
"cwlVersion": "v1.0", |
3 |
"inputs": [ |
4 |
{ |
5 |
"doc": "a longer documentation string for this parameter (optional)", |
6 |
"type": "boolean", |
7 |
"id": "file:///home/peter/work/exampleinputs.yml#ex_boolean", |
8 |
"label": "a short label for this parameter (optional)" |
9 |
}, |
10 |
{ |
11 |
"doc": "directory selection should present the workbench collection picker", |
12 |
"type": "Directory", |
13 |
"id": "file:///home/peter/work/exampleinputs.yml#ex_dir" |
14 |
}, |
15 |
{ |
16 |
"type": "double", |
17 |
"id": "file:///home/peter/work/exampleinputs.yml#ex_double" |
18 |
}, |
19 |
{ |
20 |
"doc": "file selection should present the workbench file picker", |
21 |
"type": "File", |
22 |
"id": "file:///home/peter/work/exampleinputs.yml#ex_file" |
23 |
}, |
24 |
{ |
25 |
"doc": "any parameter can be turned into an array with {\"type\": \"array\", \"items\": \"the_type\"}\n", |
26 |
"type": { |
27 |
"items": "File", |
28 |
"type": "array" |
29 |
}, |
30 |
"id": "file:///home/peter/work/exampleinputs.yml#ex_file_array" |
31 |
}, |
32 |
{ |
33 |
"type": "float", |
34 |
"id": "file:///home/peter/work/exampleinputs.yml#ex_float" |
35 |
}, |
36 |
{ |
37 |
"type": "int", |
38 |
"id": "file:///home/peter/work/exampleinputs.yml#ex_int" |
39 |
}, |
40 |
{ |
41 |
"type": "long", |
42 |
"id": "file:///home/peter/work/exampleinputs.yml#ex_long" |
43 |
}, |
44 |
{ |
45 |
"doc": "any parameter can be turned into an optional array with [\"null\", {\"type\": \"array\", \"items\": \"the_type\"}\n", |
46 |
"type": [ |
47 |
"null", |
48 |
{ |
49 |
"items": "File", |
50 |
"type": "array" |
51 |
} |
52 |
], |
53 |
"id": "file:///home/peter/work/exampleinputs.yml#ex_opt_file_array" |
54 |
}, |
55 |
{ |
56 |
"doc": "any parameter can be made optional by providing a union of [\"null\", \"the_type\"]\n", |
57 |
"type": [ |
58 |
"null", |
59 |
"string" |
60 |
], |
61 |
"id": "file:///home/peter/work/exampleinputs.yml#ex_opt_string" |
62 |
}, |
63 |
{ |
64 |
"type": "string", |
65 |
"id": "file:///home/peter/work/exampleinputs.yml#ex_string" |
66 |
} |
67 |
], |
68 |
"id": "file:///home/peter/work/exampleinputs.yml" |
69 |
}
|
- « Previous
- 1
- 2
- Next »