<xs:element name="OutOfServiceEvent"> <xs:complexType> <xs:attribute name="Status" type="CarStatus" use="required" /> <xs:attributeGroup ref="ED" /> </xs:complexType> </xs:element>