fidor_schema 0.5.0 → 0.5.1

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: 0dc90399a45af5d7e7693f2c26959e48fd8aa0ef
4
- data.tar.gz: 7c5111f209fb28d926e626ea95ebb8388198d6fe
3
+ metadata.gz: 63ab80e63895828c2013ea4769e2347307c23b7a
4
+ data.tar.gz: 0daa2e9e87cba18071f3a9f527d4fbf419430e8a
5
5
  SHA512:
6
- metadata.gz: ee7c5bd7ca3a0cdd713fb6a8e232f6e8e0bf366c059423a1589098dd03addd521e1141f5a1e2295c5d2a17f7ba3e128edf010b79d0b79bb9d5ae8418bed5e71b
7
- data.tar.gz: cb9a1f3f86c275efef8b3329bfeb45093d238cb47aa2c34965679154eef71ed6000784023b9788cd48eba387fe8e38b0f007029481db6c42996a347a70e9bbd3
6
+ metadata.gz: b1d0637a964ab6e1382b85286a61cdd13033e2f53aae3d90ade42fb20872857b8c6321afb3976c49e1e5107d127eef607ed202d500505a52cdebb273049a07e1
7
+ data.tar.gz: aae96fdec1918c399573f6ebd04c94a8c518155857bc4a6990a071c0fba56e6150e91cb8270ea2128b6a2a5165c1168648cd34ccddcc030378775900c9015a07
data/CHANGELOG.md CHANGED
@@ -7,6 +7,7 @@ A more detailed view of the changes can be found in the [commit messages](https:
7
7
  * SepaMandates filter by multiple references and ibans
8
8
  * move required markup into 'required' array on top-level of an object
9
9
  * change date field format to 'date-time' since date-only values are also valid in terms of http://tools.ietf.org/html/rfc3339#section-5.6
10
+ * change readonly field property to readOnly
10
11
 
11
12
  ##2014-12
12
13
 
@@ -1,5 +1,5 @@
1
1
  module Fidor
2
2
  class Schema
3
- VERSION='0.5.0'
3
+ VERSION='0.5.1'
4
4
  end
5
5
  end
@@ -11,57 +11,57 @@
11
11
  "description" : "The bank account number.",
12
12
  "type" : "string",
13
13
  "maxLength" : 10,
14
- "readonly" : true
14
+ "readOnly" : true
15
15
  },
16
16
  "iban" : {
17
17
  "$ref" : "./base_types/base_types.json#definitions/iban",
18
- "readonly" : true
18
+ "readOnly" : true
19
19
  },
20
20
  "balance" : {
21
21
  "description" : "Account balance",
22
22
  "type" : "integer",
23
- "readonly" : true
23
+ "readOnly" : true
24
24
  },
25
25
  "balance_available" : {
26
26
  "description" : "Available account balance.",
27
27
  "type" : "integer",
28
- "readonly" : true
28
+ "readOnly" : true
29
29
  },
30
30
  "overdraft" : {
31
31
  "description" : "Available account overdraft",
32
32
  "type" : "integer",
33
- "readonly" : true
33
+ "readOnly" : true
34
34
  },
35
35
  "preauth_amount" : {
36
36
  "description" : "Amount available for pre-authorization.",
37
37
  "type" : "integer",
38
- "readonly" : true
38
+ "readOnly" : true
39
39
  },
40
40
  "cash_flow_per_year" : {
41
41
  "description" : "Amount available for yearly cash flow. This is the limit of funds an account holder has at their disposal without fulfilling Germany KYC requirements.",
42
42
  "type" : "integer",
43
- "readonly" : true
43
+ "readOnly" : true
44
44
  },
45
45
  "is_debit_note_enabled" : {
46
46
  "description" : "Whether this account is authorized to initiate direct debit transactions.",
47
47
  "type" : "boolean",
48
48
  "default" : false,
49
- "readonly" : true
49
+ "readOnly" : true
50
50
  },
