qonto_ofx 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (99) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +2 -0
  3. data/.rubocop.yml +1 -0
  4. data/.rubocop_todo.yml +68 -0
  5. data/Gemfile +6 -0
  6. data/Gemfile.lock +60 -0
  7. data/LICENSE.txt +21 -0
  8. data/README.md +34 -0
  9. data/Rakefile +11 -0
  10. data/bin/qonto_ofx +24 -0
  11. data/bin/setup +8 -0
  12. data/lib/api_gateway.rb +47 -0
  13. data/lib/base_validator.rb +17 -0
  14. data/lib/converter.rb +158 -0
  15. data/lib/ofx_validator.rb +17 -0
  16. data/lib/organization_validator.rb +17 -0
  17. data/lib/qonto_ofx/version.rb +3 -0
  18. data/lib/transactions_listing_validator.rb +17 -0
  19. data/qonto_ofx.gemspec +32 -0
  20. data/qonto_organization_schema.json +63 -0
  21. data/qonto_transactions_schema.json +175 -0
  22. data/schema/.DS_Store +0 -0
  23. data/schema/OFX2_Protocol.xsd +783 -0
  24. data/schema/OFX3_Protocol_dotNET.xsd +691 -0
  25. data/schema/OFX_Banking.xsd +119 -0
  26. data/schema/OFX_Banking_Message_Wrappers.xsd +399 -0
  27. data/schema/OFX_Banking_Messages.xsd +431 -0
  28. data/schema/OFX_BillPay.xsd +223 -0
  29. data/schema/OFX_BillPay_Message_Wrappers.xsd +343 -0
  30. data/schema/OFX_BillPay_Messages.xsd +412 -0
  31. data/schema/OFX_BillerDelivery.xsd +263 -0
  32. data/schema/OFX_BillerDelivery_Message_Wrappers.xsd +295 -0
  33. data/schema/OFX_BillerDelivery_Messages.xsd +259 -0
  34. data/schema/OFX_BillerDirectory.xsd +132 -0
  35. data/schema/OFX_BillerDirectory_Message_Wrappers.xsd +56 -0
  36. data/schema/OFX_BillerDirectory_Messages.xsd +86 -0
  37. data/schema/OFX_Common.xsd +2329 -0
  38. data/schema/OFX_CreditCard.xsd +45 -0
  39. data/schema/OFX_CreditCard_Message_Wrappers.xsd +88 -0
  40. data/schema/OFX_CreditCard_Messages.xsd +102 -0
  41. data/schema/OFX_Email.xsd +25 -0
  42. data/schema/OFX_Email_Message_Wrappers.xsd +129 -0
  43. data/schema/OFX_Email_Messages.xsd +72 -0
  44. data/schema/OFX_Image_Message_Wrappers.xsd +31 -0
  45. data/schema/OFX_Image_Messages.xsd +35 -0
  46. data/schema/OFX_InterTransfer.xsd +24 -0
  47. data/schema/OFX_InterTransfer_Message_Wrappers.xsd +195 -0
  48. data/schema/OFX_InterTransfer_Messages.xsd +256 -0
  49. data/schema/OFX_Investment.xsd +1358 -0
  50. data/schema/OFX_Investment_Message_Wrappers.xsd +162 -0
  51. data/schema/OFX_Investment_Messages.xsd +149 -0
  52. data/schema/OFX_Loan_Message_Wrappers.xsd +1 -0
  53. data/schema/OFX_Loan_Messages.xsd +124 -0
  54. data/schema/OFX_Loans.xsd +200 -0
  55. data/schema/OFX_Messages.xsd +18 -0
  56. data/schema/OFX_Profile.xsd +959 -0
  57. data/schema/OFX_Profile_Message_Wrappers.xsd +55 -0
  58. data/schema/OFX_Profile_Messages.xsd +96 -0
  59. data/schema/OFX_SecuritiesList.xsd +357 -0
  60. data/schema/OFX_SecuritiesList_Message_Wrappers.xsd +55 -0
  61. data/schema/OFX_SecuritiesList_Messages.xsd +55 -0
  62. data/schema/OFX_Signon.xsd +243 -0
  63. data/schema/OFX_Signon_Message_Wrappers.xsd +120 -0
  64. data/schema/OFX_Signon_Messages.xsd +211 -0
  65. data/schema/OFX_Signup.xsd +114 -0
  66. data/schema/OFX_Signup_Message_Wrappers.xsd +222 -0
  67. data/schema/OFX_Signup_Messages.xsd +153 -0
  68. data/schema/OFX_Tax1098.xsd +123 -0
  69. data/schema/OFX_Tax1098_Message_Wrappers.xsd +52 -0
  70. data/schema/OFX_Tax1098_Messages.xsd +65 -0
  71. data/schema/OFX_Tax1099.xsd +371 -0
  72. data/schema/OFX_Tax1099_Message_Wrappers.xsd +52 -0
  73. data/schema/OFX_Tax1099_Messages.xsd +50 -0
  74. data/schema/OFX_TaxW2.xsd +204 -0
  75. data/schema/OFX_TaxW2_Message_Wrappers.xsd +52 -0
  76. data/schema/OFX_TaxW2_Messages.xsd +58 -0
  77. data/schema/OFX_TypeDefinitions.xsd +98 -0
  78. data/schema/OFX_WireTransfer.xsd +88 -0
  79. data/schema/OFX_WireTransfer_Message_Wrappers.xsd +101 -0
  80. data/schema/OFX_WireTransfer_Messages.xsd +116 -0
  81. data/test/sample/ofx/invalid.xml +34 -0
  82. data/test/sample/ofx/malformed.xml +38 -0
  83. data/test/sample/ofx/test_result.xml +101 -0
  84. data/test/sample/ofx/valid.xml +38 -0
  85. data/test/sample/organization/invalid_format.txt +1 -0
  86. data/test/sample/organization/malformed.txt +1 -0
  87. data/test/sample/organization/valid_one_account.txt +1 -0
  88. data/test/sample/organization/valid_two_accounts.txt +1 -0
  89. data/test/sample/transactions/corp-1234-bank-account-1-FR0000000000000000000000001.txt +60 -0
  90. data/test/sample/transactions/corp-1234-bank-account-2-FR0000000000000000000000002-p1.txt +28 -0
  91. data/test/sample/transactions/corp-1234-bank-account-2-FR0000000000000000000000002-p2.txt +28 -0
  92. data/test/sample/transactions/invalid_format.txt +1 -0
  93. data/test/sample/transactions/malformed.txt +1 -0
  94. data/test/sample/transactions/valid.txt +1 -0
  95. data/test/test_converter.rb +51 -0
  96. data/test/test_ofx_validator.rb +25 -0
  97. data/test/test_organization_validator.rb +28 -0
  98. data/test/test_transactions_listing_validator.rb +23 -0
  99. metadata +314 -0
