You are here

business_rule.schema.yml in Business Rules 8

config/schema/business_rule.schema.yml

File

config/schema/business_rule.schema.yml
View source
  1. business_rules.business_rule.*:
  2. type: config_entity
  3. label: 'Rule config'
  4. mapping:
  5. id:
  6. type: string
  7. label: 'ID'
  8. label:
  9. type: label
  10. label: 'Label'
  11. uuid:
  12. type: string
  13. status:
  14. type: boolean
  15. lable: 'Status'
  16. description:
  17. type: text
  18. label: 'Description'
  19. reacts_on:
  20. type: string
  21. label: 'Reacts on'
  22. target_entity_type:
  23. type: string
  24. label: 'Entity type'
  25. target_bundle:
  26. type: string
  27. label: 'Bundle'
  28. items:
  29. type: sequence
  30. label: 'Business rule Items'
  31. sequence:
  32. type: business_rules.item
  33. tags:
  34. type: sequence
  35. label: 'Tags'
  36. sequence:
  37. type: string
  38. label: 'Tag'
  39. business_rules.item:
  40. type: mapping
  41. label: 'Item'
  42. mapping:
  43. type:
  44. type: string
  45. label: 'Item type' #Action | Condition
  46. id:
  47. type: string
  48. label: 'Item id'
  49. weight:
  50. type: integer
  51. label: 'Weight'