losant_rest 2.1.0 → 2.1.2

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 (202) hide show
  1. checksums.yaml +4 -4
  2. data/docs/_schemas.md +142339 -68894
  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/apiTokenPost.json +4 -0
  64. data/schemas/apiTokens.json +20 -2
  65. data/schemas/application.json +15 -2
  66. data/schemas/applicationCertificate.json +90 -58
  67. data/schemas/applicationCertificateAuthorities.json +24 -0
  68. data/schemas/applicationCertificateAuthority.json +24 -0
  69. data/schemas/applicationCertificatePatch.json +32 -4
  70. data/schemas/applicationCertificatePost.json +28 -30
  71. data/schemas/applicationCertificates.json +90 -58
  72. data/schemas/applicationCreationByTemplateResult.json +15 -2
  73. data/schemas/applicationDashboardPost.json +315 -133
  74. data/schemas/applicationImportExecutions.json +3 -5
  75. data/schemas/applicationImportResult.json +674 -0
  76. data/schemas/applicationJobLog.json +129 -123
  77. data/schemas/applicationJobLogs.json +129 -123
  78. data/schemas/applicationKey.json +41 -41
  79. data/schemas/applicationKeyPatch.json +4 -4
  80. data/schemas/applicationKeyPost.json +36 -29
  81. data/schemas/applicationKeys.json +41 -41
  82. data/schemas/applicationSearchResult.json +10 -10
  83. data/schemas/applicationTemplates.json +9 -2
  84. data/schemas/applications.json +15 -2
  85. data/schemas/auditLog.json +2 -6
  86. data/schemas/auditLogs.json +2 -6
  87. data/schemas/authedDevice.json +3 -0
  88. data/schemas/credential.json +7 -0
  89. data/schemas/credentialLinkedResources.json +19724 -344
  90. data/schemas/credentialPatch.json +3 -0
  91. data/schemas/credentialPost.json +3 -0
  92. data/schemas/credentials.json +7 -0
  93. data/schemas/dashboard.json +335 -133
  94. data/schemas/dashboardBlockSuggestCodePost.json +19 -0
  95. data/schemas/dashboardPatch.json +315 -133
  96. data/schemas/dashboardPost.json +315 -133
  97. data/schemas/dashboardUpdateEventsResult.json +266 -0
  98. data/schemas/dashboards.json +335 -133
  99. data/schemas/dataTable.json +11 -0
  100. data/schemas/dataTableRowPatch.json +16 -0
  101. data/schemas/dataTableRowPost.json +39 -0
  102. data/schemas/dataTableRowPostResult.json +54 -0
  103. data/schemas/dataTables.json +11 -0
  104. data/schemas/device.json +259 -107
  105. data/schemas/deviceConnectionStatus.json +4 -0
  106. data/schemas/deviceLog.json +3 -0
  107. data/schemas/deviceRecipe.json +259 -108
  108. data/schemas/deviceRecipes.json +259 -108
  109. data/schemas/devices.json +287 -116
  110. data/schemas/edgeDeploymentRelease.json +4252 -39
  111. data/schemas/edgeDeployments.json +28 -0
  112. data/schemas/embeddedDeploymentRelease.json +2073 -0
  113. data/schemas/embeddedDeployments.json +25 -0
  114. data/schemas/error.json +14 -0
  115. data/schemas/event.json +4 -1
  116. data/schemas/eventPlusNewCount.json +4 -1
  117. data/schemas/events.json +4 -1
  118. data/schemas/experienceDomains.json +19 -0
  119. data/schemas/experienceEndpoint.json +19 -0
  120. data/schemas/experienceEndpoints.json +24 -0
  121. data/schemas/experienceLinkedResources.json +19728 -313
  122. data/schemas/experienceSlugs.json +19 -0
  123. data/schemas/experienceUsers.json +16 -2
  124. data/schemas/experienceVersions.json +25 -0
  125. data/schemas/experienceView.json +5 -0
  126. data/schemas/experienceViews.json +10 -0
  127. data/schemas/fileUploadPostResponse.json +92 -103
  128. data/schemas/files.json +5 -1
  129. data/schemas/flow.json +211 -46
  130. data/schemas/flowPatch.json +199 -46
  131. data/schemas/flowPost.json +199 -46
  132. data/schemas/flowStorageMetadata.json +2 -2
  133. data/schemas/flowVersion.json +450 -101
  134. data/schemas/flowVersionPost.json +199 -46
  135. data/schemas/flowVersions.json +9903 -113
  136. data/schemas/flows.json +9637 -46
  137. data/schemas/flowsImportPost.json +398 -92
  138. data/schemas/flowsImportResult.json +661 -147
  139. data/schemas/githubLogin.json +4 -0
  140. data/schemas/historicalSummaries.json +3 -2
  141. data/schemas/historicalSummary.json +3 -2
  142. data/schemas/instance.json +6 -0
  143. data/schemas/instanceAuditLog.json +2 -6
  144. data/schemas/instanceAuditLogs.json +90 -1
  145. data/schemas/instanceCustomNode.json +41 -2
  146. data/schemas/instanceCustomNodePatch.json +59 -6
  147. data/schemas/instanceCustomNodePost.json +59 -6
  148. data/schemas/instanceCustomNodes.json +41 -2
  149. data/schemas/instanceOrg.json +16 -1
  150. data/schemas/instanceOrgEntitlement.json +182 -0
  151. data/schemas/instanceOrgEntitlementSync.json +64 -0
  152. data/schemas/instanceOrgInvite.json +102 -0
  153. data/schemas/instanceOrgInviteSent.json +12 -0
  154. data/schemas/instanceOrgInvites.json +145 -0
  155. data/schemas/instanceOrgMember.json +52 -0
  156. data/schemas/instanceOrgMembers.json +105 -1
  157. data/schemas/instanceOrgPost.json +1 -1
  158. data/schemas/instanceOrgs.json +17 -2
  159. data/schemas/instanceSandbox.json +5 -1
  160. data/schemas/instanceSandboxes.json +9 -1
  161. data/schemas/instances.json +6 -0
  162. data/schemas/integration.json +38 -39
  163. data/schemas/integrationPatch.json +8 -8
  164. data/schemas/integrationPost.json +8 -8
  165. data/schemas/integrations.json +38 -39
  166. data/schemas/jobEnqueuedResult.json +1 -1
  167. data/schemas/me.json +685 -88
  168. data/schemas/meEntitlements.json +194 -0
  169. data/schemas/notebook.json +33 -21
  170. data/schemas/notebookExecutionLogs.json +20 -0
  171. data/schemas/notebookMinuteCounts.json +1 -1
  172. data/schemas/notebookPatch.json +29 -21
  173. data/schemas/notebookPost.json +29 -21
  174. data/schemas/notebooks.json +33 -21
  175. data/schemas/notificationRule.json +4 -0
  176. data/schemas/notificationRules.json +8 -0
  177. data/schemas/org.json +30 -1
  178. data/schemas/orgInvites.json +77 -82
  179. data/schemas/orgInvitesUser.json +44 -47
  180. data/schemas/orgPost.json +4 -0
  181. data/schemas/orgs.json +30 -1
  182. data/schemas/paletteResponse.json +372 -364
  183. data/schemas/periodSummaries.json +1 -1
  184. data/schemas/recentItemList.json +226 -27
  185. data/schemas/resourceJob.json +33 -9
  186. data/schemas/resourceJobExecutionLogs.json +34 -20
  187. data/schemas/resourceJobExecutionOptions.json +1 -1
  188. data/schemas/resourceJobPatch.json +9 -9
  189. data/schemas/resourceJobPost.json +9 -9
  190. data/schemas/resourceJobs.json +33 -9
  191. data/schemas/samlResponse.json +4 -0
  192. data/schemas/tagValuesResponse.json +1 -2
  193. data/schemas/templateKeywords.json +1 -0
  194. data/schemas/timeSeriesData.json +36 -4
  195. data/schemas/userCredentials.json +4 -0
  196. data/schemas/userOauthToken.json +4 -1
  197. data/schemas/userOauthTokenPost.json +1 -1
  198. data/schemas/userOauthTokens.json +4 -1
  199. data/schemas/userPost.json +4 -0
  200. data/schemas/validateContextError.json +99 -24
  201. data/schemas/validateContextSuccess.json +99 -24
  202. metadata +13 -1
