Oracle Message LSX-00170 - union must have memberTypes attribute or some simpleType children

ERRORunion must have memberTypes attribute or some simpleType children
CAUSEThere was no member type definition for the union declaration.
ACTIONAdd memberTypes attribute or simpleType children.