business_rule.schema.yml in Business Rules 8
config/schema/business_rule.schema.yml
File
config/schema/business_rule.schema.ymlView source
- business_rules.business_rule.*:
- type: config_entity
- label: 'Rule config'
- mapping:
- id:
- type: string
- label: 'ID'
- label:
- type: label
- label: 'Label'
- uuid:
- type: string
- status:
- type: boolean
- lable: 'Status'
- description:
- type: text
- label: 'Description'
- reacts_on:
- type: string
- label: 'Reacts on'
- target_entity_type:
- type: string
- label: 'Entity type'
- target_bundle:
- type: string
- label: 'Bundle'
- items:
- type: sequence
- label: 'Business rule Items'
- sequence:
- type: business_rules.item
- tags:
- type: sequence
- label: 'Tags'
- sequence:
- type: string
- label: 'Tag'
-
- business_rules.item:
- type: mapping
- label: 'Item'
- mapping:
- type:
- type: string
- label: 'Item type' #Action | Condition
- id:
- type: string
- label: 'Item id'
- weight:
- type: integer
- label: 'Weight'