<xs:attribute name="referralId"> <xs:simpleType> <xs:restriction base="xs:string" /> </xs:simpleType> </xs:attribute>