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.
- checksums.yaml +7 -0
- data/.gitignore +2 -0
- data/.rubocop.yml +1 -0
- data/.rubocop_todo.yml +68 -0
- data/Gemfile +6 -0
- data/Gemfile.lock +60 -0
- data/LICENSE.txt +21 -0
- data/README.md +34 -0
- data/Rakefile +11 -0
- data/bin/qonto_ofx +24 -0
- data/bin/setup +8 -0
- data/lib/api_gateway.rb +47 -0
- data/lib/base_validator.rb +17 -0
- data/lib/converter.rb +158 -0
- data/lib/ofx_validator.rb +17 -0
- data/lib/organization_validator.rb +17 -0
- data/lib/qonto_ofx/version.rb +3 -0
- data/lib/transactions_listing_validator.rb +17 -0
- data/qonto_ofx.gemspec +32 -0
- data/qonto_organization_schema.json +63 -0
- data/qonto_transactions_schema.json +175 -0
- data/schema/.DS_Store +0 -0
- data/schema/OFX2_Protocol.xsd +783 -0
- data/schema/OFX3_Protocol_dotNET.xsd +691 -0
- data/schema/OFX_Banking.xsd +119 -0
- data/schema/OFX_Banking_Message_Wrappers.xsd +399 -0
- data/schema/OFX_Banking_Messages.xsd +431 -0
- data/schema/OFX_BillPay.xsd +223 -0
- data/schema/OFX_BillPay_Message_Wrappers.xsd +343 -0
- data/schema/OFX_BillPay_Messages.xsd +412 -0
- data/schema/OFX_BillerDelivery.xsd +263 -0
- data/schema/OFX_BillerDelivery_Message_Wrappers.xsd +295 -0
- data/schema/OFX_BillerDelivery_Messages.xsd +259 -0
- data/schema/OFX_BillerDirectory.xsd +132 -0
- data/schema/OFX_BillerDirectory_Message_Wrappers.xsd +56 -0
- data/schema/OFX_BillerDirectory_Messages.xsd +86 -0
- data/schema/OFX_Common.xsd +2329 -0
- data/schema/OFX_CreditCard.xsd +45 -0
- data/schema/OFX_CreditCard_Message_Wrappers.xsd +88 -0
- data/schema/OFX_CreditCard_Messages.xsd +102 -0
- data/schema/OFX_Email.xsd +25 -0
- data/schema/OFX_Email_Message_Wrappers.xsd +129 -0
- data/schema/OFX_Email_Messages.xsd +72 -0
- data/schema/OFX_Image_Message_Wrappers.xsd +31 -0
- data/schema/OFX_Image_Messages.xsd +35 -0
- data/schema/OFX_InterTransfer.xsd +24 -0
- data/schema/OFX_InterTransfer_Message_Wrappers.xsd +195 -0
- data/schema/OFX_InterTransfer_Messages.xsd +256 -0
- data/schema/OFX_Investment.xsd +1358 -0
- data/schema/OFX_Investment_Message_Wrappers.xsd +162 -0
- data/schema/OFX_Investment_Messages.xsd +149 -0
- data/schema/OFX_Loan_Message_Wrappers.xsd +1 -0
- data/schema/OFX_Loan_Messages.xsd +124 -0
- data/schema/OFX_Loans.xsd +200 -0
- data/schema/OFX_Messages.xsd +18 -0
- data/schema/OFX_Profile.xsd +959 -0
- data/schema/OFX_Profile_Message_Wrappers.xsd +55 -0
- data/schema/OFX_Profile_Messages.xsd +96 -0
- data/schema/OFX_SecuritiesList.xsd +357 -0
- data/schema/OFX_SecuritiesList_Message_Wrappers.xsd +55 -0
- data/schema/OFX_SecuritiesList_Messages.xsd +55 -0
- data/schema/OFX_Signon.xsd +243 -0
- data/schema/OFX_Signon_Message_Wrappers.xsd +120 -0
- data/schema/OFX_Signon_Messages.xsd +211 -0
- data/schema/OFX_Signup.xsd +114 -0
- data/schema/OFX_Signup_Message_Wrappers.xsd +222 -0
- data/schema/OFX_Signup_Messages.xsd +153 -0
- data/schema/OFX_Tax1098.xsd +123 -0
- data/schema/OFX_Tax1098_Message_Wrappers.xsd +52 -0
- data/schema/OFX_Tax1098_Messages.xsd +65 -0
- data/schema/OFX_Tax1099.xsd +371 -0
- data/schema/OFX_Tax1099_Message_Wrappers.xsd +52 -0
- data/schema/OFX_Tax1099_Messages.xsd +50 -0
- data/schema/OFX_TaxW2.xsd +204 -0
- data/schema/OFX_TaxW2_Message_Wrappers.xsd +52 -0
- data/schema/OFX_TaxW2_Messages.xsd +58 -0
- data/schema/OFX_TypeDefinitions.xsd +98 -0
- data/schema/OFX_WireTransfer.xsd +88 -0
- data/schema/OFX_WireTransfer_Message_Wrappers.xsd +101 -0
- data/schema/OFX_WireTransfer_Messages.xsd +116 -0
- data/test/sample/ofx/invalid.xml +34 -0
- data/test/sample/ofx/malformed.xml +38 -0
- data/test/sample/ofx/test_result.xml +101 -0
- data/test/sample/ofx/valid.xml +38 -0
- data/test/sample/organization/invalid_format.txt +1 -0
- data/test/sample/organization/malformed.txt +1 -0
- data/test/sample/organization/valid_one_account.txt +1 -0
- data/test/sample/organization/valid_two_accounts.txt +1 -0
- data/test/sample/transactions/corp-1234-bank-account-1-FR0000000000000000000000001.txt +60 -0
- data/test/sample/transactions/corp-1234-bank-account-2-FR0000000000000000000000002-p1.txt +28 -0
- data/test/sample/transactions/corp-1234-bank-account-2-FR0000000000000000000000002-p2.txt +28 -0
- data/test/sample/transactions/invalid_format.txt +1 -0
- data/test/sample/transactions/malformed.txt +1 -0
- data/test/sample/transactions/valid.txt +1 -0
- data/test/test_converter.rb +51 -0
- data/test/test_ofx_validator.rb +25 -0
- data/test/test_organization_validator.rb +28 -0
- data/test/test_transactions_listing_validator.rb +23 -0
- metadata +314 -0
|
@@ -0,0 +1,55 @@
|
|
|
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_Profile_Messages.xsd"/>
|
|
24
|
+
<xsd:complexType name="ProfileTransactionRequest">
|
|
25
|
+
<xsd:annotation>
|
|
26
|
+
<xsd:documentation>
|
|
27
|
+
The OFX element "PROFTRNRQ" is of type "ProfileTransactionRequest"
|
|
28
|
+
</xsd:documentation>
|
|
29
|
+
</xsd:annotation>
|
|
30
|
+
<xsd:complexContent>
|
|
31
|
+
<xsd:extension base="ofx:AbstractTransactionRequest">
|
|
32
|
+
<xsd:sequence>
|
|
33
|
+
<xsd:element name="PROFRQ" type="ofx:ProfileRequest"/>
|
|
34
|
+
</xsd:sequence>
|
|
35
|
+
</xsd:extension>
|
|
36
|
+
</xsd:complexContent>
|
|
37
|
+
</xsd:complexType>
|
|
38
|
+
|
|
39
|
+
<xsd:complexType name="ProfileTransactionResponse">
|
|
40
|
+
<xsd:annotation>
|
|
41
|
+
<xsd:documentation>
|
|
42
|
+
The OFX element "PROFTRNRS" is of type "ProfileTransactionResponse"
|
|
43
|
+
</xsd:documentation>
|
|
44
|
+
</xsd:annotation>
|
|
45
|
+
|
|
46
|
+
<xsd:complexContent>
|
|
47
|
+
<xsd:extension base="ofx:AbstractTransactionResponse">
|
|
48
|
+
<xsd:sequence>
|
|
49
|
+
<xsd:element name="PROFRS" type="ofx:ProfileResponse" minOccurs="0"/>
|
|
50
|
+
</xsd:sequence>
|
|
51
|
+
</xsd:extension>
|
|
52
|
+
</xsd:complexContent>
|
|
53
|
+
</xsd:complexType>
|
|
54
|
+
|
|
55
|
+
</xsd:schema>
|
|
@@ -0,0 +1,96 @@
|
|
|
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_Profile.xsd" />
|
|
24
|
+
|
|
25
|
+
<xsd:complexType name="ProfileRequest">
|
|
26
|
+
<xsd:annotation>
|
|
27
|
+
<xsd:documentation>
|
|
28
|
+
The OFX element "PROFRQ" is of type "ProfileRequest"
|
|
29
|
+
</xsd:documentation>
|
|
30
|
+
</xsd:annotation>
|
|
31
|
+
|
|
32
|
+
<xsd:sequence>
|
|
33
|
+
<xsd:element name="CLIENTROUTING"
|
|
34
|
+
type="ofx:ClientRoutingEnum" />
|
|
35
|
+
|
|
36
|
+
<xsd:element name="DTPROFUP" type="ofx:DateTimeType" />
|
|
37
|
+
</xsd:sequence>
|
|
38
|
+
</xsd:complexType>
|
|
39
|
+
|
|
40
|
+
<xsd:complexType name="ProfileResponse">
|
|
41
|
+
<xsd:annotation>
|
|
42
|
+
<xsd:documentation>
|
|
43
|
+
The OFX element "PROFRS" is of type "ProfileResponse"
|
|
44
|
+
</xsd:documentation>
|
|
45
|
+
</xsd:annotation>
|
|
46
|
+
|
|
47
|
+
<xsd:sequence>
|
|
48
|
+
<xsd:element name="MSGSETLIST" type="ofx:MessageSetList" />
|
|
49
|
+
|
|
50
|
+
<xsd:element name="SIGNONINFOLIST"
|
|
51
|
+
type="ofx:SignonInfoList" />
|
|
52
|
+
|
|
53
|
+
<xsd:element name="DTPROFUP" type="ofx:DateTimeType" />
|
|
54
|
+
|
|
55
|
+
<xsd:element name="FINAME" type="ofx:GenericNameType" />
|
|
56
|
+
|
|
57
|
+
<xsd:sequence>
|
|
58
|
+
<xsd:element name="ADDR1" type="ofx:AddressType" />
|
|
59
|
+
|
|
60
|
+
<xsd:sequence minOccurs="0" maxOccurs="1">
|
|
61
|
+
<xsd:element name="ADDR2" type="ofx:AddressType" />
|
|
62
|
+
|
|
63
|
+
<xsd:element name="ADDR3" type="ofx:AddressType"
|
|
64
|
+
minOccurs="0" maxOccurs="1" />
|
|
65
|
+
</xsd:sequence>
|
|
66
|
+
</xsd:sequence>
|
|
67
|
+
|
|
68
|
+
<xsd:element name="CITY" type="ofx:AddressType" />
|
|
69
|
+
|
|
70
|
+
<xsd:element name="STATE" type="ofx:StateType" />
|
|
71
|
+
|
|
72
|
+
<xsd:element name="POSTALCODE" type="ofx:ZipType" />
|
|
73
|
+
|
|
74
|
+
<xsd:element name="COUNTRY" type="ofx:CountryType" />
|
|
75
|
+
|
|
76
|
+
<xsd:element name="CSPHONE" type="ofx:PhoneType"
|
|
77
|
+
minOccurs="0" maxOccurs="1" />
|
|
78
|
+
|
|
79
|
+
<xsd:element name="TSPHONE" type="ofx:PhoneType"
|
|
80
|
+
minOccurs="0" maxOccurs="1" />
|
|
81
|
+
|
|
82
|
+
<xsd:element name="FAXPHONE" type="ofx:PhoneType"
|
|
83
|
+
minOccurs="0" maxOccurs="1" />
|
|
84
|
+
|
|
85
|
+
<xsd:element name="URL" type="ofx:UrlType" minOccurs="0"
|
|
86
|
+
maxOccurs="1" />
|
|
87
|
+
|
|
88
|
+
<xsd:element name="EMAIL" type="ofx:ShortMessageType"
|
|
89
|
+
minOccurs="0" maxOccurs="1" />
|
|
90
|
+
</xsd:sequence>
|
|
91
|
+
</xsd:complexType>
|
|
92
|
+
|
|
93
|
+
</xsd:schema>
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
|
|
@@ -0,0 +1,357 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
|
2
|
+
<!--
|
|
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
|
+
p18 2002-02-11 altenburgd@businesslogic.com Initial revision
|
|
12
|
+
p20 2002-03-09 altenburgd@businesslogic.com Renamed type 'SecurityInfo' to 'GeneralSecurityInfo'
|
|
13
|
+
Created abstract type 'SecurityInfo'
|
|
14
|
+
and made MutualFundInfo, StockInfo, OptionInfo,
|
|
15
|
+
DebtInfo, and OtherInfo to extend it
|
|
16
|
+
p21 2002-03-17 altenburgd@businesslogic.com Renamed SecurityInfo to AbstractSecurityInfo
|
|
17
|
+
p21 2002-03-17 altenburgd@businesslogic.com Changed elementFormDefault to "unqualified"
|
|
18
|
+
Changed namespace to "http://ofx.net/types/2003/04"
|
|
19
|
+
p22 2003-03-24 altenburgd@businesslogic.com Fixed typo in MutualFundInfo
|
|
20
|
+
p23 2002-05-13 altenburgd@businesslogic.com Bugfixes based on Intuit Schema QA
|
|
21
|
+
RC4 2003-06-24 gil_clark@intuit.com Added collapse to fixed length, non-string types and enums.
|
|
22
|
+
-->
|
|
23
|
+
<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">
|
|
24
|
+
<xsd:include schemaLocation="OFX_Common.xsd"/>
|
|
25
|
+
<xsd:simpleType name="AssetClassEnum">
|
|
26
|
+
<xsd:annotation>
|
|
27
|
+
<xsd:documentation>
|
|
28
|
+
The OFX element "ASSETCLASSENUM" is of type "AssetClassEnum"
|
|
29
|
+
</xsd:documentation>
|
|
30
|
+
</xsd:annotation>
|
|
31
|
+
<xsd:restriction base="xsd:string">
|
|
32
|
+
<xsd:whiteSpace value="collapse"/>
|
|
33
|
+
<xsd:enumeration value="DOMESTICBOND"/>
|
|
34
|
+
<xsd:enumeration value="INTLBOND"/>
|
|
35
|
+
<xsd:enumeration value="LARGESTOCK"/>
|
|
36
|
+
<xsd:enumeration value="SMALLSTOCK"/>
|
|
37
|
+
<xsd:enumeration value="INTLSTOCK"/>
|
|
38
|
+
<xsd:enumeration value="MONEYMRKT"/>
|
|
39
|
+
<xsd:enumeration value="OTHER"/>
|
|
40
|
+
</xsd:restriction>
|
|
41
|
+
</xsd:simpleType>
|
|
42
|
+
<xsd:simpleType name="CallTypeEnum">
|
|
43
|
+
<xsd:annotation>
|
|
44
|
+
<xsd:documentation>
|
|
45
|
+
The OFX element "CALLTYPEENUM" is of type "CallTypeEnum"
|
|
46
|
+
</xsd:documentation>
|
|
47
|
+
</xsd:annotation>
|
|
48
|
+
<xsd:restriction base="xsd:string">
|
|
49
|
+
<xsd:whiteSpace value="collapse"/>
|
|
50
|
+
<xsd:enumeration value="CALL"/>
|
|
51
|
+
<xsd:enumeration value="PUT"/>
|
|
52
|
+
<xsd:enumeration value="PREFUND"/>
|
|
53
|
+
<xsd:enumeration value="MATURITY"/>
|
|
54
|
+
</xsd:restriction>
|
|
55
|
+
</xsd:simpleType>
|
|
56
|
+
<xsd:simpleType name="CouponFrequencyEnum">
|
|
57
|
+
<xsd:annotation>
|
|
58
|
+
<xsd:documentation>
|
|
59
|
+
The OFX element "COUPONFREQENUM" is of type "CouponFrequencyEnum"
|
|
60
|
+
</xsd:documentation>
|
|
61
|
+
</xsd:annotation>
|
|
62
|
+
<xsd:restriction base="xsd:string">
|
|
63
|
+
<xsd:whiteSpace value="collapse"/>
|
|
64
|
+
<xsd:enumeration value="MONTHLY"/>
|
|
65
|
+
<xsd:enumeration value="QUARTERLY"/>
|
|
66
|
+
<xsd:enumeration value="SEMIANNUAL"/>
|
|
67
|
+
<xsd:enumeration value="ANNUAL"/>
|
|
68
|
+
<xsd:enumeration value="OTHER"/>
|
|
69
|
+
</xsd:restriction>
|
|
70
|
+
</xsd:simpleType>
|
|
71
|
+
<xsd:simpleType name="DebtClassEnum">
|
|
72
|
+
<xsd:annotation>
|
|
73
|
+
<xsd:documentation>
|
|
74
|
+
The OFX element "DEBTCLASSENUM" is of type "DebtClassEnum"
|
|
75
|
+
</xsd:documentation>
|
|
76
|
+
</xsd:annotation>
|
|
77
|
+
<xsd:restriction base="xsd:string">
|
|
78
|
+
<xsd:whiteSpace value="collapse"/>
|
|
79
|
+
<xsd:enumeration value="TREASURY"/>
|
|
80
|
+
<xsd:enumeration value="MUNICIPAL"/>
|
|
81
|
+
<xsd:enumeration value="CORPORATE"/>
|
|
82
|
+
<xsd:enumeration value="OTHER"/>
|
|
83
|
+
</xsd:restriction>
|
|
84
|
+
</xsd:simpleType>
|
|
85
|
+
<xsd:simpleType name="DebtEnum">
|
|
86
|
+
<xsd:annotation>
|
|
87
|
+
<xsd:documentation>
|
|
88
|
+
The OFX element "DEBTENUM" is of type "DebtEnum"
|
|
89
|
+
</xsd:documentation>
|
|
90
|
+
</xsd:annotation>
|
|
91
|
+
<xsd:restriction base="xsd:string">
|
|
92
|
+
<xsd:whiteSpace value="collapse"/>
|
|
93
|
+
<xsd:enumeration value="COUPON"/>
|
|
94
|
+
<xsd:enumeration value="ZERO"/>
|
|
95
|
+
</xsd:restriction>
|
|
96
|
+
</xsd:simpleType>
|
|
97
|
+
<xsd:complexType name="DebtInfo">
|
|
98
|
+
<xsd:annotation>
|
|
99
|
+
<xsd:documentation>
|
|
100
|
+
The OFX element "DEBTINFO" is of type "DebtInfo"
|
|
101
|
+
</xsd:documentation>
|
|
102
|
+
</xsd:annotation>
|
|
103
|
+
<xsd:complexContent>
|
|
104
|
+
<xsd:extension base="ofx:AbstractSecurityInfo">
|
|
105
|
+
<xsd:sequence>
|
|
106
|
+
<xsd:element name="PARVALUE" type="ofx:AmountType"/>
|
|
107
|
+
<xsd:element name="DEBTTYPE" type="ofx:DebtEnum"/>
|
|
108
|
+
<xsd:element name="DEBTCLASS" type="ofx:DebtClassEnum" minOccurs="0"/>
|
|
109
|
+
<xsd:element name="COUPONRT" type="ofx:RateType" minOccurs="0"/>
|
|
110
|
+
<xsd:element name="DTCOUPON" type="ofx:DateTimeType" minOccurs="0"/>
|
|
111
|
+
<xsd:element name="COUPONFREQ" type="ofx:CouponFrequencyEnum" minOccurs="0"/>
|
|
112
|
+
<xsd:element name="CALLPRICE" type="ofx:UnitPriceType" minOccurs="0"/>
|
|
113
|
+
<xsd:element name="YIELDTOCALL" type="ofx:RateType" minOccurs="0"/>
|
|
114
|
+
<xsd:element name="DTCALL" type="ofx:DateTimeType" minOccurs="0"/>
|
|
115
|
+
<xsd:element name="CALLTYPE" type="ofx:CallTypeEnum" minOccurs="0"/>
|
|
116
|
+
<xsd:element name="YIELDTOMAT" type="ofx:RateType" minOccurs="0"/>
|
|
117
|
+
<xsd:element name="DTMAT" type="ofx:DateTimeType" minOccurs="0"/>
|
|
118
|
+
<xsd:element name="ASSETCLASS" type="ofx:AssetClassEnum" minOccurs="0"/>
|
|
119
|
+
<xsd:element name="FIASSETCLASS" type="ofx:GenericNameType" minOccurs="0"/>
|
|
120
|
+
</xsd:sequence>
|
|
121
|
+
</xsd:extension>
|
|
122
|
+
</xsd:complexContent>
|
|
123
|
+
</xsd:complexType>
|
|
124
|
+
<xsd:simpleType name="EmptyType">
|
|
125
|
+
<xsd:annotation>
|
|
126
|
+
<xsd:documentation>
|
|
127
|
+
The OFX element "EMPTY" is of type "EmptyType"
|
|
128
|
+
</xsd:documentation>
|
|
129
|
+
</xsd:annotation>
|
|
130
|
+
<xsd:restriction base="xsd:string"/>
|
|
131
|
+
</xsd:simpleType>
|
|
132
|
+
<xsd:complexType name="FinancialInstitutionMutualFundAssetClass">
|
|
133
|
+
<xsd:annotation>
|
|
134
|
+
<xsd:documentation>
|
|
135
|
+
The OFX element "FIMFASSETCLASS" is of type "FinancialInstitutionMutualFundAssetClass"
|
|
136
|
+
</xsd:documentation>
|
|
137
|
+
</xsd:annotation>
|
|
138
|
+
<xsd:sequence>
|
|
139
|
+
<xsd:element name="FIPORTION" type="ofx:FinancialInstitutionPortion" maxOccurs="unbounded"/>
|
|
140
|
+
</xsd:sequence>
|
|
141
|
+
</xsd:complexType>
|
|
142
|
+
<xsd:complexType name="FinancialInstitutionPortion">
|
|
143
|
+
<xsd:annotation>
|
|
144
|
+
<xsd:documentation>
|
|
145
|
+
The OFX element "FIPORTION" is of type "FinancialInstitutionPortion"
|
|
146
|
+
</xsd:documentation>
|
|
147
|
+
</xsd:annotation>
|
|
148
|
+
<xsd:sequence>
|
|
149
|
+
<xsd:element name="FIASSETCLASS" type="ofx:GenericNameType"/>
|
|
150
|
+
<xsd:element name="PERCENT" type="ofx:RateType"/>
|
|
151
|
+
</xsd:sequence>
|
|
152
|
+
</xsd:complexType>
|
|
153
|
+
<xsd:complexType name="MutualFundAssetClass">
|
|
154
|
+
<xsd:annotation>
|
|
155
|
+
<xsd:documentation>
|
|
156
|
+
The OFX element "MFASSETCLASS" is of type "MutualFundAssetClass"
|
|
157
|
+
</xsd:documentation>
|
|
158
|
+
</xsd:annotation>
|
|
159
|
+
<xsd:sequence>
|
|
160
|
+
<xsd:element name="PORTION" type="ofx:Portion" maxOccurs="unbounded"/>
|
|
161
|
+
</xsd:sequence>
|
|
162
|
+
</xsd:complexType>
|
|
163
|
+
<xsd:complexType name="MutualFundInfo">
|
|
164
|
+
<xsd:annotation>
|
|
165
|
+
<xsd:documentation>
|
|
166
|
+
The OFX element "MFINFO" is of type "MutualFundInfo"
|
|
167
|
+
</xsd:documentation>
|
|
168
|
+
</xsd:annotation>
|
|
169
|
+
<xsd:complexContent>
|
|
170
|
+
<xsd:extension base="ofx:AbstractSecurityInfo">
|
|
171
|
+
<xsd:sequence>
|
|
172
|
+
<xsd:element name="MFTYPE" type="ofx:MutualFundTypeEnum" minOccurs="0"/>
|
|
173
|
+
<xsd:element name="YIELD" type="ofx:RateType" minOccurs="0"/>
|
|
174
|
+
<xsd:element name="DTYIELDASOF" type="ofx:DateTimeType" minOccurs="0"/>
|
|
175
|
+
<xsd:element name="MFASSETCLASS" type="ofx:MutualFundAssetClass" minOccurs="0"/>
|
|
176
|
+
<xsd:element name="FIMFASSETCLASS" type="ofx:FinancialInstitutionMutualFundAssetClass" minOccurs="0"/>
|
|
177
|
+
</xsd:sequence>
|
|
178
|
+
</xsd:extension>
|
|
179
|
+
</xsd:complexContent>
|
|
180
|
+
</xsd:complexType>
|
|
181
|
+
<xsd:simpleType name="MutualFundTypeEnum">
|
|
182
|
+
<xsd:annotation>
|
|
183
|
+
<xsd:documentation>
|
|
184
|
+
The OFX element "MFTENUM" is of type "MutualFundTypeEnum"
|
|
185
|
+
</xsd:documentation>
|
|
186
|
+
</xsd:annotation>
|
|
187
|
+
<xsd:restriction base="xsd:string">
|
|
188
|
+
<xsd:whiteSpace value="collapse"/>
|
|
189
|
+
<xsd:enumeration value="OPENEND"/>
|
|
190
|
+
<xsd:enumeration value="CLOSEEND"/>
|
|
191
|
+
<xsd:enumeration value="OTHER"/>
|
|
192
|
+
</xsd:restriction>
|
|
193
|
+
</xsd:simpleType>
|
|
194
|
+
<xsd:complexType name="OptionInfo">
|
|
195
|
+
<xsd:annotation>
|
|
196
|
+
<xsd:documentation>
|
|
197
|
+
The OFX element "OPTINFO" is of type "OptionInfo"
|
|
198
|
+
</xsd:documentation>
|
|
199
|
+
</xsd:annotation>
|
|
200
|
+
<xsd:complexContent>
|
|
201
|
+
<xsd:extension base="ofx:AbstractSecurityInfo">
|
|
202
|
+
<xsd:sequence>
|
|
203
|
+
<xsd:element name="OPTTYPE" type="ofx:OptionTypeEnum"/>
|
|
204
|
+
<xsd:element name="STRIKEPRICE" type="ofx:UnitPriceType"/>
|
|
205
|
+
<xsd:element name="DTEXPIRE" type="ofx:DateTimeType"/>
|
|
206
|
+
<xsd:element name="SHPERCTRCT" type="ofx:SharesPerType"/>
|
|
207
|
+
<xsd:element name="SECID" type="ofx:SecurityId" minOccurs="0"/>
|
|
208
|
+
<xsd:element name="ASSETCLASS" type="ofx:AssetClassEnum" minOccurs="0"/>
|
|
209
|
+
<xsd:element name="FIASSETCLASS" type="ofx:GenericNameType" minOccurs="0"/>
|
|
210
|
+
</xsd:sequence>
|
|
211
|
+
</xsd:extension>
|
|
212
|
+
</xsd:complexContent>
|
|
213
|
+
</xsd:complexType>
|
|
214
|
+
<xsd:simpleType name="OptionTypeEnum">
|
|
215
|
+
<xsd:annotation>
|
|
216
|
+
<xsd:documentation>
|
|
217
|
+
The OFX element "OPTTYPEENUM" is of type "OptionTypeEnum"
|
|
218
|
+
</xsd:documentation>
|
|
219
|
+
</xsd:annotation>
|
|
220
|
+
<xsd:restriction base="xsd:string">
|
|
221
|
+
<xsd:whiteSpace value="collapse"/>
|
|
222
|
+
<xsd:enumeration value="CALL"/>
|
|
223
|
+
<xsd:enumeration value="PUT"/>
|
|
224
|
+
</xsd:restriction>
|
|
225
|
+
</xsd:simpleType>
|
|
226
|
+
<xsd:complexType name="OtherInfo">
|
|
227
|
+
<xsd:annotation>
|
|
228
|
+
<xsd:documentation>
|
|
229
|
+
The OFX element "OTHERINFO" is of type "OtherInfo"
|
|
230
|
+
</xsd:documentation>
|
|
231
|
+
</xsd:annotation>
|
|
232
|
+
<xsd:complexContent>
|
|
233
|
+
<xsd:extension base="ofx:AbstractSecurityInfo">
|
|
234
|
+
<xsd:sequence>
|
|
235
|
+
<xsd:element name="TYPEDESC" type="ofx:TypeDescriptionType" minOccurs="0"/>
|
|
236
|
+
<xsd:element name="ASSETCLASS" type="ofx:AssetClassEnum" minOccurs="0"/>
|
|
237
|
+
<xsd:element name="FIASSETCLASS" type="ofx:GenericNameType" minOccurs="0"/>
|
|
238
|
+
</xsd:sequence>
|
|
239
|
+
</xsd:extension>
|
|
240
|
+
</xsd:complexContent>
|
|
241
|
+
</xsd:complexType>
|
|
242
|
+
<xsd:complexType name="Portion">
|
|
243
|
+
<xsd:annotation>
|
|
244
|
+
<xsd:documentation>
|
|
245
|
+
The OFX element "PORTION" is of type "Portion"
|
|
246
|
+
</xsd:documentation>
|
|
247
|
+
</xsd:annotation>
|
|
248
|
+
<xsd:sequence>
|
|
249
|
+
<xsd:element name="ASSETCLASS" type="ofx:AssetClassEnum"/>
|
|
250
|
+
<xsd:element name="PERCENT" type="ofx:RateType"/>
|
|
251
|
+
</xsd:sequence>
|
|
252
|
+
</xsd:complexType>
|
|
253
|
+
<xsd:simpleType name="Rating">
|
|
254
|
+
<xsd:annotation>
|
|
255
|
+
<xsd:documentation>
|
|
256
|
+
The OFX element "RATING" is of type "Rating"
|
|
257
|
+
</xsd:documentation>
|
|
258
|
+
</xsd:annotation>
|
|
259
|
+
<xsd:restriction base="xsd:string">
|
|
260
|
+
<xsd:maxLength value="10"/>
|
|
261
|
+
<xsd:minLength value="1"/>
|
|
262
|
+
</xsd:restriction>
|
|
263
|
+
</xsd:simpleType>
|
|
264
|
+
<xsd:complexType name="GeneralSecurityInfo">
|
|
265
|
+
<xsd:annotation>
|
|
266
|
+
<xsd:documentation>
|
|
267
|
+
The OFX element "SECINFO" is of type "GeneralSecurityInfo"
|
|
268
|
+
</xsd:documentation>
|
|
269
|
+
</xsd:annotation>
|
|
270
|
+
<xsd:sequence>
|
|
271
|
+
<xsd:element name="SECID" type="ofx:SecurityId"/>
|
|
272
|
+
<xsd:element name="SECNAME" type="ofx:SecurityNameType"/>
|
|
273
|
+
<xsd:element name="TICKER" type="ofx:TickerType" minOccurs="0"/>
|
|
274
|
+
<xsd:element name="FIID" type="ofx:FinancialInstitutionIdType" minOccurs="0"/>
|
|
275
|
+
<xsd:element name="RATING" type="ofx:Rating" minOccurs="0"/>
|
|
276
|
+
<xsd:element name="UNITPRICE" type="ofx:UnitPriceType" minOccurs="0"/>
|
|
277
|
+
<xsd:element name="DTASOF" type="ofx:DateTimeType" minOccurs="0"/>
|
|
278
|
+
<xsd:element name="CURRENCY" type="ofx:Currency" minOccurs="0"/>
|
|
279
|
+
<xsd:element name="MEMO" type="ofx:MessageType" minOccurs="0"/>
|
|
280
|
+
</xsd:sequence>
|
|
281
|
+
</xsd:complexType>
|
|
282
|
+
<xsd:complexType name="AbstractSecurityInfo" abstract="true">
|
|
283
|
+
<xsd:sequence>
|
|
284
|
+
<xsd:element name="SECINFO" type="ofx:GeneralSecurityInfo"/>
|
|
285
|
+
</xsd:sequence>
|
|
286
|
+
</xsd:complexType>
|
|
287
|
+
<xsd:complexType name="SecurityList">
|
|
288
|
+
<xsd:annotation>
|
|
289
|
+
<xsd:documentation>
|
|
290
|
+
The OFX element "SECLIST" is of type "SecurityList"
|
|
291
|
+
</xsd:documentation>
|
|
292
|
+
</xsd:annotation>
|
|
293
|
+
<xsd:sequence>
|
|
294
|
+
<xsd:choice minOccurs="0" maxOccurs="unbounded">
|
|
295
|
+
<xsd:element name="MFINFO" type="ofx:MutualFundInfo"/>
|
|
296
|
+
<xsd:element name="STOCKINFO" type="ofx:StockInfo"/>
|
|
297
|
+
<xsd:element name="OPTINFO" type="ofx:OptionInfo"/>
|
|
298
|
+
<xsd:element name="DEBTINFO" type="ofx:DebtInfo"/>
|
|
299
|
+
<xsd:element name="OTHERINFO" type="ofx:OtherInfo"/>
|
|
300
|
+
</xsd:choice>
|
|
301
|
+
</xsd:sequence>
|
|
302
|
+
</xsd:complexType>
|
|
303
|
+
<xsd:simpleType name="StockEnum">
|
|
304
|
+
<xsd:annotation>
|
|
305
|
+
<xsd:documentation>
|
|
306
|
+
The OFX element "STOCKENUM" is of type "StockEnum"
|
|
307
|
+
</xsd:documentation>
|
|
308
|
+
</xsd:annotation>
|
|
309
|
+
<xsd:restriction base="xsd:string">
|
|
310
|
+
<xsd:whiteSpace value="collapse"/>
|
|
311
|
+
<xsd:enumeration value="COMMON"/>
|
|
312
|
+
<xsd:enumeration value="PREFERRED"/>
|
|
313
|
+
<xsd:enumeration value="CONVERTIBLE"/>
|
|
314
|
+
<xsd:enumeration value="OTHER"/>
|
|
315
|
+
</xsd:restriction>
|
|
316
|
+
</xsd:simpleType>
|
|
317
|
+
<xsd:complexType name="StockInfo">
|
|
318
|
+
<xsd:annotation>
|
|
319
|
+
<xsd:documentation>
|
|
320
|
+
The OFX element "STOCKINFO" is of type "StockInfo"
|
|
321
|
+
</xsd:documentation>
|
|
322
|
+
</xsd:annotation>
|
|
323
|
+
<xsd:complexContent>
|
|
324
|
+
<xsd:extension base="ofx:AbstractSecurityInfo">
|
|
325
|
+
<xsd:sequence>
|
|
326
|
+
<xsd:element name="STOCKTYPE" type="ofx:StockEnum" minOccurs="0"/>
|
|
327
|
+
<xsd:element name="YIELD" type="ofx:RateType" minOccurs="0"/>
|
|
328
|
+
<xsd:element name="DTYIELDASOF" type="ofx:DateTimeType" minOccurs="0"/>
|
|
329
|
+
<xsd:element name="ASSETCLASS" type="ofx:AssetClassEnum" minOccurs="0"/>
|
|
330
|
+
<xsd:element name="FIASSETCLASS" type="ofx:GenericNameType" minOccurs="0"/>
|
|
331
|
+
</xsd:sequence>
|
|
332
|
+
</xsd:extension>
|
|
333
|
+
</xsd:complexContent>
|
|
334
|
+
</xsd:complexType>
|
|
335
|
+
<xsd:simpleType name="TickerType">
|
|
336
|
+
<xsd:annotation>
|
|
337
|
+
<xsd:documentation>
|
|
338
|
+
The OFX element "TICKER" is of type "TickerType"
|
|
339
|
+
</xsd:documentation>
|
|
340
|
+
</xsd:annotation>
|
|
341
|
+
<xsd:restriction base="xsd:string">
|
|
342
|
+
<xsd:maxLength value="32"/>
|
|
343
|
+
<xsd:minLength value="1"/>
|
|
344
|
+
</xsd:restriction>
|
|
345
|
+
</xsd:simpleType>
|
|
346
|
+
<xsd:simpleType name="TypeDescriptionType">
|
|
347
|
+
<xsd:annotation>
|
|
348
|
+
<xsd:documentation>
|
|
349
|
+
The OFX element "TYPEDESC" is of type "TypeDescriptionType"
|
|
350
|
+
</xsd:documentation>
|
|
351
|
+
</xsd:annotation>
|
|
352
|
+
<xsd:restriction base="xsd:string">
|
|
353
|
+
<xsd:maxLength value="32"/>
|
|
354
|
+
<xsd:minLength value="1"/>
|
|
355
|
+
</xsd:restriction>
|
|
356
|
+
</xsd:simpleType>
|
|
357
|
+
</xsd:schema>
|
|
@@ -0,0 +1,55 @@
|
|
|
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_SecuritiesList_Messages.xsd"/>
|
|
24
|
+
<xsd:complexType name="SecurityListTransactionRequest">
|
|
25
|
+
<xsd:annotation>
|
|
26
|
+
<xsd:documentation>
|
|
27
|
+
The OFX element "SECLISTTRNRQ" is of type "SecurityListTransactionRequest"
|
|
28
|
+
</xsd:documentation>
|
|
29
|
+
</xsd:annotation>
|
|
30
|
+
|
|
31
|
+
<xsd:complexContent>
|
|
32
|
+
<xsd:extension base="ofx:AbstractTransactionRequest">
|
|
33
|
+
<xsd:sequence>
|
|
34
|
+
<xsd:element name="SECLISTRQ" type="ofx:SecurityListRequest"/>
|
|
35
|
+
</xsd:sequence>
|
|
36
|
+
</xsd:extension>
|
|
37
|
+
</xsd:complexContent>
|
|
38
|
+
</xsd:complexType>
|
|
39
|
+
|
|
40
|
+
<xsd:complexType name="SecurityListTransactionResponse">
|
|
41
|
+
<xsd:annotation>
|
|
42
|
+
<xsd:documentation>
|
|
43
|
+
The OFX element "SECLISTTRNRS" is of type "SecurityListTransactionResponse"
|
|
44
|
+
</xsd:documentation>
|
|
45
|
+
</xsd:annotation>
|
|
46
|
+
|
|
47
|
+
<xsd:complexContent>
|
|
48
|
+
<xsd:extension base="ofx:AbstractTransactionResponse">
|
|
49
|
+
<xsd:sequence>
|
|
50
|
+
<xsd:element name="SECLISTRS" type="ofx:EmptyType" minOccurs="0"/>
|
|
51
|
+
</xsd:sequence>
|
|
52
|
+
</xsd:extension>
|
|
53
|
+
</xsd:complexContent>
|
|
54
|
+
</xsd:complexType>
|
|
55
|
+
</xsd:schema>
|
|
@@ -0,0 +1,55 @@
|
|
|
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_SecuritiesList.xsd" />
|
|
24
|
+
|
|
25
|
+
<xsd:complexType name="SecurityListRequest">
|
|
26
|
+
<xsd:annotation>
|
|
27
|
+
<xsd:documentation>
|
|
28
|
+
The OFX element "SECLISTRQ" is of type "SecurityListRequest"
|
|
29
|
+
</xsd:documentation>
|
|
30
|
+
</xsd:annotation>
|
|
31
|
+
|
|
32
|
+
<xsd:sequence>
|
|
33
|
+
<xsd:element name="SECRQ" type="ofx:SecurityRequest" minOccurs="1"
|
|
34
|
+
maxOccurs="unbounded" />
|
|
35
|
+
</xsd:sequence>
|
|
36
|
+
</xsd:complexType>
|
|
37
|
+
|
|
38
|
+
<xsd:complexType name="SecurityRequest">
|
|
39
|
+
<xsd:annotation>
|
|
40
|
+
<xsd:documentation>
|
|
41
|
+
The OFX element "SECRQ" is of type "SecurityRequest"
|
|
42
|
+
</xsd:documentation>
|
|
43
|
+
</xsd:annotation>
|
|
44
|
+
|
|
45
|
+
<xsd:choice>
|
|
46
|
+
<xsd:element name="SECID" type="ofx:SecurityId" />
|
|
47
|
+
|
|
48
|
+
<xsd:element name="TICKER" type="ofx:TickerType" />
|
|
49
|
+
|
|
50
|
+
<xsd:element name="FIID" type="ofx:FinancialInstitutionIdType" />
|
|
51
|
+
</xsd:choice>
|
|
52
|
+
</xsd:complexType>
|
|
53
|
+
|
|
54
|
+
</xsd:schema>
|
|
55
|
+
|