51
51
  "is_trusted" : {
52
52
  "description" : "Indicates if this is an escrow account",
53
53
  "type" : "boolean",
54
54
  "default" : false,
55
- "readonly" : true
55
+ "readOnly" : true
56
56
  },
57
57
  "is_locked" : {
58
58
  "description" : "Indicates whether the account is locked",
59
59
  "type" : "boolean",
60
- "readonly" : true
60
+ "readOnly" : true
61
61
  },
62
62
  "currency" : {
63
63
  "$ref" : "./base_types/base_types.json#definitions/currency",
64
- "readonly" : true
64
+ "readOnly" : true
65
65
  },
66
66
  "customers" : {
67
67
  "description" : "The owners of the account",
@@ -72,7 +72,7 @@
72
72
  "$ref" : "./customer.json#properties"
73
73
  }
74
74
  },
75
- "readonly" : true
75
+ "readOnly" : true
76
76
  },
77
77
  "created_at" : {
78
78
  "$ref" : "./base_types/base_types.json#definitions/created_at"
@@ -3,7 +3,7 @@
3
3
  "id" : {
4
4
  "description" : "Unique identifier of the object",
5
5
  "identity" : true,
6
- "readonly" : true,
6
+ "readOnly" : true,
7
7
  "type" : "string"
8
8
  },
9
9
  "account_id" : {
@@ -12,12 +12,12 @@
12
12
  },
13
13
  "user_id" : {
14
14
  "description" : "Identifies the user who created this object",
15
- "readonly" : true,
15
+ "readOnly" : true,
16
16
  "type" : "string"
17
17
  },
18
18
  "transaction_id" : {
19
19
  "description" : "Identifies a reference to a corresponding transaction",
20
- "readonly" : true,
20
+ "readOnly" : true,
21
21
  "type" : "string"
22
22
  },
23
23
  "phone" : {
@@ -40,13 +40,13 @@
40
40
  "description" : "Creation date-time, never changes. ISO 8601 Date-Time",
41
41
  "format" : "date-time",
42
42
  "type" : "string",
43
- "readonly" : true
43
+ "readOnly" : true
44
44
  },
45
45
  "updated_at" : {
46
46
  "description" : "Last update date-time. ISO 8601 Date-Time",
47
47
  "format" : "date-time",
48
48
  "type" : "string",
49
- "readonly" : true
49
+ "readOnly" : true
50
50
  },
51
51
  "external_uid" : {
52
52
  "description" : "Unique ID of the creator of the transaction. In case a uid is reused for a transaction, it is not executed, this mechanism can be used to prevent double bookings in case of network failure or similar event where transaction status is unknown",
@@ -56,7 +56,7 @@
56
56
  },
57
57
  "debits_count" : {
58
58
  "description" : "count of debit transactions received in this batch",
59
- "readonly" : true,
59
+ "readOnly" : true,
60
60
  "type" : "integer"
61
61
  },
62
62
  "state" : {
@@ -67,7 +67,7 @@
67
67
  "success",
68
68
  "failure"
69
69
  ],
70
- "readonly" : true,
70
+ "readOnly" : true,
71
71
  "type" : "string"
72
72
  },
73
73
  "success_url" : {
@@ -91,7 +91,7 @@
91
91
  },
92
92
  "transfers_count" : {
93
93
  "description" : "count of transfers (internal and sepa) transactions received in this batch",
94
- "readonly" : true,
94
+ "readOnly" : true,
95
95
  "type" : "integer"
96
96
  },
97
97
  "state" : {
@@ -102,7 +102,7 @@
102
102
  "success",
103
103
  "failure"
104
104
  ],
105
- "readonly" : true,
105
+ "readOnly" : true,
106
106
  "type" : "string"
107
107
  },
108
108
  "success_url" : {
@@ -10,19 +10,19 @@
10
10
  },
11
11
  "email" : {
12
12
  "$ref" : "./base_types/base_types.json#definitions/email",
13
- "readonly" : true
13
+ "readOnly" : true
14
14
  },
15
15
  "first_name" : {
16
16
  "description" : "The given name of the customer",
17
17
  "type" : "string",
18
18
  "maxLength" : 30,
19
- "readonly" : true
19
+ "readOnly" : true
20
20
  },
