<xs:simpleType name="agentTAIN" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:restriction base="pc:defaultString"> <xs:pattern value="[0-9]{5}[A-Wa-w]" /> </xs:restriction> </xs:simpleType>