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,222 @@
1
+ <?xml version="1.0" encoding="utf-8" standalone="no"?>
2
+
3
+ <!--
4
+
5
+ Open Financial Exchange Specification (c)1996-2003 ("Specification") by all of its publishers:
6
+ CheckFree Corp., Intuit Inc., and Microsoft Corporation. All rights reserved.
7
+
8
+ Revision History:
9
+
10
+ Version Date Editor Email Addr Short Description
11
+
12
+ p18 2002-02-11 altenburgd@businesslogic.com Initial revision
13
+ p21 2002-03-17 altenburgd@businesslogic.com Renamed "Account" to "AbstractAccount"
14
+ Renamed "SyncRequest" to "AbstractSyncRequest"
15
+ Renamed "SyncResponse" to "AbstractSyncResponse"
16
+ Renamed "TransactionRequest" to "AbstractTransactionRequest"
17
+ Renamed "TransactionResponse" to "AbstractTransactionResponse"
18
+
19
+ p21 2002-03-17 altenburgd@businesslogic.com Changed elementFormDefault to "unqualified"
20
+ Changed namespace to "http://ofx.net/types/2003/04"
21
+ -->
22
+
23
+ <xsd:schema
24
+ elementFormDefault="unqualified"
25
+ targetNamespace="http://ofx.net/types/2003/04"
26
+ xmlns:ofx="http://ofx.net/types/2003/04"
27
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema">
28
+
29
+ <xsd:include schemaLocation="OFX_Signup_Messages.xsd"/>
30
+ <xsd:complexType name="AccountInfoTransactionRequest">
31
+ <xsd:annotation>
32
+ <xsd:documentation>
33
+ The OFX element "ACCTINFOTRNRQ" is of type "AccountInfoTransactionRequest"
34
+ </xsd:documentation>
35
+ </xsd:annotation>
36
+
37
+ <xsd:complexContent>
38
+ <xsd:extension base="ofx:AbstractTransactionRequest">
39
+ <xsd:sequence>
40
+ <xsd:element name="ACCTINFORQ" type="ofx:AccountInfoRequest"/>
41
+ </xsd:sequence>
42
+ </xsd:extension>
43
+ </xsd:complexContent>
44
+ </xsd:complexType>
45
+
46
+ <xsd:complexType name="AccountInfoTransactionResponse">
47
+ <xsd:annotation>
48
+ <xsd:documentation>
49
+ The OFX element "ACCTINFOTRNRS" is of type "AccountInfoTransactionResponse"
50
+ </xsd:documentation>
51
+ </xsd:annotation>
52
+ <xsd:complexContent>
53
+ <xsd:extension base="ofx:AbstractTransactionResponse">
54
+ <xsd:sequence>
55
+ <xsd:element name="ACCTINFORS" type="ofx:AccountInfoResponse" minOccurs="0"/>
56
+ </xsd:sequence>
57
+ </xsd:extension>
58
+ </xsd:complexContent>
59
+
60
+ </xsd:complexType>
61
+ <xsd:complexType name="AccountSyncRequest">
62
+ <xsd:annotation>
63
+ <xsd:documentation>
64
+ The OFX element "ACCTSYNCRQ" is of type "AccountSyncRequest"
65
+ </xsd:documentation>
66
+ </xsd:annotation>
67
+
68
+ <xsd:complexContent>
69
+ <xsd:extension base="ofx:AbstractSyncRequest">
70
+ <xsd:sequence>
71
+ <xsd:element name="ACCTTRNRQ" type="ofx:AccountTransactionRequest" minOccurs="0" maxOccurs="unbounded"/>
72
+ </xsd:sequence>
73
+ </xsd:extension>
74
+ </xsd:complexContent>
75
+ </xsd:complexType>
76
+
77
+ <xsd:complexType name="AccountSyncResponse">
78
+ <xsd:annotation>
79
+ <xsd:documentation>
80
+ The OFX element "ACCTSYNCRS" is of type "AccountSyncResponse"
81
+ </xsd:documentation>
82
+ </xsd:annotation>
83
+
84
+ <xsd:complexContent>
85
+ <xsd:extension base="ofx:AbstractSyncResponse">
86
+ <xsd:sequence>
87
+ <xsd:element name="ACCTTRNRS" type="ofx:AccountTransactionResponse" minOccurs="0" maxOccurs="unbounded"/>
88
+ </xsd:sequence>
89
+ </xsd:extension>
90
+ </xsd:complexContent>
91
+ </xsd:complexType>
92
+
93
+ <xsd:complexType name="AccountTransactionRequest">
94
+ <xsd:annotation>
95
+ <xsd:documentation>
96
+ The OFX element "ACCTTRNRQ" is of type "AccountTransactionRequest"
97
+ </xsd:documentation>
98
+ </xsd:annotation>
99
+
100
+ <xsd:complexContent>
101
+ <xsd:extension base="ofx:AbstractTransactionRequest">
102
+ <xsd:sequence>
103
+ <xsd:element name="ACCTRQ" type="ofx:AccountRequest"/>
104
+ </xsd:sequence>
105
+ </xsd:extension>
106
+ </xsd:complexContent>
107
+ </xsd:complexType>
108
+
109
+
110
+ <xsd:complexType name="AccountTransactionResponse">
111
+ <xsd:annotation>
112
+ <xsd:documentation>
113
+ The OFX element "ACCTTRNRS" is of type "AccountTransactionResponse"
114
+ </xsd:documentation>
115
+ </xsd:annotation>
116
+
117
+ <xsd:complexContent>
118
+ <xsd:extension base="ofx:AbstractTransactionResponse">
119
+ <xsd:sequence>
120
+ <xsd:element name="ACCTRS" type="ofx:AccountResponse" minOccurs="0"/>
121
+ </xsd:sequence>
122
+ </xsd:extension>
123
+ </xsd:complexContent>
124
+ </xsd:complexType>
125
+
126
+
127
+ <xsd:complexType name="ChangeUserInfoSyncRequest">
128
+ <xsd:annotation>
129
+ <xsd:documentation>
130
+ The OFX element "CHGUSERINFOSYNCRQ" is of type "ChangeUserInfoSyncRequest"
131
+ </xsd:documentation>
132
+ </xsd:annotation>
133
+
134
+ <xsd:complexContent>
135
+ <xsd:extension base="ofx:AbstractSyncRequest">
136
+ <xsd:sequence>
137
+ <xsd:element name="CHGUSERINFOTRNRQ" type="ofx:ChangeUserInfoTransactionRequest" minOccurs="0" maxOccurs="unbounded"/>
138
+ </xsd:sequence>
139
+ </xsd:extension>
140
+ </xsd:complexContent>
141
+ </xsd:complexType>
142
+
143
+ <xsd:complexType name="ChangeUserInfoSyncResponse">
144
+ <xsd:annotation>
145
+ <xsd:documentation>
146
+ The OFX element "CHGUSERINFOSYNCRS" is of type "ChangeUserInfoSyncResponse"
147
+ </xsd:documentation>
148
+ </xsd:annotation>
149
+
150
+ <xsd:complexContent>
151
+ <xsd:extension base="ofx:AbstractSyncResponse">
152
+ <xsd:sequence>
153
+ <xsd:element name="CHGUSERINFOTRNRS" type="ofx:ChangeUserInfoTransactionResponse" minOccurs="0" maxOccurs="unbounded"/>
154
+ </xsd:sequence>
155
+ </xsd:extension>
156
+ </xsd:complexContent>
157
+ </xsd:complexType>
158
+
159
+ <xsd:complexType name="ChangeUserInfoTransactionRequest">
160
+ <xsd:annotation>
161
+ <xsd:documentation>
162
+ The OFX element "CHGUSERINFOTRNRQ" is of type "ChangeUserInfoTransactionRequest"
163
+ </xsd:documentation>
164
+ </xsd:annotation>
165
+
166
+ <xsd:complexContent>
167
+ <xsd:extension base="ofx:AbstractTransactionRequest">
168
+ <xsd:sequence>
169
+ <xsd:element name="CHGUSERINFORQ" type="ofx:ChangeUserInfoRequest"/>
170
+ </xsd:sequence>
171
+ </xsd:extension>
172
+ </xsd:complexContent>
173
+ </xsd:complexType>
174
+
175
+ <xsd:complexType name="ChangeUserInfoTransactionResponse">
176
+ <xsd:annotation>
177
+ <xsd:documentation>
178
+ The OFX element "CHGUSERINFOTRNRS" is of type "ChangeUserInfoTransactionResponse"
179
+ </xsd:documentation>
180
+ </xsd:annotation>
181
+ <xsd:complexContent>
182
+ <xsd:extension base="ofx:AbstractTransactionResponse">
183
+ <xsd:sequence>
184
+ <xsd:element name="CHGUSERINFORS" type="ofx:ChangeUserInfoResponse" minOccurs="0"/>
185
+ </xsd:sequence>
186
+ </xsd:extension>
187
+ </xsd:complexContent>
188
+ </xsd:complexType>
189
+
190
+ <xsd:complexType name="EnrollTransactionRequest">
191
+ <xsd:annotation>
192
+ <xsd:documentation>
193
+ The OFX element "ENROLLTRNRQ" is of type "EnrollTransactionRequest"
194
+ </xsd:documentation>
195
+ </xsd:annotation>
196
+
197
+ <xsd:complexContent>
198
+ <xsd:extension base="ofx:AbstractTransactionRequest">
199
+ <xsd:sequence>
200
+ <xsd:element name="ENROLLRQ" type="ofx:EnrollRequest"/>
201
+ </xsd:sequence>
202
+ </xsd:extension>
203
+ </xsd:complexContent>
204
+ </xsd:complexType>
205
+
206
+ <xsd:complexType name="EnrollTransactionResponse">
207
+ <xsd:annotation>
208
+ <xsd:documentation>
209
+ The OFX element "ENROLLTRNRS" is of type "EnrollTransactionResponse"
210
+ </xsd:documentation>
211
+ </xsd:annotation>
212
+
213
+ <xsd:complexContent>
214
+ <xsd:extension base="ofx:AbstractTransactionResponse">
215
+ <xsd:sequence>
216
+ <xsd:element name="ENROLLRS" type="ofx:EnrollResponse" minOccurs="0"/>
217
+ </xsd:sequence>
218
+ </xsd:extension>
219
+ </xsd:complexContent>
220
+ </xsd:complexType>
221
+
222
+ </xsd:schema>
@@ -0,0 +1,153 @@
1
+ <?xml version="1.0" encoding="utf-8" standalone="no"?>
2
+ <!--
3
+
4
+ Open Financial Exchange Specification (c)1996-2004 ("Specification") by all of its publishers:
5
+ CheckFree Corp., Intuit Inc., and Microsoft Corporation. All rights reserved.
6
+
7
+ Revision History:
8
+
9
+ Version Date Editor Email Addr Short Description
10
+
11
+ p17 2002-02-10 altenburgd@businesslogic.com Initial revision
12
+ p18 2002-02-10 Gil_Clark@intuit.com
13
+ p21 2002-03-17 altenburgd@businesslogic.com Changed elementFormDefault to "unqualified"
14
+ Changed namespace to "http://ofx.net/types/2003/04"
15
+ 2006-06-13 wendy_dubois@intuit.com some ENROLLRQ tags changed to optional
16
+
17
+ -->
18
+
19
+ <xsd:schema targetNamespace="http://ofx.net/types/2003/04" xmlns:ofx="http://ofx.net/types/2003/04" xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="unqualified">
20
+ <xsd:include schemaLocation="OFX_Signup.xsd"/>
21
+ <xsd:complexType name="AccountRequest">
22
+ <xsd:annotation>
23
+ <xsd:documentation>
24
+ The OFX element "ACCTRQ" is of type "AccountRequest"
25
+ </xsd:documentation>
26
+ </xsd:annotation>
27
+ <xsd:sequence>
28
+ <xsd:choice>
29
+ <xsd:element name="SVCADD" type="ofx:ServiceAdd"/>
30
+ <xsd:element name="SVCCHG" type="ofx:ServiceChange"/>
31
+ <xsd:element name="SVCDEL" type="ofx:ServiceDelete"/>
32
+ </xsd:choice>
33
+ <xsd:element name="SVC" type="ofx:ServiceEnum"/>
34
+ </xsd:sequence>
35
+ </xsd:complexType>
36
+ <xsd:complexType name="AccountResponse">
37
+ <xsd:annotation>
38
+ <xsd:documentation>
39
+ The OFX element "ACCTRS" is of type "AccountResponse"
40
+ </xsd:documentation>
41
+ </xsd:annotation>
42
+ <xsd:sequence>
43
+ <xsd:choice>
44
+ <xsd:element name="SVCADD" type="ofx:ServiceAdd"/>
45
+ <xsd:element name="SVCCHG" type="ofx:ServiceChange"/>
46
+ <xsd:element name="SVCDEL" type="ofx:ServiceDelete"/>
47
+ </xsd:choice>
48
+ <xsd:element name="SVC" type="ofx:ServiceEnum"/>
49
+ <xsd:element name="SVCSTATUS" type="ofx:ServiceStatusEnum"/>
50
+ </xsd:sequence>
51
+ </xsd:complexType>
52
+ <xsd:complexType name="ChangeUserInfoRequest">
53
+ <xsd:annotation>
54
+ <xsd:documentation>
55
+ The OFX element "CHGUSERINFORQ" is of type "ChangeUserInfoRequest"
56
+ </xsd:documentation>
57
+ </xsd:annotation>
58
+ <xsd:sequence>
59
+ <xsd:element name="FIRSTNAME" type="ofx:GenericNameType" minOccurs="0"/>
60
+ <xsd:element name="MIDDLENAME" type="ofx:GenericNameType" minOccurs="0"/>
61
+ <xsd:element name="LASTNAME" type="ofx:GenericNameType" minOccurs="0"/>
62
+ <xsd:sequence minOccurs="0">
63
+ <xsd:element name="ADDR1" type="ofx:AddressType"/>
64
+ <xsd:sequence minOccurs="0">
65
+ <xsd:element name="ADDR2" type="ofx:AddressType"/>
66
+ <xsd:element name="ADDR3" type="ofx:AddressType" minOccurs="0"/>
67
+ </xsd:sequence>
68
+ </xsd:sequence>
69
+ <xsd:element name="CITY" type="ofx:AddressType" minOccurs="0"/>
70
+ <xsd:element name="STATE" type="ofx:StateType" minOccurs="0"/>
71
+ <xsd:element name="POSTALCODE" type="ofx:ZipType" minOccurs="0"/>
72
+ <xsd:element name="COUNTRY" type="ofx:CountryType" minOccurs="0"/>
73
+ <xsd:element name="DAYPHONE" type="ofx:PhoneType" minOccurs="0"/>
74
+ <xsd:element name="EVEPHONE" type="ofx:PhoneType" minOccurs="0"/>
75
+ <xsd:element name="EMAIL" type="ofx:ShortMessageType" minOccurs="0"/>
76
+ </xsd:sequence>
77
+ </xsd:complexType>
78
+ <xsd:complexType name="ChangeUserInfoResponse">
79
+ <xsd:annotation>
80
+ <xsd:documentation>
81
+ The OFX element "CHGUSERINFORS" is of type "ChangeUserInfoResponse"
82
+ </xsd:documentation>
83
+ </xsd:annotation>
84
+ <xsd:sequence>
85
+ <xsd:element name="FIRSTNAME" type="ofx:GenericNameType" minOccurs="0"/>
86
+ <xsd:element name="MIDDLENAME" type="ofx:GenericNameType" minOccurs="0"/>
87
+ <xsd:element name="LASTNAME" type="ofx:GenericNameType" minOccurs="0"/>
88
+ <xsd:sequence minOccurs="0">
89
+ <xsd:element name="ADDR1" type="ofx:AddressType"/>
90
+ <xsd:sequence minOccurs="0">
91
+ <xsd:element name="ADDR2" type="ofx:AddressType"/>
92
+ <xsd:element name="ADDR3" type="ofx:AddressType" minOccurs="0"/>
93
+ </xsd:sequence>
94
+ </xsd:sequence>
95
+ <xsd:element name="CITY" type="ofx:AddressType" minOccurs="0"/>
96
+ <xsd:element name="STATE" type="ofx:StateType" minOccurs="0"/>
97
+ <xsd:element name="POSTALCODE" type="ofx:ZipType" minOccurs="0"/>
98
+ <xsd:element name="COUNTRY" type="ofx:CountryType" minOccurs="0"/>
99
+ <xsd:element name="DAYPHONE" type="ofx:PhoneType" minOccurs="0"/>
100
+ <xsd:element name="EVEPHONE" type="ofx:PhoneType" minOccurs="0"/>
101
+ <xsd:element name="EMAIL" type="ofx:ShortMessageType" minOccurs="0"/>
102
+ <xsd:element name="DTINFOCHG" type="ofx:DateTimeType"/>
103
+ </xsd:sequence>
104
+ </xsd:complexType>
105
+ <xsd:complexType name="EnrollRequest">
106
+ <xsd:annotation>
107
+ <xsd:documentation>
108
+ The OFX element "ENROLLRQ" is of type "EnrollRequest"
109
+ </xsd:documentation>
110
+ </xsd:annotation>
111
+ <xsd:sequence>
112
+ <xsd:element name="FIRSTNAME" type="ofx:GenericNameType"/>
113
+ <xsd:element name="MIDDLENAME" type="ofx:GenericNameType" minOccurs="0"/>
114
+ <xsd:element name="LASTNAME" type="ofx:GenericNameType"/>
115
+ <xsd:sequence>
116
+ <xsd:element name="ADDR1" type="ofx:AddressType"/>
117
+ <xsd:sequence minOccurs="0">
118
+ <xsd:element name="ADDR2" type="ofx:AddressType"/>
119
+ <xsd:element name="ADDR3" type="ofx:AddressType" minOccurs="0"/>
120
+ </xsd:sequence>
121
+ </xsd:sequence>
122
+ <xsd:element name="CITY" type="ofx:AddressType"/>
123
+ <xsd:element name="STATE" type="ofx:StateType"/>
124
+ <xsd:element name="POSTALCODE" type="ofx:ZipType"/>
125
+ <xsd:element name="COUNTRY" type="ofx:CountryType" minOccurs="0"/>
126
+ <xsd:element name="DAYPHONE" type="ofx:PhoneType" minOccurs="0"/>
127
+ <xsd:element name="EVEPHONE" type="ofx:PhoneType" minOccurs="0"/>
128
+ <xsd:element name="EMAIL" type="ofx:ShortMessageType"/>
129
+ <xsd:element name="USERID" type="ofx:IdType" minOccurs="0"/>
130
+ <xsd:element name="TAXID" type="ofx:IdType" minOccurs="0"/>
131
+ <xsd:element name="SECURITYNAME" type="ofx:GenericNameType" minOccurs="0"/>
132
+ <xsd:element name="DATEBIRTH" type="ofx:DateTimeType" minOccurs="0"/>
133
+ <xsd:choice minOccurs="0">
134
+ <xsd:element name="BANKACCTFROM" type="ofx:BankAccount"/>
135
+ <xsd:element name="CCACCTFROM" type="ofx:CreditCardAccount"/>
136
+ <xsd:element name="INVACCTFROM" type="ofx:InvestmentAccount"/>
137
+ <xsd:element name="PRESACCTFROM" type="ofx:PresentmentAccount"/>
138
+ </xsd:choice>
139
+ </xsd:sequence>
140
+ </xsd:complexType>
141
+ <xsd:complexType name="EnrollResponse">
142
+ <xsd:annotation>
143
+ <xsd:documentation>
144
+ The OFX element "ENROLLRS" is of type "EnrollResponse"
145
+ </xsd:documentation>
146
+ </xsd:annotation>
147
+ <xsd:sequence>
148
+ <xsd:element name="TEMPPASS" type="ofx:TempPassType" minOccurs="0"/>
149
+ <xsd:element name="USERID" type="ofx:IdType" minOccurs="0"/>
150
+ <xsd:element name="DTEXPIRE" type="ofx:DateTimeType" minOccurs="0"/>
151
+ </xsd:sequence>
152
+ </xsd:complexType>
153
+ </xsd:schema>
@@ -0,0 +1,123 @@
1
+ <?xml version="1.0" encoding="utf-8" standalone="no"?>
2
+
3
+ <!--
4
+
5
+ Open Financial Exchange Specification (c)1996-2003 ("Specification") by all of its publishers:
6
+ CheckFree Corp., Intuit Inc., and Microsoft Corporation. All rights reserved.
7
+
8
+ Revision History:
9
+
10
+ Version Date Editor Email Addr Short Description
11
+
12
+ p18 2002-02-11 altenburgd@businesslogic.com Initial revision
13
+ p21 2002-03-17 altenburgd@businesslogic.com Changed elementFormDefault to "unqualified"
14
+ Changed namespace to "http://ofx.net/types/2003/04"
15
+ -->
16
+
17
+ <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
18
+ elementFormDefault="unqualified"
19
+ xmlns:ofx="http://ofx.net/types/2003/04"
20
+ targetNamespace="http://ofx.net/types/2003/04">
21
+ <xsd:include schemaLocation = "OFX_Common.xsd" />
22
+
23
+ <xsd:complexType name="BorrowerAddress">
24
+ <xsd:annotation>
25
+ <xsd:documentation>
26
+ The OFX element "BORROWERADDR" is of type "BorrowerAddress"
27
+ </xsd:documentation>
28
+ </xsd:annotation>
29
+
30
+ <xsd:sequence>
31
+ <xsd:element name="BORROWERNAME" type="ofx:GenericNameType" />
32
+
33
+ <xsd:element name="ADDR1" type="ofx:AddressType"
34
+ minOccurs="0" maxOccurs="1" />
35
+
36
+ <xsd:element name="ADDR2" type="ofx:AddressType"
37
+ minOccurs="0" maxOccurs="1" />
38
+
39
+ <xsd:element name="ADDR3" type="ofx:AddressType"
40
+ minOccurs="0" maxOccurs="1" />
41
+
42
+ <xsd:element name="CITY" type="ofx:AddressType" minOccurs="0"
43
+ maxOccurs="1" />
44
+
45
+ <xsd:element name="STATE" type="ofx:StateType" minOccurs="0"
46
+ maxOccurs="1" />
47
+
48
+ <xsd:element name="POSTALCODE" type="ofx:ZipType"
49
+ minOccurs="0" maxOccurs="1" />
50
+ </xsd:sequence>
51
+ </xsd:complexType>
52
+
53
+ <xsd:complexType name="LenderAddress">
54
+ <xsd:annotation>
55
+ <xsd:documentation>
56
+ The OFX element "LENDERADDR" is of type "LenderAddress"
57
+ </xsd:documentation>
58
+ </xsd:annotation>
59
+
60
+ <xsd:sequence>
61
+ <xsd:element name="LENDERNAME" type="ofx:GenericNameType" />
62
+
63
+ <xsd:element name="ADDR1" type="ofx:AddressType"
64
+ minOccurs="0" maxOccurs="1" />
65
+
66
+ <xsd:element name="ADDR2" type="ofx:AddressType"
67
+ minOccurs="0" maxOccurs="1" />
68
+
69
+ <xsd:element name="ADDR3" type="ofx:AddressType"
70
+ minOccurs="0" maxOccurs="1" />
71
+
72
+ <xsd:element name="CITY" type="ofx:AddressType" minOccurs="0"
73
+ maxOccurs="1" />
74
+
75
+ <xsd:element name="STATE" type="ofx:StateType" minOccurs="0"
76
+ maxOccurs="1" />
77
+
78
+ <xsd:element name="POSTALCODE" type="ofx:ZipType"
79
+ minOccurs="0" maxOccurs="1" />
80
+ </xsd:sequence>
81
+ </xsd:complexType>
82
+
83
+ <xsd:complexType name="Tax1098_V100">
84
+ <xsd:annotation>
85
+ <xsd:documentation>
86
+ The OFX element "TAX1098_V100" is of type "Tax1098_V100"
87
+ </xsd:documentation>
88
+ </xsd:annotation>
89
+
90
+ <xsd:sequence>
91
+ <xsd:element name="SRVRTID" type="ofx:ServerIdType" />
92
+
93
+ <xsd:element name="TAXYEAR" type="ofx:YearType" />
94
+
95
+ <xsd:element name="MORTGAGEINTEREST" type="ofx:AmountType"
96
+ minOccurs="0" maxOccurs="1" />
97
+
98
+ <xsd:element name="POINTS" type="ofx:AmountType" minOccurs="0"
99
+ maxOccurs="1" />
100
+
101
+ <xsd:element name="OVERPAIDREFUND" type="ofx:AmountType"
102
+ minOccurs="0" maxOccurs="1" />
103
+
104
+ <xsd:element name="OTHERLOANINFO" type="ofx:GenericDescriptionType"
105
+ minOccurs="0" maxOccurs="1" />
106
+
107
+ <xsd:element name="LENDERADDR" type="ofx:LenderAddress"
108
+ minOccurs="0" maxOccurs="1" />
109
+
110
+ <xsd:element name="LENDERID" type="ofx:GenericDescriptionType"
111
+ minOccurs="0" maxOccurs="1" />
112
+
113
+ <xsd:element name="BORROWERADDR" type="ofx:BorrowerAddress"
114
+ minOccurs="0" maxOccurs="1" />
115
+
116
+ <xsd:element name="BORROWERID" type="ofx:GenericDescriptionType"
117
+ minOccurs="0" maxOccurs="1" />
118
+ </xsd:sequence>
119
+ </xsd:complexType>
120
+
121
+
122
+ </xsd:schema>
123
+
@@ -0,0 +1,52 @@
1
+ <?xml version="1.0" encoding="utf-8" standalone="no"?>
2
+
3
+ <!--
4
+
5
+ Open Financial Exchange Specification (c)1996-2003 ("Specification") by all of its publishers:
6
+ CheckFree Corp., Intuit Inc., and Microsoft Corporation. All rights reserved.
7
+
8
+ Revision History:
9
+
10
+ Version Date Editor Email Addr Short Description
11
+
12
+ p18 2002-02-11 altenburgd@businesslogic.com Initial revision
13
+ p21 2002-03-17 altenburgd@businesslogic.com Changed elementFormDefault to "unqualified"
14
+ Changed namespace to "http://ofx.net/types/2003/04"
15
+ -->
16
+
17
+ <xsd:schema
18
+ elementFormDefault="unqualified"
19
+ targetNamespace="http://ofx.net/types/2003/04"
20
+ xmlns:ofx="http://ofx.net/types/2003/04"
21
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema">
22
+
23
+ <xsd:include schemaLocation="OFX_Tax1098_Messages.xsd"/>
24
+ <xsd:complexType name="Tax1098TransactionRequest">
25
+ <xsd:annotation>
26
+ <xsd:documentation>
27
+ The OFX element "TAX1098TRNRQ" is of type "Tax1098TransactionRequest"
28
+ </xsd:documentation>
29
+ </xsd:annotation>
30
+
31
+ <xsd:sequence>
32
+ <xsd:element name="TRNUID" type="ofx:GloballyUniqueUserIdType"/>
33
+ <xsd:element name="CLTCOOKIE" type="ofx:IdType" minOccurs="0"/>
34
+ <xsd:element name="TAN" type="ofx:TransactionAuthorizationNumberType" minOccurs="0"/>
35
+ <xsd:element name="TAX1098RQ" type="ofx:Tax1098Request"/>
36
+ </xsd:sequence>
37
+ </xsd:complexType>
38
+ <xsd:complexType name="Tax1098TransactionResponse">
39
+ <xsd:annotation>
40
+ <xsd:documentation>
41
+ The OFX element "TAX1098TRNRS" is of type "Tax1098TransactionResponse"
42
+ </xsd:documentation>
43
+ </xsd:annotation>
44
+
45
+ <xsd:sequence>
46
+ <xsd:element name="TRNUID" type="ofx:GloballyUniqueUserIdType"/>
47
+ <xsd:element name="STATUS" type="ofx:Status"/>
48
+ <xsd:element name="CLTCOOKIE" type="ofx:IdType" minOccurs="0"/>
49
+ <xsd:element name="TAX1098RS" type="ofx:Tax1098Response" minOccurs="0"/>
50
+ </xsd:sequence>
51
+ </xsd:complexType>
52
+ </xsd:schema>
@@ -0,0 +1,65 @@
1
+ <?xml version="1.0" encoding="utf-8" standalone="no"?>
2
+
3
+ <!--
4
+
5
+ Open Financial Exchange Specification (c)1996-2003 ("Specification") by all of its publishers:
6
+ CheckFree Corp., Intuit Inc., and Microsoft Corporation. All rights reserved.
7
+
8
+ Revision History:
9
+
10
+ Version Date Editor Email Addr Short Description
11
+
12
+ p18 2002-02-11 altenburgd@businesslogic.com Initial revision
13
+ p21 2002-03-17 altenburgd@businesslogic.com Changed elementFormDefault to "unqualified"
14
+ Changed namespace to "http://ofx.net/types/2003/04"
15
+ -->
16
+
17
+ <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
18
+ elementFormDefault="unqualified"
19
+ xmlns:ofx="http://ofx.net/types/2003/04"
20
+ targetNamespace="http://ofx.net/types/2003/04">
21
+
22
+
23
+ <xsd:include schemaLocation = "OFX_Tax1098.xsd" />
24
+
25
+ <xsd:complexType name="Tax1098Request">
26
+ <xsd:annotation>
27
+ <xsd:documentation>
28
+ The OFX element "TAX1098RQ" is of type "Tax1098Request"
29
+ </xsd:documentation>
30
+ </xsd:annotation>
31
+
32
+ <xsd:sequence>
33
+ <xsd:element name="ACCTNUM" type="ofx:AccountIdType"
34
+ minOccurs="0" maxOccurs="1" />
35
+
36
+ <xsd:element name="SSN" type="ofx:GenericNameType" minOccurs="0"
37
+ maxOccurs="1" />
38
+
39
+ <xsd:element name="TAXYEAR" type="ofx:YearType" minOccurs="0"
40
+ maxOccurs="unbounded" />
41
+ </xsd:sequence>
42
+ </xsd:complexType>
43
+
44
+ <xsd:complexType name="Tax1098Response">
45
+ <xsd:annotation>
46
+ <xsd:documentation>
47
+ The OFX element "TAX1098RS" is of type "Tax1098Response"
48
+ </xsd:documentation>
49
+ </xsd:annotation>
50
+
51
+ <xsd:sequence>
52
+ <xsd:element name="ACCTNUM" type="ofx:AccountIdType"
53
+ minOccurs="0" maxOccurs="1" />
54
+
55
+ <xsd:element name="SSN" type="ofx:GenericNameType" minOccurs="0"
56
+ maxOccurs="1" />
57
+
58
+ <xsd:sequence minOccurs="1" maxOccurs="unbounded">
59
+ <xsd:element name="TAX1098_V100" type="ofx:Tax1098_V100" />
60
+ </xsd:sequence>
61
+ </xsd:sequence>
62
+ </xsd:complexType>
63
+
64
+ </xsd:schema>
65
+