<xs:element name="GSTINNo" minOccurs="0"> <xs:simpleType> <xs:restriction base="nonEmptyString"> <xs:pattern value="[0-9]{2}[A-Z]{5}[0-9]{4}[A-Z][0-9A-Z]{3}" /> </xs:restriction> </xs:simpleType> </xs:element>