Skip to main content

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

FieldTypeDefaultDescription
conditionBi-entity Condition TyperequiredThe 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.