losant_rest 2.1.0 → 2.1.1

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 (191) hide show
  1. checksums.yaml +4 -4
  2. data/docs/_schemas.md +139101 -66992
  3. data/docs/application.md +6 -6
  4. data/docs/applicationCertificates.md +3 -2
  5. data/docs/applicationDashboard.md +1 -1
  6. data/docs/applications.md +1 -1
  7. data/docs/auth.md +1 -1
  8. data/docs/dashboard.md +1 -1
  9. data/docs/dashboards.md +1 -0
  10. data/docs/dataTableRow.md +1 -1
  11. data/docs/dataTableRows.md +3 -3
  12. data/docs/device.md +1 -1
  13. data/docs/edgeDeployments.md +3 -3
  14. data/docs/embeddedDeployments.md +3 -3
  15. data/docs/experience.md +1 -1
  16. data/docs/file.md +4 -4
  17. data/docs/files.md +1 -1
  18. data/docs/flowVersions.md +1 -1
  19. data/docs/instanceApiTokens.md +1 -1
  20. data/docs/instanceMember.md +1 -1
  21. data/docs/instanceOrg.md +1 -1
  22. data/docs/instanceOrgInvite.md +2 -2
  23. data/docs/instanceOrgInvites.md +1 -1
  24. data/docs/instanceOrgMembers.md +2 -1
  25. data/docs/instanceOrgs.md +1 -1
  26. data/docs/me.md +1 -1
  27. data/docs/notebook.md +1 -1
  28. data/docs/org.md +1 -1
  29. data/docs/privateFile.md +4 -4
  30. data/docs/privateFiles.md +1 -1
  31. data/docs/resourceJob.md +2 -2
  32. data/docs/userApiTokens.md +2 -2
  33. data/lib/platform_rest/application.rb +1 -1
  34. data/lib/platform_rest/application_certificates.rb +5 -2
  35. data/lib/platform_rest/application_dashboard.rb +1 -1
  36. data/lib/platform_rest/client.rb +2 -2
  37. data/lib/platform_rest/dashboard.rb +1 -1
  38. data/lib/platform_rest/dashboards.rb +1 -0
  39. data/lib/platform_rest/data_table_row.rb +1 -1
  40. data/lib/platform_rest/data_table_rows.rb +3 -3
  41. data/lib/platform_rest/device.rb +1 -1
  42. data/lib/platform_rest/edge_deployments.rb +3 -3
  43. data/lib/platform_rest/embedded_deployments.rb +3 -3
  44. data/lib/platform_rest/experience.rb +1 -1
  45. data/lib/platform_rest/file.rb +2 -2
  46. data/lib/platform_rest/instance_api_tokens.rb +1 -1
  47. data/lib/platform_rest/instance_member.rb +1 -1
  48. data/lib/platform_rest/instance_org.rb +1 -1
  49. data/lib/platform_rest/instance_org_invite.rb +2 -2
  50. data/lib/platform_rest/instance_org_invites.rb +2 -2
  51. data/lib/platform_rest/instance_org_members.rb +2 -1
  52. data/lib/platform_rest/instance_orgs.rb +1 -1
  53. data/lib/platform_rest/me.rb +1 -1
  54. data/lib/platform_rest/notebook.rb +1 -1
  55. data/lib/platform_rest/org.rb +1 -1
  56. data/lib/platform_rest/private_file.rb +2 -2
  57. data/lib/platform_rest/resource_job.rb +2 -2
  58. data/lib/platform_rest/user_api_tokens.rb +2 -2
  59. data/lib/platform_rest/version.rb +1 -1
  60. data/schemas/advancedApplicationCertQuery.json +1885 -0
  61. data/schemas/advancedApplicationKeyQuery.json +763 -763
  62. data/schemas/apiToken.json +10 -1
  63. data/schemas/apiTokens.json +20 -2
  64. data/schemas/application.json +15 -2
  65. data/schemas/applicationCertificate.json +90 -58
  66. data/schemas/applicationCertificateAuthorities.json +24 -0
  67. data/schemas/applicationCertificateAuthority.json +24 -0
  68. data/schemas/applicationCertificatePatch.json +32 -4
  69. data/schemas/applicationCertificatePost.json +28 -30
  70. data/schemas/applicationCertificates.json +90 -58
  71. data/schemas/applicationCreationByTemplateResult.json +15 -2
  72. data/schemas/applicationDashboardPost.json +179 -128
  73. data/schemas/applicationImportExecutions.json +3 -5
  74. data/schemas/applicationImportResult.json +674 -0
  75. data/schemas/applicationJobLog.json +129 -123
  76. data/schemas/applicationJobLogs.json +129 -123
  77. data/schemas/applicationKey.json +41 -41
  78. data/schemas/applicationKeyPatch.json +4 -4
  79. data/schemas/applicationKeyPost.json +36 -29
  80. data/schemas/applicationKeys.json +41 -41
  81. data/schemas/applicationSearchResult.json +10 -10
  82. data/schemas/applicationTemplates.json +9 -2
  83. data/schemas/applications.json +15 -2
  84. data/schemas/auditLog.json +2 -6
  85. data/schemas/auditLogs.json +2 -6
  86. data/schemas/authedDevice.json +3 -0
  87. data/schemas/credential.json +7 -0
  88. data/schemas/credentialLinkedResources.json +19724 -344
  89. data/schemas/credentialPatch.json +3 -0
  90. data/schemas/credentialPost.json +3 -0
  91. data/schemas/credentials.json +7 -0
  92. data/schemas/dashboard.json +199 -128
  93. data/schemas/dashboardBlockSuggestCodePost.json +19 -0
  94. data/schemas/dashboardPatch.json +179 -128
  95. data/schemas/dashboardPost.json +179 -128
  96. data/schemas/dashboardUpdateEventsResult.json +266 -0
  97. data/schemas/dashboards.json +199 -128
  98. data/schemas/dataTable.json +11 -0
  99. data/schemas/dataTableRowPatch.json +16 -0
  100. data/schemas/dataTableRowPost.json +39 -0
  101. data/schemas/dataTableRowPostResult.json +54 -0
  102. data/schemas/dataTables.json +11 -0
  103. data/schemas/device.json +259 -107
  104. data/schemas/deviceConnectionStatus.json +4 -0
  105. data/schemas/deviceLog.json +3 -0
  106. data/schemas/deviceRecipe.json +259 -108
  107. data/schemas/deviceRecipes.json +259 -108
  108. data/schemas/devices.json +287 -116
  109. data/schemas/edgeDeploymentRelease.json +4252 -39
  110. data/schemas/edgeDeployments.json +28 -0
  111. data/schemas/embeddedDeploymentRelease.json +2073 -0
  112. data/schemas/embeddedDeployments.json +25 -0
  113. data/schemas/error.json +14 -0
  114. data/schemas/event.json +4 -1
  115. data/schemas/eventPlusNewCount.json +4 -1
  116. data/schemas/events.json +4 -1
  117. data/schemas/experienceDomains.json +19 -0
  118. data/schemas/experienceEndpoint.json +19 -0
  119. data/schemas/experienceEndpoints.json +24 -0
  120. data/schemas/experienceLinkedResources.json +19728 -313
  121. data/schemas/experienceSlugs.json +19 -0
  122. data/schemas/experienceUsers.json +16 -2
  123. data/schemas/experienceVersions.json +25 -0
  124. data/schemas/experienceView.json +5 -0
  125. data/schemas/experienceViews.json +10 -0
  126. data/schemas/fileUploadPostResponse.json +92 -103
  127. data/schemas/files.json +5 -1
  128. data/schemas/flow.json +211 -46
  129. data/schemas/flowPatch.json +199 -46
  130. data/schemas/flowPost.json +199 -46
  131. data/schemas/flowStorageMetadata.json +2 -2
  132. data/schemas/flowVersion.json +450 -101
  133. data/schemas/flowVersionPost.json +199 -46
  134. data/schemas/flowVersions.json +9903 -113
  135. data/schemas/flows.json +9637 -46
  136. data/schemas/flowsImportPost.json +398 -92
  137. data/schemas/flowsImportResult.json +661 -147
  138. data/schemas/historicalSummaries.json +3 -2
  139. data/schemas/historicalSummary.json +3 -2
  140. data/schemas/instanceAuditLog.json +2 -6
  141. data/schemas/instanceAuditLogs.json +90 -1
  142. data/schemas/instanceCustomNode.json +41 -2
  143. data/schemas/instanceCustomNodePatch.json +59 -6
  144. data/schemas/instanceCustomNodePost.json +59 -6
  145. data/schemas/instanceCustomNodes.json +41 -2
  146. data/schemas/instanceOrg.json +4 -1
  147. data/schemas/instanceOrgInvite.json +102 -0
  148. data/schemas/instanceOrgInviteSent.json +12 -0
  149. data/schemas/instanceOrgInvites.json +145 -0
  150. data/schemas/instanceOrgMember.json +52 -0
  151. data/schemas/instanceOrgMembers.json +105 -1
  152. data/schemas/instanceOrgPost.json +1 -1
  153. data/schemas/instanceOrgs.json +5 -2
  154. data/schemas/instanceSandbox.json +5 -1
  155. data/schemas/instanceSandboxes.json +9 -1
  156. data/schemas/integration.json +38 -39
  157. data/schemas/integrationPatch.json +8 -8
  158. data/schemas/integrationPost.json +8 -8
  159. data/schemas/integrations.json +38 -39
  160. data/schemas/jobEnqueuedResult.json +1 -1
  161. data/schemas/me.json +685 -88
  162. data/schemas/notebook.json +33 -21
  163. data/schemas/notebookExecutionLogs.json +20 -0
  164. data/schemas/notebookMinuteCounts.json +1 -1
  165. data/schemas/notebookPatch.json +29 -21
  166. data/schemas/notebookPost.json +29 -21
  167. data/schemas/notebooks.json +33 -21
  168. data/schemas/notificationRule.json +4 -0
  169. data/schemas/notificationRules.json +8 -0
  170. data/schemas/org.json +14 -1
  171. data/schemas/orgInvites.json +77 -82
  172. data/schemas/orgInvitesUser.json +44 -47
  173. data/schemas/orgs.json +14 -1
  174. data/schemas/paletteResponse.json +372 -364
  175. data/schemas/periodSummaries.json +1 -1
  176. data/schemas/recentItemList.json +226 -27
  177. data/schemas/resourceJob.json +33 -9
  178. data/schemas/resourceJobExecutionLogs.json +34 -20
  179. data/schemas/resourceJobExecutionOptions.json +1 -1
  180. data/schemas/resourceJobPatch.json +9 -9
  181. data/schemas/resourceJobPost.json +9 -9
  182. data/schemas/resourceJobs.json +33 -9
  183. data/schemas/tagValuesResponse.json +1 -2
  184. data/schemas/templateKeywords.json +1 -0
  185. data/schemas/timeSeriesData.json +36 -4
  186. data/schemas/userOauthToken.json +4 -1
  187. data/schemas/userOauthTokenPost.json +1 -1
  188. data/schemas/userOauthTokens.json +4 -1
  189. data/schemas/validateContextError.json +71 -24
  190. data/schemas/validateContextSuccess.json +71 -24
  191. metadata +10 -1
