<xs:simpleType name="dpZeroesType"> <xs:restriction base="xs:string"> <xs:pattern value="Z(\d)+"/> </xs:restriction> </xs:simpleType>