@@ -22,8 +22,12 @@
22
22
  },
23
23
  "inputs": {
24
24
  "type": "array",
25
+ "maxItems": 100,
25
26
  "items": {
26
- "maxItems": 100,
27
+ "type": "object",
28
+ "discriminator": {
29
+ "propertyName": "inputType"
30
+ },
27
31
  "oneOf": [
28
32
  {
29
33
  "type": "object",
@@ -44,7 +48,7 @@
44
48
  "type": "string",
45
49
  "minLength": 4,
46
50
  "maxLength": 255,
47
- "pattern": ".*{{.+}}.*"
51
+ "pattern": ".*\\{\\{.+\\}\\}.*"
48
52
  }
49
53
  ]
50
54
  },
@@ -64,7 +68,7 @@
64
68
  "type": "string",
65
69
  "minLength": 4,
66
70
  "maxLength": 255,
67
- "pattern": ".*{{.+}}.*"
71
+ "pattern": ".*\\{\\{.+\\}\\}.*"
68
72
  }
69
73
  ]
70
74
  },
@@ -90,7 +94,7 @@
90
94
  "type": "string",
91
95
  "minLength": 4,
92
96
  "maxLength": 255,
93
- "pattern": ".*{{.+}}.*"
97
+ "pattern": ".*\\{\\{.+\\}\\}.*"
94
98
  }
