fidor_schema 0.10.6 → 0.10.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fidor_schema_version.rb +1 -1
- data/schema/v1.0/base_types/base_types.json +3 -20
- data/schema/v1.0/emergency_loan.json +9 -0
- data/schema/v1.0/message.json +1 -6
- data/schema/v1.0/notification.json +1 -1
- data/schema/v1.0/sepa_mandate.json +2 -5
- data/schema/v1.0/transaction.json +0 -4
- metadata +3 -3
- data/schema/v1.0/transaction_type_details/fps_details.json +0 -27
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0d37ba00a554ca663c97ed6fbbd9d11371236714
|
4
|
+
data.tar.gz: 2b5f9b88fe6d15fa7b18c2c7d309c9ae6dd57bc4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf26a1f106a1a45096729a299630a1495bcc6216257e71943686c1935c1adaaf9a0c8ae391a9dfef74aa6cc488ac11c3f69854ad38194893057feb2f6321fa4b
|
7
|
+
data.tar.gz: 401d3674bf0c02391e617af5633c861bc64c99fa48c5be440c270a852e5333edb5f4c4b08491dcd816a5dc8574b25fc4a325e9877319a182c5d485f6182df356
|
data/lib/fidor_schema_version.rb
CHANGED
@@ -25,7 +25,6 @@
|
|
25
25
|
},
|
26
26
|
"recipient_name" : {
|
27
27
|
"description" : "Full name of the recipient",
|
28
|
-
"readOnly" : true,
|
29
28
|
"type" : "string"
|
30
29
|
},
|
31
30
|
"transaction_id" : {
|
@@ -72,18 +71,6 @@
|
|
72
71
|
"maxLength" : 34,
|
73
72
|
"pattern" : "^[A-Z]{2}[0-9]{2}[A-Z0-9]{11,30}$"
|
74
73
|
},
|
75
|
-
"account" : {
|
76
|
-
"description" : "UK Bank's Account Number",
|
77
|
-
"type" : "string",
|
78
|
-
"maxLength" : 8,
|
79
|
-
"pattern" : "^(\\d){7,8}$"
|
80
|
-
},
|
81
|
-
"sort_code" : {
|
82
|
-
"description" : "UK Bank's Sort Code",
|
83
|
-
"type" : "string",
|
84
|
-
"maxLength" : 6,
|
85
|
-
"pattern" : "(\\d{2}-?){2}\\d{2}"
|
86
|
-
},
|
87
74
|
"bic" : {
|
88
75
|
"description" : "BIC / Swift code of bank",
|
89
76
|
"type" : "string",
|
@@ -125,8 +112,6 @@
|
|
125
112
|
"transaction_type": {
|
126
113
|
"description" : "Type of the transaction",
|
127
114
|
"enum" : [
|
128
|
-
"bond_fee",
|
129
|
-
"bond_funding",
|
130
115
|
"bonus",
|
131
116
|
"credit_interest",
|
132
117
|
"creditcard_annual_fee",
|
@@ -145,11 +130,9 @@
|
|
145
130
|
"fee",
|
146
131
|
"fidor_payin",
|
147
132
|
"fidor_payout",
|
148
|
-
"fps_payin",
|
149
|
-
"fps_payout",
|
150
133
|
"gmt_fee",
|
151
|
-
"gmt_payout",
|
152
134
|
"gmt_refund",
|
135
|
+
"gmt_payout",
|
153
136
|
"payout",
|
154
137
|
"prepaid_mobile_topup",
|
155
138
|
"sepa_authorization",
|
@@ -164,11 +147,11 @@
|
|
164
147
|
"preauth_type": {
|
165
148
|
"description" : "Type of the preauthorization",
|
166
149
|
"enum" : [
|
167
|
-
"capital_bond_preauth",
|
168
150
|
"creditcard_preauth",
|
151
|
+
"internal_transfer_preauth",
|
152
|
+
"capital_bond_preauth",
|
169
153
|
"currency_order_preauth",
|
170
154
|
"gmt_preauth",
|
171
|
-
"internal_transfer_preauth",
|
172
155
|
"ripple_preauth",
|
173
156
|
"unknown"
|
174
157
|
],
|
data/schema/v1.0/message.json
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
"description": "Message",
|
6
6
|
"properties": {
|
7
7
|
"id": {
|
8
|
-
"$ref": "
|
8
|
+
"$ref": "./base_types/base_types.json#definitions/id",
|
9
9
|
"readOnly": true
|
10
10
|
},
|
11
11
|
"subject": {
|
@@ -13,11 +13,6 @@
|
|
13
13
|
"readOnly": true,
|
14
14
|
"type": "string"
|
15
15
|
},
|
16
|
-
"body": {
|
17
|
-
"description": "Body of the message",
|
18
|
-
"readOnly": true,
|
19
|
-
"type": "string"
|
20
|
-
},
|
21
16
|
"type": {
|
22
17
|
"description": "Type of the message",
|
23
18
|
"type": "string",
|
@@ -4,7 +4,7 @@
|
|
4
4
|
"title" : "sepa_mandate",
|
5
5
|
"description" : "A mandate object authorizing debits from an account.",
|
6
6
|
"required" : ["external_uid", "customer_id", "mandate_reference", "remote_title", "remote_name", "remote_email",
|
7
|
-
"remote_address_line1", "remote_address_line2", "remote_country", "remote_iban",
|
7
|
+
"remote_address_line1", "remote_address_line2", "remote_country", "remote_iban", "remote_bic",
|
8
8
|
"signature_date", "creditor_identity_id"],
|
9
9
|
"properties" : {
|
10
10
|
"id" : {
|
@@ -78,10 +78,7 @@
|
|
78
78
|
"$ref" : "./base_types/base_types.json#definitions/iban"
|
79
79
|
},
|
80
80
|
"remote_bic" : {
|
81
|
-
"
|
82
|
-
"type" : ["string", "null"],
|
83
|
-
"pattern" : "^[A-Z0-9]{8,11}$",
|
84
|
-
"maxLength" : 11
|
81
|
+
"$ref" : "./base_types/base_types.json#definitions/bic"
|
85
82
|
},
|
86
83
|
"remote_ultimate_name" : {
|
87
84
|
"description" : "Ultimate name",
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fidor_schema
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.10.
|
4
|
+
version: 0.10.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Georg Leciejewski
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-02-
|
11
|
+
date: 2016-02-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -173,6 +173,7 @@ files:
|
|
173
173
|
- schema/v1.0/card_limit.json
|
174
174
|
- schema/v1.0/creditor_identity.json
|
175
175
|
- schema/v1.0/customer.json
|
176
|
+
- schema/v1.0/emergency_loan.json
|
176
177
|
- schema/v1.0/error.json
|
177
178
|
- schema/v1.0/internal_transfer.json
|
178
179
|
- schema/v1.0/legal.json
|
@@ -197,7 +198,6 @@ files:
|
|
197
198
|
- schema/v1.0/transaction.json
|
198
199
|
- schema/v1.0/transaction_type_details/bonus_details.json
|
199
200
|
- schema/v1.0/transaction_type_details/credit_card_details.json
|
200
|
-
- schema/v1.0/transaction_type_details/fps_details.json
|
201
201
|
- schema/v1.0/transaction_type_details/gmt_details.json
|
202
202
|
- schema/v1.0/transaction_type_details/internal_transfer_details.json
|
203
203
|
- schema/v1.0/transaction_type_details/mobile_topup_details.json
|
@@ -1,27 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"$schema" : "http://json-schema.org/draft-04/schema#",
|
3
|
-
"type" : "object",
|
4
|
-
"title" : "fps_details",
|
5
|
-
"description" : "Remote account information available in a Faster Payments transfer",
|
6
|
-
"properties" : {
|
7
|
-
"fps_transfer_id" : {
|
8
|
-
"description" : "Id of transfer if transaction was created by a transfer.",
|
9
|
-
"readOnly" : true,
|
10
|
-
"type" : "string"
|
11
|
-
},
|
12
|
-
"remote_name" : {
|
13
|
-
"description" : "Receiving/Sending account holder name",
|
14
|
-
"type" : "string",
|
15
|
-
"readOnly" : true,
|
16
|
-
"maxLength" : 70
|
17
|
-
},
|
18
|
-
"remote_account" : {
|
19
|
-
"$ref" : "../base_types/base_types.json#definitions/account",
|
20
|
-
"readOnly" : true
|
21
|
-
},
|
22
|
-
"remote_sort_code" : {
|
23
|
-
"$ref" : "../base_types/base_types.json#definitions/sort_code",
|
24
|
-
"readOnly" : true
|
25
|
-
}
|
26
|
-
}
|
27
|
-
}
|