21
21
  "last_name" : {
22
22
  "description" : "The family name of the customer",
23
23
  "type" : "string",
24
24
  "maxLength" : 30,
25
- "readonly" : true
25
+ "readOnly" : true
26
26
  },
27
27
  "gender" : {
28
28
  "description" : "The gender of the customer",
@@ -31,100 +31,100 @@
31
31
  "f"
32
32
  ],
33
33
  "type" : "string",
34
- "readonly" : true
34
+ "readOnly" : true
35
35
  },
36
36
  "title" : {
37
37
  "description" : "Salutation e.g Mr. or Ms./Mrs.",
38
38
  "type" : "string",
39
39
  "maxLength" : 30,
40
- "readonly" : true
40
+ "readOnly" : true
41
41
  },
42
42
  "nick" : {
43
43
  "description" : "Nickname used in community.",
44
44
  "type" : "string",
45
45
  "maxLength" : 40,
46
46
  "minLength" : 2,
47
- "readonly" : true
47
+ "readOnly" : true
48
48
  },
49
49
  "maiden_name" : {
50
50
  "description" : "Name at birth, maiden name.",
51
51
  "type" : "string",
52
52
  "maxLength" : 30,
53
- "readonly" : true
53
+ "readOnly" : true
54
54
  },
55
55
  "adr_street" : {
56
56
  "description" : "Address street",
57
57
  "type" : "string",
58
58
  "maxLength" : 100,
59
- "readonly" : true
59
+ "readOnly" : true
60
60
  },
61
61
  "adr_street_number" : {
62
62
  "description" : "Address street number",
63
63
  "type" : "string",
64
64
  "maxLength" : 10,
65
- "readonly" : true
65
+ "readOnly" : true
66
66
  },
67
67
  "adr_post_code" : {
68
68
  "description" : "Address post code",
69
69
  "type" : "string",
70
70
  "maxLength" : 10,
71
- "readonly" : true
71
+ "readOnly" : true
72
72
  },
73
73
  "adr_city" : {
74
74
  "description" : "Address City",
75
75
  "type" : "string",
76
76
  "maxLength" : 100,
77
- "readonly" : true
77
+ "readOnly" : true
78
78
  },
79
79
  "adr_country" : {
80
80
  "description" : "Address Country",
81
81
  "type" : "string",
82
82
  "maxLength" : 100,
83
- "readonly" : true
83
+ "readOnly" : true
84
84
  },
85
85
  "adr_phone" : {
86
86
  "description" : "Phone home",
87
87
  "type" : "string",
88
88
  "maxLength" : 30,
89
- "readonly" : true
89
+ "readOnly" : true
90
90
  },
91
91
  "adr_mobile" : {
92
92
  "description" : "Phone mobile",
93
93
  "type" : "string",
94
94
  "maxLength" : 30,
95
- "readonly" : true
95
+ "readOnly" : true
96
96
  },
97
97
  "adr_fax" : {
98
98
  "description" : "Phone fax",
99
99
  "type" : "string",
100
100
  "maxLength" : 30,
101
- "readonly" : true
101
+ "readOnly" : true
102
102
  },
103
103
  "adr_businessphone" : {
104
104
  "description" : "Phone business",
105
105
  "type" : "string",
106
106
  "maxLength" : 30,
107
- "readonly" : true
107
+ "readOnly" : true
108
108
  },
109
109
  "birthday" : {
110
110
  "description" : "Date of birth",
111
111
  "type" : "string",
112
112
  "format" : "date-time",
113
- "readonly" : true
113
+ "readOnly" : true
114
114
  },
115
115
  "creditor_identifier" : {
116
116
  "description" : "Creditor Identifier ID set if the customer wants to create direct debits.",
117
117
  "type" : "string",
118
- "readonly" : true
118
+ "readOnly" : true
119
119
  },
120
120
  "is_verified" : {
121
121
  "description" : "Indicates whether KYC has been performed.",
122
122
  "type" : "boolean",
123
- "readonly" : true
123
+ "readOnly" : true
124
124
  },