95
99
  ]
96
100
  }
@@ -141,7 +145,7 @@
141
145
  "type": "string",
142
146
  "minLength": 4,
143
147
  "maxLength": 255,
144
- "pattern": ".*{{.+}}.*"
148
+ "pattern": ".*\\{\\{.+\\}\\}.*"
145
149
  }
146
150
  ]
147
151
  },
@@ -161,7 +165,7 @@
161
165
  "type": "string",
162
166
  "minLength": 4,
163
167
  "maxLength": 255,
164
- "pattern": ".*{{.+}}.*"
168
+ "pattern": ".*\\{\\{.+\\}\\}.*"
165
169
  }
166
170
  ]
167
171
  },
@@ -187,7 +191,7 @@
187
191
  "type": "string",
188
192
  "minLength": 4,
189
193
  "maxLength": 255,
190
- "pattern": ".*{{.+}}.*"
194
+ "pattern": ".*\\{\\{.+\\}\\}.*"
191
195
  }
192
196
  ]
193
197
  }
@@ -230,7 +234,7 @@
230
234
  "type": "string",
231
235
  "minLength": 4,
232
236
  "maxLength": 255,
233
- "pattern": ".*{{.+}}.*"
237
+ "pattern": ".*\\{\\{.+\\}\\}.*"
234
238
  }
235
239
  ]
236
240
  },
@@ -250,7 +254,7 @@
250
254
  "type": "string",
251
255
  "minLength": 4,
252
256
  "maxLength": 255,
253
- "pattern": ".*{{.+}}.*"
257
+ "pattern": ".*\\{\\{.+\\}\\}.*"
254
258
  }
255
259
  ]
256
260
  },
@@ -276,7 +280,7 @@
276
280
  "type": "string",
277
281
  "minLength": 4,
278
282
  "maxLength": 255,
279
- "pattern": ".*{{.+}}.*"
283
+ "pattern": ".*\\{\\{.+\\}\\}.*"
280
284
  }
281
285
  ]
282
286
  }
@@ -319,7 +323,7 @@
319
323
  "type": "string",
320
324
  "minLength": 4,
321
325
  "maxLength": 255,
322
- "pattern": ".*{{.+}}.*"
326
+ "pattern": ".*\\{\\{.+\\}\\}.*"
323
327
  }
324
328
  ]
325
329
  },
@@ -333,7 +337,7 @@
333
337
  "type": "string",
334
338
  "minLength": 4,
335
339
  "maxLength": 255,
336
- "pattern": ".*{{.+}}.*"
340
+ "pattern": ".*\\{\\{.+\\}\\}.*"
337
341
  }
338
342
  ]
339
343
  },
@@ -368,7 +372,7 @@
368
372
  "type": "string",
369
373
  "minLength": 4,
370
374
  "maxLength": 255,
371
- "pattern": ".*{{.+}}.*"
375
+ "pattern": ".*\\{\\{.+\\}\\}.*"
372
376
  }
373
377
  ]
374
378
  },
@@ -410,7 +414,7 @@
410
414
  "type": "string",
411
415
  "minLength": 4,
