fidor_schema 0.10.5 → 0.10.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e233a18d8dfde3c8a28e35c614827e250fccc9b6
4
- data.tar.gz: ff9a636266dafe1c737a0e21f6a266f916d05ac8
3
+ metadata.gz: 209f20affe6ffc89a4104ce99184c8152bcaa495
4
+ data.tar.gz: 020b864c366a0c891d7b89492b60a7b7c50018f4
5
5
  SHA512:
6
- metadata.gz: 6397b2a7701846e21b7d6b6be1be6daf923c0e132a67ab0d2515073f958c1bcb90bb9c9a7d6db524ab8f317c9e32f64d9281495e46b6caf8f3164cd923c37cc8
7
- data.tar.gz: 718089fbd7fbea12289074a743f61f6c8e1c95ceb4225dadc235f066a41b3b795972091fec22f9f6c0929f8347d55be05ff5dbfa73aa5a918452664ff1f6fe63
6
+ metadata.gz: 296c1090c96863333a567aea9790aca7222a8265499eb924e39ca1f458e5015010e8ce1410d470efaf27cbd9768ae0e2ab43abc1885578b8df2618766ff60dd3
7
+ data.tar.gz: 6f2d86d5177e9d3c59e063cf69b4e008140deb37003eeb2c1dcd0bdc0885ad65ce73174a573653c36a402fa684e91b8105106c99a5c8e72d4fee63bd039c515f
@@ -1,5 +1,5 @@
1
1
  module Fidor
2
2
  class Schema
3
- VERSION = '0.10.5'
3
+ VERSION = '0.10.6'
4
4
  end
5
5
  end
@@ -23,6 +23,11 @@
23
23
  "type" : "string",
24
24
  "maxLength" : 30
25
25
  },
26
+ "recipient_name" : {
27
+ "description" : "Full name of the recipient",
28
+ "readOnly" : true,
29
+ "type" : "string"
30
+ },
26
31
  "transaction_id" : {
27
32
  "description" : "Identifies a reference to a corresponding transaction",
28
33
  "readOnly" : true,
@@ -67,6 +72,18 @@
67
72
  "maxLength" : 34,
68
73
  "pattern" : "^[A-Z]{2}[0-9]{2}[A-Z0-9]{11,30}$"
69
74
  },
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
+ },
70
87
  "bic" : {
71
88
  "description" : "BIC / Swift code of bank",
72
89
  "type" : "string",
@@ -108,6 +125,8 @@
108
125
  "transaction_type": {
109
126
  "description" : "Type of the transaction",
110
127
  "enum" : [
128
+ "bond_fee",
129
+ "bond_funding",
111
130
  "bonus",
112
131
  "credit_interest",
113
132
  "creditcard_annual_fee",
@@ -126,9 +145,11 @@
126
145
  "fee",
127
146
  "fidor_payin",
128
147
  "fidor_payout",
148
+ "fps_payin",
149
+ "fps_payout",
129
150
  "gmt_fee",
130
- "gmt_refund",
131
151
  "gmt_payout",
152
+ "gmt_refund",
132
153
  "payout",
133
154
  "prepaid_mobile_topup",
134
155
  "sepa_authorization",
@@ -143,11 +164,11 @@
143
164
  "preauth_type": {
144
165
  "description" : "Type of the preauthorization",
145
166
  "enum" : [
146
- "creditcard_preauth",
147
- "internal_transfer_preauth",
148
167
  "capital_bond_preauth",
168
+ "creditcard_preauth",
149
169
  "currency_order_preauth",
150
170
  "gmt_preauth",
171
+ "internal_transfer_preauth",
151
172
  "ripple_preauth",
152
173
  "unknown"
153
174
  ],
@@ -49,6 +49,9 @@
49
49
  "$ref" : "./base_types/base_types.json#definitions/subject",
50
50
  "maxLength" : 300
51
51
  },
52
+ "recipient_name" : {
53
+ "$ref" : "./base_types/base_types.json#definitions/recipient_name"
54
+ },
52
55
  "state" : {
53
56
  "description" : "State of the transfer. received: Order accepted by system | mobile_tan_sent: mtan for order processing was sent | pending_receiver_message: ??? | pending_receiver : ??? | pending_backoffice_transfer: ??? | success: transfer successfully executed | failure: An error occurred during execution | expired : mtan or receiver response expired",
54
57
  "enum" : [
@@ -27,6 +27,22 @@
27
27
  "document"
28
28
  ]
29
29
  },
30
+ "category": {
31
+ "description": "Category of the message",
32
+ "type": "string"
33
+ },
34
+ "opened_at": {
35
+ "description" : "Date-time when message has been opened. ISO 8601 Date-Time",
36
+ "format" : "date-time",
37
+ "type" : "string",
38
+ "readOnly" : true
39
+ },
40
+ "archived_at": {
41
+ "description" : "Date-time when message has been archived. ISO 8601 Date-Time",
42
+ "format" : "date-time",
43
+ "type" : "string",
44
+ "readOnly" : true
45
+ },
30
46
  "created_at": {
31
47
  "$ref": "./base_types/base_types.json#definitions/created_at"
32
48
  },
@@ -42,9 +42,7 @@
42
42
  "type" : "string"
43
43
  },
44
44
  "recipient_name": {
45
- "description" : "Full name of the recipient",
46
- "readOnly" : true,
47
- "type" : "string"
45
+ "$ref" : "../base_types/base_types.json#definitions/recipient_name"
48
46
  }
49
47
  }
50
48
  }
