Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / workflows / config / schema / workflows.schema.yml
index e19eb6b892a5a9b6df800cd02aee256baf33e439..42a5d9728a79209c245aa23f5395de1f6c60724d 100644 (file)
@@ -13,39 +13,32 @@ workflows.workflow.*:
       label: 'Workflow type'
     type_settings:
       type: workflow.type_settings.[%parent.type]
-      label: 'Custom settings for workflow type'
-    states:
-      type: sequence
-      label: 'States'
-      sequence:
-        type: mapping
-        label: 'State'
-        mapping:
-          label:
-            type: label
-            label: 'Label'
-          weight:
-            type: integer
-            label: 'Weight'
-    transitions:
+
+workflows.state:
+  type: mapping
+  mapping:
+    label:
+      type: label
+      label: 'Label'
+    weight:
+      type: integer
+      label: 'Weight'
+
+workflows.transition:
+  type: mapping
+  mapping:
+    label:
+      type: label
+      label: 'Transition label'
+    from:
       type: sequence
-      label: 'Transitions'
+      label: 'From state IDs'
       sequence:
-        type: mapping
-        label: 'Transition from state to state'
-        mapping:
-          label:
-            type: label
-            label: 'Transition label'
-          from:
-            type: sequence
-            label: 'From state IDs'
-            sequence:
-              type: string
-              label: 'From state ID'
-          to:
-            type: string
-            label: 'To state ID'
-          weight:
-            type: integer
-            label: 'Weight'
+        type: string
+        label: 'From state ID'
+    to:
+      type: string
+      label: 'To state ID'
+    weight:
+      type: integer
+      label: 'Weight'