@@ -14,7 +14,7 @@
14
14
  "enum": [
15
15
  "application",
16
16
  "organization",
17
- "whitelabel"
17
+ "sandbox"
18
18
  ]
19
19
  },
20
20
  "resourceId": {
@@ -33,7 +33,8 @@
33
33
  "type": "string",
34
34
  "enum": [
35
35
  "organization",
36
- "user"
36
+ "user",
37
+ "sandbox"
37
38
  ]
38
39
  },
39
40
  "ownerId": {
@@ -7,7 +7,7 @@
7
7
  "enum": [
8
8
  "application",
9
9
  "organization",
10
- "whitelabel"
10
+ "sandbox"
11
11
  ]
12
12
  },
13
13
  "resourceId": {
@@ -26,7 +26,8 @@
26
26
  "type": "string",
27
27
  "enum": [
28
28
  "organization",
29
- "user"
29
+ "user",
30
+ "sandbox"
30
31
  ]
31
32
  },
32
33
  "ownerId": {
@@ -77,15 +77,11 @@
77
77
  "requestQueryParams": {
78
78
  "type": "object"
79
79
  },
80
- "requestBody": {
81
- "type": "object"
82
- },
80
+ "requestBody": {},
83
81
  "requestPathParams": {
84
82
  "type": "object"
85
83
  },
86
- "responseBody": {
87
- "type": "object"
88
- },
84
+ "responseBody": {},
89
85
  "responseStatus": {
90
86
  "type": "integer",
91
87
  "minimum": 100,
@@ -5,7 +5,96 @@
5
5
  "items": {
6
6
  "type": "array",
7
7
  "items": {
8
- "$ref": "#/definitions/instanceAuditLogs"
8
+ "title": "Instance Audit Log",
9
+ "description": "Schema for a single Instance Audit Log entry",
10
+ "type": "object",
11
+ "properties": {
12
+ "id": {
13
+ "type": "string",
14
+ "pattern": "^[A-Fa-f\\d]{24}$"
15
+ },
16
+ "instanceAuditLogId": {
17
+ "type": "string",
18
+ "pattern": "^[A-Fa-f\\d]{24}$"
19
+ },
20
+ "creationDate": {
21
+ "type": "string",
22
+ "format": "date-time"
23
+ },
24
+ "instanceId": {
25
+ "type": "string",
26
+ "pattern": "^[A-Fa-f\\d]{24}$"
27
+ },
28
+ "primaryTargetId": {
29
+ "type": "string",
30
+ "pattern": "^[A-Fa-f\\d]{24}$"
31
+ },
32
+ "primaryTargetType": {
33
+ "type": "string",
34
+ "enum": [
35
+ "Organization",
36
+ "ApiToken",
37
+ "User",
38
+ "InstanceCustomNode",
39
+ "NotificationRule"
40
+ ]
41
+ },
42
+ "primaryTargetName": {
43
+ "type": "string",
44
+ "maxLength": 1024
45
+ },
46
+ "secondaryTargetId": {
47
+ "type": "string",
48
+ "pattern": "^[A-Fa-f\\d]{24}$"
49
+ },
50
+ "secondaryTargetType": {
51
+ "type": "string",
52
+ "enum": [
53
+ "OrgInvite",
54
+ "ApiToken"
55
+ ]
56
+ },
57
+ "secondaryTargetName": {
58
+ "type": "string",
59
+ "maxLength": 1024
60
+ },
61
+ "actorId": {
62
+ "type": "string",
63
+ "pattern": "^[A-Fa-f\\d]{24}$"
64
+ },
65
+ "actorType": {
66
+ "type": "string",
67
+ "enum": [
68
+ "User",
69
+ "ApiToken"
70
+ ]
71
+ },
72
+ "actorName": {
73
+ "type": "string",
74
+ "maxLength": 1024
75
+ },
76
+ "requestResource": {
77
+ "type": "string",
78
+ "maxLength": 1024
79
+ },
80
+ "requestAction": {
81
+ "type": "string",
82
+ "maxLength": 1024
83
+ },
84
+ "requestQueryParams": {
85
+ "type": "object"
86
+ },
87
+ "requestBody": {},
88
+ "requestPathParams": {
89
+ "type": "object"
90
+ },
91
+ "responseBody": {},
92
+ "responseStatus": {
93
+ "type": "integer",
94
+ "minimum": 100,
95
+ "maximum": 599
96
+ }
97
+ }
9
98
  }
10
99
  },
11
100
  "count": {
@@ -175,7 +175,41 @@
175
175
  "type": "object"
176
176
  },
177
177
  "meta": {
178
- "type": "object"
178
+ "type": "object",
179
+ "properties": {
180
+ "category": {
181
+ "type": "string",
182
+ "minLength": 1,
183
+ "maxLength": 1024
184
+ },
185
+ "name": {
186
+ "type": "string",
187
+ "minLength": 1,
188
+ "maxLength": 1024
189
+ },
190
+ "label": {
191
+ "type": "string",
192
+ "minLength": 1,
193
+ "maxLength": 255
194
+ },
195
+ "description": {
196
+ "type": "string",
197
+ "maxLength": 32767
198
+ },
199
+ "x": {
200
+ "type": "number"
201
+ },
202
+ "y": {
203
+ "type": "number"
204
+ },
205
+ "groupId": {
206
+ "type": "string",
207
+ "maxLength": 1024
208
+ }
209
+ },
210
+ "required": [
211
+ "name"
212
+ ]
179
213
  },
180
214
  "outputIds": {
181
215
  "type": "array",
@@ -193,7 +227,8 @@
193
227
  },
194
228
  "additionalProperties": false,
195
229
  "required": [
196
- "type"
230
+ "type",
231
+ "meta"
197
232
  ]
198
233
  }
199
234
  },
