rules.schema.yml

config/schema/rules.schema.yml

File

config/schema/rules.schema.yml

View source
  1. # Schema for the configuration files of the Rules module.
  2. rules.component.*:
  3. type: config_entity
  4. label: 'Rules component'
  5. mapping:
  6. id:
  7. type: string
  8. label: 'ID'
  9. label:
  10. type: label
  11. label: 'Label'
  12. description:
  13. type: text
  14. label: 'Administrative description'
  15. tags:
  16. type: sequence
  17. label: Tags
  18. sequence:
  19. type: string
  20. label: 'Tag'
  21. config_version:
  22. type: string
  23. label: 'Configuration schema version'
  24. component:
  25. type: rules_component
  26. rules.reaction.*:
  27. type: config_entity
  28. label: 'Reaction rule'
  29. mapping:
  30. id:
  31. type: string
  32. label: 'ID'
  33. label:
  34. type: label
  35. label: 'Label'
  36. events:
  37. type: sequence
  38. label: 'Events'
  39. sequence:
  40. type: mapping
  41. label: 'Event'
  42. mapping:
  43. event_name:
  44. type: string
  45. label: 'Name'
  46. configuration:
  47. type: sequence
  48. label: 'Configuration'
  49. sequence:
  50. type: mapping
  51. description:
  52. type: text
  53. label: 'Administrative description'
  54. tags:
  55. type: sequence
  56. label: Tags
  57. sequence:
  58. type: string
  59. label: 'Tag'
  60. config_version:
  61. type: string
  62. label: 'Configuration schema version'
  63. expression:
  64. type: rules_expression.[id]
  65. label: 'Expression configuration'
  66. rules.settings:
  67. type: config_object
  68. label: 'Rules settings'
  69. mapping:
  70. system_log:
  71. type: mapping
  72. label: 'System logging'
  73. mapping:
  74. log_level:
  75. type: string
  76. label: 'Evaluation errors log level'
  77. debug_log:
  78. type: mapping
  79. label: 'Debug logging'
  80. mapping:
  81. enabled:
  82. type: boolean
  83. label: 'Enable debug logging to screen'
  84. system_debug:
  85. type: boolean
  86. label: 'Also log debug information to system log'
  87. log_level:
  88. type: string
  89. label: 'Debug log level'