125
125
  "nationality" : {
126
126
  "$ref" : "./base_types/base_types.json#definitions/country",
127
- "readonly" : true
127
+ "readOnly" : true
128
128
  },
129
129
  "marital_status" : {
130
130
  "description" : "1: single, 2: married, 3: widowed, 4: divorced, 5: seperated, 6: de facto",
@@ -137,7 +137,7 @@
137
137
  6
138
138
  ],
139
139
  "type" : "integer",
140
- "readonly" : true
140
+ "readOnly" : true
141
141
  },
142
142
  "religion" : {
143
143
  "description" : "Denomination for tax reasons. 0: no information, 1: no denomination, 2: Protestant, 3: Roman-Catholic, 4-18: Other denominations",
@@ -162,23 +162,23 @@
162
162
  18
163
163
  ],
164
164
  "type" : "integer",
165
- "readonly" : true
165
+ "readOnly" : true
166
166
  },
167
167
  "id_card_registration_city" : {
168
168
  "description" : "City where the id card is registered.",
169
169
  "type" : "string",
170
- "readonly" : true
170
+ "readOnly" : true
171
171
  },
172
172
  "id_card_number" : {
173
173
  "description" : "ID card number",
174
174
  "type" : "string",
175
- "readonly" : true
175
+ "readOnly" : true
176
176
  },
177
177
  "id_card_valid_until" : {
178
178
  "description" : "Expiration date of id card",
179
179
  "format" : "date-time",
180
180
  "type" : "string",
181
- "readonly" : true
181
+ "readOnly" : true
182
182
  },
183
183
  "created_at" : {
184
184
  "$ref" : "./base_types/base_types.json#definitions/created_at"
@@ -8,12 +8,12 @@
8
8
  "message" : {
9
9
  "description" : "a human readable representation of the error",
10
10
  "type" : "string",
11
- "readonly" : true
11
+ "readOnly" : true
12
12
  },
13
13
  "code" : {
14
14
  "description" : "a numeric code identifying the error",
15
15
  "type" : "integer",
16
- "readonly" : true
16
+ "readOnly" : true
17
17
  },
18
18
  "errors" : {
19
19
  "description" : "error details, if applicable",
@@ -25,12 +25,12 @@
25
25
  "field" : {
26
26
  "description" : "identifies the field that caused this error",
27
27
  "type" : "string",
28
- "readonly" : true
28
+ "readOnly" : true
29
29
  },
30
30
  "message" : {
31
31
  "description" : "provide more information about the cause of this error",
32
32
  "type" : "string",
33
- "readonly" : true
33
+ "readOnly" : true
34
34
  }
35
35
  }
36
36
  }
@@ -43,7 +43,7 @@
43
43
  },
44
44
  "currency" : {
45
45
  "$ref" : "./base_types/base_types.json#definitions/currency",
46
- "readonly" : true
46
+ "readOnly" : true
47
47
  },
48
48
  "subject" : {
49
49
  "$ref" : "./base_types/base_types.json#definitions/subject",
@@ -61,7 +61,7 @@
61
61
  "failure",
62
62
  "expired"
63
63
  ],
64
- "readonly" : true,
64
+ "readOnly" : true,
65
65
  "type" : "string"
66
66
  },
67
67
  "created_at" : {
@@ -7,17 +7,17 @@
7
7
  "limit" : {
8
8
  "description" : "The rate limit ceiling for the given request in a [time window]",
9
9
  "type" : "integer",
10
- "readonly" : true
10
+ "readOnly" : true
11
11
  },
12
12
  "remaining" : {
13
13
  "description" : "The number of requests left for the [time window]",
14
14
  "type" : "integer",
15
- "readonly" : true
15
+ "readOnly" : true
16
16
  },
17
17
  "reset" : {
18
18
  "description" : "The remaining window before the rate limit resets in e.g. UTC epoch seconds",
19
19
  "type" : "integer",
20
- "readonly" : true
20
+ "readOnly" : true
21
21
  }
22
22
  },
