qonto_ofx 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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,204 @@
1
+ <?xml version="1.0" encoding="utf-8" standalone="no"?>
2
+ <!-- edited with XMLSpy v2006 sp2 U (http://www.altova.com) by Brea Anne Hylan (Intuit) -->
3
+ <!--
4
+ Open Financial Exchange Specification (c)1996-2003 ("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-11 altenburgd@businesslogic.com Initial revision
12
+ p18 2002-02-10 Gil_Clark@intuit.com
13
+ p20 2002-03-17 Gil_Clark@intuit.com Changed name of base types to use Abstract
14
+ naming convention.
15
+ p21 2002-03-17 altenburgd@businesslogic.com Changed elementFormDefault to "unqualified"
16
+ Changed namespace to "http://ofx.net/types/2003/04"
17
+ p23 2002-05-13 altenburgd@businesslogic.com Bugfixes based on Intuit Schema QA
18
+ R5 2002-07-22 gil_clark@intuit.com Added collapse to CODE type.
19
+ -->
20
+ <xsd:schema xmlns:ofx="http://ofx.net/types/2003/04" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://ofx.net/types/2003/04" elementFormDefault="unqualified">
21
+ <xsd:include schemaLocation="OFX_Common.xsd"/>
22
+ <xsd:simpleType name="ControlNumber">
23
+ <xsd:annotation>
24
+ <xsd:documentation>
25
+ The OFX element "CNTRLNO" is of type "ControlNumber"
26
+ </xsd:documentation>
27
+ </xsd:annotation>
28
+ <xsd:restriction base="xsd:string">
29
+ <xsd:minLength value="1"/>
30
+ <xsd:maxLength value="32"/>
31
+ </xsd:restriction>
32
+ </xsd:simpleType>
33
+ <xsd:complexType name="Codes">
34
+ <xsd:annotation>
35
+ <xsd:documentation>
36
+ The OFX element "CODES" is of type "Codes"
37
+ </xsd:documentation>
38
+ </xsd:annotation>
39
+ <xsd:sequence>
40
+ <xsd:element name="CODE">
41
+ <xsd:simpleType>
42
+ <xsd:restriction base="xsd:string">
43
+ <xsd:maxLength value="2"/>
44
+ <xsd:minLength value="1"/>
45
+ <xsd:whiteSpace value="collapse"/>
46
+ </xsd:restriction>
47
+ </xsd:simpleType>
48
+ </xsd:element>
49
+ <xsd:element name="CODEAMOUNT" type="ofx:AmountType"/>
50
+ </xsd:sequence>
51
+ </xsd:complexType>
52
+ <xsd:complexType name="Employee">
53
+ <xsd:annotation>
54
+ <xsd:documentation>
55
+ The OFX element "EMPLOYEE" is of type "Employee"
56
+ </xsd:documentation>
57
+ </xsd:annotation>
58
+ <xsd:sequence>
59
+ <xsd:element name="SSN" type="ofx:GenericNameType"/>
60
+ <xsd:element name="FIRSTNAME" type="ofx:GenericNameType"/>
61
+ <xsd:element name="MIDDLENAME" type="ofx:GenericNameType" minOccurs="0"/>
62
+ <xsd:element name="LASTNAME" type="ofx:GenericNameType"/>
63
+ <xsd:element name="ADDR1" type="ofx:AddressType" minOccurs="0"/>
64
+ <xsd:element name="ADDR2" type="ofx:AddressType" minOccurs="0"/>
65
+ <xsd:element name="ADDR3" type="ofx:AddressType" minOccurs="0"/>
66
+ <xsd:element name="CITY" type="ofx:AddressType" minOccurs="0"/>
67
+ <xsd:element name="STATE" type="ofx:StateType" minOccurs="0"/>
68
+ <xsd:element name="POSTALCODE" type="ofx:ZipType" minOccurs="0"/>
69
+ <xsd:element name="COUNTRYSTRING" type="ofx:CountryStringType" minOccurs="0"/>
70
+ </xsd:sequence>
71
+ </xsd:complexType>
72
+ <xsd:complexType name="Employer">
73
+ <xsd:annotation>
74
+ <xsd:documentation>
75
+ The OFX element "EMPLOYER" is of type "Employer"
76
+ </xsd:documentation>
77
+ </xsd:annotation>
78
+ <xsd:sequence>
79
+ <xsd:element name="FEDIDNUMBER" type="ofx:GenericNameType"/>
80
+ <xsd:element name="NAME1" type="ofx:GenericNameType"/>
81
+ <xsd:element name="NAME2" type="ofx:GenericNameType" minOccurs="0"/>
82
+ <xsd:element name="ADDR1" type="ofx:AddressType"/>
83
+ <xsd:element name="ADDR2" type="ofx:AddressType" minOccurs="0"/>
84
+ <xsd:element name="ADDR3" type="ofx:AddressType" minOccurs="0"/>
85
+ <xsd:element name="CITY" type="ofx:AddressType"/>
86
+ <xsd:element name="STATE" type="ofx:StateType"/>
87
+ <xsd:element name="POSTALCODE" type="ofx:ZipType"/>
88
+ <xsd:element name="COUNTRYSTRING" type="ofx:CountryStringType" minOccurs="0"/>
89
+ </xsd:sequence>
90
+ </xsd:complexType>
91
+ <xsd:complexType name="LocalInfo">
92
+ <xsd:annotation>
93
+ <xsd:documentation>
94
+ The OFX element "LOCALINFO" is of type "LocalInfo"
95
+ </xsd:documentation>
96
+ </xsd:annotation>
97
+ <xsd:sequence>
98
+ <xsd:element name="LOCALITY" type="ofx:GenericNameType"/>
99
+ <xsd:element name="LOCALWAGES" type="ofx:AmountType" minOccurs="0"/>
100
+ <xsd:element name="LOCALTAXWH" type="ofx:AmountType" minOccurs="0"/>
101
+ </xsd:sequence>
102
+ </xsd:complexType>
103
+ <xsd:complexType name="Other">
104
+ <xsd:annotation>
105
+ <xsd:documentation>
106
+ The OFX element "OTHER" is of type "Other"
107
+ </xsd:documentation>
108
+ </xsd:annotation>
109
+ <xsd:sequence>
110
+ <xsd:element name="OTHERDESC" type="ofx:GenericDescriptionType"/>
111
+ <xsd:element name="OTHERAMOUNT" type="ofx:AmountType"/>
112
+ </xsd:sequence>
113
+ </xsd:complexType>
114
+ <xsd:complexType name="StateInfo">
115
+ <xsd:annotation>
116
+ <xsd:documentation>
117
+ The OFX element "STATEINFO" is of type "StateInfo"
118
+ </xsd:documentation>
119
+ </xsd:annotation>
120
+ <xsd:sequence>
121
+ <xsd:element name="STATECODE" type="ofx:StateCodeType"/>
122
+ <xsd:element name="EMPLOYERSTID" type="ofx:IdType" minOccurs="0"/>
123
+ <xsd:element name="STATEWAGES" type="ofx:AmountType" minOccurs="0"/>
124
+ <xsd:element name="STATETAXWH" type="ofx:AmountType" minOccurs="0"/>
125
+ </xsd:sequence>
126
+ </xsd:complexType>
127
+ <xsd:complexType name="AbstractTaxW2" abstract="true">
128
+ <xsd:sequence>
129
+ <xsd:element name="TAXYEAR" type="ofx:YearType"/>
130
+ <xsd:element name="CNTRLNO" type="ofx:ControlNumber" minOccurs="0"/>
131
+ <xsd:element name="VOID" type="ofx:BooleanType" minOccurs="0"/>
132
+ </xsd:sequence>
133
+ </xsd:complexType>
134
+ <xsd:complexType name="TaxW2_V100">
135
+ <xsd:annotation>
136
+ <xsd:documentation>
137
+ The OFX element "TAXW2_V100" is of type "TaxW2_V100"
138
+ </xsd:documentation>
139
+ </xsd:annotation>
140
+ <xsd:complexContent>
141
+ <xsd:extension base="ofx:AbstractTaxW2">
142
+ <xsd:sequence>
143
+ <xsd:element name="EMPLOYER" type="ofx:Employer"/>
144
+ <xsd:element name="EMPLOYEE" type="ofx:Employee"/>
145
+ <xsd:element name="WAGES" type="ofx:AmountType" minOccurs="0"/>
146
+ <xsd:element name="FEDTAXWH" type="ofx:AmountType" minOccurs="0"/>
147
+ <xsd:element name="SSWAGES" type="ofx:AmountType" minOccurs="0"/>
148
+ <xsd:element name="SSTAXWH" type="ofx:AmountType" minOccurs="0"/>
149
+ <xsd:element name="MEDICAREWAGES" type="ofx:AmountType" minOccurs="0"/>
150
+ <xsd:element name="MEDICARETAXWH" type="ofx:AmountType" minOccurs="0"/>
151
+ <xsd:element name="SSTIPS" type="ofx:AmountType" minOccurs="0"/>
152
+ <xsd:element name="ALLOCATEDTIPS" type="ofx:AmountType" minOccurs="0"/>
153
+ <xsd:element name="ADVANCEDEIC" type="ofx:AmountType" minOccurs="0"/>
154
+ <xsd:element name="DEPCAREBENEFIT" type="ofx:AmountType" minOccurs="0"/>
155
+ <xsd:element name="NONQUALPLAN" type="ofx:AmountType" minOccurs="0"/>
156
+ <xsd:element name="BENEFITSBOX1" type="ofx:AmountType" minOccurs="0"/>
157
+ <xsd:element name="CODES" type="ofx:Codes" minOccurs="0" maxOccurs="unbounded"/>
158
+ <xsd:element name="OTHER" type="ofx:Other" minOccurs="0" maxOccurs="unbounded"/>
159
+ <xsd:element name="STATUTORY" type="ofx:BooleanType" minOccurs="0"/>
160
+ <xsd:element name="DECEASED" type="ofx:BooleanType" minOccurs="0"/>
161
+ <xsd:element name="PENSIONPLAN" type="ofx:BooleanType" minOccurs="0"/>
162
+ <xsd:element name="LEGALREP" type="ofx:BooleanType" minOccurs="0"/>
163
+ <xsd:element name="DEFERREDCOMP" type="ofx:BooleanType" minOccurs="0"/>
164
+ <xsd:element name="STATEINFO" type="ofx:StateInfo" minOccurs="0" maxOccurs="unbounded"/>
165
+ <xsd:element name="LOCALINFO" type="ofx:LocalInfo" minOccurs="0" maxOccurs="unbounded"/>
166
+ </xsd:sequence>
167
+ </xsd:extension>
168
+ </xsd:complexContent>
169
+ </xsd:complexType>
170
+ <xsd:complexType name="TaxW2_V200">
171
+ <xsd:annotation>
172
+ <xsd:documentation>
173
+ The OFX element "TAXW2_V200" is of type "TaxW2_V200"
174
+ </xsd:documentation>
175
+ </xsd:annotation>
176
+ <xsd:complexContent>
177
+ <xsd:extension base="ofx:AbstractTaxW2">
178
+ <xsd:sequence>
179
+ <xsd:element name="EMPLOYER" type="ofx:Employer"/>
180
+ <xsd:element name="EMPLOYEE" type="ofx:Employee"/>
181
+ <xsd:element name="WAGES" type="ofx:AmountType" minOccurs="0"/>
182
+ <xsd:element name="FEDTAXWH" type="ofx:AmountType" minOccurs="0"/>
183
+ <xsd:element name="SSWAGES" type="ofx:AmountType" minOccurs="0"/>
184
+ <xsd:element name="SSTAXWH" type="ofx:AmountType" minOccurs="0"/>
185
+ <xsd:element name="MEDICAREWAGES" type="ofx:AmountType" minOccurs="0"/>
186
+ <xsd:element name="MEDICARETAXWH" type="ofx:AmountType" minOccurs="0"/>
187
+ <xsd:element name="SSTIPS" type="ofx:AmountType" minOccurs="0"/>
188
+ <xsd:element name="ALLOCATEDTIPS" type="ofx:AmountType" minOccurs="0"/>
189
+ <xsd:element name="ADVANCEDEIC" type="ofx:AmountType" minOccurs="0"/>
190
+ <xsd:element name="DEPCAREBENEFIT" type="ofx:AmountType" minOccurs="0"/>
191
+ <xsd:element name="NONQUALPLAN" type="ofx:AmountType" minOccurs="0"/>
192
+ <xsd:element name="CODES" type="ofx:Codes" minOccurs="0" maxOccurs="unbounded"/>
193
+ <xsd:element name="OTHER" type="ofx:Other" minOccurs="0" maxOccurs="unbounded"/>
194
+ <xsd:element name="STATUTORY" type="ofx:BooleanType" minOccurs="0"/>
195
+ <xsd:element name="RETIREMENTPLAN" type="ofx:BooleanType" minOccurs="0"/>
196
+ <xsd:element name="THIRDPARTYSICKPAY" type="ofx:BooleanType" minOccurs="0"/>
197
+ <xsd:element name="DEFERREDCOMP" type="ofx:BooleanType" minOccurs="0"/>
198
+ <xsd:element name="STATEINFO" type="ofx:StateInfo" minOccurs="0" maxOccurs="unbounded"/>
199
+ <xsd:element name="LOCALINFO" type="ofx:LocalInfo" minOccurs="0" maxOccurs="unbounded"/>
200
+ </xsd:sequence>
201
+ </xsd:extension>
202
+ </xsd:complexContent>
203
+ </xsd:complexType>
204
+ </xsd:schema>
@@ -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_TaxW2_Messages.xsd"/>
24
+ <xsd:complexType name="TaxW2TransactionRequest">
25
+ <xsd:annotation>
26
+ <xsd:documentation>
27
+ The OFX element "TAXW2TRNRQ" is of type "TaxW2TransactionRequest"
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="TAXW2RQ" type="ofx:TaxW2Request"/>
36
+ </xsd:sequence>
37
+ </xsd:complexType>
38
+ <xsd:complexType name="TaxW2TransactionResponse">
39
+ <xsd:annotation>
40
+ <xsd:documentation>
41
+ The OFX element "TAXW2TRNRS" is of type "TaxW2TransactionResponse"
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="TAXW2RS" type="ofx:TaxW2Response" minOccurs="0"/>
50
+ </xsd:sequence>
51
+ </xsd:complexType>
52
+ </xsd:schema>
@@ -0,0 +1,58 @@
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
+ <xsd:include schemaLocation = "OFX_TaxW2.xsd" />
23
+
24
+ <xsd:complexType name="TaxW2Request">
25
+ <xsd:annotation>
26
+ <xsd:documentation>
27
+ The OFX element "TAXW2RQ" is of type "TaxW2Request"
28
+ </xsd:documentation>
29
+ </xsd:annotation>
30
+
31
+ <xsd:sequence>
32
+ <xsd:element name="SSN" type="ofx:GenericNameType" />
33
+
34
+ <xsd:element name="TAXYEAR" type="ofx:YearType" minOccurs="0"
35
+ maxOccurs="unbounded" />
36
+ </xsd:sequence>
37
+ </xsd:complexType>
38
+
39
+ <xsd:complexType name="TaxW2Response">
40
+ <xsd:annotation>
41
+ <xsd:documentation>
42
+ The OFX element "TAXW2RS" is of type "TaxW2Response"
43
+ </xsd:documentation>
44
+ </xsd:annotation>
45
+
46
+ <xsd:sequence>
47
+ <xsd:element name="SSN" type="ofx:GenericNameType" minOccurs="0"
48
+ maxOccurs="1" />
49
+
50
+ <xsd:choice minOccurs="1" maxOccurs="unbounded">
51
+ <xsd:element name="TAXW2_V100" type="ofx:TaxW2_V100" />
52
+
53
+ <xsd:element name="TAXW2_V200" type="ofx:TaxW2_V200" />
54
+ </xsd:choice>
55
+ </xsd:sequence>
56
+ </xsd:complexType>
57
+
58
+ </xsd:schema>
@@ -0,0 +1,98 @@
1
+ <?xml version="1.0" encoding="utf-8" standalone="no"?>
2
+ <!-- edited with XMLSPY v5 U (http://www.xmlspy.com) by Susan Murphy (Business Logic) -->
3
+ <xsd:schema targetNamespace="http://ofx.net/types/2003/04" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ofx="http://ofx.net/types/2003/04" elementFormDefault="unqualified">
4
+ <xsd:include schemaLocation="OFX_Messages.xsd"/>
5
+ <xsd:include schemaLocation="OFX_Investment_Messages.xsd"/>
6
+ <xsd:include schemaLocation="OFX_Investment_Message_Wrappers.xsd"/>
7
+ <xsd:include schemaLocation="OFX_Signon_Messages.xsd"/>
8
+ <xsd:include schemaLocation="OFX_Signon_Message_Wrappers.xsd"/>
9
+ <xsd:include schemaLocation="OFX_Profile_Message_Wrappers.xsd"/>
10
+ <xsd:include schemaLocation="OFX_Common.xsd"/>
11
+ <xsd:include schemaLocation="OFX_Signup_Message_Wrappers.xsd"/>
12
+ <xsd:include schemaLocation="OFX_SecuritiesList.xsd"/>
13
+ <xsd:include schemaLocation="OFX_SecuritiesList_Message_Wrappers.xsd"/>
14
+ <xsd:include schemaLocation="OFX_Banking.xsd"/>
15
+ <xsd:include schemaLocation="OFX_Banking_Messages.xsd"/>
16
+ <xsd:include schemaLocation="OFX_Banking_Message_Wrappers.xsd"/>
17
+ <xsd:include schemaLocation="OFX_Email.xsd"/>
18
+ <xsd:include schemaLocation="OFX_Email_Messages.xsd"/>
19
+ <xsd:include schemaLocation="OFX_Email_Message_Wrappers.xsd"/>
20
+ <xsd:include schemaLocation="OFX_BillPay_Message_Wrappers.xsd"/>
21
+ <xsd:include schemaLocation="OFX_CreditCard_Message_Wrappers.xsd"/>
22
+ <xsd:complexType name="OFXTransactionRequestMessage">
23
+ <xsd:complexContent>
24
+ <xsd:extension base="ofx:RequestMessage">
25
+ <xsd:sequence>
26
+ <xsd:element name="TransactionRequest" type="ofx:AbstractTransactionRequest"/>
27
+ </xsd:sequence>
28
+ </xsd:extension>
29
+ </xsd:complexContent>
30
+ </xsd:complexType>
31
+ <xsd:complexType name="OFXTransactionResponseMessage">
32
+ <xsd:complexContent>
33
+ <xsd:extension base="ofx:ResponseMessage">
34
+ <xsd:sequence>
35
+ <xsd:element name="TransactionResponse" type="ofx:AbstractTransactionResponse"/>
36
+ </xsd:sequence>
37
+ </xsd:extension>
38
+ </xsd:complexContent>
39
+ </xsd:complexType>
40
+ <xsd:complexType name="OFXSynchronizationRequestMessage">
41
+ <xsd:complexContent>
42
+ <xsd:extension base="ofx:RequestMessage">
43
+ <xsd:sequence>
44
+ <xsd:element name="SynchronizationRequest" type="ofx:AbstractSyncRequest"/>
45
+ </xsd:sequence>
46
+ </xsd:extension>
47
+ </xsd:complexContent>
48
+ </xsd:complexType>
49
+ <xsd:complexType name="OFXSynchronizationResponseMessage">
50
+ <xsd:complexContent>
51
+ <xsd:extension base="ofx:ResponseMessage">
52
+ <xsd:sequence>
53
+ <xsd:element name="SynchronizationResponse" type="ofx:AbstractSyncResponse"/>
54
+ </xsd:sequence>
55
+ </xsd:extension>
56
+ </xsd:complexContent>
57
+ </xsd:complexType>
58
+ <xsd:complexType name="OFXSignonRequestMessage">
59
+ <xsd:complexContent>
60
+ <xsd:extension base="ofx:SignonRequestMessage">
61
+ <xsd:sequence>
62
+ <xsd:element name="SignonRequest" type="ofx:SignonRequest"/>
63
+ </xsd:sequence>
64
+ </xsd:extension>
65
+ </xsd:complexContent>
66
+ </xsd:complexType>
67
+ <xsd:complexType name="OFXSignonResponseMessage">
68
+ <xsd:complexContent>
69
+ <xsd:extension base="ofx:SignonResponseMessage">
70
+ <xsd:sequence>
71
+ <xsd:element name="SignonResponse" type="ofx:SignonResponse"/>
72
+ </xsd:sequence>
73
+ </xsd:extension>
74
+ </xsd:complexContent>
75
+ </xsd:complexType>
76
+ <xsd:complexType name="OFXHeaderMessage">
77
+ <xsd:complexContent>
78
+ <xsd:extension base="ofx:HeaderMessage">
79
+ <xsd:sequence>
80
+ <xsd:element name="OFXHEADER" type="xsd:string"/>
81
+ <xsd:element name="VERSION" type="xsd:string"/>
82
+ <xsd:element name="SECURITY" type="ofx:SecurityEnum"/>
83
+ <xsd:element name="OLDFILEUID" type="xsd:string"/>
84
+ <xsd:element name="NEWFILEUID" type="xsd:string"/>
85
+ </xsd:sequence>
86
+ </xsd:extension>
87
+ </xsd:complexContent>
88
+ </xsd:complexType>
89
+ <xsd:complexType name="SecuritiesListInfo">
90
+ <xsd:complexContent>
91
+ <xsd:extension base="ofx:ReferenceInfo">
92
+ <xsd:sequence>
93
+ <xsd:element name="SecurityList" type="ofx:SecurityList"/>
94
+ </xsd:sequence>
95
+ </xsd:extension>
96
+ </xsd:complexContent>
97
+ </xsd:complexType>
98
+ </xsd:schema>
@@ -0,0 +1,88 @@
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="ExtBankDescription">
24
+ <xsd:annotation>
25
+ <xsd:documentation>
26
+ The OFX element "EXTBANKDESC" is of type "ExtBankDescription"
27
+ </xsd:documentation>
28
+ </xsd:annotation>
29
+
30
+ <xsd:sequence>
31
+ <xsd:element name="NAME" type="ofx:GenericNameType" />
32
+
33
+ <xsd:element name="BANKID" type="ofx:BankIdType" />
34
+
35
+ <xsd:sequence>
36
+ <xsd:element name="ADDR1" type="ofx:AddressType" />
37
+
38
+ <xsd:sequence minOccurs="0" maxOccurs="1">
39
+ <xsd:element name="ADDR2" type="ofx:AddressType" />
40
+
41
+ <xsd:element name="ADDR3" type="ofx:AddressType"
42
+ minOccurs="0" maxOccurs="1" />
43
+ </xsd:sequence>
44
+ </xsd:sequence>
45
+
46
+ <xsd:element name="CITY" type="ofx:AddressType" />
47
+
48
+ <xsd:element name="STATE" type="ofx:StateType" />
49
+
50
+ <xsd:element name="POSTALCODE" type="ofx:ZipType" />
51
+
52
+ <xsd:element name="COUNTRY" type="ofx:CountryType"
53
+ minOccurs="0" maxOccurs="1" />
54
+
55
+ <xsd:element name="PHONE" type="ofx:PhoneType" minOccurs="0"
56
+ maxOccurs="1" />
57
+ </xsd:sequence>
58
+ </xsd:complexType>
59
+
60
+ <xsd:complexType name="WireBeneficiary">
61
+ <xsd:annotation>
62
+ <xsd:documentation>
63
+ The OFX element "WIREBENEFICIARY" is of type "WireBeneficiary"
64
+ </xsd:documentation>
65
+ </xsd:annotation>
66
+
67
+ <xsd:sequence>
68
+ <xsd:element name="NAME" type="ofx:GenericNameType" />
69
+ <xsd:element name="BANKACCTTO" type="ofx:BankAccount" />
70
+ <xsd:element name="MEMO" type="ofx:MessageType" minOccurs="0" maxOccurs="1" />
71
+ </xsd:sequence>
72
+ </xsd:complexType>
73
+
74
+ <xsd:complexType name="WireDestinationBank">
75
+ <xsd:annotation>
76
+ <xsd:documentation>
77
+ The OFX element "WIREDESTBANK" is of type "WireDestinationBank"
78
+ </xsd:documentation>
79
+ </xsd:annotation>
80
+
81
+ <xsd:sequence>
82
+ <xsd:element name="EXTBANKDESC" type="ofx:ExtBankDescription" />
83
+ </xsd:sequence>
84
+ </xsd:complexType>
85
+
86
+
87
+ </xsd:schema>
88
+
@@ -0,0 +1,101 @@
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_WireTransfer_Messages.xsd"/>
30
+ <xsd:complexType name="WireSyncRequest">
31
+ <xsd:annotation>
32
+ <xsd:documentation>
33
+ The OFX element "WIRESYNCRQ" is of type "WireSyncRequest"
34
+ </xsd:documentation>
35
+ </xsd:annotation>
36
+
37
+ <xsd:complexContent>
38
+ <xsd:extension base="ofx:AbstractSyncRequest">
39
+ <xsd:sequence>
40
+ <xsd:element name="BANKACCTFROM" type="ofx:BankAccount"/>
41
+ <xsd:element name="WIRETRNRQ" type="ofx:WireTransactionRequest" minOccurs="0" maxOccurs="unbounded"/>
42
+ </xsd:sequence>
43
+ </xsd:extension>
44
+ </xsd:complexContent>
45
+ </xsd:complexType>
46
+
47
+ <xsd:complexType name="WireSyncResponse">
48
+ <xsd:annotation>
49
+ <xsd:documentation>
50
+ The OFX element "WIRESYNCRS" is of type "WireSyncResponse"
51
+ </xsd:documentation>
52
+ </xsd:annotation>
53
+
54
+ <xsd:complexContent>
55
+ <xsd:extension base="ofx:AbstractSyncResponse">
56
+ <xsd:sequence>
57
+ <xsd:element name="BANKACCTFROM" type="ofx:BankAccount"/>
58
+ <xsd:element name="WIRETRNRS" type="ofx:WireTransactionResponse" minOccurs="0" maxOccurs="unbounded"/>
59
+ </xsd:sequence>
60
+ </xsd:extension>
61
+ </xsd:complexContent>
62
+ </xsd:complexType>
63
+
64
+ <xsd:complexType name="WireTransactionRequest">
65
+ <xsd:annotation>
66
+ <xsd:documentation>
67
+ The OFX element "WIRETRNRQ" is of type "WireTransactionRequest"
68
+ </xsd:documentation>
69
+ </xsd:annotation>
70
+ <xsd:complexContent>
71
+ <xsd:extension base="ofx:AbstractTransactionRequest">
72
+ <xsd:sequence>
73
+ <xsd:choice>
74
+ <xsd:element name="WIRERQ" type="ofx:WireRequest"/>
75
+ <xsd:element name="WIRECANRQ" type="ofx:WireCancellationRequest"/>
76
+ </xsd:choice>
77
+ </xsd:sequence>
78
+ </xsd:extension>
79
+ </xsd:complexContent>
80
+ </xsd:complexType>
81
+
82
+ <xsd:complexType name="WireTransactionResponse">
83
+ <xsd:annotation>
84
+ <xsd:documentation>
85
+ The OFX element "WIRETRNRS" is of type "WireTransactionResponse"
86
+ </xsd:documentation>
87
+ </xsd:annotation>
88
+
89
+ <xsd:complexContent>
90
+ <xsd:extension base="ofx:AbstractTransactionResponse">
91
+ <xsd:sequence>
92
+ <xsd:choice minOccurs="0">
93
+ <xsd:element name="WIRERS" type="ofx:WireResponse"/>
94
+ <xsd:element name="WIRECANRS" type="ofx:WireCancellationResponse"/>
95
+ </xsd:choice>
96
+ </xsd:sequence>
97
+ </xsd:extension>
98
+ </xsd:complexContent>
99
+ </xsd:complexType>
100
+
101
+ </xsd:schema>