@@ -223,6 +258,10 @@
223
258
  "type": "array",
224
259
  "maxItems": 100,
225
260
  "items": {
261
+ "type": "object",
262
+ "discriminator": {
263
+ "propertyName": "type"
264
+ },
226
265
  "oneOf": [
227
266
  {
228
267
  "type": "object",
@@ -49,6 +49,10 @@
49
49
  "triggers": {
50
50
  "type": "array",
51
51
  "items": {
52
+ "type": "object",
53
+ "discriminator": {
54
+ "propertyName": "type"
55
+ },
52
56
  "oneOf": [
53
57
  {
54
58
  "type": "object",
@@ -156,7 +160,11 @@
156
160
  "maxLength": 48
157
161
  }
158
162
  },
159
- "additionalProperties": false
163
+ "additionalProperties": false,
164
+ "required": [
165
+ "category",
166
+ "name"
167
+ ]
160
168
  },
161
169
  "outputIds": {
162
170
  "type": "array",
@@ -173,7 +181,8 @@
173
181
  }
174
182
  },
175
183
  "required": [
176
- "type"
184
+ "type",
185
+ "meta"
177
186
  ],
178
187
  "additionalProperties": false
179
188
  },
@@ -272,7 +281,11 @@
272
281
  ]
273
282
  }
