<xsd:element name="TimeInterval" minOccurs="0"> <xsd:complexType> <xsd:simpleContent> <xsd:extension base="xsd:decimal"> <xsd:attribute name="roundingMethod" type="RoundingRuleEnumType" /> <xsd:attribute name="unitOfTime" type="xsd:string" /> </xsd:extension> </xsd:simpleContent> </xsd:complexType> </xsd:element>