@@ -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", "remote_bic",
7
+ "remote_address_line1", "remote_address_line2", "remote_country", "remote_iban",
8
8
  "signature_date", "creditor_identity_id"],
9
9
  "properties" : {
10
10
  "id" : {
@@ -78,7 +78,10 @@
78
78
  "$ref" : "./base_types/base_types.json#definitions/iban"
79
79
  },
80
80
  "remote_bic" : {
81
- "$ref" : "./base_types/base_types.json#definitions/bic"
81
+ "description" : "BIC / Swift code of bank",
82
+ "type" : ["string", "null"],
83
+ "pattern" : "^[A-Z0-9]{8,11}$",
84
+ "maxLength" : 11
82
85
  },
83
86
  "remote_ultimate_name" : {
84
87
  "description" : "Ultimate name",
@@ -47,6 +47,10 @@
47
47
  {
48
48
  "title": "mobile_topup_details",
49
49
  "$ref" : "./transaction_type_details/mobile_topup_details.json#"
50
+ },
51
+ {
52
+ "title": "fps_details",
53
+ "$ref" : "./transaction_type_details/fps_details.json#"
50
54
  }
51
55
  ]
52
56
  },
@@ -0,0 +1,27 @@
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
+ }
@@ -42,9 +42,7 @@
42
42
  "type" : "string"
43
43
  },
44
44
  "recipient_name": {
45
- "description" : "Full name of the recipient",
46
- "readOnly" : true,
47
- "type" : "string"
45
+ "$ref" : "../base_types/base_types.json#definitions/recipient_name"
48
46
  }
49
47
  }
50
48
  }
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.5
4
+ version: 0.10.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Georg Leciejewski
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-10 00:00:00.000000000 Z
11
+ date: 2016-02-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -173,7 +173,6 @@ 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
177
176
  - schema/v1.0/error.json
178
177
  - schema/v1.0/internal_transfer.json
179
178
  - schema/v1.0/legal.json
@@ -198,6 +197,7 @@ files:
198
197
  - schema/v1.0/transaction.json
199
198
  - schema/v1.0/transaction_type_details/bonus_details.json
200
199
  - 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,9 +0,0 @@
1
- {
2
- "type" : "object",
3
- "title" : "emergency_loan",
4
- "description" : "",
5
- "properties" : {
6
-
7
- },
8
- "links" : []
9
- }