fidor_schema 0.2.2 → 0.3.0
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 +5 -7
- data/schema/v1.0/batch_direct_debit.json +3 -3
- data/schema/v1.0/batch_transfer.json +2 -2
- data/schema/v1.0/customer.json +1 -1
- data/schema/v1.0/internal_transfer.json +4 -0
- data/schema/v1.0/sepa_credit_transfer.json +4 -0
- data/schema/v1.0/sepa_direct_debit.json +4 -0
- data/schema/v1.0/transaction.json +4 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8010f4556647ee305be57409bf1fa3e1657a5b0f
|
4
|
+
data.tar.gz: f29ca5ee5f9f667055bd07978b301f94d769d14b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4b4389926418b3648ff0456785adc6565719f8d3c5f3ea8b1d81bdaec8010e5a33ab38205467f3ce6c539459c92110d8a371138738aaaf41ddf7e9a5d987de0c
|
7
|
+
data.tar.gz: 83a77722ad9bbd9bff3f3aa8f8c702984e63dacb667a872827ba3a798c7dfa76330a6062fdf302a6c5d10535b743ceb646f68586d918dba458ed35423434ab0f
|
data/lib/fidor_schema_version.rb
CHANGED
@@ -78,10 +78,9 @@
|
|
78
78
|
"maxLength" : 2
|
79
79
|
},
|
80
80
|
"currency" : {
|
81
|
-
"description" : "Account
|
81
|
+
"description" : "Currency of Account or Amount. ISO 4217 alpha-3 - 3 letter upcase e.g EUR",
|
82
82
|
"type" : "string",
|
83
|
-
"
|
84
|
-
"minLength" : 3,
|
83
|
+
"enum" : ["EUR"],
|
85
84
|
"default" : "EUR"
|
86
85
|
},
|
87
86
|
"subject" : {
|
@@ -90,10 +89,9 @@
|
|
90
89
|
"pattern" : "^[A-Za-z0-9_\\.\\, &\\-\\/\\+\\*\\$\\%@üöäÜÖÄ߀]*$"
|
91
90
|
},
|
92
91
|
"amount" : {
|
93
|
-
"description" : "The transferred amount in account currency,
|
94
|
-
"type" : "
|
95
|
-
"
|
96
|
-
"minimum" : 0
|
92
|
+
"description" : "The transferred amount in account currency, in minor units, e.g. 1EUR is represented as 100. Must be greater than 0 e.g. at least one cent in EUR",
|
93
|
+
"type" : "integer",
|
94
|
+
"minimum" : 1
|
97
95
|
},
|
98
96
|
"transaction_type" : {
|
99
97
|
"description" : "Type of the transaction",
|
@@ -4,7 +4,7 @@
|
|
4
4
|
"type" : "object",
|
5
5
|
"title" : "Batch Direct Debit",
|
6
6
|
"name" : "batch_direct_debit",
|
7
|
-
"description" : "A direct debit batch contains multiple direct debits which are processed asynchronously.",
|
7
|
+
"description" : "PREVIEW: A direct debit batch contains multiple direct debits which are processed asynchronously.",
|
8
8
|
"properties" : {
|
9
9
|
"id" : {
|
10
10
|
"$ref" : "./base_types/base_types.json#definitions/id"
|
@@ -55,8 +55,8 @@
|
|
55
55
|
}
|
56
56
|
}
|
57
57
|
},
|
58
|
-
"
|
59
|
-
"description" : "count of
|
58
|
+
"debit_count" : {
|
59
|
+
"description" : "count of debit transactions received in this batch",
|
60
60
|
"readonly" : true,
|
61
61
|
"type" : "integer"
|
62
62
|
},
|
@@ -4,7 +4,7 @@
|
|
4
4
|
"type" : "object",
|
5
5
|
"title" : "Batch Transfer",
|
6
6
|
"name" : "batch_transfer",
|
7
|
-
"description" : "A transfer batch contains multiple transfers which are processed asynchronously.",
|
7
|
+
"description" : "PREVIEW: A transfer batch contains multiple transfers which are processed asynchronously.",
|
8
8
|
"properties" : {
|
9
9
|
"id" : {
|
10
10
|
"$ref" : "./base_types/base_types.json#definitions/id"
|
@@ -89,7 +89,7 @@
|
|
89
89
|
}
|
90
90
|
}
|
91
91
|
},
|
92
|
-
"
|
92
|
+
"transfer_count" : {
|
93
93
|
"description" : "count of transfers (internal and sepa) transactions received in this batch",
|
94
94
|
"readonly" : true,
|
95
95
|
"type" : "integer"
|
data/schema/v1.0/customer.json
CHANGED
@@ -43,6 +43,10 @@
|
|
43
43
|
"$ref" : "./base_types/base_types.json#definitions/amount",
|
44
44
|
"required" : true
|
45
45
|
},
|
46
|
+
"currency" : {
|
47
|
+
"$ref" : "./base_types/base_types.json#definitions/currency",
|
48
|
+
"readonly" : true
|
49
|
+
},
|
46
50
|
"subject" : {
|
47
51
|
"$ref" : "./base_types/base_types.json#definitions/subject",
|
48
52
|
"maxLength" : 300
|
@@ -28,6 +28,10 @@
|
|
28
28
|
"$ref" : "./base_types/base_types.json#definitions/amount",
|
29
29
|
"required" : true
|
30
30
|
},
|
31
|
+
"currency" : {
|
32
|
+
"$ref" : "./base_types/base_types.json#definitions/currency",
|
33
|
+
"readonly" : true
|
34
|
+
},
|
31
35
|
"remote_name" : {
|
32
36
|
"description" : "Receiving account holder name",
|
33
37
|
"type" : "string",
|
@@ -26,6 +26,10 @@
|
|
26
26
|
"$ref" : "./base_types/base_types.json#definitions/amount",
|
27
27
|
"required" : true
|
28
28
|
},
|
29
|
+
"currency" : {
|
30
|
+
"$ref" : "./base_types/base_types.json#definitions/currency",
|
31
|
+
"readonly" : true
|
32
|
+
},
|
29
33
|
"eref" : {
|
30
34
|
"$ref" : "./base_types/base_types.json#definitions/eref"
|
31
35
|
},
|
@@ -42,6 +42,10 @@
|
|
42
42
|
"$ref" : "./base_types/base_types.json#definitions/amount",
|
43
43
|
"readonly" : true
|
44
44
|
},
|
45
|
+
"currency" : {
|
46
|
+
"$ref" : "./base_types/base_types.json#definitions/currency",
|
47
|
+
"readonly" : true
|
48
|
+
},
|
45
49
|
"booking_date" : {
|
46
50
|
"description" : "Date the transaction was booked.",
|
47
51
|
"format" : "date-time",
|
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.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Georg Leciejewski
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-10-
|
11
|
+
date: 2014-10-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|