Message Oracle LSX-00173 - ~S of ~S type is not a valid restriction of ~S of ~S type

ERROR~S of ~S type is not a valid restriction of ~S of ~S type
CAUSEThe schema component constraint, Particle Restriction OK (Elt: Elt -- NameAndTypeOK), was violated.
ACTIONModify either or both element declaration particles.