23
23
  "links" : [
@@ -29,7 +29,7 @@
29
29
  },
30
30
  "currency" : {
31
31
  "$ref" : "./base_types/base_types.json#definitions/currency",
32
- "readonly" : true
32
+ "readOnly" : true
33
33
  },
34
34
  "remote_name" : {
35
35
  "description" : "Receiving account holder name",
@@ -51,7 +51,7 @@
51
51
  "expired",
52
52
  "failure"
53
53
  ],
54
- "readonly" : true,
54
+ "readOnly" : true,
55
55
  "type" : "string"
56
56
  },
57
57
  "created_at" : {
@@ -24,14 +24,14 @@
24
24
  "creditor_identifier" : {
25
25
  "description" : "Creditor Identifier",
26
26
  "type" : "string",
27
- "readonly" : true
27
+ "readOnly" : true
28
28
  },
29
29
  "amount" : {
30
30
  "$ref" : "./base_types/base_types.json#definitions/amount"
31
31
  },
32
32
  "currency" : {
33
33
  "$ref" : "./base_types/base_types.json#definitions/currency",
34
- "readonly" : true
34
+ "readOnly" : true
35
35
  },
36
36
  "eref" : {
37
37
  "$ref" : "./base_types/base_types.json#definitions/eref"
@@ -53,7 +53,7 @@
53
53
  "success",
54
54
  "failure"
55
55
  ],
56
- "readonly" : true,
56
+ "readOnly" : true,
57
57
  "type" : "string"
58
58
  },
59
59
  "created_at" : {
@@ -9,15 +9,15 @@
9
9
  },
10
10
  "account_id" : {
11
11
  "$ref" : "./base_types/base_types.json#definitions/account_id",
12
- "readonly" : true
12
+ "readOnly" : true
13
13
  },
14
14
  "transaction_type" : {
15
15
  "$ref" : "./base_types/base_types.json#definitions/transaction_type",
16
- "readonly" : true
16
+ "readOnly" : true
17
17
  },
18
18
  "transaction_type_details" : {
19
19
  "description" : "Details specific to this transaction type are collected here.",
20
- "readonly" : true,
20
+ "readOnly" : true,
21
21
  "type" : "object",
22
22
  "oneOf" : [
23
23
  {
@@ -48,37 +48,37 @@
48
48
  },
49
49
  "subject" : {
50
50
  "$ref" : "./base_types/base_types.json#definitions/subject",
51
- "readonly" : true
51
+ "readOnly" : true
52
52
  },
53
53
  "amount" : {
54
54
  "description" : "The transferred amount in account currency, in minor units, e.g. 1EUR is represented as 100. Can be negative e.g. if something was withdrawn from an account.",
55
55
  "type" : "integer",
56
- "readonly" : true
56
+ "readOnly" : true
57
57
  },
58
58
  "currency" : {
59
59
  "$ref" : "./base_types/base_types.json#definitions/currency",
60
- "readonly" : true
60
+ "readOnly" : true
61
61
  },
62
62
  "booking_date" : {
63
63
  "description" : "Date the transaction was booked. ISO 8601 Date",
64
64
  "format" : "date-time",
65
- "readonly" : true,
65
+ "readOnly" : true,
66
66
  "type" : "string"
67
67
  },
68
68
  "value_date" : {
69
69
  "description" : "Date the amount was credited to the account. ISO 8601 Date",
70
70
  "format" : "date-time",
71
- "readonly" : true,
71
+ "readOnly" : true,
72
72
  "type" : "string"
73
73
  },
74
74
  "booking_code" : {
75
75
  "description" : "Accounting transaction code in the central banking system",
76
- "readonly" : true,
76
+ "readOnly" : true,
77
77
  "type" : "string"
78
78
  },
79
79
  "return_transaction_id" : {
80
80
  "description" : "If the transaction was marked for return, this references the new return transaction.",
81
- "readonly" : true,
81
+ "readOnly" : true,
82
82
  "type" : "string"
83
83
  },
84
84
  "created_at" : {
@@ -8,25 +8,25 @@
8
8
  "description" : "CreditCard merchant initiating the transaction",
9
9
  "type" : "string",
10
10
  "maxLength" : 255,
11
- "readonly" : true
11
+ "readOnly" : true
12
12
  },
13
13
  "cc_merchant_category" : {
14
14
  "description" : "Category given by the merchant",
15
15
  "type" : "string",
16
16
  "maxLength" : 255,
17
- "readonly" : true
17
+ "readOnly" : true
18
18
  },
19
19
  "cc_type" : {
20
20
  "description" : "CreditCard type",
21
21
  "type" : "string",
22
22
  "maxLength" : 255,
23
- "readonly" : true
23
+ "readOnly" : true
24
24
  },
25
25
  "cc_category" : {
26
26
  "description" : "CreditCard category",
27
27
  "type" : "string",
28
28
  "maxLength" : 255,
29
- "readonly" : true
29
+ "readOnly" : true
30
30
  }
31
31
  }
32
32
  }
