<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="result">
    <xs:complexType>
      <xs:sequence>
        <xs:element name="bicdata">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="row" maxOccurs="unbounded" minOccurs="0">
                <xs:complexType>
                  <xs:sequence>
                    <xs:element type="xs:string" name="modification_flag"/>
                    <xs:element type="xs:string" name="changed_field"/>
                    <xs:element type="xs:string" name="record_key"/>
                    <xs:element type="xs:string" name="previous_record_key"/>
                    <xs:element type="xs:string" name="next_record_key"/>
                    <xs:element type="xs:string" name="event_type"/>
                    <xs:element type="xs:int" name="event_date"/>
                    <xs:element type="xs:string" name="bic8"/>
                    <xs:element type="xs:string" name="branch_bic"/>
                    <xs:element type="xs:string" name="bic"/>
                    <xs:element type="xs:string" name="record_status"/>
                    <xs:element type="xs:string" name="operationally_active_record"/>
                    <xs:element type="xs:string" name="subtype_indicator"/>
                    <xs:element type="xs:string" name="swift_fin"/>
                    <xs:element type="xs:string" name="swift_fa"/>
                    <xs:element type="xs:string" name="swift_ia"/>
                    <xs:element type="xs:string" name="legal_name"/>
                    <xs:element type="xs:string" name="institution_name"/>
                    <xs:element type="xs:string" name="institution_type"/>
                    <xs:element type="xs:string" name="entity_type"/>
                    <xs:element type="xs:string" name="re_street_address_1"/>
                    <xs:element type="xs:string" name="re_street_address_2"/>
                    <xs:element type="xs:string" name="re_street_address_3"/>
                    <xs:element type="xs:string" name="re_street_address_4"/>
                    <xs:element type="xs:string" name="re_city"/>
                    <xs:element type="xs:string" name="re_cps"/>
                    <xs:element type="xs:string" name="re_zip_code"/>
                    <xs:element type="xs:string" name="re_pob_number"/>
                    <xs:element type="xs:string" name="op_street_address_1"/>
                    <xs:element type="xs:string" name="op_street_address_2"/>
                    <xs:element type="xs:string" name="op_street_address_3"/>
                    <xs:element type="xs:string" name="op_street_address_4"/>
                    <xs:element type="xs:string" name="op_city"/>
                    <xs:element type="xs:string" name="op_cps"/>
                    <xs:element type="xs:string" name="op_zip_code"/>
                    <xs:element type="xs:string" name="op_pob_number"/>
                    <xs:element type="xs:string" name="br_street_address_1"/>
                    <xs:element type="xs:string" name="br_street_address_2"/>
                    <xs:element type="xs:string" name="br_street_address_3"/>
                    <xs:element type="xs:string" name="br_street_address_4"/>
                    <xs:element type="xs:string" name="br_city"/>
                    <xs:element type="xs:string" name="br_cps"/>
                    <xs:element type="xs:string" name="br_zip_code"/>
                    <xs:element type="xs:string" name="br_pob_number"/>
                    <xs:element type="xs:string" name="branch_information"/>
                    <xs:element type="xs:string" name="country_name"/>
                    <xs:element type="xs:string" name="iso_country_code"/>
                    <xs:element type="xs:string" name="location_code"/>
                    <xs:element type="xs:string" name="fin_service_codes"/>
                    <xs:element type="xs:string" name="record_key_bdp"/>
                    <xs:element type="xs:string" name="field_a"/>
                    <xs:element type="xs:string" name="field_b"/>
                    <xs:element type="xs:string" name="field_c"/>
                    <xs:element type="xs:string" name="field_d"/>
                    <xs:element type="xs:string" name="field_e"/>
                    <xs:element type="xs:string" name="field_f"/>
                  </xs:sequence>
                </xs:complexType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="errors">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="error">
                <xs:complexType>
                  <xs:sequence>
                    <xs:element type="xs:short" name="code"/>
                    <xs:element type="xs:string" name="message"/>
                  </xs:sequence>
                </xs:complexType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>