<xs:simpleType name="EmployeePPSN" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:restriction base="pc:defaultString"> <xs:minLength value="8" /> <xs:maxLength value="10" /> <xs:pattern value="[0-9A-Za-z]*" /> </xs:restriction> </xs:simpleType>