e19eb6b892a5a9b6df800cd02aee256baf33e439
[yaffs-website] / web / core / modules / workflows / config / schema / workflows.schema.yml
1 workflows.workflow.*:
2   type: config_entity
3   label: 'Workflow'
4   mapping:
5     id:
6       type: string
7       label: 'ID'
8     label:
9       type: label
10       label: 'Label'
11     type:
12       type: string
13       label: 'Workflow type'
14     type_settings:
15       type: workflow.type_settings.[%parent.type]
16       label: 'Custom settings for workflow type'
17     states:
18       type: sequence
19       label: 'States'
20       sequence:
21         type: mapping
22         label: 'State'
23         mapping:
24           label:
25             type: label
26             label: 'Label'
27           weight:
28             type: integer
29             label: 'Weight'
30     transitions:
31       type: sequence
32       label: 'Transitions'
33       sequence:
34         type: mapping
35         label: 'Transition from state to state'
36         mapping:
37           label:
38             type: label
39             label: 'Transition label'
40           from:
41             type: sequence
42             label: 'From state IDs'
43             sequence:
44               type: string
45               label: 'From state ID'
46           to:
47             type: string
48             label: 'To state ID'
49           weight:
50             type: integer
51             label: 'Weight'