412
416
  "maxLength": 255,
413
- "pattern": ".*{{.+}}.*"
417
+ "pattern": ".*\\{\\{.+\\}\\}.*"
414
418
  }
415
419
  ]
416
420
  },
@@ -446,7 +450,7 @@
446
450
  "type": "string",
447
451
  "minLength": 4,
448
452
  "maxLength": 255,
449
- "pattern": ".*{{.+}}.*"
453
+ "pattern": ".*\\{\\{.+\\}\\}.*"
450
454
  }
451
455
  ]
452
456
  },
@@ -471,8 +475,12 @@
471
475
  },
472
476
  "outputs": {
473
477
  "type": "array",
478
+ "maxItems": 100,
474
479
  "items": {
475
- "maxItems": 100,
480
+ "type": "object",
481
+ "discriminator": {
482
+ "propertyName": "outputType"
483
+ },
476
484
  "oneOf": [
477
485
  {
478
486
  "type": "object",
@@ -493,7 +501,7 @@
493
501
  "type": "string",
494
502
  "minLength": 4,
495
503
  "maxLength": 255,
496
- "pattern": ".*{{.+}}.*"
504
+ "pattern": ".*\\{\\{.+\\}\\}.*"
497
505
  }
498
506
  ]
499
507
  },
@@ -507,7 +515,7 @@
507
515
  "type": "string",
508
516
  "minLength": 4,
509
517
  "maxLength": 255,
510
- "pattern": ".*{{.+}}.*"
518
+ "pattern": ".*\\{\\{.+\\}\\}.*"
511
519
  }
512
520
  ]
513
521
  },
@@ -544,7 +552,7 @@
544
552
  "type": "string",
545
553
  "minLength": 4,
546
554
  "maxLength": 255,
547
- "pattern": ".*{{.+}}.*"
555
+ "pattern": ".*\\{\\{.+\\}\\}.*"
548
556
  }
549
557
  ]
550
558
  },
@@ -588,7 +596,7 @@
588
596
  "type": "string",
589
597
  "minLength": 4,
590
598
  "maxLength": 255,
591
- "pattern": ".*{{.+}}.*"
599
+ "pattern": ".*\\{\\{.+\\}\\}.*"
592
600
  }
593
601
  ]
594
602
  },
@@ -666,7 +674,7 @@
666
674
  "type": "string",
667
675
  "minLength": 4,
668
676
  "maxLength": 255,
669
- "pattern": ".*{{.+}}.*"
677
+ "pattern": ".*\\{\\{.+\\}\\}.*"
670
678
  }
671
679
  ]
672
680
  }
@@ -29,6 +29,10 @@
29
29
  "type": "string",
30
30
  "format": "date-time"
31
31
  },
32
+ "lastExecutionRequested": {
33
+ "type": "string",
34
+ "format": "date-time"
35
+ },
32
36
  "name": {
33
37
  "type": "string",
34
38
  "minLength": 1,
@@ -57,8 +61,12 @@
57
61
  },
58
62
  "inputs": {
59
63
  "type": "array",
64
+ "maxItems": 100,
60
65
  "items": {
61
- "maxItems": 100,
66
+ "type": "object",
67
+ "discriminator": {
68
+ "propertyName": "inputType"
69
+ },
62
70
  "oneOf": [
63
71
  {
64
72
  "type": "object",
@@ -79,7 +87,7 @@
79
87
  "type": "string",
80
88
  "minLength": 4,
81
89
  "maxLength": 255,
82
- "pattern": ".*{{.+}}.*"
90
+ "pattern": ".*\\{\\{.+\\}\\}.*"
83
91
  }
84
92
  ]
85
93
  },
@@ -99,7 +107,7 @@
99
107
  "type": "string",
100
108
  "minLength": 4,
101
109
  "maxLength": 255,
102
- "pattern": ".*{{.+}}.*"
110
+ "pattern": ".*\\{\\{.+\\}\\}.*"
103
111
  }
104
112
  ]
105
113
  },
@@ -125,7 +133,7 @@
125
133
  "type": "string",
126
134
  "minLength": 4,
127
135
  "maxLength": 255,
128
- "pattern": ".*{{.+}}.*"
136
+ "pattern": ".*\\{\\{.+\\}\\}.*"
129
137
  }
130
138
  ]
131
139
  }