274
283
  },
275
- "additionalProperties": false
284
+ "additionalProperties": false,
285
+ "required": [
286
+ "category",
287
+ "name"
288
+ ]
276
289
  },
277
290
  "outputIds": {
278
291
  "type": "array",
@@ -289,7 +302,8 @@
289
302
  }
290
303
  },
291
304
  "required": [
292
- "type"
305
+ "type",
306
+ "meta"
293
307
  ],
294
308
  "additionalProperties": false
295
309
  }
@@ -314,7 +328,41 @@
314
328
  "type": "object"
315
329
  },
316
330
  "meta": {
317
- "type": "object"
331
+ "type": "object",
332
+ "properties": {
333
+ "category": {
334
+ "type": "string",
335
+ "minLength": 1,
336
+ "maxLength": 1024
337
+ },
338
+ "name": {
339
+ "type": "string",
340
+ "minLength": 1,
341
+ "maxLength": 1024
342
+ },
343
+ "label": {
344
+ "type": "string",
345
+ "minLength": 1,
346
+ "maxLength": 255
347
+ },
348
+ "description": {
349
+ "type": "string",
350
+ "maxLength": 32767
351
+ },
352
+ "x": {
353
+ "type": "number"
354
+ },
355
+ "y": {
356
+ "type": "number"
357
+ },
358
+ "groupId": {
359
+ "type": "string",
360
+ "maxLength": 1024
361
+ }
362
+ },
363
+ "required": [
364
+ "name"
365
+ ]
318
366
  },
319
367
  "outputIds": {
320
368
  "type": "array",
@@ -332,7 +380,8 @@
332
380
  },
333
381
  "additionalProperties": false,
334
382
  "required": [
335
- "type"
383
+ "type",
384
+ "meta"
336
385
  ]
337
386
  }
338
387
  },
@@ -362,6 +411,10 @@
362
411
  "type": "array",
363
412
  "maxItems": 100,
364
413
  "items": {
414
+ "type": "object",
415
+ "discriminator": {
416
+ "propertyName": "type"
417
+ },
365
418
  "oneOf": [
366
419
  {
367
420
  "type": "object",
@@ -49,6 +49,10 @@
49
49
  "triggers": {
50
50
  "type": "array",
51
51
  "items": {
52
+ "type": "object",
53
+ "discriminator": {
54
+ "propertyName": "type"
55
+ },
52
56
  "oneOf": [
53
57
  {
54
58
  "type": "object",
@@ -156,7 +160,11 @@
156
160
  "maxLength": 48
157
161
  }
158
162
  },
159
- "additionalProperties": false
163
+ "additionalProperties": false,
164
+ "required": [
165
+ "category",
166
+ "name"
167
+ ]
160
168
  },
161
169
  "outputIds": {
162
170
  "type": "array",
@@ -173,7 +181,8 @@
173
181
  }
174
182
  },
175
183
  "required": [
176
- "type"
184
+ "type",
185
+ "meta"
177
186
  ],
178
187
  "additionalProperties": false
179
188
  },
@@ -272,7 +281,11 @@
272
281
  ]
273
282
  }
