rules.expression.schema.yml

config/schema/rules.expression.schema.yml

File

config/schema/rules.expression.schema.yml

View source
  1. rules_expression:
  2. type: mapping
  3. label: 'Rules expression'
  4. mapping:
  5. id:
  6. type: string
  7. label: 'Plugin ID'
  8. uuid:
  9. type: string
  10. label: 'UUID'
  11. weight:
  12. type: integer
  13. label: 'Weight'
  14. rules_expression.*:
  15. type: rules_expression
  16. label: 'Rules expression default configuration'
  17. rules_expression.rules_condition:
  18. type: rules_expression
  19. label: 'Rules condition configuration'
  20. mapping:
  21. condition_id:
  22. type: string
  23. label: 'Condition plugin ID'
  24. negate:
  25. type: boolean
  26. label: 'Negated'
  27. context_values:
  28. type: rules.condition.context_values.[%parent.condition_id]
  29. label: 'Context values'
  30. context_mapping:
  31. type: rules.context.mapping
  32. label: 'Context mapping'
  33. context_processors:
  34. type: rules.context.processors
  35. label: 'Context processors'
  36. provides_mapping:
  37. type: rules.context.mapping
  38. label: 'Provided context mapping'
  39. rules_expression.rules_action:
  40. type: rules_expression
  41. label: 'Rules action configuration'
  42. mapping:
  43. action_id:
  44. type: string
  45. label: 'Action plugin ID'
  46. context_values:
  47. type: rules.action.context_values.[%parent.action_id]
  48. label: 'Context values'
  49. context_mapping:
  50. type: rules.context.mapping
  51. label: 'Context mapping'
  52. context_processors:
  53. type: rules.context.processors
  54. label: 'Context processors'
  55. provides_mapping:
  56. type: rules.context.mapping
  57. label: 'Provided context mapping'
  58. rules_expression.rules_and:
  59. type: rules_expression
  60. label: 'Rules And'
  61. mapping:
  62. negate:
  63. type: boolean
  64. label: 'Negate'
  65. conditions:
  66. type: sequence
  67. label: 'Conditions'
  68. sequence:
  69. - type: rules_expression.[id]
  70. rules_expression.rules_or:
  71. type: rules_expression
  72. label: 'Rules Or'
  73. mapping:
  74. negate:
  75. type: boolean
  76. label: 'Negate'
  77. conditions:
  78. type: sequence
  79. label: 'Conditions'
  80. sequence:
  81. - type: rules_expression.[id]
  82. rules_expression.rules_action_set:
  83. type: rules_expression
  84. label: 'Action set'
  85. mapping:
  86. actions:
  87. type: sequence
  88. label: 'Actions'
  89. sequence:
  90. - type: rules_expression.[id]
  91. rules_expression.rules_rule:
  92. type: rules_expression
  93. label: 'Rule'
  94. mapping:
  95. conditions:
  96. type: rules_expression.[id]
  97. label: 'Conditions'
  98. actions:
  99. type: rules_expression.[id]
  100. label: 'Actions'