@@ -176,7 +184,7 @@
176
184
  "type": "string",
177
185
  "minLength": 4,
178
186
  "maxLength": 255,
179
- "pattern": ".*{{.+}}.*"
187
+ "pattern": ".*\\{\\{.+\\}\\}.*"
180
188
  }
181
189
  ]
182
190
  },
@@ -196,7 +204,7 @@
196
204
  "type": "string",
197
205
  "minLength": 4,
198
206
  "maxLength": 255,
199
- "pattern": ".*{{.+}}.*"
207
+ "pattern": ".*\\{\\{.+\\}\\}.*"
200
208
  }
201
209
  ]
202
210
  },
@@ -222,7 +230,7 @@
222
230
  "type": "string",
223
231
  "minLength": 4,
224
232
  "maxLength": 255,
225
- "pattern": ".*{{.+}}.*"
233
+ "pattern": ".*\\{\\{.+\\}\\}.*"
226
234
  }
227
235
  ]
228
236
  }
@@ -265,7 +273,7 @@
265
273
  "type": "string",
266
274
  "minLength": 4,
267
275
  "maxLength": 255,
268
- "pattern": ".*{{.+}}.*"
276
+ "pattern": ".*\\{\\{.+\\}\\}.*"
269
277
  }
270
278
  ]
271
279
  },
@@ -285,7 +293,7 @@
285
293
  "type": "string",
286
294
  "minLength": 4,
287
295
  "maxLength": 255,
288
- "pattern": ".*{{.+}}.*"
296
+ "pattern": ".*\\{\\{.+\\}\\}.*"
289
297
  }
290
298
  ]
291
299
  },
@@ -311,7 +319,7 @@
311
319
  "type": "string",
312
320
  "minLength": 4,
313
321
  "maxLength": 255,
314
- "pattern": ".*{{.+}}.*"
322
+ "pattern": ".*\\{\\{.+\\}\\}.*"
315
323
  }
316
324
  ]
317
325
  }
@@ -354,7 +362,7 @@
354
362
  "type": "string",
355
363
  "minLength": 4,
356
364
  "maxLength": 255,
357
- "pattern": ".*{{.+}}.*"
365
+ "pattern": ".*\\{\\{.+\\}\\}.*"
358
366
  }
359
367
  ]
360
368
  },
@@ -368,7 +376,7 @@
368
376
  "type": "string",
369
377
  "minLength": 4,
370
378
  "maxLength": 255,
371
- "pattern": ".*{{.+}}.*"
379
+ "pattern": ".*\\{\\{.+\\}\\}.*"
372
380
  }
373
381
  ]
374
382
  },
@@ -403,7 +411,7 @@
403
411
  "type": "string",
404
412
  "minLength": 4,
405
413
  "maxLength": 255,
406
- "pattern": ".*{{.+}}.*"
414
+ "pattern": ".*\\{\\{.+\\}\\}.*"
407
415
  }
408
416
  ]
409
417
  },
@@ -445,7 +453,7 @@
445
453
  "type": "string",
446
454
  "minLength": 4,
447
455
  "maxLength": 255,
448
- "pattern": ".*{{.+}}.*"
456
+ "pattern": ".*\\{\\{.+\\}\\}.*"
449
457
  }
450
458
  ]
451
459
  },
@@ -481,7 +489,7 @@
481
489
  "type": "string",
482
490
  "minLength": 4,
483
491
  "maxLength": 255,
484
- "pattern": ".*{{.+}}.*"
492
+ "pattern": ".*\\{\\{.+\\}\\}.*"
485
493
  }
486
494
  ]
487
495
  },
@@ -506,8 +514,12 @@
506
514
  },
507
515
  "outputs": {
508
516
  "type": "array",
517
+ "maxItems": 100,
509
518
  "items": {
510
- "maxItems": 100,
519
+ "type": "object",
520
+ "discriminator": {
521
+ "propertyName": "outputType"
522
+ },
511
523
  "oneOf": [
512
524
  {
513
525
  "type": "object",
@@ -528,7 +540,7 @@
528
540
  "type": "string",
529
541
  "minLength": 4,
530
542
  "maxLength": 255,
531
- "pattern": ".*{{.+}}.*"
543
+ "pattern": ".*\\{\\{.+\\}\\}.*"
532
544
  }
533
545
  ]
534
546
  },
@@ -542,7 +554,7 @@
542
554
  "type": "string",
543
555
  "minLength": 4,
544
556
  "maxLength": 255,
545
- "pattern": ".*{{.+}}.*"
557
+ "pattern": ".*\\{\\{.+\\}\\}.*"
546
558
  }
