Rule actions

Each rule directive has an action. You can specify this explicitly:

- action: validate

With many rules it’s implicit which rule is applied. In the following example, the action is implied by the ‘predicate’ property,

- action: predicate
- predicate: id.exists()

So, the line with action: predicate provides no new information and can be left out anytime you are using command specific parameters:

- predicate: id.exists()

In the sub pages you can find the full list of all actions: