<xs:simpleType name="FieldsToReturnType" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:restriction base="xs:string"> <xs:enumeration value="Full" /> <xs:enumeration value="NoJoin" /> <xs:enumeration value="ItemId" /> </xs:restriction> </xs:simpleType>