XSD
<xsd:complexType name="RecipientInfo">
<xsd:annotation>
<xsd:documentation>The OFX element "RECIPIENTINFO" is of type "RecipientInfo"</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="RECIPIENTNAME" type="ofx:GenericNameType">
<xsd:annotation>
<xsd:documentation>Recipient name</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:choice>
<xsd:annotation>
<xsd:documentation>Choice of either SSN or DOB. One must be present</xsd:documentation>
</xsd:annotation>
<xsd:element name="SSN" type="ofx:GenericNameType"/>
<xsd:element name="DOB" type="ofx:DateTimeType">
<xsd:annotation>
<xsd:documentation>IF the SSN is unknown you must provide the Date of Birth</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:choice>
<xsd:element name="SPOUSENAME" type="ofx:GenericNameType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Spouse name</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:choice>
<xsd:annotation>
<xsd:documentation>Choice of either SPOUSESSN or SPOUSEDOB. One must be present</xsd:documentation>
</xsd:annotation>
<xsd:element name="SPOUSESSN" type="ofx:GenericNameType" minOccurs="0"/>
<xsd:element name="SPOUSEDOB" type="ofx:DateTimeType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>If SpouseSSN unknown, you must proide the spouse DOB</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:choice>
<xsd:element name="ADDR1" type="ofx:AddressType"/>
<xsd:element name="ADDR2" type="ofx:AddressType" minOccurs="0"/>
<xsd:element name="CITY" type="ofx:AddressType"/>
<xsd:element name="STATE" type="ofx:StateType"/>
<xsd:element name="POSTALCODE" type="ofx:ZipType" minOccurs="0"/>
<xsd:element name="COUNTRYSTRING" type="ofx:CountryStringType" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>