547
559
  ]
548
560
  },
@@ -579,7 +591,7 @@
579
591
  "type": "string",
580
592
  "minLength": 4,
581
593
  "maxLength": 255,
582
- "pattern": ".*{{.+}}.*"
594
+ "pattern": ".*\\{\\{.+\\}\\}.*"
583
595
  }
584
596
  ]
585
597
  },
@@ -623,7 +635,7 @@
623
635
  "type": "string",
624
636
  "minLength": 4,
625
637
  "maxLength": 255,
626
- "pattern": ".*{{.+}}.*"
638
+ "pattern": ".*\\{\\{.+\\}\\}.*"
627
639
  }
628
640
  ]
629
641
  },
@@ -701,7 +713,7 @@
701
713
  "type": "string",
702
714
  "minLength": 4,
703
715
  "maxLength": 255,
704
- "pattern": ".*{{.+}}.*"
716
+ "pattern": ".*\\{\\{.+\\}\\}.*"
705
717
  }
706
718
  ]
707
719
  }
@@ -20,6 +20,10 @@
20
20
  "instance"
21
21
  ]
22
22
  },
23
+ "instanceId": {
24
+ "type": "string",
25
+ "pattern": "^[A-Fa-f\\d]{24}$"
26
+ },
23
27
  "creationDate": {
24
28
  "type": "string",
25
29
  "format": "date-time"
@@ -27,6 +27,10 @@
27
27
  "instance"
28
28
  ]
29
29
  },
30
+ "instanceId": {
31
+ "type": "string",
32
+ "pattern": "^[A-Fa-f\\d]{24}$"
33
+ },
30
34
  "creationDate": {
31
35
  "type": "string",
32
36
  "format": "date-time"
@@ -207,6 +211,10 @@
207
211
  "enum": [
208
212
  "instance"
209
213
  ]
214
+ },
215
+ "instanceId": {
216
+ "type": "string",
217
+ "pattern": "^[A-Fa-f\\d]{24}$"
210
218
  }
211
219
  }
212
220
  }
data/schemas/org.json CHANGED
@@ -27,6 +27,16 @@
27
27
  "type": "string",
28
28
  "maxLength": 32767
29
29
  },
30
+ "_currentRole": {
31
+ "type": "string",
32
+ "enum": [
33
+ "admin",
34
+ "edit",
35
+ "collaborate",
36
+ "view",
37
+ "none"
38
+ ]
39
+ },
30
40
  "members": {
31
41
  "type": "array",
32
42
  "items": {
@@ -265,6 +275,18 @@
265
275
  "type": "integer",
266
276
  "minimum": 5,
267
277
  "maximum": 3600
278
+ },
279
+ "deviceHard": {
280
+ "type": "integer",
281
+ "minimum": 0
282
+ },
283
+ "applicationkeyHard": {
284
+ "type": "integer",
285
+ "minimum": 0
286
+ },
287
+ "applicationcertificateHard": {
288
+ "type": "integer",
289
+ "minimum": 0
268
290
  }
269
291
  },
270
292
  "additionalProperties": false
@@ -530,7 +552,7 @@
530
552
  "type": "integer"
531
553
  },
532
554
  "minutesThisPeriod": {
533
- "type": "integer"
555
+ "type": "number"
534
556
  },
535
557
  "runsThisPeriod": {
536
558
  "type": "integer"
@@ -539,6 +561,10 @@
539
561
  }
540
562
  }
541
563
  },
564
+ "entitlementOrgId": {
565
+ "type": "string",
566
+ "maxLength": 1024
567
+ },
542
568
  "planId": {
543
569
  "type": "string",
544
570
  "maxLength": 1024
@@ -581,6 +607,9 @@
581
607
  "minLength": 3
582
608
  }
583
609
  },