@@ -6,11 +6,11 @@
6
6
  "properties" : {
7
7
  "remote_account_id" : {
8
8
  "$ref" : "../base_types/base_types.json#definitions/account_id",
9
- "readonly" : true
9
+ "readOnly" : true
10
10
  },
11
11
  "internal_transfer_id" : {
12
12
  "description" : "Id of transfer if transaction was created by a transfer. Refunded transactions have no id",
13
- "readonly" : true,
13
+ "readOnly" : true,
14
14
  "type" : "string"
15
15
  }
16
16
  }
@@ -6,22 +6,22 @@
6
6
  "properties" : {
7
7
  "sepa_credit_transfer_id" : {
8
8
  "description" : "Id of transfer if transaction was created by a transfer. Refunded transactions have no id",
9
- "readonly" : true,
9
+ "readOnly" : true,
10
10
  "type" : "string"
11
11
  },
12
12
  "remote_name" : {
13
13
  "description" : "Receiving/Sending account holder name",
14
14
  "type" : "string",
15
- "readonly" : true,
15
+ "readOnly" : true,
16
16
  "maxLength" : 70
17
17
  },
18
18
  "remote_iban" : {
19
19
  "$ref" : "../base_types/base_types.json#definitions/iban",
20
- "readonly" : true
20
+ "readOnly" : true
21
21
  },
22
22
  "remote_bic" : {
23
23
  "$ref" : "../base_types/base_types.json#definitions/bic",
24
- "readonly" : true
24
+ "readOnly" : true
25
25
  }
26
26
  }
27
27
  }
@@ -6,20 +6,20 @@
6
6
  "properties" : {
7
7
  "remote_iban" : {
8
8
  "$ref" : "../base_types/base_types.json#definitions/iban",
9
- "readonly" : true
9
+ "readOnly" : true
10
10
  },
11
11
  "remote_bic" : {
12
12
  "$ref" : "../base_types/base_types.json#definitions/bic",
13
- "readonly" : true
13
+ "readOnly" : true
14
14
  },
15
15
  "mandate_id" : {
16
16
  "description" : "The sepa mandate used by the debit",
17
17
  "type" : "string",
18
- "readonly" : true
18
+ "readOnly" : true
19
19
  },
20
20
  "eref" : {
21
21
  "$ref" : "../base_types/base_types.json#definitions/eref",
22
- "readonly" : true
22
+ "readOnly" : true
23
23
  }
24
24
  }
25
25
  }
@@ -10,12 +10,12 @@
10
10
  },
11
11
  "email" : {
12
12
  "$ref" : "./base_types/base_types.json#definitions/email",
13
- "readonly" : true
13
+ "readOnly" : true
14
14
  },
15
15
  "last_sign_in_at" : {
16
16
  "description" : "Last time the user accessed fidor. ISO 8601 Date-Time",
17
17
  "format" : "date-time",
18
- "readonly" : true,
18
+ "readOnly" : true,
19
19
  "type" : "string"
20
20
  },
21
21
  "created_at" : {
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fidor_schema
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Georg Leciejewski