fidor_schema 0.10.7 → 0.10.8

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: 0d37ba00a554ca663c97ed6fbbd9d11371236714
4
- data.tar.gz: 2b5f9b88fe6d15fa7b18c2c7d309c9ae6dd57bc4
3
+ metadata.gz: c683af9439c2bdaf716a0b45dea83233f5d7e994
4
+ data.tar.gz: 947a6f7d8514e7fd8777dcacf8673648b2ba18e8
5
5
  SHA512:
6
- metadata.gz: cf26a1f106a1a45096729a299630a1495bcc6216257e71943686c1935c1adaaf9a0c8ae391a9dfef74aa6cc488ac11c3f69854ad38194893057feb2f6321fa4b
7
- data.tar.gz: 401d3674bf0c02391e617af5633c861bc64c99fa48c5be440c270a852e5333edb5f4c4b08491dcd816a5dc8574b25fc4a325e9877319a182c5d485f6182df356
6
+ metadata.gz: 26a2b4f7872a34a225afad6cb50d883dcdd09b1767e28fbbd9085efde7b761d46828b371dd1f2a7be608827487fa6361395c16eca97ad089952d4914f947a034
7
+ data.tar.gz: 32edd14c04f782400fee0ffe28126261c937c8d66ec4b96b52291d51c4b896285d13a9fc96d2686bd8ce823367a67a3f3ad70c18cebfc8d3137ff37e3d541543
@@ -1,5 +1,5 @@
1
1
  module Fidor
2
2
  class Schema
3
- VERSION = '0.10.7'
3
+ VERSION = '0.10.8'
4
4
  end
5
5
  end
@@ -0,0 +1,20 @@
1
+ {
2
+ "$schema" : "http://json-schema.org/draft-04/schema#",
3
+ "type" : "object",
4
+ "title" : "push_notification_token_preferences",
5
+ "description" : "Preferences of user for push notification delivery",
6
+ "properties" : {
7
+ "vibrations" : {
8
+ "description" : "Vibrate on received",
9
+ "type" : "boolean"
10
+ },
11
+ "badges" : {
12
+ "description" : "Highligh the icon with badge",
13
+ "type" : "boolean"
14
+ },
15
+ "sounds" : {
16
+ "description" : "Play sound when received",
17
+ "type" : "boolean"
18
+ }
19
+ }
20
+ }
@@ -0,0 +1,91 @@
1
+ {
2
+ "$schema" : "http://json-schema.org/draft-04/schema#",
3
+ "type" : "object",
4
+ "title" : "push_token",
5
+ "description" : "Allows apps that can receive push notifications to manage their tokens.",
6
+ "required" : ["push_token", "os", "version_app", "udid", "application_key"],
7
+ "properties" : {
8
+ "id" : {
9
+ "$ref" : "./base_types/base_types.json#definitions/id"
10
+ },
11
+ "udid" : {
12
+ "description" : "Unique identifier of the device",
13
+ "type" : "string"
14
+ },
15
+ "push_token" : {
16
+ "description" : "Push notification token",
17
+ "type" : "string"
18
+ },
19
+ "application_key" : {
20
+ "description" : "Identifier of the application created in apm",
21
+ "type" : "string"
22
+ },
23
+ "os" : {
24
+ "description" : "Operating system for push notification token",
25
+ "type" : "string"
26
+ },
27
+ "version_app" : {
28
+ "description" : "Incremental value of application release, exp. Build for iOS or versionCode for Android",
29
+ "type" : "string"
30
+ },
31
+ "version_name" : {
32
+ "description" : "Defined name of application release, exp. version for iOS or versionName for Android",
33
+ "type" : "string"
34
+ },
35
+ "preferences" : {
36
+ "description" : "Preferences of push notification set by user",
37
+ "type" : "object",
38
+ "$ref" : "./push_notification_token/preferences.json#"
39
+ },
40
+ "created_at" : {
41
+ "$ref" : "./base_types/base_types.json#definitions/created_at"
42
+ },
43
+ "updated_at" : {
44
+ "$ref" : "./base_types/base_types.json#definitions/updated_at"
45
+ }
46
+ },
47
+ "links" : [
48
+ {
49
+ "description" : "Push notification token information",
50
+ "href" : "push_notification_tokens/{id}",
51
+ "method" : "GET",
52
+ "rel" : "self",
53
+ "title" : "Show"
54
+ },
55
+ {
56
+ "description" : "Store new push notification token for a customer",
57
+ "href" : "push_notification_tokens",
58
+ "rel" : "create",
59
+ "method" : "POST",
60
+ "title" : "Create"
61
+ },
62
+ {
63
+ "rel" : "instances",
64
+ "href" : "push_notification_tokens",
65
+ "description" : "All push notification tokens of customer",
66
+ "method" : "GET",
67
+ "title" : "Index",
68
+ "properties" : {
69
+ "page" : {
70
+ "title" : "Page",
71
+ "description" : "In paginated results set the page to look for",
72
+ "type" : "integer"
73
+ },
74
+ "per_page" : {
75
+ "title" : "Per page",
76
+ "description" : "Results per page. Default is 10, max is 100",
77
+ "type" : "integer"
78
+ },
79
+ "sort" : {
80
+ "title" : "Sort",
81
+ "enum" : [
82
+ "ASC",
83
+ "DESC"
84
+ ],
85
+ "description" : "Sort the results in ASC or DESC",
86
+ "type" : "string"
87
+ }
88
+ }
89
+ }
90
+ ]
91
+ }
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.10.7
4
+ version: 0.10.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Georg Leciejewski
@@ -188,6 +188,8 @@ files:
188
188
  - schema/v1.0/preauth_type_details/gmt_details.json
189
189
  - schema/v1.0/preauth_type_details/internal_transfer_details.json
190
190
  - schema/v1.0/preauth_type_details/ripple_details.json
191
+ - schema/v1.0/push_notification_token.json
192
+ - schema/v1.0/push_notification_token/preferences.json
191
193
  - schema/v1.0/rate_limit.json
192
194
  - schema/v1.0/security_answer.json
193
195
  - schema/v1.0/security_question.json