repeated(oneof(Foo, Bar))
oneof(repeated(Foo), repeated(Bar))
So you have
repeated OneaofWrapper { oneof { Foo Bar } }