274
283
  },
275
- "additionalProperties": false
284
+ "additionalProperties": false,
285
+ "required": [
286
+ "category",
287
+ "name"
288
+ ]
276
289
  },
277
290
  "outputIds": {
278
291
  "type": "array",
@@ -289,7 +302,8 @@
289
302
  }
290
303
  },
291
304
  "required": [
292
- "type"
305
+ "type",
306
+ "meta"
293
307
  ],
294
308
  "additionalProperties": false
295
309
  }
@@ -314,7 +328,41 @@
314
328
  "type": "object"
315
329
  },
316
330
  "meta": {
317
- "type": "object"
331
+ "type": "object",
332
+ "properties": {
333
+ "category": {
334
+ "type": "string",
335
+ "minLength": 1,
336
+ "maxLength": 1024
337
+ },
338
+ "name": {
339
+ "type": "string",
340
+ "minLength": 1,
341
+ "maxLength": 1024
342
+ },
343
+ "label": {
344
+ "type": "string",
345
+ "minLength": 1,
346
+ "maxLength": 255
347
+ },
348
+ "description": {
349
+ "type": "string",
350
+ "maxLength": 32767
351
+ },
352
+ "x": {
353
+ "type": "number"
354
+ },
355
+ "y": {
356
+ "type": "number"
357
+ },
358
+ "groupId": {
359
+ "type": "string",
360
+ "maxLength": 1024
361
+ }
362
+ },
363
+ "required": [
364
+ "name"
365
+ ]
318
366
  },
319
367
  "outputIds": {
320
368
  "type": "array",
@@ -332,7 +380,8 @@
332
380
  },
333
381
  "additionalProperties": false,
334
382
  "required": [
335
- "type"
383
+ "type",
384
+ "meta"
336
385
  ]
337
386
  }
338
387
  },
@@ -362,6 +411,10 @@
362
411
  "type": "array",
363
412
  "maxItems": 100,
364
413
  "items": {
414
+ "type": "object",
415
+ "discriminator": {
416
+ "propertyName": "type"
417
+ },
365
418
  "oneOf": [
366
419
  {
367
420
  "type": "object",
@@ -182,7 +182,41 @@
182
182
  "type": "object"
183
183
  },
184
184
  "meta": {
185
- "type": "object"
185
+ "type": "object",
186
+ "properties": {
187
+ "category": {
188
+ "type": "string",
189
+ "minLength": 1,
190
+ "maxLength": 1024
191
+ },
192
+ "name": {
193
+ "type": "string",
194
+ "minLength": 1,
195
+ "maxLength": 1024
196
+ },
197
+ "label": {
198
+ "type": "string",
199
+ "minLength": 1,
200
+ "maxLength": 255
201
+ },
202
+ "description": {
203
+ "type": "string",
204
+ "maxLength": 32767
205
+ },
206
+ "x": {
207
+ "type": "number"
208
+ },
209
+ "y": {
210
+ "type": "number"
211
+ },
212
+ "groupId": {
213
+ "type": "string",
214
+ "maxLength": 1024
215
+ }
216
+ },
217
+ "required": [
218
+ "name"
219
+ ]
186
220
  },
187
221
  "outputIds": {
188
222
  "type": "array",
@@ -200,7 +234,8 @@
200
234
  },
201
235
  "additionalProperties": false,
202
236
  "required": [
203
- "type"
237
+ "type",
238
+ "meta"
204
239
  ]
205
240
  }
206
241
  },