610
+ "auditLogEnabled": {
611
+ "type": "boolean"
612
+ },
584
613
  "disabledAt": {
585
614
  "oneOf": [
586
615
  {
@@ -4,94 +4,89 @@
4
4
  "items": {
5
5
  "type": "object",
6
6
  "properties": {
7
- "title": "Organization Invitation",
8
- "description": "Schema for a pending invitation to an Organization",
9
- "type": "object",
10
- "properties": {
11
- "id": {
12
- "type": "string",
13
- "pattern": "^[A-Fa-f\\d]{24}$"
14
- },
15
- "email": {
16
- "type": "string",
17
- "format": "email",
18
- "maxLength": 1024
19
- },
20
- "role": {
21
- "type": "string",
22
- "enum": [
23
- "admin",
24
- "edit",
25
- "collaborate",
26
- "view",
27
- "none"
28
- ]
29
- },
30
- "applicationRoles": {
31
- "type": "array",
32
- "items": {
33
- "type": "object",
34
- "properties": {
35
- "resourceId": {
36
- "type": "string",
37
- "pattern": "^[A-Fa-f\\d]{24}$"
38
- },
39
- "role": {
40
- "type": "string",
41
- "enum": [
42
- "collaborate",
43
- "view",
44
- "none"
45
- ]
46
- }
7
+ "id": {
8
+ "type": "string",
9
+ "pattern": "^[A-Fa-f\\d]{24}$"
10
+ },
11
+ "email": {
12
+ "type": "string",
13
+ "format": "email",
14
+ "maxLength": 1024
15
+ },
16
+ "role": {
17
+ "type": "string",
18
+ "enum": [
19
+ "admin",
20
+ "edit",
21
+ "collaborate",
22
+ "view",
23
+ "none"
24
+ ]
25
+ },
26
+ "applicationRoles": {
27
+ "type": "array",
28
+ "items": {
29
+ "type": "object",
30
+ "properties": {
31
+ "resourceId": {
32
+ "type": "string",
33
+ "pattern": "^[A-Fa-f\\d]{24}$"
47
34
  },
48
- "required": [
49
- "resourceId",
50
- "role"
51
- ],
52
- "additionalProperties": false
35
+ "role": {
36
+ "type": "string",
37
+ "enum": [
38
+ "collaborate",
39
+ "view",
40
+ "none"
41
+ ]
42
+ }
53
43
  },
54
- "maxItems": 100
44
+ "required": [
45
+ "resourceId",
46
+ "role"
47
+ ],
48
+ "additionalProperties": false
55
49
  },
56
- "dashboardRoles": {
57
- "type": "array",
58
- "items": {
59
- "type": "object",
60
- "properties": {
61
- "resourceId": {
62
- "type": "string",
63
- "pattern": "^[A-Fa-f\\d]{24}$"
64
- },
65
- "role": {
66
- "type": "string",
67
- "enum": [
68
- "collaborate",
69
- "view",
70
- "none"
71
- ]
72
- }
50
+ "maxItems": 100
51
+ },
52
+ "dashboardRoles": {
53
+ "type": "array",
54
+ "items": {
55
+ "type": "object",
56
+ "properties": {
57
+ "resourceId": {
58
+ "type": "string",
59
+ "pattern": "^[A-Fa-f\\d]{24}$"
73
60
  },
74
- "required": [
75
- "resourceId",
76
- "role"
77
- ],
78
- "additionalProperties": false
61
+ "role": {
62
+ "type": "string",
63
+ "enum": [
64
+ "collaborate",
65
+ "view",
66
+ "none"
67
+ ]
68
+ }
79
69
  },
80
- "maxItems": 100
81
- },
82
- "inviteDate": {
83
- "type": "string",
84
- "format": "date-time"
85
- },
86
- "ttl": {
87
- "type": "number"
88
- },
89
- "hasExpired": {
90
- "type": "boolean"
70
+ "required": [
71
+ "resourceId",
72
+ "role"
73
+ ],
74
+ "additionalProperties": false
91
75
  },
92
- "disallowTransfer": {
93
- "type": "boolean"
94
- }
76
+ "maxItems": 100
77
+ },
78
+ "inviteDate": {
79
+ "type": "string",
80
+ "format": "date-time"
81
+ },
82
+ "ttl": {
83
+ "type": "number"
84
+ },
85
+ "hasExpired": {
86
+ "type": "boolean"
87
+ },
88
+ "disallowTransfer": {
89
+ "type": "boolean"
95
90
  }
96
91
  }
97
92
  }