losant_rest 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (139) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +23 -0
  3. data/.rbenv-version +1 -0
  4. data/.travis.yml +5 -0
  5. data/Gemfile +2 -0
  6. data/LICENSE +21 -0
  7. data/README.md +237 -0
  8. data/Rakefile +12 -0
  9. data/docs/_schemas.md +6348 -0
  10. data/docs/accessToken.md +107 -0
  11. data/docs/accessTokens.md +68 -0
  12. data/docs/application.md +107 -0
  13. data/docs/applicationKey.md +115 -0
  14. data/docs/applicationKeys.md +81 -0
  15. data/docs/applications.md +76 -0
  16. data/docs/auth.md +104 -0
  17. data/docs/dashboard.md +107 -0
  18. data/docs/dashboards.md +76 -0
  19. data/docs/data.md +78 -0
  20. data/docs/device.md +300 -0
  21. data/docs/deviceRecipe.md +152 -0
  22. data/docs/deviceRecipes.md +81 -0
  23. data/docs/devices.md +117 -0
  24. data/docs/event.md +115 -0
  25. data/docs/events.md +153 -0
  26. data/docs/flow.md +261 -0
  27. data/docs/flows.md +81 -0
  28. data/docs/me.md +312 -0
  29. data/docs/org.md +279 -0
  30. data/docs/orgs.md +75 -0
  31. data/docs/webhook.md +115 -0
  32. data/docs/webhooks.md +81 -0
  33. data/examples/auth.rb +32 -0
  34. data/examples/list_devices.rb +45 -0
  35. data/lib/losant_rest/access_token.rb +122 -0
  36. data/lib/losant_rest/access_tokens.rb +80 -0
  37. data/lib/losant_rest/application.rb +122 -0
  38. data/lib/losant_rest/application_key.rb +128 -0
  39. data/lib/losant_rest/application_keys.rb +98 -0
  40. data/lib/losant_rest/applications.rb +94 -0
  41. data/lib/losant_rest/auth.rb +122 -0
  42. data/lib/losant_rest/client.rb +132 -0
  43. data/lib/losant_rest/dashboard.rb +122 -0
  44. data/lib/losant_rest/dashboards.rb +94 -0
  45. data/lib/losant_rest/data.rb +89 -0
  46. data/lib/losant_rest/device.rb +336 -0
  47. data/lib/losant_rest/device_recipe.rb +169 -0
  48. data/lib/losant_rest/device_recipes.rb +98 -0
  49. data/lib/losant_rest/devices.rb +139 -0
  50. data/lib/losant_rest/error.rb +12 -0
  51. data/lib/losant_rest/event.rb +128 -0
  52. data/lib/losant_rest/events.rb +183 -0
  53. data/lib/losant_rest/flow.rb +290 -0
  54. data/lib/losant_rest/flows.rb +98 -0
  55. data/lib/losant_rest/me.rb +362 -0
  56. data/lib/losant_rest/org.rb +314 -0
  57. data/lib/losant_rest/orgs.rb +92 -0
  58. data/lib/losant_rest/utils.rb +22 -0
  59. data/lib/losant_rest/version.rb +3 -0
  60. data/lib/losant_rest/webhook.rb +128 -0
  61. data/lib/losant_rest/webhooks.rb +98 -0
  62. data/lib/losant_rest.rb +43 -0
  63. data/losant_rest.gemspec +25 -0
  64. data/schemas/accessToken.json +52 -0
  65. data/schemas/accessTokenPatch.json +19 -0
  66. data/schemas/accessTokenPost.json +32 -0
  67. data/schemas/accessTokens.json +65 -0
  68. data/schemas/application.json +65 -0
  69. data/schemas/applicationKey.json +68 -0
  70. data/schemas/applicationKeyPatch.json +18 -0
  71. data/schemas/applicationKeyPost.json +36 -0
  72. data/schemas/applicationKeys.json +110 -0
  73. data/schemas/applicationPatch.json +16 -0
  74. data/schemas/applicationPost.json +23 -0
  75. data/schemas/applications.json +103 -0
  76. data/schemas/authedDevice.json +34 -0
  77. data/schemas/authedUser.json +18 -0
  78. data/schemas/dashboard.json +95 -0
  79. data/schemas/dashboardPatch.json +69 -0
  80. data/schemas/dashboardPost.json +76 -0
  81. data/schemas/dashboards.json +133 -0
  82. data/schemas/device.json +113 -0
  83. data/schemas/deviceCommand.json +20 -0
  84. data/schemas/deviceCommands.json +25 -0
  85. data/schemas/deviceCredentials.json +22 -0
  86. data/schemas/deviceLog.json +28 -0
  87. data/schemas/devicePatch.json +78 -0
  88. data/schemas/devicePost.json +81 -0
  89. data/schemas/deviceRecipe.json +106 -0
  90. data/schemas/deviceRecipeBulkCreate.json +15 -0
  91. data/schemas/deviceRecipeBulkCreatePost.json +19 -0
  92. data/schemas/deviceRecipePatch.json +87 -0
  93. data/schemas/deviceRecipePost.json +90 -0
  94. data/schemas/deviceRecipes.json +148 -0
  95. data/schemas/deviceState.json +30 -0
  96. data/schemas/deviceStates.json +35 -0
  97. data/schemas/deviceTagFilter.json +19 -0
  98. data/schemas/devices.json +155 -0
  99. data/schemas/disableTwoFactorAuth.json +20 -0
  100. data/schemas/enableTwoFactorAuth.json +21 -0
  101. data/schemas/error.json +12 -0
  102. data/schemas/event.json +115 -0
  103. data/schemas/eventPatch.json +20 -0
  104. data/schemas/eventPost.json +39 -0
  105. data/schemas/events.json +165 -0
  106. data/schemas/flow.json +137 -0
  107. data/schemas/flowLog.json +46 -0
  108. data/schemas/flowPatch.json +107 -0
  109. data/schemas/flowPost.json +110 -0
  110. data/schemas/flowStorageEntries.json +7 -0
  111. data/schemas/flowStorageEntry.json +16 -0
  112. data/schemas/flows.json +179 -0
  113. data/schemas/githubLogin.json +14 -0
  114. data/schemas/lastValueData.json +34 -0
  115. data/schemas/lastValueQuery.json +36 -0
  116. data/schemas/me.json +173 -0
  117. data/schemas/mePatch.json +43 -0
  118. data/schemas/multiDeviceCommand.json +45 -0
  119. data/schemas/org.json +81 -0
  120. data/schemas/orgInvitePost.json +24 -0
  121. data/schemas/orgInvites.json +36 -0
  122. data/schemas/orgMemberPatch.json +23 -0
  123. data/schemas/orgPatch.json +16 -0
  124. data/schemas/orgPost.json +19 -0
  125. data/schemas/orgs.json +119 -0
  126. data/schemas/recentItem.json +27 -0
  127. data/schemas/recentItemList.json +36 -0
  128. data/schemas/success.json +12 -0
  129. data/schemas/timeSeriesData.json +89 -0
  130. data/schemas/timeSeriesQuery.json +64 -0
  131. data/schemas/userCredentials.json +25 -0
  132. data/schemas/virtualButtonPress.json +14 -0
  133. data/schemas/webhook.json +52 -0
  134. data/schemas/webhookPatch.json +29 -0
  135. data/schemas/webhookPost.json +32 -0
  136. data/schemas/webhooks.json +94 -0
  137. data/test/basic_test.rb +67 -0
  138. data/test/test_helper.rb +14 -0
  139. metadata +239 -0
