entity ScreenTime;
entity UserGroup;
entity Album in [Album];
entity Photo in [Album] { owner: User };
entity User in [UserGroup] { account: Account };
entity Account { age: Long };

action edit appliesTo { principal: [User], resource: [Photo] };
action view appliesTo { principal: [User], resource: [Photo, ScreenTime] };