@@ -0,0 +1,2329 @@
1
+ <?xml version="1.0" encoding="utf-8" standalone="no"?>
2
+ <!--
3
+ Open Financial Exchange Specification (c)1996-2004 ("Specification") by all of its publishers:
4
+ CheckFree Corp., Intuit Inc., and Microsoft Corporation. All rights reserved.
5
+
6
+ Revision History:
7
+
8
+ Version Date Editor Email Addr Short Description
9
+
10
+ p14 2002-02-03 altenburgd@businesslogic.com Created abstract type 'Account'
11
+ and changed 'BankAccount' and
12
+ 'CreditCardAccount' to extend that type
13
+
14
+ p19 2002-02-18 altenburgd@businesslogic.com Inlined the AccountInfoMacro
15
+ p20 2002-03-10 altenburgd@businesslogic.com Created abstract type 'AbstractAccountInfo' and made BankAccountInfo, CreditCardAccountInfo,
16
+ BillPaymentAccountInfo, InvestmentAccountInfo, and PresentmentAccountInfo to extend it
17
+ Made InvestmentAccount and PresentmentAccount to extent abstract Account
18
+ p21 2002-03-17 altenburgd@businesslogic.com Renamed "Account" to "AbstractAccount"
19
+ Renamed "SyncRequest" to "AbstractSyncRequest"
20
+ Renamed "SyncResponse" to "AbstractSyncResponse"
21
+ Renamed "TransactionRequest" to "AbstractTransactionRequest"
22
+ Renamed "TransactionResponse" to "AbstractTransactionResponse"
23
+ Created AbstractRequest and made AbstractSyncRequest and AbstractTransactionRequest extend it
24
+ Created AbstractResponse and made AbstractSyncResponse and AbstractTransactionResponse extend it
25
+
26
+ p21 2002-03-17 altenburgd@businesslogic.com Changed elementFormDefault to "unqualified"
27
+ Changed namespace to "http://ofx.net/types/2003/04"
28
+ p23 2002-05-13 altenburgd@businesslogic.com Bugfixes based on Intuit Schema QA
29
+ RC2 2002-06-02 altenburgd@businesslogic.com Moved CLTCOOKIE to end on AbstractTransactionResponse
30
+ RC3 2002-06-02 altenburgd@businesslogic.com Changed RateType to restrict a decimal
31
+ RC4 2003-06-24 gil_clark@intuit.com Added collapse to fixed length, non-string types and enums.
32
+ RC5 2003-07-22 gil_clark@intuit.com Misc small bug fixes.
33
+ RC6 2003-07-30 gil_clark@intuit.com Min length for datetime type now 8, for time type now 6.
34
+ 2004-02-02 altenburgd@businesslogic.com Replaced maxLength facet with pattern facet in YearType gYear restriction
35
+ p1.1 2005-02-28 altenburgd@businesslogic.com Added Loan simple types
36
+ p2.1 2006-06-13 wendy_dubois@intuit.com small bug fixes
37
+ p 2.1 2007-08-02 altenburgd@businesslogic.com Made the LoanPaymentAmount's "ESCRWAMT" element be of type "EscrowAmount".
38
+ -->
39
+ <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ofx="http://ofx.net/types/2003/04" targetNamespace="http://ofx.net/types/2003/04" elementFormDefault="unqualified">
40
+ <xsd:annotation>
41
+ <xsd:documentation>
42
+ Common types and aggregates as defined in Chapter 3 of the specification document
43
+ </xsd:documentation>
44
+ </xsd:annotation>
45
+ <xsd:complexType name="AbstractAccount" abstract="true"/>
46
+ <xsd:complexType name="Balance">
47
+ <xsd:annotation>
48
+ <xsd:documentation>
49
+ The OFX element "BAL" is of type "Balance"
50
+ </xsd:documentation>
51
+ </xsd:annotation>
52
+ <xsd:sequence>
53
+ <xsd:element name="NAME" type="ofx:GenericNameType"/>
54
+ <xsd:element name="DESC" type="ofx:ShortMessageType"/>
55
+ <xsd:element name="BALTYPE" type="ofx:BalanceEnum"/>
56
+ <xsd:element name="VALUE" type="ofx:AmountType"/>
57
+ <xsd:element name="DTASOF" type="ofx:DateTimeType" minOccurs="0"/>
58
+ <xsd:element name="CURRENCY" type="ofx:Currency" minOccurs="0"/>
59
+ </xsd:sequence>
60
+ </xsd:complexType>
61
+ <xsd:complexType name="Status">
62
+ <xsd:annotation>
63
+ <xsd:documentation>
64
+ The OFX element "STATUS" is of type "Status"
65
+ </xsd:documentation>
66
+ </xsd:annotation>
67
+ <xsd:sequence>
68
+ <xsd:element name="CODE" type="ofx:ErrorType"/>
69
+ <xsd:element name="SEVERITY" type="ofx:SeverityEnum"/>
70
+ <xsd:element name="MESSAGE" type="ofx:MessageType" minOccurs="0"/>
71
+ </xsd:sequence>
72
+ </xsd:complexType>
73
+ <xsd:simpleType name="AccountEnum">
74
+ <xsd:annotation>
75
+ <xsd:documentation>
76
+ The OFX element "ACCTTYPE" is of type "AccountEnum"
77
+ </xsd:documentation>
78
+ </xsd:annotation>
79
+ <xsd:restriction base="xsd:string">
80
+ <xsd:whiteSpace value="collapse"/>
81
+ <xsd:enumeration value="CHECKING"/>
82
+ <xsd:enumeration value="SAVINGS"/>
83
+ <xsd:enumeration value="MONEYMRKT"/>
84
+ <xsd:enumeration value="CREDITLINE"/>
85
+ </xsd:restriction>
86
+ </xsd:simpleType>
87
+ <xsd:simpleType name="AccountIdType">
88
+ <xsd:annotation>
89
+ <xsd:documentation>
90
+ The OFX element "ACCTID" is of type "AccountIdType"
91
+ </xsd:documentation>
92
+ </xsd:annotation>
93
+ <xsd:restriction base="xsd:string">
94
+ <xsd:maxLength value="22"/>
95
+ <xsd:minLength value="1"/>
96
+ </xsd:restriction>
97
+ </xsd:simpleType>
98
+ <xsd:simpleType name="AddressType">
99
+ <xsd:annotation>
100
+ <xsd:documentation>
101
+ The OFX element "ADDRESS" is of type "AddressType"
102
+ </xsd:documentation>
103
+ </xsd:annotation>
104
+ <xsd:restriction base="xsd:string">
105
+ <xsd:maxLength value="32"/>
106
+ <xsd:minLength value="1"/>
107
+ </xsd:restriction>
108
+ </xsd:simpleType>
109
+ <xsd:simpleType name="AmountType">
110
+ <xsd:restriction base="xsd:string">
111
+ <xsd:maxLength value="32"/>
112
+ <xsd:minLength value="1"/>
113
+ <xsd:whiteSpace value="collapse"/>
114
+ <xsd:pattern value="[\+\-]?[0-9]*(([0-9][,\.]?)|([,\.][0-9]))[0-9]*"/>
115
+ </xsd:restriction>
116
+ </xsd:simpleType>
117
+ <xsd:simpleType name="BalanceEnum">
118
+ <xsd:annotation>
119
+ <xsd:documentation>
120
+ The OFX element "BALANCEENUM" is of type "BalanceEnum"
121
+ </xsd:documentation>
122
+ </xsd:annotation>
123
+ <xsd:restriction base="xsd:string">
124
+ <xsd:whiteSpace value="collapse"/>
125
+ <xsd:enumeration value="DOLLAR"/>
126
+ <xsd:enumeration value="PERCENT"/>
127
+ <xsd:enumeration value="NUMBER"/>
128
+ </xsd:restriction>
129
+ </xsd:simpleType>
130
+ <xsd:simpleType name="BankIdType">
131
+ <xsd:annotation>
132
+ <xsd:documentation>
133
+ The OFX element "BANKID" is of type "BankIdType"
134
+ </xsd:documentation>
135
+ </xsd:annotation>
136
+ <xsd:restriction base="xsd:string">
137
+ <xsd:maxLength value="9"/>
138
+ <xsd:minLength value="1"/>
139
+ </xsd:restriction>
140
+ </xsd:simpleType>
141
+ <xsd:simpleType name="BillRefInfoType">
142
+ <xsd:annotation>
143
+ <xsd:documentation>
144
+ The OFX element "BILLREFINFO" is of type "BillRefInfoType"
145
+ </xsd:documentation>
146
+ </xsd:annotation>
147
+ <xsd:restriction base="xsd:string">
148
+ <xsd:maxLength value="80"/>
149
+ <xsd:minLength value="1"/>
150
+ </xsd:restriction>
151
+ </xsd:simpleType>
152
+ <xsd:simpleType name="BooleanType">
153
+ <xsd:annotation>
154
+ <xsd:documentation>
155
+ The OFX element "BOOL" is of type "BooleanType"
156
+ </xsd:documentation>
157
+ </xsd:annotation>
158
+ <xsd:restriction base="xsd:string">
159
+ <xsd:enumeration value="Y"/>
160
+ <xsd:enumeration value="N"/>
161
+ </xsd:restriction>
162
+ </xsd:simpleType>
163
+ <xsd:simpleType name="BrokerIdType">
164
+ <xsd:annotation>
165
+ <xsd:documentation>
166
+ The OFX element "BROKERID" is of type "BrokerIdType"
167
+ </xsd:documentation>
168
+ </xsd:annotation>
169
+ <xsd:restriction base="xsd:string">
170
+ <xsd:maxLength value="22"/>
171
+ <xsd:minLength value="1"/>
172
+ </xsd:restriction>
173
+ </xsd:simpleType>
174
+ <xsd:simpleType name="CharType">
175
+ <xsd:annotation>
176
+ <xsd:documentation>
177
+ The OFX element "CHAR" is of type "CharType"
178
+ </xsd:documentation>
179
+ </xsd:annotation>
180
+ <xsd:restriction base="xsd:string">
181
+ <xsd:minLength value="1"/>
182
+ <xsd:maxLength value="1"/>
183
+ </xsd:restriction>
184
+ </xsd:simpleType>
185
+ <xsd:simpleType name="CheckNumberType">
186
+ <xsd:annotation>
187
+ <xsd:documentation>
188
+ The OFX element "CHECKNUM" is of type "CheckNumberType"
189
+ </xsd:documentation>
190
+ </xsd:annotation>
191
+ <xsd:restriction base="xsd:string">
192
+ <xsd:minLength value="1"/>
193
+ <xsd:maxLength value="12"/>
194
+ </xsd:restriction>
195
+ </xsd:simpleType>
196
+ <xsd:simpleType name="CorrectiveActionEnum">
197
+ <xsd:annotation>
198
+ <xsd:documentation>
199
+ The OFX element "CORRECTIVEACTENUM" is of type "CorrectiveActionEnum"
200
+ </xsd:documentation>
201
+ </xsd:annotation>
202
+ <xsd:restriction base="xsd:string">
203
+ <xsd:whiteSpace value="collapse"/>
204
+ <xsd:enumeration value="REPLACE"/>
205
+ <xsd:enumeration value="DELETE"/>
206
+ </xsd:restriction>
207
+ </xsd:simpleType>
208
+ <xsd:simpleType name="CountryStringType">
209
+ <xsd:annotation>
210
+ <xsd:documentation>
211
+ The OFX element "COUNTRYSTRING" is of type "CountryStringType"
212
+ </xsd:documentation>
213
+ </xsd:annotation>
214
+ <xsd:restriction base="xsd:string">
215
+ <xsd:minLength value="1"/>
216
+ <xsd:maxLength value="32"/>
217
+ </xsd:restriction>
218
+ </xsd:simpleType>
219
+ <xsd:simpleType name="CountryType">
220
+ <xsd:annotation>
221
+ <xsd:documentation>
222
+ Should be the three-letter country code from ISO/DIS-3166
223
+ The OFX element "COUNTRY" is of type "CountryType"
224
+ </xsd:documentation>
225
+ </xsd:annotation>
226
+ <xsd:restriction base="xsd:string">
227
+ <xsd:whiteSpace value="collapse"/>
228
+ <xsd:minLength value="1"/>
229
+ <xsd:maxLength value="3"/>
230
+ </xsd:restriction>
231
+ </xsd:simpleType>
232
+ <xsd:simpleType name="CurrencyEnum">
233
+ <xsd:annotation>
234
+ <xsd:documentation>
235
+ These values are based on the ISO-4217 three-letter currency identifiers.
236
+ The OFX element "CURRENCYENUM" is of type "CurrencyEnum".
237
+ </xsd:documentation>
238
+ </xsd:annotation>
239
+ <xsd:restriction base="xsd:string">
240
+ <xsd:whiteSpace value="collapse"/>
241
+ <xsd:enumeration value="AED"/>
242
+ <xsd:enumeration value="AFA"/>
243
+ <xsd:enumeration value="ALL"/>
244
+ <xsd:enumeration value="AMD"/>
245
+ <xsd:enumeration value="ANG"/>
246
+ <xsd:enumeration value="AOA"/>
247
+ <xsd:enumeration value="ARS"/>
248
+ <xsd:enumeration value="AUD"/>
249
+ <xsd:enumeration value="AWG"/>
250
+ <xsd:enumeration value="AZM"/>
251
+ <xsd:enumeration value="BAM"/>
252
+ <xsd:enumeration value="BBD"/>
253
+ <xsd:enumeration value="BDT"/>
254
+ <xsd:enumeration value="BGL"/>
255
+ <xsd:enumeration value="BHD"/>
256
+ <xsd:enumeration value="BIF"/>
257
+ <xsd:enumeration value="BMD"/>
258
+ <xsd:enumeration value="BND"/>
259
+ <xsd:enumeration value="BOB"/>
260
+ <xsd:enumeration value="BRL"/>
261
+ <xsd:enumeration value="BSD"/>
262
+ <xsd:enumeration value="BTN"/>
263
+ <xsd:enumeration value="BWP"/>
264
+ <xsd:enumeration value="BYR"/>
265
+ <xsd:enumeration value="BZD"/>
266
+ <xsd:enumeration value="CAD"/>
267
+ <xsd:enumeration value="CDF"/>
268
+ <xsd:enumeration value="CHF"/>
269
+ <xsd:enumeration value="CLP"/>
270
+ <xsd:enumeration value="CNY"/>
271
+ <xsd:enumeration value="COP"/>
272
+ <xsd:enumeration value="CRC"/>
273
+ <xsd:enumeration value="CUP"/>
274
+ <xsd:enumeration value="CVE"/>
275
+ <xsd:enumeration value="CYP"/>
276
+ <xsd:enumeration value="CZK"/>
277
+ <xsd:enumeration value="DJF"/>
278
+ <xsd:enumeration value="DKK"/>
279
+ <xsd:enumeration value="DOP"/>
280
+ <xsd:enumeration value="DZD"/>
281
+ <xsd:enumeration value="EEK"/>
282
+ <xsd:enumeration value="EGP"/>
283
+ <xsd:enumeration value="ERN"/>
284
+ <xsd:enumeration value="ETB"/>
285
+ <xsd:enumeration value="EUR"/>
286
+ <xsd:enumeration value="FJD"/>
287
+ <xsd:enumeration value="FKP"/>
288
+ <xsd:enumeration value="GBP"/>
289
+ <xsd:enumeration value="GEL"/>
290
+ <xsd:enumeration value="GGP"/>
291
+ <xsd:enumeration value="GHC"/>
292
+ <xsd:enumeration value="GIP"/>
293
+ <xsd:enumeration value="GMD"/>
294
+ <xsd:enumeration value="GNF"/>
295
+ <xsd:enumeration value="GTQ"/>
296
+ <xsd:enumeration value="GYD"/>
297
+ <xsd:enumeration value="HKD"/>
298
+ <xsd:enumeration value="HNL"/>
299
+ <xsd:enumeration value="HRK"/>
300
+ <xsd:enumeration value="HTG"/>
301
+ <xsd:enumeration value="HUF"/>
302
+ <xsd:enumeration value="IDR"/>
303
+ <xsd:enumeration value="ILS"/>
304
+ <xsd:enumeration value="IMP"/>
305
+ <xsd:enumeration value="INR"/>
306
+ <xsd:enumeration value="IQD"/>
307
+ <xsd:enumeration value="IRR"/>
308
+ <xsd:enumeration value="ISK"/>
309
+ <xsd:enumeration value="JEP"/>
310
+ <xsd:enumeration value="JMD"/>
311
+ <xsd:enumeration value="JOD"/>
312
+ <xsd:enumeration value="JPY"/>
313
+ <xsd:enumeration value="KES"/>
314
+ <xsd:enumeration value="KGS"/>
315
+ <xsd:enumeration value="KHR"/>
316
+ <xsd:enumeration value="KMF"/>
317
+ <xsd:enumeration value="KPW"/>
318
+ <xsd:enumeration value="KRW"/>
319
+ <xsd:enumeration value="KWD"/>
320
+ <xsd:enumeration value="KYD"/>
321
+ <xsd:enumeration value="KZT"/>
322
+ <xsd:enumeration value="LAK"/>
323
+ <xsd:enumeration value="LBP"/>
324
+ <xsd:enumeration value="LKR"/>
325
+ <xsd:enumeration value="LRD"/>
326
+ <xsd:enumeration value="LSL"/>
327
+ <xsd:enumeration value="LTL"/>
328
+ <xsd:enumeration value="LVL"/>
329
+ <xsd:enumeration value="LYD"/>
330
+ <xsd:enumeration value="MAD"/>
331
+ <xsd:enumeration value="MDL"/>
332
+ <xsd:enumeration value="MGF"/>
333
+ <xsd:enumeration value="MKD"/>
334
+ <xsd:enumeration value="MMK"/>
335
+ <xsd:enumeration value="MNT"/>
336
+ <xsd:enumeration value="MOP"/>
337
+ <xsd:enumeration value="MRO"/>
338
+ <xsd:enumeration value="MTL"/>
339
+ <xsd:enumeration value="MUR"/>
340
+ <xsd:enumeration value="MVR"/>
341
+ <xsd:enumeration value="MWK"/>
342
+ <xsd:enumeration value="MXN"/>
343
+ <xsd:enumeration value="MYR"/>
344
+ <xsd:enumeration value="MZM"/>
345
+ <xsd:enumeration value="NAD"/>
346
+ <xsd:enumeration value="NGN"/>
347
+ <xsd:enumeration value="NIO"/>
348
+ <xsd:enumeration value="NOK"/>
349
+ <xsd:enumeration value="NPR"/>
350
+ <xsd:enumeration value="NZD"/>
351
+ <xsd:enumeration value="OMR"/>
352
+ <xsd:enumeration value="PAB"/>
353
+ <xsd:enumeration value="PEN"/>
354
+ <xsd:enumeration value="PGK"/>
355
+ <xsd:enumeration value="PHP"/>
356
+ <xsd:enumeration value="PKR"/>
357
+ <xsd:enumeration value="PLN"/>
358
+ <xsd:enumeration value="PYG"/>
359
+ <xsd:enumeration value="QAR"/>
360
+ <xsd:enumeration value="ROL"/>
361
+ <xsd:enumeration value="RUR"/>
362
+ <xsd:enumeration value="RWF"/>
363
+ <xsd:enumeration value="SAR"/>
364
+ <xsd:enumeration value="SBD"/>
365
+ <xsd:enumeration value="SCR"/>
366
+ <xsd:enumeration value="SDD"/>
367
+ <xsd:enumeration value="SEK"/>
368
+ <xsd:enumeration value="SGD"/>
369
+ <xsd:enumeration value="SHP"/>
370
+ <xsd:enumeration value="SIT"/>
371
+ <xsd:enumeration value="SKK"/>
372
+ <xsd:enumeration value="SLL"/>
373
+ <xsd:enumeration value="SOS"/>
374
+ <xsd:enumeration value="SPL"/>
375
+ <xsd:enumeration value="SRG"/>
376
+ <xsd:enumeration value="STD"/>
377
+ <xsd:enumeration value="SVC"/>
378
+ <xsd:enumeration value="SYP"/>
379
+ <xsd:enumeration value="SZL"/>
380
+ <xsd:enumeration value="THB"/>
381
+ <xsd:enumeration value="TJS"/>
382
+ <xsd:enumeration value="TMM"/>
383
+ <xsd:enumeration value="TND"/>
384
+ <xsd:enumeration value="TOP"/>
385
+ <xsd:enumeration value="TRL"/>
386
+ <xsd:enumeration value="TTD"/>
387
+ <xsd:enumeration value="TVD"/>
388
+ <xsd:enumeration value="TWD"/>
389
+ <xsd:enumeration value="TZS"/>
390
+ <xsd:enumeration value="UAH"/>
391
+ <xsd:enumeration value="UGX"/>
392
+ <xsd:enumeration value="USD"/>
393
+ <xsd:enumeration value="UYU"/>
394
+ <xsd:enumeration value="UZS"/>
395
+ <xsd:enumeration value="VEB"/>
396
+ <xsd:enumeration value="VND"/>
397
+ <xsd:enumeration value="VUV"/>
398
+ <xsd:enumeration value="WST"/>
399
+ <xsd:enumeration value="XAF"/>
400
+ <xsd:enumeration value="XAG"/>
401
+ <xsd:enumeration value="XAU"/>
402
+ <xsd:enumeration value="XCD"/>
403
+ <xsd:enumeration value="XDR"/>
404
+ <xsd:enumeration value="XOF"/>
405
+ <xsd:enumeration value="XPD"/>
406
+ <xsd:enumeration value="XPF"/>
407
+ <xsd:enumeration value="XPT"/>
408
+ <xsd:enumeration value="YER"/>
409
+ <xsd:enumeration value="YUM"/>
410
+ <xsd:enumeration value="ZAR"/>
411
+ <xsd:enumeration value="ZMK"/>
412
+ <xsd:enumeration value="ZWD"/>
413
+ </xsd:restriction>
414
+ </xsd:simpleType>
415
+ <xsd:simpleType name="CusipType">
416
+ <xsd:annotation>
417
+ <xsd:documentation>
418
+ The OFX element "CUSIP" is of type "CusipType"
419
+ </xsd:documentation>
420
+ </xsd:annotation>
421
+ <xsd:restriction base="xsd:string">
422
+ <xsd:minLength value="1"/>
423
+ <xsd:maxLength value="32"/>
424
+ </xsd:restriction>
425
+ </xsd:simpleType>
426
+ <xsd:simpleType name="DayspanType">
427
+ <xsd:annotation>
428
+ <xsd:documentation>
429
+ The OFX element "DAYSPAN" is of type "DayspanType"
430
+ </xsd:documentation>
431
+ </xsd:annotation>
432
+ <xsd:restriction base="xsd:string">
433
+ <xsd:minLength value="1"/>
434
+ <xsd:maxLength value="3"/>
435
+ <xsd:whiteSpace value="collapse"/>
436
+ <xsd:pattern value="[0-9]+"/>
437
+ </xsd:restriction>
438
+ </xsd:simpleType>
439
+ <xsd:simpleType name="DateTimeType">
440
+ <xsd:annotation>
441
+ <xsd:documentation>
442
+ The OFX element "DTTM" is of type "DateTimeType"
443
+ </xsd:documentation>
444
+ </xsd:annotation>
445
+ <xsd:restriction base="xsd:string">
446
+ <xsd:whiteSpace value="collapse"/>
447
+ <xsd:minLength value="8"/>
448
+ <xsd:pattern value="[0-9]{4}((0[1-9])|(1[0-2]))((0[1-9])|([1-2][0-9])|(3[0-1]))|[0-9]{4}((0[1-9])|(1[0-2]))((0[1-9])|([1-2][0-9])|(3[0-1]))(([0-1][0-9])|(2[0-3]))[0-5][0-9](([0-5][0-9])|(60))|[0-9]{4}((0[1-9])|(1[0-2]))((0[1-9])|([1-2][0-9])|(3[0-1]))(([0-1][0-9])|(2[0-3]))[0-5][0-9](([0-5][0-9])|(60))\.[0-9]{3}|[0-9]{4}((0[1-9])|(1[0-2]))((0[1-9])|([1-2][0-9])|(3[0-1]))(([0-1][0-9])|(2[0-3]))[0-5][0-9](([0-5][0-9])|(60))\.[0-9]{3}(\[[\+\-]?.+(:.+)?\])?"/>
449
+ </xsd:restriction>
450
+ </xsd:simpleType>
451
+ <xsd:simpleType name="ErrorType">
452
+ <xsd:annotation>
453
+ <xsd:documentation>
454
+ The OFX element "ERROR" is of type "ErrorType"
455
+ </xsd:documentation>
456
+ </xsd:annotation>
457
+ <xsd:restriction base="xsd:string">
458
+ <xsd:minLength value="1"/>
459
+ <xsd:maxLength value="6"/>
460
+ <xsd:whiteSpace value="collapse"/>
461
+ <xsd:pattern value="[0-9]+"/>
462
+ </xsd:restriction>
463
+ </xsd:simpleType>
464
+ <xsd:simpleType name="FinancialInstitutionIdType">
465
+ <xsd:annotation>
466
+ <xsd:documentation>
467
+ The OFX element "FIID" is of type "FinancialInstitutionIdType"
468
+ </xsd:documentation>
469
+ </xsd:annotation>
470
+ <xsd:restriction base="xsd:string">
471
+ <xsd:minLength value="1"/>
472
+ <xsd:maxLength value="32"/>
473
+ </xsd:restriction>
474
+ </xsd:simpleType>
475
+ <xsd:simpleType name="FinancialInstitutionTransactionIdType">
476
+ <xsd:annotation>
477
+ <xsd:documentation>
478
+ The OFX element "FITID" is of type "FinancialInstitutionTransactionIdType"
479
+ </xsd:documentation>
480
+ </xsd:annotation>
481
+ <xsd:restriction base="xsd:string">
482
+ <xsd:minLength value="1"/>
483
+ <xsd:maxLength value="255"/>
484
+ </xsd:restriction>
485
+ </xsd:simpleType>
486
+ <xsd:simpleType name="FrequencyEnum">
487
+ <xsd:annotation>
488
+ <xsd:documentation>
489
+ The OFX element "FREQENUM" is of type "FrequencyEnum"
490
+ </xsd:documentation>
491
+ </xsd:annotation>
492
+ <xsd:restriction base="xsd:string">
493
+ <xsd:whiteSpace value="collapse"/>
494
+ <xsd:enumeration value="WEEKLY"/>
495
+ <xsd:enumeration value="BIWEEKLY"/>
496
+ <xsd:enumeration value="TWICEMONTHLY"/>
497
+ <xsd:enumeration value="MONTHLY"/>
498
+ <xsd:enumeration value="FOURWEEKS"/>
499
+ <xsd:enumeration value="BIMONTHLY"/>
500
+ <xsd:enumeration value="QUARTERLY"/>
501
+ <xsd:enumeration value="SEMIANNUALLY"/>
502
+ <xsd:enumeration value="ANNUALLY"/>
503
+ </xsd:restriction>
504
+ </xsd:simpleType>
505
+ <xsd:simpleType name="InvestmentFrequencyEnum">
506
+ <xsd:annotation>
507
+ <xsd:documentation>
508
+ The OFX element "FREQENUM" is of type "FrequencyEnum"
509
+ </xsd:documentation>
510
+ </xsd:annotation>
511
+ <xsd:restriction base="xsd:string">
512
+ <xsd:whiteSpace value="collapse"/>
513
+ <xsd:enumeration value="WEEKLY"/>
514
+ <xsd:enumeration value="BIWEEKLY"/>
515
+ <xsd:enumeration value="TWICEMONTHLY"/>
516
+ <xsd:enumeration value="MONTHLY"/>
517
+ <xsd:enumeration value="FOURWEEKS"/>
518
+ <xsd:enumeration value="BIMONTHLY"/>
519
+ <xsd:enumeration value="QUARTERLY"/>
520
+ <xsd:enumeration value="SEMIANNUALLY"/>
521
+ <xsd:enumeration value="ANNUALLY"/>
522
+ <xsd:enumeration value="OTHER"/>
523
+ </xsd:restriction>
524
+ </xsd:simpleType>
525
+ <xsd:simpleType name="GenericDescriptionType">
526
+ <xsd:annotation>
527
+ <xsd:documentation>
528
+ The OFX element "GENDESC" is of type "GenericDescriptionType"
529
+ </xsd:documentation>
530
+ </xsd:annotation>
531
+ <xsd:restriction base="xsd:string">
532
+ <xsd:minLength value="1"/>
533
+ <xsd:maxLength value="32"/>
534
+ </xsd:restriction>
535
+ </xsd:simpleType>
536
+ <xsd:simpleType name="GenericNameType">
537
+ <xsd:annotation>
538
+ <xsd:documentation>
539
+ The OFX element "GENNAME" is of type "GenericNameType"
540
+ </xsd:documentation>
541
+ </xsd:annotation>
542
+ <xsd:restriction base="xsd:string">
543
+ <xsd:minLength value="1"/>
544
+ <xsd:maxLength value="32"/>
545
+ </xsd:restriction>
546
+ </xsd:simpleType>
547
+ <xsd:simpleType name="IdType">
548
+ <xsd:annotation>
549
+ <xsd:documentation>
550
+ The OFX element "ID" is of type "IdType"
551
+ </xsd:documentation>
552
+ </xsd:annotation>
553
+ <xsd:restriction base="xsd:string">
554
+ <xsd:minLength value="1"/>
555
+ <xsd:maxLength value="32"/>
556
+ </xsd:restriction>
557
+ </xsd:simpleType>
558
+ <xsd:simpleType name="InfoType">
559
+ <xsd:annotation>
560
+ <xsd:documentation>
561
+ The OFX element "INFO" is of type "InfoType"
562
+ </xsd:documentation>
563
+ </xsd:annotation>
564
+ <xsd:restriction base="xsd:string">
565
+ <xsd:minLength value="1"/>
566
+ <xsd:maxLength value="360"/>
567
+ </xsd:restriction>
568
+ </xsd:simpleType>
569
+ <xsd:simpleType name="Investment401kSourceEnum">
570
+ <xsd:annotation>
571
+ <xsd:documentation>
572
+ The OFX element "INV401KSOURCEENUM" is of type "Investment401kSourceEnum"
573
+ </xsd:documentation>
574
+ </xsd:annotation>
575
+ <xsd:restriction base="xsd:string">
576
+ <xsd:whiteSpace value="collapse"/>
577
+ <xsd:enumeration value="PRETAX"/>
578
+ <xsd:enumeration value="AFTERTAX"/>
579
+ <xsd:enumeration value="MATCH"/>
580
+ <xsd:enumeration value="PROFITSHARING"/>
581
+ <xsd:enumeration value="ROLLOVER"/>
582
+ <xsd:enumeration value="OTHERVEST"/>
583
+ <xsd:enumeration value="OTHERNONVEST"/>
584
+ </xsd:restriction>
585
+ </xsd:simpleType>
586
+ <xsd:simpleType name="InvestmentAccountEnum">
587
+ <xsd:annotation>
588
+ <xsd:documentation>
589
+ The OFX element "INVESTMENTACCOUNTENUM" is of type "InvestmentAccountEnum"
590
+ </xsd:documentation>
591
+ </xsd:annotation>
592
+ <xsd:restriction base="xsd:string">
593
+ <xsd:whiteSpace value="collapse"/>
594
+ <xsd:enumeration value="INDIVIDUAL"/>
595
+ <xsd:enumeration value="JOINT"/>
596
+ <xsd:enumeration value="TRUST"/>
597
+ <xsd:enumeration value="CORPORATE"/>
598
+ </xsd:restriction>
599
+ </xsd:simpleType>
600
+ <xsd:simpleType name="InvestmentNumberType">
601
+ <xsd:annotation>
602
+ <xsd:documentation>
603
+ The OFX element "INVNO" is of type "InvestmentNumberType"
604
+ </xsd:documentation>
605
+ </xsd:annotation>
606
+ <xsd:restriction base="xsd:string">
607
+ <xsd:minLength value="1"/>
608
+ <xsd:maxLength value="32"/>
609
+ </xsd:restriction>
610
+ </xsd:simpleType>
611
+ <xsd:simpleType name="LanguageEnum">
612
+ <xsd:annotation>
613
+ <xsd:documentation>
614
+ The accepted values are based on the ISO-639 three-letter language codes.
615
+ The OFX element "LANGUAGEENUM" is of type "LanguageEnum"
616
+ </xsd:documentation>
617
+ </xsd:annotation>
618
+ <xsd:restriction base="xsd:string">
619
+ <xsd:whiteSpace value="collapse"/>
620
+ <xsd:enumeration value="AAR"/>
621
+ <xsd:enumeration value="ABK"/>
622
+ <xsd:enumeration value="ACE"/>
623
+ <xsd:enumeration value="ACH"/>
624
+ <xsd:enumeration value="ADA"/>
625
+ <xsd:enumeration value="AFA"/>
626
+ <xsd:enumeration value="AFH"/>
627
+ <xsd:enumeration value="AFR"/>
628
+ <xsd:enumeration value="AKA"/>
629
+ <xsd:enumeration value="AKK"/>
630
+ <xsd:enumeration value="ALB"/>
631
+ <xsd:enumeration value="ALE"/>
632
+ <xsd:enumeration value="ALG"/>
633
+ <xsd:enumeration value="AMH"/>
634
+ <xsd:enumeration value="ANG"/>
635
+ <xsd:enumeration value="APA"/>
636
+ <xsd:enumeration value="ARA"/>
637
+ <xsd:enumeration value="ARC"/>
638
+ <xsd:enumeration value="ARG"/>
639
+ <xsd:enumeration value="ARM"/>
640
+ <xsd:enumeration value="ARN"/>
641
+ <xsd:enumeration value="ARP"/>
642
+ <xsd:enumeration value="ART"/>
643
+ <xsd:enumeration value="ARW"/>
644
+ <xsd:enumeration value="ASM"/>
645
+ <xsd:enumeration value="AST"/>
646
+ <xsd:enumeration value="ATH"/>
647
+ <xsd:enumeration value="AUS"/>
648
+ <xsd:enumeration value="AVA"/>
649
+ <xsd:enumeration value="AVE"/>
650
+ <xsd:enumeration value="AWA"/>
651
+ <xsd:enumeration value="AYM"/>
652
+ <xsd:enumeration value="AZE"/>
653
+ <xsd:enumeration value="BAD"/>
654
+ <xsd:enumeration value="BAI"/>
655
+ <xsd:enumeration value="BAK"/>
656
+ <xsd:enumeration value="BAL"/>
657
+ <xsd:enumeration value="BAM"/>
658
+ <xsd:enumeration value="BAN"/>
659
+ <xsd:enumeration value="BAQ"/>
660
+ <xsd:enumeration value="BAS"/>
661
+ <xsd:enumeration value="BAT"/>
662
+ <xsd:enumeration value="BEJ"/>
663
+ <xsd:enumeration value="BEL"/>
664
+ <xsd:enumeration value="BEM"/>
665
+ <xsd:enumeration value="BEN"/>
666
+ <xsd:enumeration value="BER"/>
667
+ <xsd:enumeration value="BHO"/>
668
+ <xsd:enumeration value="BIH"/>
669
+ <xsd:enumeration value="BIK"/>
670
+ <xsd:enumeration value="BIN"/>
671
+ <xsd:enumeration value="BIS"/>
672
+ <xsd:enumeration value="BLA"/>
673
+ <xsd:enumeration value="BNT"/>
674
+ <xsd:enumeration value="BOS"/>
675
+ <xsd:enumeration value="BRA"/>
676
+ <xsd:enumeration value="BRE"/>
677
+ <xsd:enumeration value="BTK"/>
678
+ <xsd:enumeration value="BUA"/>
679
+ <xsd:enumeration value="BUG"/>
680
+ <xsd:enumeration value="BUL"/>
681
+ <xsd:enumeration value="BUR"/>
682
+ <xsd:enumeration value="CAD"/>
683
+ <xsd:enumeration value="CAI"/>
684
+ <xsd:enumeration value="CAR"/>
685
+ <xsd:enumeration value="CAT"/>
686
+ <xsd:enumeration value="CAU"/>
687
+ <xsd:enumeration value="CEB"/>
688
+ <xsd:enumeration value="CEL"/>
689
+ <xsd:enumeration value="CHA"/>
690
+ <xsd:enumeration value="CHB"/>
691
+ <xsd:enumeration value="CHE"/>
692
+ <xsd:enumeration value="CHG"/>
693
+ <xsd:enumeration value="CHI"/>
694
+ <xsd:enumeration value="CHK"/>
695
+ <xsd:enumeration value="CHM"/>
696
+ <xsd:enumeration value="CHN"/>
697
+ <xsd:enumeration value="CHO"/>
698
+ <xsd:enumeration value="CHP"/>
699
+ <xsd:enumeration value="CHR"/>
700
+ <xsd:enumeration value="CHU"/>
701
+ <xsd:enumeration value="CHV"/>
702
+ <xsd:enumeration value="CHY"/>
703
+ <xsd:enumeration value="CMC"/>
704
+ <xsd:enumeration value="COP"/>
705
+ <xsd:enumeration value="COR"/>
706
+ <xsd:enumeration value="COS"/>
707
+ <xsd:enumeration value="CPE"/>
708
+ <xsd:enumeration value="CPF"/>
709
+ <xsd:enumeration value="CPP"/>
710
+ <xsd:enumeration value="CRE"/>
711
+ <xsd:enumeration value="CRP"/>
712
+ <xsd:enumeration value="CUS"/>
713
+ <xsd:enumeration value="CZE"/>
714
+ <xsd:enumeration value="DAK"/>
715
+ <xsd:enumeration value="DAN"/>
716
+ <xsd:enumeration value="DAR"/>
717
+ <xsd:enumeration value="DAY"/>
718
+ <xsd:enumeration value="DEL"/>
719
+ <xsd:enumeration value="DEN"/>
720
+ <xsd:enumeration value="DGR"/>
721
+ <xsd:enumeration value="DIN"/>
722
+ <xsd:enumeration value="DIV"/>
723
+ <xsd:enumeration value="DOI"/>
724
+ <xsd:enumeration value="DRA"/>
725
+ <xsd:enumeration value="DUA"/>
726
+ <xsd:enumeration value="DUM"/>
727
+ <xsd:enumeration value="DUT"/>
728
+ <xsd:enumeration value="DYU"/>
729
+ <xsd:enumeration value="DZO"/>
730
+ <xsd:enumeration value="EFI"/>
731
+ <xsd:enumeration value="EGY"/>
732
+ <xsd:enumeration value="EKA"/>
733
+ <xsd:enumeration value="ELX"/>
734
+ <xsd:enumeration value="ENG"/>
735
+ <xsd:enumeration value="ENM"/>
736
+ <xsd:enumeration value="EPO"/>
737
+ <xsd:enumeration value="EST"/>
738
+ <xsd:enumeration value="EWE"/>
739
+ <xsd:enumeration value="EWO"/>
740
+ <xsd:enumeration value="FAN"/>
741
+ <xsd:enumeration value="FAO"/>
742
+ <xsd:enumeration value="FAT"/>
743
+ <xsd:enumeration value="FIJ"/>
744
+ <xsd:enumeration value="FIN"/>
745
+ <xsd:enumeration value="FIU"/>
746
+ <xsd:enumeration value="FON"/>
747
+ <xsd:enumeration value="FRE"/>
748
+ <xsd:enumeration value="FRM"/>
749
+ <xsd:enumeration value="FRO"/>
750
+ <xsd:enumeration value="FRY"/>
751
+ <xsd:enumeration value="FUL"/>
752
+ <xsd:enumeration value="FUR"/>
753
+ <xsd:enumeration value="GAA"/>
754
+ <xsd:enumeration value="GAY"/>
755
+ <xsd:enumeration value="GBA"/>
756
+ <xsd:enumeration value="GEM"/>
757
+ <xsd:enumeration value="GEO"/>
758
+ <xsd:enumeration value="GER"/>
759
+ <xsd:enumeration value="GEZ"/>
760
+ <xsd:enumeration value="GIL"/>
761
+ <xsd:enumeration value="GLA"/>
762
+ <xsd:enumeration value="GLE"/>
763
+ <xsd:enumeration value="GLG"/>
764
+ <xsd:enumeration value="GLV"/>
765
+ <xsd:enumeration value="GMH"/>
766
+ <xsd:enumeration value="GOH"/>
767
+ <xsd:enumeration value="GON"/>
768
+ <xsd:enumeration value="GOR"/>
769
+ <xsd:enumeration value="GOT"/>
770
+ <xsd:enumeration value="GRB"/>
771
+ <xsd:enumeration value="GRC"/>
772
+ <xsd:enumeration value="GRE"/>
773
+ <xsd:enumeration value="GRN"/>
774
+ <xsd:enumeration value="GUJ"/>
775
+ <xsd:enumeration value="GWI"/>
776
+ <xsd:enumeration value="HAI"/>
777
+ <xsd:enumeration value="HAU"/>
778
+ <xsd:enumeration value="HAW"/>
779
+ <xsd:enumeration value="HEB"/>
780
+ <xsd:enumeration value="HER"/>
781
+ <xsd:enumeration value="HIL"/>
782
+ <xsd:enumeration value="HIM"/>
783
+ <xsd:enumeration value="HIN"/>
784
+ <xsd:enumeration value="HIT"/>
785
+ <xsd:enumeration value="HMN"/>
786
+ <xsd:enumeration value="HMO"/>
787
+ <xsd:enumeration value="HUN"/>
788
+ <xsd:enumeration value="HUP"/>
789
+ <xsd:enumeration value="IBA"/>
790
+ <xsd:enumeration value="IBO"/>
791
+ <xsd:enumeration value="ICE"/>
792
+ <xsd:enumeration value="IDO"/>
793
+ <xsd:enumeration value="III"/>
794
+ <xsd:enumeration value="IJO"/>
795
+ <xsd:enumeration value="IKU"/>
796
+ <xsd:enumeration value="ILE"/>
797
+ <xsd:enumeration value="ILO"/>
798
+ <xsd:enumeration value="INA"/>
799
+ <xsd:enumeration value="INC"/>
800
+ <xsd:enumeration value="IND"/>
801
+ <xsd:enumeration value="INE"/>
802
+ <xsd:enumeration value="INH"/>
803
+ <xsd:enumeration value="IPK"/>
804
+ <xsd:enumeration value="IRA"/>
805
+ <xsd:enumeration value="IRO"/>
806
+ <xsd:enumeration value="ITA"/>
807
+ <xsd:enumeration value="JAV"/>
808
+ <xsd:enumeration value="JPN"/>
809
+ <xsd:enumeration value="JPR"/>
810
+ <xsd:enumeration value="JRB"/>
811
+ <xsd:enumeration value="KAA"/>
812
+ <xsd:enumeration value="KAB"/>
813
+ <xsd:enumeration value="KAC"/>
814
+ <xsd:enumeration value="KAL"/>
815
+ <xsd:enumeration value="KAM"/>
816
+ <xsd:enumeration value="KAN"/>
817
+ <xsd:enumeration value="KAR"/>
818
+ <xsd:enumeration value="KAS"/>
819
+ <xsd:enumeration value="KAU"/>
820
+ <xsd:enumeration value="KAW"/>
821
+ <xsd:enumeration value="KAZ"/>
822
+ <xsd:enumeration value="KBD"/>
823
+ <xsd:enumeration value="KHA"/>
824
+ <xsd:enumeration value="KHI"/>
825
+ <xsd:enumeration value="KHM"/>
826
+ <xsd:enumeration value="KHO"/>
827
+ <xsd:enumeration value="KIK"/>
828
+ <xsd:enumeration value="KIN"/>
829
+ <xsd:enumeration value="KIR"/>
830
+ <xsd:enumeration value="KMB"/>
831
+ <xsd:enumeration value="KOK"/>
832
+ <xsd:enumeration value="KOM"/>
833
+ <xsd:enumeration value="KON"/>
834
+ <xsd:enumeration value="KOR"/>
835
+ <xsd:enumeration value="KOS"/>
836
+ <xsd:enumeration value="KPE"/>
837
+ <xsd:enumeration value="KRO"/>
838
+ <xsd:enumeration value="KRU"/>
839
+ <xsd:enumeration value="KUA"/>
840
+ <xsd:enumeration value="KUM"/>
841
+ <xsd:enumeration value="KUR"/>
842
+ <xsd:enumeration value="KUT"/>
843
+ <xsd:enumeration value="LAD"/>
844
+ <xsd:enumeration value="LAH"/>
845
+ <xsd:enumeration value="LAM"/>
846
+ <xsd:enumeration value="LAO"/>
847
+ <xsd:enumeration value="LAT"/>
848
+ <xsd:enumeration value="LAV"/>
849
+ <xsd:enumeration value="LEZ"/>
850
+ <xsd:enumeration value="LIM"/>
851
+ <xsd:enumeration value="LIN"/>
852
+ <xsd:enumeration value="LIT"/>
853
+ <xsd:enumeration value="LOL"/>
854
+ <xsd:enumeration value="LOZ"/>
855
+ <xsd:enumeration value="LTZ"/>
856
+ <xsd:enumeration value="LUA"/>
857
+ <xsd:enumeration value="LUB"/>
858
+ <xsd:enumeration value="LUG"/>
859
+ <xsd:enumeration value="LUI"/>
860
+ <xsd:enumeration value="LUN"/>
861
+ <xsd:enumeration value="LUO"/>
862
+ <xsd:enumeration value="LUS"/>
863
+ <xsd:enumeration value="MAC"/>
864
+ <xsd:enumeration value="MAD"/>
865
+ <xsd:enumeration value="MAG"/>
866
+ <xsd:enumeration value="MAH"/>
867
+ <xsd:enumeration value="MAI"/>
868
+ <xsd:enumeration value="MAK"/>
869
+ <xsd:enumeration value="MAL"/>
870
+ <xsd:enumeration value="MAN"/>
871
+ <xsd:enumeration value="MAO"/>
872
+ <xsd:enumeration value="MAP"/>
873
+ <xsd:enumeration value="MAR"/>
874
+ <xsd:enumeration value="MAS"/>
875
+ <xsd:enumeration value="MAY"/>
876
+ <xsd:enumeration value="MDR"/>
877
+ <xsd:enumeration value="MEN"/>
878
+ <xsd:enumeration value="MGA"/>
879
+ <xsd:enumeration value="MIC"/>
880
+ <xsd:enumeration value="MIN"/>
881
+ <xsd:enumeration value="MIS"/>
882
+ <xsd:enumeration value="MKH"/>
883
+ <xsd:enumeration value="MLG"/>
884
+ <xsd:enumeration value="MLT"/>
885
+ <xsd:enumeration value="MNC"/>
886
+ <xsd:enumeration value="MNI"/>
887
+ <xsd:enumeration value="MNO"/>
888
+ <xsd:enumeration value="MOH"/>
889
+ <xsd:enumeration value="MOL"/>
890
+ <xsd:enumeration value="MON"/>
891
+ <xsd:enumeration value="MOS"/>
892
+ <xsd:enumeration value="MUL"/>
893
+ <xsd:enumeration value="MUN"/>
894
+ <xsd:enumeration value="MUS"/>
895
+ <xsd:enumeration value="MWR"/>
896
+ <xsd:enumeration value="MYN"/>
897
+ <xsd:enumeration value="NAH"/>
898
+ <xsd:enumeration value="NAI"/>
899
+ <xsd:enumeration value="NAP"/>
900
+ <xsd:enumeration value="NAU"/>
901
+ <xsd:enumeration value="NAV"/>
902
+ <xsd:enumeration value="NBL"/>
903
+ <xsd:enumeration value="NDE"/>
904
+ <xsd:enumeration value="NDO"/>
905
+ <xsd:enumeration value="NDS"/>
906
+ <xsd:enumeration value="NEP"/>
907
+ <xsd:enumeration value="NEW"/>
908
+ <xsd:enumeration value="NIA"/>
909
+ <xsd:enumeration value="NIC"/>
910
+ <xsd:enumeration value="NIU"/>
911
+ <xsd:enumeration value="NNO"/>
912
+ <xsd:enumeration value="NOB"/>
913
+ <xsd:enumeration value="NON"/>
914
+ <xsd:enumeration value="NOR"/>
915
+ <xsd:enumeration value="NSO"/>
916
+ <xsd:enumeration value="NUB"/>
917
+ <xsd:enumeration value="NYA"/>
918
+ <xsd:enumeration value="NYM"/>
919
+ <xsd:enumeration value="NYN"/>
920
+ <xsd:enumeration value="NYO"/>
921
+ <xsd:enumeration value="NZI"/>
922
+ <xsd:enumeration value="OCI"/>
923
+ <xsd:enumeration value="OJI"/>
924
+ <xsd:enumeration value="ORI"/>
925
+ <xsd:enumeration value="ORM"/>
926
+ <xsd:enumeration value="OSA"/>
927
+ <xsd:enumeration value="OSS"/>
928
+ <xsd:enumeration value="OTA"/>
929
+ <xsd:enumeration value="OTO"/>
930
+ <xsd:enumeration value="PAA"/>
931
+ <xsd:enumeration value="PAG"/>
932
+ <xsd:enumeration value="PAL"/>
933
+ <xsd:enumeration value="PAM"/>
934
+ <xsd:enumeration value="PAN"/>
935
+ <xsd:enumeration value="PAP"/>
936
+ <xsd:enumeration value="PAU"/>
937
+ <xsd:enumeration value="PEO"/>
938
+ <xsd:enumeration value="PER"/>
939
+ <xsd:enumeration value="PHI"/>
940
+ <xsd:enumeration value="PHN"/>
941
+ <xsd:enumeration value="PLI"/>
942
+ <xsd:enumeration value="POL"/>
943
+ <xsd:enumeration value="PON"/>
944
+ <xsd:enumeration value="POR"/>
945
+ <xsd:enumeration value="PRA"/>
946
+ <xsd:enumeration value="PRO"/>
947
+ <xsd:enumeration value="PUS"/>
948
+ <xsd:enumeration value="QAA"/>
949
+ <xsd:enumeration value="QUE"/>
950
+ <xsd:enumeration value="RAJ"/>
951
+ <xsd:enumeration value="RAP"/>
952
+ <xsd:enumeration value="RAR"/>
953
+ <xsd:enumeration value="ROA"/>
954
+ <xsd:enumeration value="ROH"/>
955
+ <xsd:enumeration value="ROM"/>
956
+ <xsd:enumeration value="RUM"/>
957
+ <xsd:enumeration value="RUN"/>
958
+ <xsd:enumeration value="RUS"/>
959
+ <xsd:enumeration value="SAD"/>
960
+ <xsd:enumeration value="SAG"/>
961
+ <xsd:enumeration value="SAH"/>
962
+ <xsd:enumeration value="SAI"/>
963
+ <xsd:enumeration value="SAL"/>
964
+ <xsd:enumeration value="SAM"/>
965
+ <xsd:enumeration value="SAN"/>
966
+ <xsd:enumeration value="SAS"/>
967
+ <xsd:enumeration value="SAT"/>
968
+ <xsd:enumeration value="SCC"/>
969
+ <xsd:enumeration value="SCO"/>
970
+ <xsd:enumeration value="SCR"/>
971
+ <xsd:enumeration value="SEL"/>
972
+ <xsd:enumeration value="SEM"/>
973
+ <xsd:enumeration value="SGA"/>
974
+ <xsd:enumeration value="SGN"/>
975
+ <xsd:enumeration value="SHN"/>
976
+ <xsd:enumeration value="SID"/>
977
+ <xsd:enumeration value="SIN"/>
978
+ <xsd:enumeration value="SIO"/>
979
+ <xsd:enumeration value="SIT"/>
980
+ <xsd:enumeration value="SLA"/>
981
+ <xsd:enumeration value="SLO"/>
982
+ <xsd:enumeration value="SLV"/>
983
+ <xsd:enumeration value="SMA"/>
984
+ <xsd:enumeration value="SME"/>
985
+ <xsd:enumeration value="SMI"/>
986
+ <xsd:enumeration value="SMJ"/>
987
+ <xsd:enumeration value="SMN"/>
988
+ <xsd:enumeration value="SMO"/>
989
+ <xsd:enumeration value="SMS"/>
990
+ <xsd:enumeration value="SNA"/>
991
+ <xsd:enumeration value="SND"/>
992
+ <xsd:enumeration value="SNK"/>
993
+ <xsd:enumeration value="SOG"/>
994
+ <xsd:enumeration value="SOM"/>
995
+ <xsd:enumeration value="SON"/>
996
+ <xsd:enumeration value="SOT"/>
997
+ <xsd:enumeration value="SPA"/>
998
+ <xsd:enumeration value="SRD"/>
999
+ <xsd:enumeration value="SRR"/>
1000
+ <xsd:enumeration value="SSA"/>
1001
+ <xsd:enumeration value="SSW"/>
1002
+ <xsd:enumeration value="SUK"/>
1003
+ <xsd:enumeration value="SUN"/>
1004
+ <xsd:enumeration value="SUS"/>
1005
+ <xsd:enumeration value="SUX"/>
1006
+ <xsd:enumeration value="SWA"/>
1007
+ <xsd:enumeration value="SWE"/>
1008
+ <xsd:enumeration value="SYR"/>
1009
+ <xsd:enumeration value="TAH"/>
1010
+ <xsd:enumeration value="TAI"/>
1011
+ <xsd:enumeration value="TAM"/>
1012
+ <xsd:enumeration value="TAT"/>
1013
+ <xsd:enumeration value="TEL"/>
1014
+ <xsd:enumeration value="TEM"/>
1015
+ <xsd:enumeration value="TER"/>
1016
+ <xsd:enumeration value="TET"/>
1017
+ <xsd:enumeration value="TGK"/>
1018
+ <xsd:enumeration value="TGL"/>
1019
+ <xsd:enumeration value="THA"/>
1020
+ <xsd:enumeration value="TIB"/>
1021
+ <xsd:enumeration value="TIG"/>
1022
+ <xsd:enumeration value="TIR"/>
1023
+ <xsd:enumeration value="TIV"/>
1024
+ <xsd:enumeration value="TKL"/>
1025
+ <xsd:enumeration value="TLI"/>
1026
+ <xsd:enumeration value="TMH"/>
1027
+ <xsd:enumeration value="TOG"/>
1028
+ <xsd:enumeration value="TON"/>
1029
+ <xsd:enumeration value="TPI"/>
1030
+ <xsd:enumeration value="TSI"/>
1031
+ <xsd:enumeration value="TSN"/>
1032
+ <xsd:enumeration value="TSO"/>
1033
+ <xsd:enumeration value="TUK"/>
1034
+ <xsd:enumeration value="TUM"/>
1035
+ <xsd:enumeration value="TUP"/>
1036
+ <xsd:enumeration value="TUR"/>
1037
+ <xsd:enumeration value="TUT"/>
1038
+ <xsd:enumeration value="TVL"/>
1039
+ <xsd:enumeration value="TWI"/>
1040
+ <xsd:enumeration value="TYV"/>
1041
+ <xsd:enumeration value="UGA"/>
1042
+ <xsd:enumeration value="UIG"/>
1043
+ <xsd:enumeration value="UKR"/>
1044
+ <xsd:enumeration value="UMB"/>
1045
+ <xsd:enumeration value="UND"/>
1046
+ <xsd:enumeration value="URD"/>
1047
+ <xsd:enumeration value="UZB"/>
1048
+ <xsd:enumeration value="VAI"/>
1049
+ <xsd:enumeration value="VEN"/>
1050
+ <xsd:enumeration value="VIE"/>
1051
+ <xsd:enumeration value="VOL"/>
1052
+ <xsd:enumeration value="VOT"/>
1053
+ <xsd:enumeration value="WAK"/>
1054
+ <xsd:enumeration value="WAL"/>
1055
+ <xsd:enumeration value="WAR"/>
1056
+ <xsd:enumeration value="WAS"/>
1057
+ <xsd:enumeration value="WEL"/>
1058
+ <xsd:enumeration value="WEN"/>
1059
+ <xsd:enumeration value="WLN"/>
1060
+ <xsd:enumeration value="WOL"/>
1061
+ <xsd:enumeration value="XHO"/>
1062
+ <xsd:enumeration value="YAO"/>
1063
+ <xsd:enumeration value="YAP"/>
1064
+ <xsd:enumeration value="YID"/>
1065
+ <xsd:enumeration value="YOR"/>
1066
+ <xsd:enumeration value="YPK"/>
1067
+ <xsd:enumeration value="ZAP"/>
1068
+ <xsd:enumeration value="ZEN"/>
1069
+ <xsd:enumeration value="ZHA"/>
1070
+ <xsd:enumeration value="ZND"/>
1071
+ <xsd:enumeration value="ZUL"/>
1072
+ <xsd:enumeration value="ZUN"/>
1073
+ </xsd:restriction>
1074
+ </xsd:simpleType>
1075
+ <xsd:simpleType name="MessageBodyType">
1076
+ <xsd:annotation>
1077
+ <xsd:documentation>
1078
+ The OFX element "MSGBODY" is of type "MessageBodyType"
1079
+ </xsd:documentation>
1080
+ </xsd:annotation>
1081
+ <xsd:restriction base="xsd:string">
1082
+ <xsd:minLength value="1"/>
1083
+ <xsd:maxLength value="10000"/>
1084
+ </xsd:restriction>
1085
+ </xsd:simpleType>
1086
+ <xsd:simpleType name="MessageType">
1087
+ <xsd:annotation>
1088
+ <xsd:documentation>
1089
+ The OFX element "MSG" is of type "MessageType"
1090
+ </xsd:documentation>
1091
+ </xsd:annotation>
1092
+ <xsd:restriction base="xsd:string">
1093
+ <xsd:minLength value="1"/>
1094
+ <xsd:maxLength value="255"/>
1095
+ </xsd:restriction>
1096
+ </xsd:simpleType>
1097
+ <xsd:simpleType name="NameAccountHeldType">
1098
+ <xsd:annotation>
1099
+ <xsd:documentation>
1100
+ The OFX element "NAMEACCTHELD" is of type "NameAccountHeldType"
1101
+ </xsd:documentation>
1102
+ </xsd:annotation>
1103
+ <xsd:restriction base="xsd:string">
1104
+ <xsd:minLength value="1"/>
1105
+ <xsd:maxLength value="96"/>
1106
+ </xsd:restriction>
1107
+ </xsd:simpleType>
1108
+ <xsd:simpleType name="NumberOfInstructionsType">
1109
+ <xsd:annotation>
1110
+ <xsd:documentation>
1111
+ The OFX element "NINSTS" is of type "NumberOfInstructionsType"
1112
+ </xsd:documentation>
1113
+ </xsd:annotation>
1114
+ <xsd:restriction base="xsd:string">
1115
+ <xsd:minLength value="1"/>
1116
+ <xsd:maxLength value="3"/>
1117
+ <xsd:whiteSpace value="collapse"/>
1118
+ <xsd:pattern value="[0-9]+"/>
1119
+ </xsd:restriction>
1120
+ </xsd:simpleType>
1121
+ <xsd:simpleType name="OptionLevelType">
1122
+ <xsd:annotation>
1123
+ <xsd:documentation>
1124
+ The OFX element "OPTIONLEVEL" is of type "OptionLevelType"
1125
+ </xsd:documentation>
1126
+ </xsd:annotation>
1127
+ <xsd:restriction base="xsd:string">
1128
+ <xsd:minLength value="1"/>
1129
+ <xsd:maxLength value="40"/>
1130
+ </xsd:restriction>
1131
+ </xsd:simpleType>
1132
+ <xsd:simpleType name="PayeeIdType">
1133
+ <xsd:annotation>
1134
+ <xsd:documentation>
1135
+ The OFX element "PAYEEID" is of type "PayeeIdType"
1136
+ </xsd:documentation>
1137
+ </xsd:annotation>
1138
+ <xsd:restriction base="xsd:string">
1139
+ <xsd:minLength value="1"/>
1140
+ <xsd:maxLength value="12"/>
1141
+ </xsd:restriction>
1142
+ </xsd:simpleType>
1143
+ <xsd:simpleType name="PhoneType">
1144
+ <xsd:annotation>
1145
+ <xsd:documentation>
1146
+ The OFX element "PHONE" is of type "PhoneType"
1147
+ </xsd:documentation>
1148
+ </xsd:annotation>
1149
+ <xsd:restriction base="xsd:string">
1150
+ <xsd:minLength value="1"/>
1151
+ <xsd:maxLength value="32"/>
1152
+ </xsd:restriction>
1153
+ </xsd:simpleType>
1154
+ <xsd:simpleType name="PositiveAmountType">
1155
+ <xsd:restriction base="xsd:string">
1156
+ <xsd:minLength value="1"/>
1157
+ <xsd:maxLength value="32"/>
1158
+ <xsd:whiteSpace value="collapse"/>
1159
+ <xsd:pattern value="\+?[0-9]*(([0-9][,\.]?)|([,\.][0-9]))[0-9]*"/>
1160
+ </xsd:restriction>
1161
+ </xsd:simpleType>
1162
+ <xsd:simpleType name="PositiveQuantityType">
1163
+ <xsd:restriction base="xsd:string">
1164
+ <xsd:minLength value="1"/>
1165
+ <xsd:maxLength value="32"/>
1166
+ <xsd:whiteSpace value="collapse"/>
1167
+ <xsd:pattern value="\+?[0-9]*(([0-9][,\.]?)|([,\.][0-9]))[0-9]*"/>
1168
+ </xsd:restriction>
1169
+ </xsd:simpleType>
1170
+ <xsd:simpleType name="QuantityType">
1171
+ <xsd:restriction base="xsd:string">
1172
+ <xsd:whiteSpace value="collapse"/>
1173
+ <xsd:minLength value="1"/>
1174
+ <xsd:maxLength value="32"/>
1175
+ <xsd:pattern value="[\+\-]?[0-9]*(([0-9][,\.]?)|([,\.][0-9]))[0-9]*"/>
1176
+ </xsd:restriction>
1177
+ </xsd:simpleType>
1178
+ <xsd:simpleType name="RateType">
1179
+ <xsd:annotation>
1180
+ <xsd:documentation>
1181
+ The OFX element "RATE" is of type "RateType"
1182
+ </xsd:documentation>
1183
+ </xsd:annotation>
1184
+ <xsd:restriction base="xsd:string">
1185
+ <xsd:whiteSpace value="collapse"/>
1186
+ <xsd:minLength value="1"/>
1187
+ <xsd:maxLength value="32"/>
1188
+ <xsd:pattern value="[\+\-]?[0-9]*(([0-9][,\.]?)|([,\.][0-9]))[0-9]*"/>
1189
+ </xsd:restriction>
1190
+ </xsd:simpleType>
1191
+ <xsd:simpleType name="UnitPriceType">
1192
+ <xsd:restriction base="xsd:string">
1193
+ <xsd:whiteSpace value="collapse"/>
1194
+ <xsd:minLength value="1"/>
1195
+ <xsd:maxLength value="32"/>
1196
+ <xsd:pattern value="\+?[0-9]*(([0-9][,\.]?)|([,\.][0-9]))[0-9]*"/>
1197
+ </xsd:restriction>
1198
+ </xsd:simpleType>
1199
+ <xsd:simpleType name="ReferenceNumberType">
1200
+ <xsd:annotation>
1201
+ <xsd:documentation>
1202
+ The OFX element "REFNUM" is of type "ReferenceNumberType"
1203
+ </xsd:documentation>
1204
+ </xsd:annotation>
1205
+ <xsd:restriction base="xsd:string">
1206
+ <xsd:minLength value="1"/>
1207
+ <xsd:maxLength value="32"/>
1208
+ </xsd:restriction>
1209
+ </xsd:simpleType>
1210
+ <xsd:simpleType name="SecurityNameType">
1211
+ <xsd:annotation>
1212
+ <xsd:documentation>
1213
+ The OFX element "SECNAME" is of type "SecurityNameType"
1214
+ </xsd:documentation>
1215
+ </xsd:annotation>
1216
+ <xsd:restriction base="xsd:string">
1217
+ <xsd:minLength value="1"/>
1218
+ <xsd:maxLength value="120"/>
1219
+ </xsd:restriction>
1220
+ </xsd:simpleType>
1221
+ <xsd:simpleType name="SecurityUserIdType">
1222
+ <xsd:annotation>
1223
+ <xsd:documentation>
1224
+ The OFX element "SECUID" is of type "SecurityUserIdType"
1225
+ </xsd:documentation>
1226
+ </xsd:annotation>
1227
+ <xsd:restriction base="xsd:string">
1228
+ <xsd:minLength value="1"/>
1229
+ <xsd:maxLength value="10"/>
1230
+ </xsd:restriction>
1231
+ </xsd:simpleType>
1232
+ <xsd:simpleType name="ServiceStatus2Enum">
1233
+ <xsd:annotation>
1234
+ <xsd:documentation>
1235
+ The OFX element "SERVICESTATUS2ENUM" is of type "ServiceStatus2Enum"
1236
+ </xsd:documentation>
1237
+ </xsd:annotation>
1238
+ <xsd:restriction base="xsd:string">
1239
+ <xsd:whiteSpace value="collapse"/>
1240
+ <xsd:enumeration value="AVAIL"/>
1241
+ <xsd:enumeration value="PEND"/>
1242
+ <xsd:enumeration value="ACTIVE"/>
1243
+ <xsd:enumeration value="REJECTED"/>
1244
+ </xsd:restriction>
1245
+ </xsd:simpleType>
1246
+ <xsd:simpleType name="ServiceStatusEnum">
1247
+ <xsd:annotation>
1248
+ <xsd:documentation>
1249
+ The OFX element "SERVICESTATUSENUM" is of type "ServiceStatusEnum"
1250
+ </xsd:documentation>
1251
+ </xsd:annotation>
1252
+ <xsd:restriction base="xsd:string">
1253
+ <xsd:whiteSpace value="collapse"/>
1254
+ <xsd:enumeration value="AVAIL"/>
1255
+ <xsd:enumeration value="PEND"/>
1256
+ <xsd:enumeration value="ACTIVE"/>
1257
+ </xsd:restriction>
1258
+ </xsd:simpleType>
1259
+ <xsd:simpleType name="SeverityEnum">
1260
+ <xsd:annotation>
1261
+ <xsd:documentation>
1262
+ The OFX element "SEVERITYENUM" is of type "SeverityEnum"
1263
+ </xsd:documentation>
1264
+ </xsd:annotation>
1265
+ <xsd:restriction base="xsd:string">
1266
+ <xsd:whiteSpace value="collapse"/>
1267
+ <xsd:enumeration value="INFO"/>
1268
+ <xsd:enumeration value="WARN"/>
1269
+ <xsd:enumeration value="ERROR"/>
1270
+ </xsd:restriction>
1271
+ </xsd:simpleType>
1272
+ <xsd:simpleType name="SharesPerType">
1273
+ <xsd:annotation>
1274
+ <xsd:documentation>
1275
+ The OFX element "SHARESPER" is of type "SharesPerType"
1276
+ </xsd:documentation>
1277
+ </xsd:annotation>
1278
+ <xsd:restriction base="xsd:string">
1279
+ <xsd:minLength value="1"/>
1280
+ <xsd:maxLength value="5"/>
1281
+ <xsd:whiteSpace value="collapse"/>
1282
+ <xsd:pattern value="[0-9]+"/>
1283
+ </xsd:restriction>
1284
+ </xsd:simpleType>
1285
+ <xsd:simpleType name="ShortMessageType">
1286
+ <xsd:annotation>
1287
+ <xsd:documentation>
1288
+ The OFX element "SHORTMSG" is of type "ShortMessageType"
1289
+ </xsd:documentation>
1290
+ </xsd:annotation>
1291
+ <xsd:restriction base="xsd:string">
1292
+ <xsd:minLength value="1"/>
1293
+ <xsd:maxLength value="80"/>
1294
+ </xsd:restriction>
1295
+ </xsd:simpleType>
1296
+ <xsd:simpleType name="StandardIndustryCodeType">
1297
+ <xsd:annotation>
1298
+ <xsd:documentation>
1299
+ The OFX element "SIC" is of type "StandardIndustryCodeType"
1300
+ </xsd:documentation>
1301
+ </xsd:annotation>
1302
+ <xsd:restriction base="xsd:string">
1303
+ <xsd:minLength value="1"/>
1304
+ <xsd:maxLength value="6"/>
1305
+ <xsd:whiteSpace value="collapse"/>
1306
+ <xsd:pattern value="[0-9]+"/>
1307
+ </xsd:restriction>
1308
+ </xsd:simpleType>
1309
+ <xsd:simpleType name="ServerIdType">
1310
+ <xsd:annotation>
1311
+ <xsd:documentation>
1312
+ The OFX element "SRVRTID" is of type "ServerIdType"
1313
+ </xsd:documentation>
1314
+ </xsd:annotation>
1315
+ <xsd:restriction base="xsd:string">
1316
+ <xsd:minLength value="1"/>
1317
+ <xsd:maxLength value="10"/>
1318
+ </xsd:restriction>
1319
+ </xsd:simpleType>
1320
+ <xsd:simpleType name="StateCodeType">
1321
+ <xsd:annotation>
1322
+ <xsd:documentation>
1323
+ The OFX element "STATECODE" is of type "StateCodeType"
1324
+ </xsd:documentation>
1325
+ </xsd:annotation>
1326
+ <xsd:restriction base="xsd:string">
1327
+ <xsd:minLength value="1"/>
1328
+ <xsd:maxLength value="2"/>
1329
+ <xsd:whiteSpace value="collapse"/>
1330
+ </xsd:restriction>
1331
+ </xsd:simpleType>
1332
+ <xsd:simpleType name="StateType">
1333
+ <xsd:annotation>
1334
+ <xsd:documentation>
1335
+ The OFX element "STATE" is of type "StateType"
1336
+ </xsd:documentation>
1337
+ </xsd:annotation>
1338
+ <xsd:restriction base="xsd:string">
1339
+ <xsd:minLength value="1"/>
1340
+ <xsd:maxLength value="5"/>
1341
+ </xsd:restriction>
1342
+ </xsd:simpleType>
1343
+ <xsd:simpleType name="SubjectType">
1344
+ <xsd:annotation>
1345
+ <xsd:documentation>
1346
+ The OFX element "SUBJECT" is of type "SubjectType"
1347
+ </xsd:documentation>
1348
+ </xsd:annotation>
1349
+ <xsd:restriction base="xsd:string">
1350
+ <xsd:minLength value="1"/>
1351
+ <xsd:maxLength value="60"/>
1352
+ </xsd:restriction>
1353
+ </xsd:simpleType>
1354
+ <xsd:simpleType name="TransactionAuthorizationNumberType">
1355
+ <xsd:annotation>
1356
+ <xsd:documentation>
1357
+ The OFX element "TAN" is of type "TransactionAuthorizationNumberType"
1358
+ </xsd:documentation>
1359
+ </xsd:annotation>
1360
+ <xsd:restriction base="xsd:string">
1361
+ <xsd:minLength value="1"/>
1362
+ <xsd:maxLength value="80"/>
1363
+ </xsd:restriction>
1364
+ </xsd:simpleType>
1365
+ <xsd:simpleType name="TimeType">
1366
+ <xsd:annotation>
1367
+ <xsd:documentation>
1368
+ The OFX element "TM" is of type "TimeType"
1369
+ </xsd:documentation>
1370
+ </xsd:annotation>
1371
+ <xsd:restriction base="xsd:string">
1372
+ <xsd:whiteSpace value="collapse"/>
1373
+ <xsd:minLength value="6"/>
1374
+ <xsd:pattern value="(([0-1][0-9])|(2[0-3]))[0-5][0-9](([0-5][0-9])|(60))(\.[0-9]{3})?(\[[\+\-]?.+(:.+)?\])?"/>
1375
+ </xsd:restriction>
1376
+ </xsd:simpleType>
1377
+ <xsd:simpleType name="TransactionEnum">
1378
+ <xsd:annotation>
1379
+ <xsd:documentation>
1380
+ The OFX element "TRANSACTIONENUM" is of type "TransactionEnum"
1381
+ </xsd:documentation>
1382
+ </xsd:annotation>
1383
+ <xsd:restriction base="xsd:string">
1384
+ <xsd:whiteSpace value="collapse"/>
1385
+ <xsd:enumeration value="CREDIT"/>
1386
+ <xsd:enumeration value="DEBIT"/>
1387
+ <xsd:enumeration value="INT"/>
1388
+ <xsd:enumeration value="DIV"/>
1389
+ <xsd:enumeration value="FEE"/>
1390
+ <xsd:enumeration value="SRVCHG"/>
1391
+ <xsd:enumeration value="DEP"/>
1392
+ <xsd:enumeration value="ATM"/>
1393
+ <xsd:enumeration value="POS"/>
1394
+ <xsd:enumeration value="XFER"/>
1395
+ <xsd:enumeration value="CHECK"/>
1396
+ <xsd:enumeration value="PAYMENT"/>
1397
+ <xsd:enumeration value="CASH"/>
1398
+ <xsd:enumeration value="DIRECTDEP"/>
1399
+ <xsd:enumeration value="DIRECTDEBIT"/>
1400
+ <xsd:enumeration value="REPEATPMT"/>
1401
+ <xsd:enumeration value="OTHER"/>
1402
+ </xsd:restriction>
1403
+ </xsd:simpleType>
1404
+ <xsd:simpleType name="UrlType">
1405
+ <xsd:annotation>
1406
+ <xsd:documentation>
1407
+ The OFX element "URL" is of type "UrlType"
1408
+ </xsd:documentation>
1409
+ </xsd:annotation>
1410
+ <xsd:restriction base="xsd:string">
1411
+ <xsd:minLength value="1"/>
1412
+ <xsd:maxLength value="255"/>
1413
+ </xsd:restriction>
1414
+ </xsd:simpleType>
1415
+ <xsd:simpleType name="UsProductEnum">
1416
+ <xsd:annotation>
1417
+ <xsd:documentation>
1418
+ The OFX element "USPRODUCTENUM" is of type "UsProductEnum"
1419
+ </xsd:documentation>
1420
+ </xsd:annotation>
1421
+ <xsd:restriction base="xsd:string">
1422
+ <xsd:whiteSpace value="collapse"/>
1423
+ <xsd:enumeration value="401K"/>
1424
+ <xsd:enumeration value="403B"/>
1425
+ <xsd:enumeration value="IRA"/>
1426
+ <xsd:enumeration value="KEOGH"/>
1427
+ <xsd:enumeration value="OTHER"/>
1428
+ <xsd:enumeration value="SARSEP"/>
1429
+ <xsd:enumeration value="SIMPLE"/>
1430
+ <xsd:enumeration value="NORMAL"/>
1431
+ <xsd:enumeration value="TDA"/>
1432
+ <xsd:enumeration value="TRUST"/>
1433
+ <xsd:enumeration value="UGMA"/>
1434
+ </xsd:restriction>
1435
+ </xsd:simpleType>
1436
+ <xsd:simpleType name="GloballyUniqueUserIdType">
1437
+ <xsd:annotation>
1438
+ <xsd:documentation>
1439
+ The OFX element "UUID" is of type "GloballyUniqueUserIdType"
1440
+ </xsd:documentation>
1441
+ </xsd:annotation>
1442
+ <xsd:restriction base="xsd:string">
1443
+ <xsd:minLength value="1"/>
1444
+ <xsd:maxLength value="36"/>
1445
+ </xsd:restriction>
1446
+ </xsd:simpleType>
1447
+ <xsd:simpleType name="TransferStatusEnum">
1448
+ <xsd:annotation>
1449
+ <xsd:documentation>
1450
+ The OFX element "XFERSTATUSENUM" is of type "TransferStatusEnum"
1451
+ </xsd:documentation>
1452
+ </xsd:annotation>
1453
+ <xsd:restriction base="xsd:string">
1454
+ <xsd:whiteSpace value="collapse"/>
1455
+ <xsd:enumeration value="WILLPROCESSON"/>
1456
+ <xsd:enumeration value="POSTEDON"/>
1457
+ <xsd:enumeration value="NOFUNDSON"/>
1458
+ <xsd:enumeration value="CANCELEDON"/>
1459
+ <xsd:enumeration value="FAILEDON"/>
1460
+ </xsd:restriction>
1461
+ </xsd:simpleType>
1462
+ <xsd:simpleType name="YearType">
1463
+ <xsd:annotation>
1464
+ <xsd:documentation>
1465
+ The OFX element "YEAR" is of type "YearType"
1466
+ </xsd:documentation>
1467
+ </xsd:annotation>
1468
+ <xsd:restriction base="xsd:gYear">
1469
+ <xsd:whiteSpace value="collapse"/>
1470
+ <xsd:pattern value="[0-9]{4}"/>
1471
+ </xsd:restriction>
1472
+ </xsd:simpleType>
1473
+ <xsd:simpleType name="ZipType">
1474
+ <xsd:annotation>
1475
+ <xsd:documentation>
1476
+ The OFX element "ZIP" is of type "ZipType"
1477
+ </xsd:documentation>
1478
+ </xsd:annotation>
1479
+ <xsd:restriction base="xsd:string">
1480
+ <xsd:minLength value="1"/>
1481
+ <xsd:maxLength value="11"/>
1482
+ </xsd:restriction>
1483
+ </xsd:simpleType>
1484
+ <xsd:annotation>
1485
+ <xsd:documentation>
1486
+ The following type definitions are for types references in multiple Schemas
1487
+ </xsd:documentation>
1488
+ </xsd:annotation>
1489
+ <xsd:complexType name="AbstractAccountInfo" abstract="true"/>
1490
+ <xsd:complexType name="AccountInfo">
1491
+ <xsd:annotation>
1492
+ <xsd:documentation>
1493
+ The OFX element "ACCTINFO" is of type "AccountInfo"
1494
+ </xsd:documentation>
1495
+ </xsd:annotation>
1496
+ <xsd:sequence>
1497
+ <xsd:element name="DESC" type="ofx:ShortMessageType" minOccurs="0"/>
1498
+ <xsd:element name="PHONE" type="ofx:PhoneType" minOccurs="0"/>
1499
+ <xsd:sequence maxOccurs="unbounded">
1500
+ <xsd:choice>
1501
+ <xsd:element name="BANKACCTINFO" type="ofx:BankAccountInfo"/>
1502
+ <xsd:element name="LOANACCTINFO" type="ofx:LoanAccountInfo"/>
1503
+ <xsd:element name="CCACCTINFO" type="ofx:CreditCardAccountInfo"/>
1504
+ <xsd:element name="BPACCTINFO" type="ofx:BillPaymentAccountInfo"/>
1505
+ <xsd:element name="INVACCTINFO" type="ofx:InvestmentAccountInfo"/>
1506
+ <xsd:element name="PRESACCTINFO" type="ofx:PresentmentAccountInfo"/>
1507
+ </xsd:choice>
1508
+ </xsd:sequence>
1509
+ </xsd:sequence>
1510
+ </xsd:complexType>
1511
+ <xsd:complexType name="AccountInfoRequest">
1512
+ <xsd:annotation>
1513
+ <xsd:documentation>
1514
+ The OFX element "ACCTINFORQ" is of type "AccountInfoRequest"
1515
+ </xsd:documentation>
1516
+ </xsd:annotation>
1517
+ <xsd:sequence>
1518
+ <xsd:element name="DTACCTUP" type="ofx:DateTimeType"/>
1519
+ </xsd:sequence>
1520
+ </xsd:complexType>
1521
+ <xsd:complexType name="AccountInfoResponse">
1522
+ <xsd:annotation>
1523
+ <xsd:documentation>
1524
+ The OFX element "ACCTINFORS" is of type "AccountInfoResponse"
1525
+ </xsd:documentation>
1526
+ </xsd:annotation>
1527
+ <xsd:sequence>
1528
+ <xsd:element name="DTACCTUP" type="ofx:DateTimeType"/>
1529
+ <xsd:element name="ACCTINFO" type="ofx:AccountInfo" minOccurs="0" maxOccurs="unbounded"/>
1530
+ </xsd:sequence>
1531
+ </xsd:complexType>
1532
+ <xsd:complexType name="Adjustment">
1533
+ <xsd:annotation>
1534
+ <xsd:documentation>
1535
+ The OFX element "ADJUSTMENT" is of type "Adjustment"
1536
+ </xsd:documentation>
1537
+ </xsd:annotation>
1538
+ <xsd:sequence>
1539
+ <xsd:element name="ADJNO" type="ofx:InvestmentNumberType" minOccurs="0"/>
1540
+ <xsd:element name="ADJDESC" type="ofx:ShortMessageType"/>
1541
+ <xsd:element name="ADJAMT" type="ofx:AmountType"/>
1542
+ <xsd:element name="ADJDATE" type="ofx:DateTimeType" minOccurs="0"/>
1543
+ </xsd:sequence>
1544
+ </xsd:complexType>
1545
+ <xsd:complexType name="AvailableBalance">
1546
+ <xsd:annotation>
1547
+ <xsd:documentation>
1548
+ The OFX element "AVAILBAL" is of type "AvailableBalance"
1549
+ </xsd:documentation>
1550
+ </xsd:annotation>
1551
+ <xsd:sequence>
1552
+ <xsd:element name="BALAMT" type="ofx:AmountType"/>
1553
+ <xsd:element name="DTASOF" type="ofx:DateTimeType"/>
1554
+ </xsd:sequence>
1555
+ </xsd:complexType>
1556
+ <xsd:complexType name="BalanceList">
1557
+ <xsd:annotation>
1558
+ <xsd:documentation>
1559
+ The OFX element "BALLIST" is of type "BalanceList"
1560
+ </xsd:documentation>
1561
+ </xsd:annotation>
1562
+ <xsd:sequence>
1563
+ <xsd:element name="BAL" type="ofx:Balance" minOccurs="0" maxOccurs="unbounded"/>
1564
+ </xsd:sequence>
1565
+ </xsd:complexType>
1566
+ <xsd:complexType name="BankAccountInfo">
1567
+ <xsd:annotation>
1568
+ <xsd:documentation>
1569
+ The OFX element "BANKACCTINFO" is of type "BankAccountInfo"
1570
+ </xsd:documentation>
1571
+ </xsd:annotation>
1572
+ <xsd:complexContent>
1573
+ <xsd:extension base="ofx:AbstractAccountInfo">
1574
+ <xsd:sequence>
1575
+ <xsd:element name="BANKACCTFROM" type="ofx:BankAccount"/>
1576
+ <xsd:element name="SUPTXDL" type="ofx:BooleanType"/>
1577
+ <xsd:element name="XFERSRC" type="ofx:BooleanType"/>
1578
+ <xsd:element name="XFERDEST" type="ofx:BooleanType"/>
1579
+ <xsd:element name="SVCSTATUS" type="ofx:ServiceStatusEnum"/>
1580
+ </xsd:sequence>
1581
+ </xsd:extension>
1582
+ </xsd:complexContent>
1583
+ </xsd:complexType>
1584
+ <xsd:complexType name="BankAccount">
1585
+ <xsd:annotation>
1586
+ <xsd:documentation>
1587
+ The OFX elements BANKACCTFROM and BANKACCTTO are of type "BankAccount"
1588
+ </xsd:documentation>
1589
+ </xsd:annotation>
1590
+ <xsd:complexContent>
1591
+ <xsd:extension base="ofx:AbstractAccount">
1592
+ <xsd:sequence>
1593
+ <xsd:element name="BANKID" type="ofx:BankIdType"/>
1594
+ <xsd:element name="BRANCHID" type="ofx:AccountIdType" minOccurs="0"/>
1595
+ <xsd:element name="ACCTID" type="ofx:AccountIdType"/>
1596
+ <xsd:element name="ACCTTYPE" type="ofx:AccountEnum"/>
1597
+ <xsd:element name="ACCTKEY" type="ofx:AccountIdType" minOccurs="0"/>
1598
+ </xsd:sequence>
1599
+ </xsd:extension>
1600
+ </xsd:complexContent>
1601
+ </xsd:complexType>
1602
+ <xsd:complexType name="BankTransactionList">
1603
+ <xsd:annotation>
1604
+ <xsd:documentation>
1605
+ The OFX element "BANKTRANLIST" is of type "BankTransactionList"
1606
+ </xsd:documentation>
1607
+ </xsd:annotation>
1608
+ <xsd:sequence>
1609
+ <xsd:element name="DTSTART" type="ofx:DateTimeType"/>
1610
+ <xsd:element name="DTEND" type="ofx:DateTimeType"/>
1611
+ <xsd:element name="STMTTRN" type="ofx:StatementTransaction" minOccurs="0" maxOccurs="unbounded"/>
1612
+ </xsd:sequence>
1613
+ </xsd:complexType>
1614
+ <xsd:complexType name="BillPaymentAccountInfo">
1615
+ <xsd:annotation>
1616
+ <xsd:documentation>
1617
+ The OFX element "BPACCTINFO" is of type "BillPaymentAccountInfo"
1618
+ </xsd:documentation>
1619
+ </xsd:annotation>
1620
+ <xsd:complexContent>
1621
+ <xsd:extension base="ofx:AbstractAccountInfo">
1622
+ <xsd:sequence>
1623
+ <xsd:element name="BANKACCTFROM" type="ofx:BankAccount"/>
1624
+ <xsd:element name="SVCSTATUS" type="ofx:ServiceStatusEnum"/>
1625
+ </xsd:sequence>
1626
+ </xsd:extension>
1627
+ </xsd:complexContent>
1628
+ </xsd:complexType>
1629
+ <xsd:complexType name="CreditCardAccount">
1630
+ <xsd:annotation>
1631
+ <xsd:documentation>
1632
+ The OFX elements CCACCTFROM and CCACCTTO are of type "CreditCardAccount"
1633
+ </xsd:documentation>
1634
+ </xsd:annotation>
1635
+ <xsd:complexContent>
1636
+ <xsd:extension base="ofx:AbstractAccount">
1637
+ <xsd:sequence>
1638
+ <xsd:element name="ACCTID" type="ofx:AccountIdType"/>
1639
+ <xsd:element name="ACCTKEY" type="ofx:AccountIdType" minOccurs="0"/>
1640
+ </xsd:sequence>
1641
+ </xsd:extension>
1642
+ </xsd:complexContent>
1643
+ </xsd:complexType>
1644
+ <xsd:complexType name="CreditCardAccountInfo">
1645
+ <xsd:annotation>
1646
+ <xsd:documentation>
1647
+ The OFX element "CCACCTINFO" is of type "CreditCardAccountInfo"
1648
+ </xsd:documentation>
1649
+ </xsd:annotation>
1650
+ <xsd:complexContent>
1651
+ <xsd:extension base="ofx:AbstractAccountInfo">
1652
+ <xsd:sequence>
1653
+ <xsd:element name="CCACCTFROM" type="ofx:CreditCardAccount"/>
1654
+ <xsd:element name="SUPTXDL" type="ofx:BooleanType"/>
1655
+ <xsd:element name="XFERSRC" type="ofx:BooleanType"/>
1656
+ <xsd:element name="XFERDEST" type="ofx:BooleanType"/>
1657
+ <xsd:element name="SVCSTATUS" type="ofx:ServiceStatusEnum"/>
1658
+ </xsd:sequence>
1659
+ </xsd:extension>
1660
+ </xsd:complexContent>
1661
+ </xsd:complexType>
1662
+ <xsd:complexType name="Currency">
1663
+ <xsd:annotation>
1664
+ <xsd:documentation>
1665
+ The OFX elements "ORIGCURRENCY" and "CURRENCY" is of type "Currency"
1666
+ </xsd:documentation>
1667
+ </xsd:annotation>
1668
+ <xsd:sequence>
1669
+ <xsd:element name="CURRATE" type="ofx:RateType"/>
1670
+ <xsd:element name="CURSYM" type="ofx:CurrencyEnum"/>
1671
+ </xsd:sequence>
1672
+ </xsd:complexType>
1673
+ <xsd:complexType name="Discount">
1674
+ <xsd:annotation>
1675
+ <xsd:documentation>
1676
+ The OFX element "DISCOUNT" is of type "Discount"
1677
+ </xsd:documentation>
1678
+ </xsd:annotation>
1679
+ <xsd:sequence>
1680
+ <xsd:element name="DSCRATE" type="ofx:RateType"/>
1681
+ <xsd:element name="DSCAMT" type="ofx:AmountType"/>
1682
+ <xsd:element name="DSCDATE" type="ofx:DateTimeType" minOccurs="0"/>
1683
+ <xsd:element name="DSCDESC" type="ofx:ShortMessageType"/>
1684
+ </xsd:sequence>
1685
+ </xsd:complexType>
1686
+ <xsd:complexType name="IncTransaction">
1687
+ <xsd:annotation>
1688
+ <xsd:documentation>
1689
+ The OFX element "INCTRAN" is of type "IncTransaction"
1690
+ </xsd:documentation>
1691
+ </xsd:annotation>
1692
+ <xsd:sequence>
1693
+ <xsd:element name="DTSTART" type="ofx:DateTimeType" minOccurs="0"/>
1694
+ <xsd:element name="DTEND" type="ofx:DateTimeType" minOccurs="0"/>
1695
+ <xsd:element name="INCLUDE" type="ofx:BooleanType"/>
1696
+ </xsd:sequence>
1697
+ </xsd:complexType>
1698
+ <xsd:complexType name="InvestmentAccount">
1699
+ <xsd:annotation>
1700
+ <xsd:documentation>
1701
+ The OFX element "InvestmentAccount" is of type "InvestmentAccount"
1702
+ </xsd:documentation>
1703
+ </xsd:annotation>
1704
+ <xsd:complexContent>
1705
+ <xsd:extension base="ofx:AbstractAccount">
1706
+ <xsd:sequence>
1707
+ <xsd:element name="BROKERID" type="ofx:BrokerIdType"/>
1708
+ <xsd:element name="ACCTID" type="ofx:AccountIdType"/>
1709
+ </xsd:sequence>
1710
+ </xsd:extension>
1711
+ </xsd:complexContent>
1712
+ </xsd:complexType>
1713
+ <xsd:complexType name="InvestmentAccountInfo">
1714
+ <xsd:annotation>
1715
+ <xsd:documentation>
1716
+ The OFX element "INVACCTINFO" is of type "InvestmentAccountInfo"
1717
+ </xsd:documentation>
1718
+ </xsd:annotation>
1719
+ <xsd:complexContent>
1720
+ <xsd:extension base="ofx:AbstractAccountInfo">
1721
+ <xsd:sequence>
1722
+ <xsd:element name="INVACCTFROM" type="ofx:InvestmentAccount"/>
1723
+ <xsd:element name="USPRODUCTTYPE" type="ofx:UsProductEnum"/>
1724
+ <xsd:element name="CHECKING" type="ofx:BooleanType"/>
1725
+ <xsd:element name="SVCSTATUS" type="ofx:ServiceStatusEnum"/>
1726
+ <xsd:element name="INVACCTTYPE" type="ofx:InvestmentAccountEnum" minOccurs="0"/>
1727
+ <xsd:element name="OPTIONLEVEL" type="ofx:OptionLevelType" minOccurs="0"/>
1728
+ </xsd:sequence>
1729
+ </xsd:extension>
1730
+ </xsd:complexContent>
1731
+ </xsd:complexType>
1732
+ <xsd:complexType name="Invoice">
1733
+ <xsd:annotation>
1734
+ <xsd:documentation>
1735
+ The OFX element "INVOICE" is of type "Invoice"
1736
+ </xsd:documentation>
1737
+ </xsd:annotation>
1738
+ <xsd:sequence>
1739
+ <xsd:element name="INVNO" type="ofx:InvestmentNumberType"/>
1740
+ <xsd:element name="INVTOTALAMT" type="ofx:AmountType"/>
1741
+ <xsd:element name="INVPAIDAMT" type="ofx:AmountType"/>
1742
+ <xsd:element name="INVDATE" type="ofx:DateTimeType"/>
1743
+ <xsd:element name="INVDESC" type="ofx:ShortMessageType"/>
1744
+ <xsd:element name="DISCOUNT" type="ofx:Discount" minOccurs="0"/>
1745
+ <xsd:element name="ADJUSTMENT" type="ofx:Adjustment" minOccurs="0"/>
1746
+ <xsd:element name="LINEITEM" type="ofx:LineItem" minOccurs="0" maxOccurs="unbounded"/>
1747
+ </xsd:sequence>
1748
+ </xsd:complexType>
1749
+ <xsd:complexType name="LedgerBalance">
1750
+ <xsd:annotation>
1751
+ <xsd:documentation>
1752
+ The OFX element "LEDGERBAL" is of type "LedgerBalance"
1753
+ </xsd:documentation>
1754
+ </xsd:annotation>
1755
+ <xsd:sequence>
1756
+ <xsd:element name="BALAMT" type="ofx:AmountType"/>
1757
+ <xsd:element name="DTASOF" type="ofx:DateTimeType"/>
1758
+ </xsd:sequence>
1759
+ </xsd:complexType>
1760
+ <xsd:complexType name="LineItem">
1761
+ <xsd:annotation>
1762
+ <xsd:documentation>
1763
+ The OFX element "LINEITEM" is of type "LineItem"
1764
+ </xsd:documentation>
1765
+ </xsd:annotation>
1766
+ <xsd:sequence>
1767
+ <xsd:element name="LITMAMT" type="ofx:AmountType"/>
1768
+ <xsd:element name="LITMDESC" type="ofx:ShortMessageType"/>
1769
+ </xsd:sequence>
1770
+ </xsd:complexType>
1771
+ <xsd:complexType name="Mail">
1772
+ <xsd:annotation>
1773
+ <xsd:documentation>
1774
+ The OFX element "MAIL" is of type "Mail"
1775
+ </xsd:documentation>
1776
+ </xsd:annotation>
1777
+ <xsd:sequence>
1778
+ <xsd:element name="USERID" type="ofx:IdType"/>
1779
+ <xsd:element name="DTCREATED" type="ofx:DateTimeType"/>
1780
+ <xsd:element name="FROM" type="ofx:GenericNameType"/>
1781
+ <xsd:element name="TO" type="ofx:GenericNameType"/>
1782
+ <xsd:element name="SUBJECT" type="ofx:SubjectType"/>
1783
+ <xsd:element name="MSGBODY" type="ofx:MessageBodyType"/>
1784
+ <xsd:element name="INCIMAGES" type="ofx:BooleanType"/>
1785
+ <xsd:element name="USEHTML" type="ofx:BooleanType"/>
1786
+ </xsd:sequence>
1787
+ </xsd:complexType>
1788
+ <xsd:complexType name="Payee">
1789
+ <xsd:annotation>
1790
+ <xsd:documentation>
1791
+ The OFX element "PAYEE" is of type "Payee"
1792
+ </xsd:documentation>
1793
+ </xsd:annotation>
1794
+ <xsd:sequence>
1795
+ <xsd:element name="NAME" type="ofx:GenericNameType"/>
1796
+ <xsd:sequence>
1797
+ <xsd:element name="ADDR1" type="ofx:AddressType"/>
1798
+ <xsd:sequence minOccurs="0">
1799
+ <xsd:element name="ADDR2" type="ofx:AddressType"/>
1800
+ <xsd:element name="ADDR3" type="ofx:AddressType" minOccurs="0"/>
1801
+ </xsd:sequence>
1802
+ </xsd:sequence>
1803
+ <xsd:element name="CITY" type="ofx:AddressType"/>
1804
+ <xsd:element name="STATE" type="ofx:StateType"/>
1805
+ <xsd:element name="POSTALCODE" type="ofx:ZipType"/>
1806
+ <xsd:element name="COUNTRY" type="ofx:CountryType" minOccurs="0"/>
1807
+ <xsd:element name="PHONE" type="ofx:PhoneType"/>
1808
+ </xsd:sequence>
1809
+ </xsd:complexType>
1810
+ <xsd:complexType name="PresentmentAccount">
1811
+ <xsd:annotation>
1812
+ <xsd:documentation>
1813
+ The OFX element "PRESACCTFROM" is of type "PresentmentAccount"
1814
+ </xsd:documentation>
1815
+ </xsd:annotation>
1816
+ <xsd:complexContent>
1817
+ <xsd:extension base="ofx:AbstractAccount">
1818
+ <xsd:sequence>
1819
+ <xsd:element name="BILLPUB" type="ofx:GenericNameType"/>
1820
+ <xsd:element name="BILLERID" type="ofx:IdType"/>
1821
+ <xsd:element name="BILLERNAME" type="ofx:GenericNameType" minOccurs="0"/>
1822
+ <xsd:element name="ACCTID" type="ofx:AccountIdType"/>
1823
+ <xsd:element name="PRESNAMEADDRESS" type="ofx:PresentmentNameAddress" minOccurs="0"/>
1824
+ <xsd:element name="USERID" type="ofx:IdType" minOccurs="0"/>
1825
+ <xsd:sequence minOccurs="0">
1826
+ <xsd:element name="SPNAME" type="ofx:GenericNameType" minOccurs="0"/>
1827
+ <xsd:element name="PAYEEID" type="ofx:PayeeIdType"/>
1828
+ <xsd:element name="PAYEELSTID" type="ofx:PayeeIdType" minOccurs="0"/>
1829
+ </xsd:sequence>
1830
+ </xsd:sequence>
1831
+ </xsd:extension>
1832
+ </xsd:complexContent>
1833
+ </xsd:complexType>
1834
+ <xsd:complexType name="PresentmentAccountInfo">
1835
+ <xsd:annotation>
1836
+ <xsd:documentation>
1837
+ The OFX element "PRESACCTINFO" is of type "PresentmentAccountInfo"
1838
+ </xsd:documentation>
1839
+ </xsd:annotation>
1840
+ <xsd:complexContent>
1841
+ <xsd:extension base="ofx:AbstractAccountInfo">
1842
+ <xsd:sequence>
1843
+ <xsd:element name="PRESACCTFROM" type="ofx:PresentmentAccount"/>
1844
+ <xsd:element name="SVCSTATUS" type="ofx:ServiceStatus2Enum"/>
1845
+ <xsd:element name="REASON" type="ofx:MessageType" minOccurs="0"/>
1846
+ </xsd:sequence>
1847
+ </xsd:extension>
1848
+ </xsd:complexContent>
1849
+ </xsd:complexType>
1850
+ <xsd:complexType name="PresentmentNameAddress">
1851
+ <xsd:annotation>
1852
+ <xsd:documentation>
1853
+ The OFX element "PRESNAMEADDRESS" is of type "PresentmentNameAddress"
1854
+ </xsd:documentation>
1855
+ </xsd:annotation>
1856
+ <xsd:sequence>
1857
+ <xsd:element name="NAMEACCTHELD" type="ofx:NameAccountHeldType" minOccurs="0"/>
1858
+ <xsd:element name="BUSNAMEACCTHELD" type="ofx:NameAccountHeldType" minOccurs="0"/>
1859
+ <xsd:element name="ADDR1" type="ofx:AddressType" minOccurs="0"/>
1860
+ <xsd:element name="ADDR2" type="ofx:AddressType" minOccurs="0"/>
1861
+ <xsd:element name="ADDR3" type="ofx:AddressType" minOccurs="0"/>
1862
+ <xsd:element name="CITY" type="ofx:AddressType" minOccurs="0"/>
1863
+ <xsd:element name="STATE" type="ofx:StateType" minOccurs="0"/>
1864
+ <xsd:element name="POSTALCODE" type="ofx:ZipType" minOccurs="0"/>
1865
+ <xsd:element name="COUNTRY" type="ofx:CountryType" minOccurs="0"/>
1866
+ <xsd:element name="DAYPHONE" type="ofx:PhoneType" minOccurs="0"/>
1867
+ <xsd:element name="EVEPHONE" type="ofx:PhoneType" minOccurs="0"/>
1868
+ </xsd:sequence>
1869
+ </xsd:complexType>
1870
+ <xsd:complexType name="RecurringInstructions">
1871
+ <xsd:annotation>
1872
+ <xsd:documentation>
1873
+ The OFX element "RECURRINST" is of type "RecurringInstructions"
1874
+ </xsd:documentation>
1875
+ </xsd:annotation>
1876
+ <xsd:sequence>
1877
+ <xsd:element name="NINSTS" type="ofx:NumberOfInstructionsType" minOccurs="0"/>
1878
+ <xsd:element name="FREQ" type="ofx:FrequencyEnum"/>
1879
+ </xsd:sequence>
1880
+ </xsd:complexType>
1881
+ <xsd:complexType name="SecurityId">
1882
+ <xsd:annotation>
1883
+ <xsd:documentation>
1884
+ The OFX element "SECID" is of type "SecurityId"
1885
+ </xsd:documentation>
1886
+ </xsd:annotation>
1887
+ <xsd:sequence>
1888
+ <xsd:element name="UNIQUEID" type="ofx:CusipType"/>
1889
+ <xsd:element name="UNIQUEIDTYPE" type="ofx:SecurityUserIdType"/>
1890
+ </xsd:sequence>
1891
+ </xsd:complexType>
1892
+ <xsd:complexType name="StatementTransaction">
1893
+ <xsd:annotation>
1894
+ <xsd:documentation>
1895
+ The OFX element "STMTTRN" is of type "StatementTransaction"
1896
+ </xsd:documentation>
1897
+ </xsd:annotation>
1898
+ <xsd:sequence>
1899
+ <xsd:element name="TRNTYPE" type="ofx:TransactionEnum"/>
1900
+ <xsd:element name="DTPOSTED" type="ofx:DateTimeType"/>
1901
+ <xsd:element name="DTUSER" type="ofx:DateTimeType" minOccurs="0"/>
1902
+ <xsd:element name="DTAVAIL" type="ofx:DateTimeType" minOccurs="0"/>
1903
+ <xsd:element name="TRNAMT" type="ofx:AmountType"/>
1904
+ <xsd:element name="FITID" type="ofx:FinancialInstitutionTransactionIdType"/>
1905
+ <xsd:sequence minOccurs="0">
1906
+ <xsd:element name="CORRECTFITID" type="ofx:FinancialInstitutionTransactionIdType"/>
1907
+ <xsd:element name="CORRECTACTION" type="ofx:CorrectiveActionEnum"/>
1908
+ </xsd:sequence>
1909
+ <xsd:element name="SRVRTID" type="ofx:ServerIdType" minOccurs="0"/>
1910
+ <xsd:element name="CHECKNUM" type="ofx:CheckNumberType" minOccurs="0"/>
1911
+ <xsd:element name="REFNUM" type="ofx:ReferenceNumberType" minOccurs="0"/>
1912
+ <xsd:element name="SIC" type="ofx:StandardIndustryCodeType" minOccurs="0"/>
1913
+ <xsd:element name="PAYEEID" type="ofx:PayeeIdType" minOccurs="0"/>
1914
+ <xsd:choice minOccurs="0">
1915
+ <xsd:element name="NAME" type="ofx:GenericNameType"/>
1916
+ <xsd:element name="PAYEE" type="ofx:Payee"/>
1917
+ </xsd:choice>
1918
+ <xsd:element name="EXTDNAME" type="ofx:ExtendedNameType" minOccurs="0"/>
1919
+ <xsd:choice minOccurs="0">
1920
+ <xsd:element name="BANKACCTTO" type="ofx:BankAccount"/>
1921
+ <xsd:element name="CCACCTTO" type="ofx:CreditCardAccount"/>
1922
+ </xsd:choice>
1923
+ <xsd:element name="MEMO" type="ofx:MessageType" minOccurs="0"/>
1924
+ <xsd:choice minOccurs="0">
1925
+ <xsd:element name="CURRENCY" type="ofx:Currency"/>
1926
+ <xsd:element name="ORIGCURRENCY" type="ofx:Currency"/>
1927
+ </xsd:choice>
1928
+ <xsd:element name="INV401KSOURCE" type="ofx:Investment401kSourceEnum" minOccurs="0"/>
1929
+ <xsd:element name="IMAGEDATA" type="ofx:ImageData" minOccurs="0" maxOccurs="2"/>
1930
+ </xsd:sequence>
1931
+ </xsd:complexType>
1932
+ <xsd:complexType name="TransferInfo">
1933
+ <xsd:annotation>
1934
+ <xsd:documentation>
1935
+ The OFX element "XFERINFO" is of type "TransferInfo"
1936
+ </xsd:documentation>
1937
+ </xsd:annotation>
1938
+ <xsd:sequence>
1939
+ <xsd:choice>
1940
+ <xsd:element name="BANKACCTFROM" type="ofx:BankAccount"/>
1941
+ <xsd:element name="LOANACCTFROM" type="ofx:LoanAccount"/>
1942
+ <xsd:element name="CCACCTFROM" type="ofx:CreditCardAccount"/>
1943
+ </xsd:choice>
1944
+ <xsd:choice>
1945
+ <xsd:element name="BANKACCTTO" type="ofx:BankAccount"/>
1946
+ <xsd:element name="LOANACCTTO" type="ofx:LoanAccount"/>
1947
+ <xsd:element name="CCACCTTO" type="ofx:CreditCardAccount"/>
1948
+ </xsd:choice>
1949
+ <xsd:element name="TRNAMT" type="ofx:AmountType"/>
1950
+ <xsd:element name="LOANTRNAMT" type="ofx:LoanTransactionAmount"/>
1951
+ <xsd:element name="DTDUE" type="ofx:DateTimeType" minOccurs="0"/>
1952
+ </xsd:sequence>
1953
+ </xsd:complexType>
1954
+ <xsd:complexType name="TransferProcessingStatus">
1955
+ <xsd:annotation>
1956
+ <xsd:documentation>
1957
+ The OFX element "XFERPRCSTS" is of type "TransferProcessingStatus"
1958
+ </xsd:documentation>
1959
+ </xsd:annotation>
1960
+ <xsd:sequence>
1961
+ <xsd:element name="XFERPRCCODE" type="ofx:TransferStatusEnum"/>
1962
+ <xsd:element name="DTXFERPRC" type="ofx:DateTimeType"/>
1963
+ </xsd:sequence>
1964
+ </xsd:complexType>
1965
+ <xsd:complexType name="AbstractSyncRequest" abstract="true">
1966
+ <xsd:complexContent>
1967
+ <xsd:extension base="ofx:AbstractRequest">
1968
+ <xsd:sequence>
1969
+ <xsd:choice>
1970
+ <xsd:element name="TOKEN" type="ofx:ServerIdType"/>
1971
+ <xsd:element name="TOKENONLY" type="ofx:BooleanType"/>
1972
+ <xsd:element name="REFRESH" type="ofx:BooleanType"/>
1973
+ </xsd:choice>
1974
+ <xsd:element name="REJECTIFMISSING" type="ofx:BooleanType"/>
1975
+ </xsd:sequence>
1976
+ </xsd:extension>
1977
+ </xsd:complexContent>
1978
+ </xsd:complexType>
1979
+ <xsd:complexType name="AbstractSyncResponse" abstract="true">
1980
+ <xsd:complexContent>
1981
+ <xsd:extension base="ofx:AbstractResponse">
1982
+ <xsd:sequence>
1983
+ <xsd:element name="TOKEN" type="ofx:ServerIdType"/>
1984
+ <xsd:element name="LOSTSYNC" type="ofx:BooleanType" minOccurs="0"/>
1985
+ </xsd:sequence>
1986
+ </xsd:extension>
1987
+ </xsd:complexContent>
1988
+ </xsd:complexType>
1989
+ <xsd:complexType name="AbstractTransactionRequest" abstract="true">
1990
+ <xsd:complexContent>
1991
+ <xsd:extension base="ofx:AbstractRequest">
1992
+ <xsd:sequence>
1993
+ <xsd:element name="TRNUID" type="ofx:GloballyUniqueUserIdType"/>
1994
+ <xsd:element name="CLTCOOKIE" type="ofx:IdType" minOccurs="0"/>
1995
+ <xsd:element name="TAN" type="ofx:TransactionAuthorizationNumberType" minOccurs="0"/>
1996
+ </xsd:sequence>
1997
+ </xsd:extension>
1998
+ </xsd:complexContent>
1999
+ </xsd:complexType>
2000
+ <xsd:complexType name="AbstractTransactionResponse" abstract="true">
2001
+ <xsd:complexContent>
2002
+ <xsd:extension base="ofx:AbstractResponse">
2003
+ <xsd:sequence>
2004
+ <xsd:element name="TRNUID" type="ofx:GloballyUniqueUserIdType"/>
2005
+ <xsd:element name="STATUS" type="ofx:Status"/>
2006
+ <xsd:element name="CLTCOOKIE" type="ofx:IdType" minOccurs="0"/>
2007
+ </xsd:sequence>
2008
+ </xsd:extension>
2009
+ </xsd:complexContent>
2010
+ </xsd:complexType>
2011
+ <xsd:simpleType name="LoanAccountEnum">
2012
+ <xsd:annotation>
2013
+ <xsd:documentation>
2014
+ The OFX element "LOANACCTTYPE" is of type "LoanAccountEnum"
2015
+ </xsd:documentation>
2016
+ </xsd:annotation>
2017
+ <xsd:restriction base="xsd:string">
2018
+ <xsd:enumeration value="AUTO"/>
2019
+ <xsd:enumeration value="CONSUMER"/>
2020
+ <xsd:enumeration value="MORTGAGE"/>
2021
+ <xsd:enumeration value="COMMERCIAL"/>
2022
+ <xsd:enumeration value="STUDENT"/>
2023
+ <xsd:enumeration value="MILITARY"/>
2024
+ <xsd:enumeration value="SMB"/>
2025
+ <xsd:enumeration value="CONSTR"/>
2026
+ <xsd:enumeration value="HOMEEQUITY"/>
2027
+ </xsd:restriction>
2028
+ </xsd:simpleType>
2029
+ <xsd:simpleType name="LoanTypeEnum">
2030
+ <xsd:annotation>
2031
+ <xsd:documentation>
2032
+ The OFX element "LOANTYPE" is of type "LoanTypeEnum"
2033
+ </xsd:documentation>
2034
+ </xsd:annotation>
2035
+ <xsd:restriction base="xsd:string">
2036
+ <xsd:enumeration value="FIXED"/>
2037
+ <xsd:enumeration value="REVOLVE"/>
2038
+ <xsd:enumeration value="OPEN"/>
2039
+ <xsd:enumeration value="COMBO"/>
2040
+ </xsd:restriction>
2041
+ </xsd:simpleType>
2042
+ <xsd:simpleType name="LoanNumPaymentsType">
2043
+ <xsd:annotation>
2044
+ <xsd:documentation>
2045
+ The OFX element "LOANINITNUMPMTS" is of type "LoanInitialPaymentsType"
2046
+ </xsd:documentation>
2047
+ </xsd:annotation>
2048
+ <xsd:restriction base="xsd:string">
2049
+ <xsd:minLength value="1"/>
2050
+ <xsd:maxLength value="5"/>
2051
+ </xsd:restriction>
2052
+ </xsd:simpleType>
2053
+ <xsd:simpleType name="ExtendedNameType">
2054
+ <xsd:annotation>
2055
+ <xsd:documentation>
2056
+ The OFX element "EXTDNAME" is of type "ExtendedNameType"
2057
+ </xsd:documentation>
2058
+ </xsd:annotation>
2059
+ <xsd:restriction base="xsd:string">
2060
+ <xsd:minLength value="1"/>
2061
+ <xsd:maxLength value="100"/>
2062
+ </xsd:restriction>
2063
+ </xsd:simpleType>
2064
+ <xsd:complexType name="PrincipalBalanceType">
2065
+ <xsd:annotation>
2066
+ <xsd:documentation>
2067
+ The OFX element "PRINBAL" is of type "PrincipalBalanceType"
2068
+ </xsd:documentation>
2069
+ </xsd:annotation>
2070
+ <xsd:sequence>
2071
+ <xsd:element name="BALAMT" type="ofx:AmountType"/>
2072
+ <xsd:element name="PRINYTD" type="ofx:AmountType" minOccurs="0"/>
2073
+ <xsd:element name="PRINLTD" type="ofx:AmountType" minOccurs="0"/>
2074
+ <xsd:element name="DTASOF" type="ofx:DateTimeType"/>
2075
+ </xsd:sequence>
2076
+ </xsd:complexType>
2077
+ <xsd:complexType name="LoanInterestType">
2078
+ <xsd:annotation>
2079
+ <xsd:documentation>
2080
+ The OFX element "LOANINT" is of type "LoanInterestType"
2081
+ </xsd:documentation>
2082
+ </xsd:annotation>
2083
+ <xsd:sequence>
2084
+ <xsd:choice>
2085
+ <xsd:element name="LOANINTYTD" type="ofx:AmountType"/>
2086
+ <xsd:element name="LOANINTLTD" type="ofx:AmountType"/>
2087
+ <xsd:element name="LOANINTPRJ" type="ofx:AmountType"/>
2088
+ </xsd:choice>
2089
+ <xsd:element name="DTASOF" type="ofx:DateTimeType"/>
2090
+ </xsd:sequence>
2091
+ </xsd:complexType>
2092
+ <xsd:complexType name="LoanRateType">
2093
+ <xsd:annotation>
2094
+ <xsd:documentation>
2095
+ The OFX element "LOANRATE" is of type "LoanRateType"
2096
+ </xsd:documentation>
2097
+ </xsd:annotation>
2098
+ <xsd:sequence>
2099
+ <xsd:element name="LOANINTRATE" type="ofx:RateType"/>
2100
+ <xsd:element name="RATETYPE" type="ofx:LoanRateEnum"/>
2101
+ <xsd:element name="DTASOF" type="ofx:DateTimeType"/>
2102
+ </xsd:sequence>
2103
+ </xsd:complexType>
2104
+ <xsd:complexType name="LoanPaymentAmount">
2105
+ <xsd:annotation>
2106
+ <xsd:documentation>
2107
+ The OFX element "LOANPMT" is of type "LoanPaymentAmount"
2108
+ </xsd:documentation>
2109
+ </xsd:annotation>
2110
+ <xsd:sequence>
2111
+ <xsd:element name="PMTAMT" type="ofx:AmountType"/>
2112
+ <xsd:element name="DTPMTDUE" type="ofx:DateTimeType"/>
2113
+ <xsd:element name="ESCRWAMT" type="ofx:EscrowAmount" minOccurs="0"/>
2114
+ <xsd:element name="LOANPMTTYPE" type="ofx:LoanPaymentEnum" minOccurs="0"/>
2115
+ </xsd:sequence>
2116
+ </xsd:complexType>
2117
+ <xsd:simpleType name="LoanFrequencyEnum">
2118
+ <xsd:annotation>
2119
+ <xsd:documentation>
2120
+ The OFX element "LOANFREQ" is of type "LoanFrequencyEnum"
2121
+ </xsd:documentation>
2122
+ </xsd:annotation>
2123
+ <xsd:restriction base="xsd:string">
2124
+ <xsd:enumeration value="WEEKLY"/>
2125
+ <xsd:enumeration value="BIWEEKLY"/>
2126
+ <xsd:enumeration value="TWICEMONTHLY"/>
2127
+ <xsd:enumeration value="MONTHLY"/>
2128
+ <xsd:enumeration value="FOURWEEKS"/>
2129
+ <xsd:enumeration value="BIMONTHLY"/>
2130
+ <xsd:enumeration value="QUARTERLY"/>
2131
+ <xsd:enumeration value="SEMIANNUALLY"/>
2132
+ <xsd:enumeration value="ANNUALLY"/>
2133
+ <xsd:enumeration value="MATURITY"/>
2134
+ </xsd:restriction>
2135
+ </xsd:simpleType>
2136
+ <xsd:simpleType name="LoanPaymentEnum">
2137
+ <xsd:annotation>
2138
+ <xsd:documentation>
2139
+ The OFX element "LOANPMTTYPE" is of type "LoanPaymentEnum"
2140
+ </xsd:documentation>
2141
+ </xsd:annotation>
2142
+ <xsd:restriction base="xsd:string">
2143
+ <xsd:enumeration value="INTONLY"/>
2144
+ <xsd:enumeration value="PRNANDINT"/>
2145
+ <xsd:enumeration value="PRNPLUSINT"/>
2146
+ </xsd:restriction>
2147
+ </xsd:simpleType>
2148
+ <xsd:simpleType name="LoanRateEnum">
2149
+ <xsd:annotation>
2150
+ <xsd:documentation>
2151
+ The OFX element "LOANFREQ" is of type "LoanFrequencyEnum"
2152
+ </xsd:documentation>
2153
+ </xsd:annotation>
2154
+ <xsd:restriction base="xsd:string">
2155
+ <xsd:enumeration value="FIXED"/>
2156
+ <xsd:enumeration value="FLOATING"/>
2157
+ <xsd:enumeration value="ARM"/>
2158
+ </xsd:restriction>
2159
+ </xsd:simpleType>
2160
+ <xsd:complexType name="LoanAccountInfo">
2161
+ <xsd:annotation>
2162
+ <xsd:documentation>
2163
+ The OFX element "LOANACCTINFO" is of type "LoanAccountInfo"
2164
+ </xsd:documentation>
2165
+ </xsd:annotation>
2166
+ <xsd:complexContent>
2167
+ <xsd:extension base="ofx:AbstractAccountInfo">
2168
+ <xsd:sequence>
2169
+ <xsd:element name="LOANACCTFROM" type="ofx:LoanAccount"/>
2170
+ <xsd:element name="LOANTYPE" type="ofx:LoanTypeEnum" minOccurs="0"/>
2171
+ <xsd:element name="LOANINITNUMPMTS" type="ofx:LoanNumPaymentsType" minOccurs="0"/>
2172
+ <xsd:element name="LOANINITBAL" type="ofx:AmountType"/>
2173
+ <xsd:element name="LOANFREQ" type="ofx:LoanFrequencyEnum"/>
2174
+ <xsd:element name="DTLOANSTART" type="ofx:DateTimeType"/>
2175
+ <xsd:element name="DTLOANMATURITY" type="ofx:DateTimeType" minOccurs="0"/>
2176
+ <xsd:element name="PRINBAL" type="ofx:PrincipalBalanceType"/>
2177
+ <xsd:element name="BALLOONAMT" type="ofx:AmountType" minOccurs="0"/>
2178
+ <xsd:element name="LOANINT" type="ofx:LoanInterestType" minOccurs="0"/>
2179
+ <xsd:element name="LOANIRATE" type="ofx:LoanRateType"/>
2180
+ <xsd:element name="LOANPMT" type="ofx:LoanPaymentAmount"/>
2181
+ <xsd:element name="LOANRMNPMTS" type="ofx:LoanNumPaymentsType"/>
2182
+ <xsd:element name="SUPTXDL" type="ofx:BooleanType"/>
2183
+ <xsd:element name="XFERSRC" type="ofx:BooleanType"/>
2184
+ <xsd:element name="XFERDEST" type="ofx:BooleanType"/>
2185
+ <xsd:element name="SVCSTATUS" type="ofx:ServiceStatusEnum"/>
2186
+ </xsd:sequence>
2187
+ </xsd:extension>
2188
+ </xsd:complexContent>
2189
+ </xsd:complexType>
2190
+ <xsd:complexType name="LoanAccount">
2191
+ <xsd:annotation>
2192
+ <xsd:documentation>
2193
+ The OFX elements LOANACCTFROM and LOANACCTTO are of type "LoanAccount"
2194
+ </xsd:documentation>
2195
+ </xsd:annotation>
2196
+ <xsd:complexContent>
2197
+ <xsd:extension base="ofx:AbstractAccount">
2198
+ <xsd:sequence>
2199
+ <xsd:element name="LOANACCTID" type="ofx:AccountIdType"/>
2200
+ <xsd:element name="LOANACCTTYPE" type="ofx:LoanAccountEnum"/>
2201
+ </xsd:sequence>
2202
+ </xsd:extension>
2203
+ </xsd:complexContent>
2204
+ </xsd:complexType>
2205
+ <xsd:complexType name="LoanTransactionAmount">
2206
+ <xsd:annotation>
2207
+ <xsd:documentation>
2208
+ The OFX element LOANTRNAMT is of type "LoanTransactionAmount"
2209
+ </xsd:documentation>
2210
+ </xsd:annotation>
2211
+ <xsd:sequence>
2212
+ <xsd:element name="PRINAMT" type="ofx:AmountType"/>
2213
+ <xsd:element name="INTAMT" type="ofx:AmountType"/>
2214
+ <xsd:element name="ESCRWAMT" type="ofx:EscrowAmount" minOccurs="0"/>
2215
+ <xsd:element name="INSURANCE" type="ofx:AmountType" minOccurs="0"/>
2216
+ </xsd:sequence>
2217
+ </xsd:complexType>
2218
+ <xsd:complexType name="EscrowAmount">
2219
+ <xsd:annotation>
2220
+ <xsd:documentation>
2221
+ The OFX element ESCRWAMT is of type "EscrowAmount"
2222
+ </xsd:documentation>
2223
+ </xsd:annotation>
2224
+ <xsd:sequence>
2225
+ <xsd:element name="ESCRWTOTAL" type="ofx:AmountType"/>
2226
+ <xsd:element name="ESCRWTAX" type="ofx:AmountType" minOccurs="0"/>
2227
+ <xsd:element name="ESCRWINS" type="ofx:AmountType" minOccurs="0"/>
2228
+ <xsd:element name="ESCRWPMI" type="ofx:AmountType" minOccurs="0"/>
2229
+ <xsd:element name="ESCRWFEES" type="ofx:AmountType" minOccurs="0"/>
2230
+ <xsd:element name="ESCRWOTHER" type="ofx:AmountType" minOccurs="0"/>
2231
+ </xsd:sequence>
2232
+ </xsd:complexType>
2233
+ <xsd:complexType name="ImageData">
2234
+ <xsd:annotation>
2235
+ <xsd:documentation>
2236
+ The OFX element "IMAGEDATA" is of type "ImageData"
2237
+ </xsd:documentation>
2238
+ </xsd:annotation>
2239
+ <xsd:sequence>
2240
+ <xsd:element name="IMAGETYPE" type="ofx:ImageTypeEnum"/>
2241
+ <xsd:element name="IMAGEREF" type="ofx:ImageRefType"/>
2242
+ <xsd:element name="IMAGEREFTYPE" type="ofx:ImageRefTypeEnum"/>
2243
+ <xsd:choice>
2244
+ <xsd:element name="IMAGEDELAY" type="ofx:ImageDelayType"/>
2245
+ <xsd:element name="DTIMAGEAVAIL" type="ofx:DateTimeType"/>
2246
+ </xsd:choice>
2247
+ <xsd:element name="IMAGETTL" type="ofx:ImageTotalType" minOccurs="0"/>
2248
+ <xsd:element name="CHECKSUP" type="ofx:CheckSupportEnum" minOccurs="0"/>
2249
+ </xsd:sequence>
2250
+ </xsd:complexType>
2251
+ <xsd:simpleType name="ImageTypeEnum">
2252
+ <xsd:annotation>
2253
+ <xsd:documentation>
2254
+ The OFX element "IMAGETYPE" is of type "ImageTypeEnum"
2255
+ </xsd:documentation>
2256
+ </xsd:annotation>
2257
+ <xsd:restriction base="xsd:string">
2258
+ <xsd:whiteSpace value="collapse"/>
2259
+ <xsd:enumeration value="STATEMENT"/>
2260
+ <xsd:enumeration value="TRANSACTION"/>
2261
+ <xsd:enumeration value="TAX"/>
2262
+ </xsd:restriction>
2263
+ </xsd:simpleType>
2264
+ <xsd:simpleType name="ImageRefType">
2265
+ <xsd:annotation>
2266
+ <xsd:documentation>
2267
+ The OFX element "IMAGEREF" is of type "ImageRefype"
2268
+ </xsd:documentation>
2269
+ </xsd:annotation>
2270
+ <xsd:restriction base="xsd:string">
2271
+ <xsd:maxLength value="1024"/>
2272
+ <xsd:minLength value="1"/>
2273
+ </xsd:restriction>
2274
+ </xsd:simpleType>
2275
+ <xsd:simpleType name="ImageRefTypeEnum">
2276
+ <xsd:annotation>
2277
+ <xsd:documentation>
2278
+ The OFX element "IMAGEREFTYPE" is of type "ImageTypeEnum"
2279
+ </xsd:documentation>
2280
+ </xsd:annotation>
2281
+ <xsd:restriction base="xsd:string">
2282
+ <xsd:whiteSpace value="collapse"/>
2283
+ <xsd:enumeration value="OPAQUE"/>
2284
+ <xsd:enumeration value="URL"/>
2285
+ <xsd:enumeration value="FORMURL"/>
2286
+ </xsd:restriction>
2287
+ </xsd:simpleType>
2288
+ <xsd:simpleType name="ImageDelayType">
2289
+ <xsd:annotation>
2290
+ <xsd:documentation>
2291
+ The OFX element "IMAGEDELAYTYPE" is of type "ImageDelayType"
2292
+ </xsd:documentation>
2293
+ </xsd:annotation>
2294
+ <xsd:restriction base="xsd:string">
2295
+ <xsd:whiteSpace value="collapse"/>
2296
+ <xsd:minLength value="1"/>
2297
+ <xsd:maxLength value="5"/>
2298
+ <xsd:pattern value="[0-9]+"/>
2299
+ </xsd:restriction>
2300
+ </xsd:simpleType>
2301
+ <xsd:simpleType name="ImageTotalType">
2302
+ <xsd:annotation>
2303
+ <xsd:documentation>
2304
+ The OFX element "DFLTIMAGETTL" is of type "ImageTotalType"
2305
+ </xsd:documentation>
2306
+ </xsd:annotation>
2307
+ <xsd:restriction base="xsd:string">
2308
+ <xsd:whiteSpace value="collapse"/>
2309
+ <xsd:minLength value="1"/>
2310
+ <xsd:maxLength value="5"/>
2311
+ <xsd:pattern value="[0-9]+"/>
2312
+ </xsd:restriction>
2313
+ </xsd:simpleType>
2314
+ <xsd:simpleType name="CheckSupportEnum">
2315
+ <xsd:annotation>
2316
+ <xsd:documentation>
2317
+ The OFX element "CHECKSUP" is of type "CheckSupportEnum"
2318
+ </xsd:documentation>
2319
+ </xsd:annotation>
2320
+ <xsd:restriction base="xsd:string">
2321
+ <xsd:whiteSpace value="collapse"/>
2322
+ <xsd:enumeration value="FRONTONLY"/>
2323
+ <xsd:enumeration value="BACKONLY"/>
2324
+ <xsd:enumeration value="FRONTANDBACK"/>
2325
+ </xsd:restriction>
2326
+ </xsd:simpleType>
2327
+ <xsd:complexType name="AbstractResponse" abstract="true"/>
2328
+ <xsd:complexType name="AbstractRequest" abstract="true"/>
2329
+ </xsd:schema>