X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fworkflows%2Fconfig%2Fschema%2Fworkflows.schema.yml;h=42a5d9728a79209c245aa23f5395de1f6c60724d;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hp=e19eb6b892a5a9b6df800cd02aee256baf33e439;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;p=yaffs-website diff --git a/web/core/modules/workflows/config/schema/workflows.schema.yml b/web/core/modules/workflows/config/schema/workflows.schema.yml index e19eb6b89..42a5d9728 100644 --- a/web/core/modules/workflows/config/schema/workflows.schema.yml +++ b/web/core/modules/workflows/config/schema/workflows.schema.yml @@ -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'