<xsd:complexType name="QuantityType"> <xsd:annotation> <xsd:documentation>A data type for a count or tally.</xsd:documentation> <xsd:appinfo> <i:Base i:name="NumericType" xmlns:i="http://niem.gov/niem/appinfo/2.0" /> </xsd:appinfo> </xsd:annotation> <xsd:simpleContent> <xsd:extension base="nc:NumericType"> <xsd:attribute ref="nc:quantityUnitText" use="optional" /> </xsd:extension> </xsd:simpleContent> </xsd:complexType>