@@ -230,6 +265,10 @@
230
265
  "type": "array",
231
266
  "maxItems": 100,
232
267
  "items": {
268
+ "type": "object",
269
+ "discriminator": {
270
+ "propertyName": "type"
271
+ },
233
272
  "oneOf": [
234
273
  {
235
274
  "type": "object",
@@ -439,12 +439,15 @@
439
439
  "type": "integer"
440
440
  },
441
441
  "minutesThisPeriod": {
442
- "type": "integer"
442
+ "type": "number"
443
443
  },
444
444
  "runsThisPeriod": {
445
445
  "type": "integer"
446
446
  }
447
447
  }
448
+ },
449
+ "deviceDataSize": {
450
+ "type": "number"
448
451
  }
449
452
  }
450
453
  },
@@ -0,0 +1,102 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "id": {
6
+ "type": "string",
7
+ "pattern": "^[A-Fa-f\\d]{24}$"
8
+ },
9
+ "email": {
10
+ "type": "string",
11
+ "format": "email",
12
+ "maxLength": 1024
13
+ },
14
+ "role": {
15
+ "type": "string",
16
+ "enum": [
17
+ "admin",
18
+ "edit",
19
+ "collaborate",
20
+ "view",
21
+ "none"
22
+ ]
23
+ },
24
+ "applicationRoles": {
25
+ "type": "array",
26
+ "items": {
27
+ "type": "object",
28
+ "properties": {
29
+ "resourceId": {
30
+ "type": "string",
31
+ "pattern": "^[A-Fa-f\\d]{24}$"
32
+ },
33
+ "role": {
34
+ "type": "string",
35
+ "enum": [
36
+ "collaborate",
37
+ "view",
38
+ "none"
39
+ ]
40
+ }
41
+ },
42
+ "required": [
43
+ "resourceId",
44
+ "role"
45
+ ],
46
+ "additionalProperties": false
47
+ },
48
+ "maxItems": 100
49
+ },
50
+ "dashboardRoles": {
51
+ "type": "array",
52
+ "items": {
53
+ "type": "object",
54
+ "properties": {
55
+ "resourceId": {
56
+ "type": "string",
57
+ "pattern": "^[A-Fa-f\\d]{24}$"
58
+ },
59
+ "role": {
60
+ "type": "string",
61
+ "enum": [
62
+ "collaborate",
63
+ "view",
64
+ "none"
65
+ ]
66
+ }
67
+ },
68
+ "required": [
69
+ "resourceId",
70
+ "role"
71
+ ],
72
+ "additionalProperties": false
73
+ },
74
+ "maxItems": 100
75
+ },
76
+ "inviteDate": {
77
+ "type": "string",
78
+ "format": "date-time"
79
+ },
80
+ "ttl": {
81
+ "type": "number"
82
+ },
83
+ "hasExpired": {
84
+ "type": "boolean"
85
+ },
86
+ "disallowTransfer": {
87
+ "type": "boolean"
88
+ },
89
+ "inviteId": {
90
+ "type": "string",
91
+ "pattern": "^[A-Fa-f\\d]{24}$"
92
+ },
93
+ "instanceId": {
94
+ "type": "string",
95
+ "pattern": "^[A-Fa-f\\d]{24}$"
96
+ },
97
+ "orgId": {
98
+ "type": "string",
99
+ "pattern": "^[A-Fa-f\\d]{24}$"
100
+ }
101
+ }
102
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "inviteSent": {
6
+ "type": "boolean",
7
+ "enum": [
8
+ true
9
+ ]
10
+ }
11
+ }
12
+ }