-
Notifications
You must be signed in to change notification settings - Fork 2
/
output_schema_sample.yaml
44 lines (44 loc) · 1.2 KB
/
output_schema_sample.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
output_file_in_object:
type: object
value: {
"prop2": {"path": "{protocol}_{SRR}_test1.pdf", "thumbnail_path": "{protocol}_{SRR}_test1.png", "title": "test title"},
"prop1": {"path": "{protocol}_{SRR}_test1.pdf", "title": "test title"}
}
properties:
prop1:
type: file
prop2:
type: image
description: "Object output"
number_of_things:
type: integer
value: 1
description: "Number of things"
percentage_of_things:
type: number
description: "Percentage of things"
name_of_something:
type: string
description: "Name of something"
switch_value:
type: boolean
value: True
description: "Is the switch on of off"
collection_of_things:
type: array
value: [1, 2, 3]
description: "This store collection of values"
output_object_missing_value:
type: object
description: "Object output"
output_file:
type: file
description: "This a path to the output file"
output_file1:
type: file
value: {"path": "{protocol}_{SRR}_output_file1.pdf", "title": "test title"}
description: "This a path to the output file"
output_image:
type: image
value: {"path": "test2.pdf", "thumbnail_path": "test2.png", "title": "test title"}
description: "This a path to the output image"