kabielake
04/02/2024, 8:39 PMdefinition person {}
definition business {
relation owner: person
relation employee: person
}
definition bonus {
relation parent_business: business
relation bonus_granter: parent_business#owner //something like this
relation bonus_receiver: parent_business#employee //something like this
}
To clarify, is there any way to declare that bonus_granter
must not just be owner
of any business
, but must specifically be owner
of parent_business
?