<xs:complexType name="typicalLearningTime"> <xs:complexContent> <xs:extension base="Duration"> <xs:attributeGroup ref="ag:typicalLearningTime"/> <xs:attributeGroup ref="ex:customAttributes"/> </xs:extension> </xs:complexContent> </xs:complexType>