Undirected (Bi-Entity Condition Type)
Checks a bi-entity condition both ways round, and passes if it holds with the actor and target as they are or with the two swapped.
Type ID: apoli:undirected
Fields
| Field | Type | Default | Description |
|---|---|---|---|
condition | Bi-entity Condition Type | required | The bi-entity condition to check. |
Examples
"bientity_condition": {
"type": "apoli:undirected",
"condition": {
"type": "apoli:owner"
}
}This checks whether the actor owns the target, or the target owns the actor.