@@ -0,0 +1,68 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-04/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "id": {
6
+ "type": "string",
7
+ "pattern": "^[A-Fa-f\\d]{24}$"
8
+ },
9
+ "applicationKeyId": {
10
+ "type": "string",
11
+ "pattern": "^[A-Fa-f\\d]{24}$"
12
+ },
13
+ "applicationId": {
14
+ "type": "string",
15
+ "pattern": "^[A-Fa-f\\d]{24}$"
16
+ },
17
+ "creationDate": {
18
+ "type": "string",
19
+ "format": "date-time"
20
+ },
21
+ "lastUpdated": {
22
+ "type": "string",
23
+ "format": "date-time"
24
+ },
25
+ "key": {
26
+ "type": "string"
27
+ },
28
+ "status": {
29
+ "type": "string",
30
+ "enum": [
31
+ "active",
32
+ "inactive"
33
+ ]
34
+ },
35
+ "secret": {
36
+ "type": "string"
37
+ },
38
+ "deviceIds": {
39
+ "type": "array",
40
+ "items": {
41
+ "type": "string",
42
+ "pattern": "^[A-Fa-f\\d]{24}$"
43
+ }
44
+ },
45
+ "deviceTags": {
46
+ "type": "array",
47
+ "items": {
48
+ "type": "object",
49
+ "properties": {
50
+ "key": {
51
+ "type": "string",
52
+ "pattern": "^[0-9a-zA-Z_-]{1,255}$"
53
+ },
54
+ "value": {
55
+ "type": "string",
56
+ "minLength": 1,
57
+ "maxLength": 255
58
+ }
59
+ },
60
+ "additionalProperties": false
61
+ }
62
+ },
63
+ "description": {
64
+ "type": "string",
65
+ "maxLength": 32767
66
+ }
67
+ }
68
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-04/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "status": {
6
+ "type": "string",
7
+ "enum": [
8
+ "active",
9
+ "inactive"
10
+ ]
11
+ },
12
+ "description": {
13
+ "type": "string",
14
+ "maxLength": 32767
15
+ }
16
+ },
17
+ "additionalProperties": false
18
+ }
@@ -0,0 +1,36 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-04/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "deviceIds": {
6
+ "type": "array",
7
+ "items": {
8
+ "type": "string",
9
+ "pattern": "^[A-Fa-f\\d]{24}$"
10
+ }
11
+ },
12
+ "deviceTags": {
13
+ "type": "array",
14
+ "items": {
15
+ "type": "object",
16
+ "properties": {
17
+ "key": {
18
+ "type": "string",
19
+ "pattern": "^[0-9a-zA-Z_-]{1,255}$"
20
+ },
21
+ "value": {
22
+ "type": "string",
23
+ "minLength": 1,
24
+ "maxLength": 255
25
+ }
26
+ },
27
+ "additionalProperties": false
28
+ }
29
+ },
30
+ "description": {
31
+ "type": "string",
32
+ "maxLength": 32767
33
+ }
34
+ },
35
+ "additionalProperties": false
36
+ }
@@ -0,0 +1,110 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-04/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "items": {
6
+ "type": "array",
7
+ "items": {
8
+ "title": "Application Key",
9
+ "description": "Schema for a single Application Key",
10
+ "type": "object",
11
+ "properties": {
12
+ "id": {
13
+ "type": "string",
14
+ "pattern": "^[A-Fa-f\\d]{24}$"
15
+ },
16
+ "applicationKeyId": {
17
+ "type": "string",
18
+ "pattern": "^[A-Fa-f\\d]{24}$"
19
+ },
20
+ "applicationId": {
21
+ "type": "string",
22
+ "pattern": "^[A-Fa-f\\d]{24}$"
23
+ },
24
+ "creationDate": {
25
+ "type": "string",
26
+ "format": "date-time"
27
+ },
28
+ "lastUpdated": {
29
+ "type": "string",
30
+ "format": "date-time"
31
+ },
32
+ "key": {
33
+ "type": "string"
34
+ },
35
+ "status": {
36
+ "type": "string",
37
+ "enum": [
38
+ "active",
39
+ "inactive"
40
+ ]
41
+ },
42
+ "secret": {
43
+ "type": "string"
44
+ },
45
+ "deviceIds": {
46
+ "type": "array",
47
+ "items": {
48
+ "type": "string",
49
+ "pattern": "^[A-Fa-f\\d]{24}$"
50
+ }
51
+ },
52
+ "deviceTags": {
53
+ "type": "array",
54
+ "items": {
55
+ "type": "object",
56
+ "properties": {
57
+ "key": {
58
+ "type": "string",
59
+ "pattern": "^[0-9a-zA-Z_-]{1,255}$"
60
+ },
61
+ "value": {
62
+ "type": "string",
63
+ "minLength": 1,
64
+ "maxLength": 255
65
+ }
66
+ },
67
+ "additionalProperties": false
68
+ }
69
+ },
70
+ "description": {
71
+ "type": "string",
72
+ "maxLength": 32767
73
+ }
74
+ }
75
+ }
76
+ },
77
+ "count": {
78
+ "type": "integer"
79
+ },
80
+ "totalCount": {
81
+ "type": "integer"
82
+ },
83
+ "perPage": {
84
+ "type": "integer"
85
+ },
86
+ "page": {
87
+ "type": "integer"
88
+ },
89
+ "filter": {
90
+ "type": "string"
91
+ },
92
+ "filterField": {
93
+ "type": "string"
94
+ },
95
+ "sortField": {
96
+ "type": "string"
97
+ },
98
+ "sortDirection": {
99
+ "type": "string",
100
+ "enum": [
101
+ "asc",
102
+ "desc"
103
+ ]
104
+ },
105
+ "applicationId": {
106
+ "type": "string",
107
+ "pattern": "^[A-Fa-f\\d]{24}$"
108
+ }
109
+ }
110
+ }
@@ -0,0 +1,16 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-04/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "name": {
6
+ "type": "string",
7
+ "minLength": 1,
8
+ "maxLength": 255
9
+ },
10
+ "description": {
11
+ "type": "string",
12
+ "maxLength": 32767
13
+ }
14
+ },
15
+ "additionalProperties": false
16
+ }
@@ -0,0 +1,23 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-04/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "orgId": {
6
+ "type": "string",
7
+ "pattern": "^[A-Fa-f\\d]{24}$"
8
+ },
9
+ "name": {
10
+ "type": "string",
11
+ "minLength": 1,
12
+ "maxLength": 255
13
+ },
14
+ "description": {
15
+ "type": "string",
16
+ "maxLength": 32767
17
+ }
18
+ },
19
+ "additionalProperties": false,
20
+ "required": [
21
+ "name"
22
+ ]
23
+ }
@@ -0,0 +1,103 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-04/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "items": {
6
+ "type": "array",
7
+ "items": {
8
+ "title": "Application",
9
+ "description": "Schema for a single Application",
10
+ "type": "object",
11
+ "properties": {
12
+ "id": {
13
+ "type": "string",
14
+ "pattern": "^[A-Fa-f\\d]{24}$"
15
+ },
16
+ "applicationId": {
17
+ "type": "string",
18
+ "pattern": "^[A-Fa-f\\d]{24}$"
19
+ },
20
+ "creationDate": {
21
+ "type": "string",
22
+ "format": "date-time"
23
+ },
24
+ "lastUpdated": {
25
+ "type": "string",
26
+ "format": "date-time"
27
+ },
28
+ "ownerId": {
29
+ "type": "string",
30
+ "pattern": "^[A-Fa-f\\d]{24}$"
31
+ },
32
+ "ownerType": {
33
+ "type": "string",
34
+ "enum": [
35
+ "user",
36
+ "organization"
37
+ ]
38
+ },
39
+ "name": {
40
+ "type": "string",
41
+ "minLength": 1,
42
+ "maxLength": 255
43
+ },
44
+ "description": {
45
+ "type": "string",
46
+ "maxLength": 32767
47
+ },
48
+ "summary": {
49
+ "type": "object",
50
+ "properties": {
51
+ "deviceCount": {
52
+ "type": "number"
53
+ },
54
+ "flowCount": {
55
+ "type": "number"
56
+ },
57
+ "webhookCount": {
58
+ "type": "number"
59
+ },
60
+ "eventCount": {
61
+ "type": "number"
62
+ },
63
+ "keyCount": {
64
+ "type": "number"
65
+ },
66
+ "deviceRecipeCount": {
67
+ "type": "number"
68
+ }
69
+ }
70
+ }
71
+ }
72
+ }
73
+ },
74
+ "count": {
75
+ "type": "integer"
76
+ },
77
+ "totalCount": {
78
+ "type": "integer"
79
+ },
80
+ "perPage": {
81
+ "type": "integer"
82
+ },
83
+ "page": {
84
+ "type": "integer"
85
+ },
86
+ "filter": {
87
+ "type": "string"
88
+ },
89
+ "filterField": {
90
+ "type": "string"
91
+ },
92
+ "sortField": {
93
+ "type": "string"
94
+ },
95
+ "sortDirection": {
96
+ "type": "string",
97
+ "enum": [
98
+ "asc",
99
+ "desc"
100
+ ]
101
+ }
102
+ }
103
+ }
@@ -0,0 +1,34 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-04/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "applicationId": {
6
+ "type": "string",
7
+ "pattern": "^[A-Fa-f\\d]{24}$"
8
+ },
9
+ "deviceId": {
10
+ "type": "string",
11
+ "pattern": "^[A-Fa-f\\d]{24}$"
12
+ },
13
+ "devicecClass": {
14
+ "type": "string",
15
+ "enum": [
16
+ "standalone",
17
+ "master",
18
+ "owned",
19
+ "floating",
20
+ "virtual"
21
+ ]
22
+ },
23
+ "token": {
24
+ "type": "string",
25
+ "minLength": 1
26
+ }
27
+ },
28
+ "required": [
29
+ "applicationId",
30
+ "deviceId",
31
+ "deviceClass",
32
+ "token"
33
+ ]
34
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-04/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "userId": {
6
+ "type": "string",
7
+ "pattern": "^[A-Fa-f\\d]{24}$"
8
+ },
9
+ "token": {
10
+ "type": "string",
11
+ "minLength": 1
12
+ }
13
+ },
14
+ "required": [
15
+ "userId",
16
+ "token"
17
+ ]
18
+ }
@@ -0,0 +1,95 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-04/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "id": {
6
+ "type": "string",
7
+ "pattern": "^[A-Fa-f\\d]{24}$"
8
+ },
9
+ "dashboardId": {
10
+ "type": "string",
11
+ "pattern": "^[A-Fa-f\\d]{24}$"
12
+ },
13
+ "creationDate": {
14
+ "type": "string",
15
+ "format": "date-time"
16
+ },
17
+ "lastUpdated": {
18
+ "type": "string",
19
+ "format": "date-time"
20
+ },
21
+ "ownerId": {
22
+ "type": "string",
23
+ "pattern": "^[A-Fa-f\\d]{24}$"
24
+ },
25
+ "ownerType": {
26
+ "type": "string",
27
+ "enum": [
28
+ "user",
29
+ "organization"
30
+ ]
31
+ },
32
+ "name": {
33
+ "type": "string",
34
+ "minLength": 1,
35
+ "maxLength": 255
36
+ },
37
+ "description": {
38
+ "type": "string",
39
+ "maxLength": 32767
40
+ },
41
+ "refreshRate": {
42
+ "type": "number",
43
+ "minimum": 5,
44
+ "maximum": 600
45
+ },
46
+ "public": {
47
+ "type": "boolean"
48
+ },
49
+ "blocks": {
50
+ "type": "array",
51
+ "items": {
52
+ "type": "object",
53
+ "properties": {
54
+ "id": {
55
+ "type": "string"
56
+ },
57
+ "blockType": {
58
+ "type": "string"
59
+ },
60
+ "title": {
61
+ "type": "string",
62
+ "maxLength": 255
63
+ },
64
+ "applicationId": {
65
+ "type": "string",
66
+ "pattern": "^[A-Fa-f\\d]{24}$"
67
+ },
68
+ "startX": {
69
+ "type": "integer"
70
+ },
71
+ "startY": {
72
+ "type": "integer"
73
+ },
74
+ "width": {
75
+ "type": "integer"
76
+ },
77
+ "height": {
78
+ "type": "integer"
79
+ },
80
+ "config": {
81
+ "type": "object"
82
+ }
83
+ },
84
+ "required": [
85
+ "id",
86
+ "blockType",
87
+ "startX",
88
+ "startY",
89
+ "width",
90
+ "height"
91
+ ]
92
+ }
93
+ }
94
+ }
95
+ }
@@ -0,0 +1,69 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-04/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "name": {
6
+ "type": "string",
7
+ "minLength": 1,
8
+ "maxLength": 255
9
+ },
10
+ "blocks": {
11
+ "type": "array",
12
+ "items": {
13
+ "type": "object",
14
+ "properties": {
15
+ "id": {
16
+ "type": "string"
17
+ },
18
+ "blockType": {
19
+ "type": "string"
20
+ },
21
+ "title": {
22
+ "type": "string",
23
+ "maxLength": 255
24
+ },
25
+ "applicationId": {
26
+ "type": "string",
27
+ "pattern": "^[A-Fa-f\\d]{24}$"
28
+ },
29
+ "startX": {
30
+ "type": "integer"
31
+ },
32
+ "startY": {
33
+ "type": "integer"
34
+ },
35
+ "width": {
36
+ "type": "integer"
37
+ },
38
+ "height": {
39
+ "type": "integer"
40
+ },
41
+ "config": {
42
+ "type": "object"
43
+ }
44
+ },
45
+ "required": [
46
+ "id",
47
+ "blockType",
48
+ "startX",
49
+ "startY",
50
+ "width",
51
+ "height"
52
+ ]
53
+ }
54
+ },
55
+ "description": {
56
+ "type": "string",
57
+ "maxLength": 32767
58
+ },
59
+ "refreshRate": {
60
+ "type": "number",
61
+ "minimum": 5,
62
+ "maximum": 600
63
+ },
64
+ "public": {
65
+ "type": "boolean"
66
+ }
67
+ },
68
+ "additionalProperties": false
69
+ }
@@ -0,0 +1,76 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-04/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "orgId": {
6
+ "type": "string",
7
+ "pattern": "^[A-Fa-f\\d]{24}$"
8
+ },
9
+ "name": {
10
+ "type": "string",
11
+ "minLength": 1,
12
+ "maxLength": 255
13
+ },
14
+ "blocks": {
15
+ "type": "array",
16
+ "items": {
17
+ "type": "object",
18
+ "properties": {
19
+ "id": {
20
+ "type": "string"
21
+ },
22
+ "blockType": {
23
+ "type": "string"
24
+ },
25
+ "title": {
26
+ "type": "string",
27
+ "maxLength": 255
28
+ },
29
+ "applicationId": {
30
+ "type": "string",
31
+ "pattern": "^[A-Fa-f\\d]{24}$"
32
+ },
33
+ "startX": {
34
+ "type": "integer"
35
+ },
36
+ "startY": {
37
+ "type": "integer"
38
+ },
39
+ "width": {
40
+ "type": "integer"
41
+ },
42
+ "height": {
43
+ "type": "integer"
44
+ },
45
+ "config": {
46
+ "type": "object"
47
+ }
48
+ },
49
+ "required": [
50
+ "id",
51
+ "blockType",
52
+ "startX",
53
+ "startY",
54
+ "width",
55
+ "height"
56
+ ]
57
+ }
58
+ },
59
+ "description": {
60
+ "type": "string",
61
+ "maxLength": 32767
62
+ },
63
+ "refreshRate": {
64
+ "type": "number",
65
+ "minimum": 5,
66
+ "maximum": 600
67
+ },
68
+ "public": {
69
+ "type": "boolean"
70
+ }
71
+ },
72
+ "additionalProperties": false,
73
+ "required": [
74
+ "name"
75
+ ]
76
+ }