PermissionModel is a metaclass so after you create...
# spicedb
p
PermissionModel is a metaclass so after you create a subclass of it, it rewrites the relations and permissions objects to fix references, and then when you export the schema each line evaluates more or less like a nested tree