Realm schema for different object types in array

Has anyone managed to get multiple types to be accepted at all? Using anyOf in the Payload Type has been mentioned as a way but this hasn’t worked for me (and seemingly for others on this thread).

I’d really like to know if this can actually be achieved and see a working example.

cc @bolokos_bolokos