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
@@ -0,0 +1,194 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "userFound": {
6
+ "type": "boolean"
7
+ },
8
+ "entitlements": {
9
+ "type": "array",
10
+ "items": {
11
+ "title": "Entitlement",
12
+ "type": "object",
13
+ "properties": {
14
+ "entitlementId": {
15
+ "type": "string"
16
+ },
17
+ "expiresAt": {
18
+ "type": "string",
19
+ "format": "date-time"
20
+ },
21
+ "externalOrgId": {
22
+ "type": "integer"
23
+ },
24
+ "externalOrgName": {
25
+ "type": "string"
26
+ },
27
+ "subscriptionName": {
28
+ "type": "string"
29
+ },
30
+ "hasSupport": {
31
+ "type": "boolean"
32
+ },
33
+ "allowedOrgCount": {
34
+ "type": "integer"
35
+ },
36
+ "usedOrgCount": {
37
+ "type": "integer"
38
+ },
39
+ "orgIds": {
40
+ "type": "array",
41
+ "items": {
42
+ "type": "string",
43
+ "pattern": "^[A-Fa-f\\d]{24}$"
44
+ },
45
+ "maxItems": 1000
46
+ },
47
+ "limits": {
48
+ "type": "object",
49
+ "properties": {
50
+ "apitoken": {
51
+ "type": "integer",
52
+ "minimum": 0
53
+ },
54
+ "application": {
55
+ "type": "integer",
56
+ "minimum": 0
57
+ },
58
+ "applicationcertificate": {
59
+ "type": "integer",
60
+ "minimum": 0
61
+ },
62
+ "applicationcertificateauthority": {
63
+ "type": "integer",
64
+ "minimum": 0
65
+ },
66
+ "applicationkey": {
67
+ "type": "integer",
68
+ "minimum": 0
69
+ },
70
+ "credential": {
71
+ "type": "integer",
72
+ "minimum": 0
73
+ },
74
+ "dashboard": {
75
+ "type": "integer",
76
+ "minimum": 0
77
+ },
78
+ "datatable": {
79
+ "type": "integer",
80
+ "minimum": 0
81
+ },
82
+ "device": {
83
+ "type": "integer",
84
+ "minimum": 0
85
+ },
86
+ "devicerecipe": {
87
+ "type": "integer",
88
+ "minimum": 0
89
+ },
90
+ "experiencedomain": {
91
+ "type": "integer",
92
+ "minimum": 0
93
+ },
94
+ "experienceendpoint": {
95
+ "type": "integer",
96
+ "minimum": 0
97
+ },
98
+ "experiencegroup": {
99
+ "type": "integer",
100
+ "minimum": 0
101
+ },
102
+ "experienceslug": {
103
+ "type": "integer",
104
+ "minimum": 0
105
+ },
106
+ "experienceuser": {
107
+ "type": "integer",
108
+ "minimum": 0
109
+ },
110
+ "experienceversion": {
111
+ "type": "integer",
112
+ "minimum": 0
113
+ },
114
+ "experienceview": {
115
+ "type": "integer",
116
+ "minimum": 0
117
+ },
118
+ "file": {
119
+ "type": "integer",
120
+ "minimum": 0
121
+ },
122
+ "flow": {
123
+ "type": "integer",
124
+ "minimum": 0
125
+ },
126
+ "integration": {
127
+ "type": "integer",
128
+ "minimum": 0
129
+ },
130
+ "notebook": {
131
+ "type": "integer",
132
+ "minimum": 0
133
+ },
134
+ "privatefile": {
135
+ "type": "integer",
136
+ "minimum": 0
137
+ },
138
+ "resourcejob": {
139
+ "type": "integer",
140
+ "minimum": 0
141
+ },
142
+ "webhook": {
143
+ "type": "integer",
144
+ "minimum": 0
145
+ },
146
+ "dataTTL": {
147
+ "type": "integer",
148
+ "minimum": 86400
149
+ },
150
+ "member": {
151
+ "type": "integer",
152
+ "minimum": 0
153
+ },
154
+ "payload": {
155
+ "type": "integer",
156
+ "minimum": 0
157
+ },
158
+ "storage": {
159
+ "type": "integer",
160
+ "minimum": 0
161
+ },
162
+ "notebookMinutesPerRun": {
163
+ "type": "integer",
164
+ "minimum": 0
165
+ },
166
+ "notebookMinutesPerMonth": {
167
+ "type": "integer",
168
+ "minimum": 0
169
+ },
170
+ "notebookInParallel": {
171
+ "type": "integer",
172
+ "minimum": 0
173
+ },
174
+ "experienceFlowSlots": {
175
+ "type": "integer",
176
+ "minimum": 0
177
+ },
178
+ "applicationFlowSlots": {
179
+ "type": "integer",
180
+ "minimum": 0
181
+ },
182
+ "systemInterval": {
183
+ "type": "integer",
184
+ "minimum": 5,
185
+ "maximum": 3600
186
+ }
187
+ },
188
+ "additionalProperties": false
189
+ }
190
+ }
191
+ }
192
+ }
193
+ }
194
+ }
@@ -22,6 +22,10 @@
22
22
  "type": "string",
23
23
  "format": "date-time"
24
24
  },
25
+ "lastExecutionRequested": {
26
+ "type": "string",
27
+ "format": "date-time"
28
+ },
25
29
  "name": {
26
30
  "type": "string",
27
31
  "minLength": 1,
@@ -50,8 +54,12 @@
50
54
  },
51
55
  "inputs": {
52
56
  "type": "array",
57
+ "maxItems": 100,
53
58
  "items": {
54
- "maxItems": 100,
59
+ "type": "object",
60
+ "discriminator": {
61
+ "propertyName": "inputType"
62
+ },
55
63
  "oneOf": [
56
64
  {
57
65
  "type": "object",
@@ -72,7 +80,7 @@
72
80
  "type": "string",
73
81
  "minLength": 4,
74
82
  "maxLength": 255,
75
- "pattern": ".*{{.+}}.*"
83
+ "pattern": ".*\\{\\{.+\\}\\}.*"
76
84
  }
77
85
  ]
78
86
  },
@@ -92,7 +100,7 @@
92
100
  "type": "string",
93
101
  "minLength": 4,
94
102
  "maxLength": 255,
95
- "pattern": ".*{{.+}}.*"
103
+ "pattern": ".*\\{\\{.+\\}\\}.*"
96
104
  }
97
105
  ]
98
106
  },
@@ -118,7 +126,7 @@
118
126
  "type": "string",
119
127
  "minLength": 4,
120
128
  "maxLength": 255,
121
- "pattern": ".*{{.+}}.*"
129
+ "pattern": ".*\\{\\{.+\\}\\}.*"
122
130
  }
123
131
  ]
124
132
  }
@@ -169,7 +177,7 @@
169
177
  "type": "string",
170
178
  "minLength": 4,
171
179
  "maxLength": 255,
172
- "pattern": ".*{{.+}}.*"
180
+ "pattern": ".*\\{\\{.+\\}\\}.*"
173
181
  }
174
182
  ]
175
183
  },
@@ -189,7 +197,7 @@
189
197
  "type": "string",
190
198
  "minLength": 4,
191
199
  "maxLength": 255,
192
- "pattern": ".*{{.+}}.*"
200
+ "pattern": ".*\\{\\{.+\\}\\}.*"
193
201
  }
194
202
  ]
195
203
  },
@@ -215,7 +223,7 @@
215
223
  "type": "string",
216
224
  "minLength": 4,
217
225
  "maxLength": 255,
218
- "pattern": ".*{{.+}}.*"
226
+ "pattern": ".*\\{\\{.+\\}\\}.*"
219
227
  }
220
228
  ]
221
229
  }
@@ -258,7 +266,7 @@
258
266
  "type": "string",
259
267
  "minLength": 4,
260
268
  "maxLength": 255,
261
- "pattern": ".*{{.+}}.*"
269
+ "pattern": ".*\\{\\{.+\\}\\}.*"
262
270
  }
263
271
  ]
264
272
  },
@@ -278,7 +286,7 @@
278
286
  "type": "string",
279
287
  "minLength": 4,
280
288
  "maxLength": 255,
281
- "pattern": ".*{{.+}}.*"
289
+ "pattern": ".*\\{\\{.+\\}\\}.*"
282
290
  }
283
291
  ]
284
292
  },
@@ -304,7 +312,7 @@
304
312
  "type": "string",
305
313
  "minLength": 4,
306
314
  "maxLength": 255,
307
- "pattern": ".*{{.+}}.*"
315
+ "pattern": ".*\\{\\{.+\\}\\}.*"
308
316
  }
309
317
  ]
310
318
  }
@@ -347,7 +355,7 @@
347
355
  "type": "string",
348
356
  "minLength": 4,
349
357
  "maxLength": 255,
350
- "pattern": ".*{{.+}}.*"
358
+ "pattern": ".*\\{\\{.+\\}\\}.*"
351
359
  }
352
360
  ]
353
361
  },
@@ -361,7 +369,7 @@
361
369
  "type": "string",
362
370
  "minLength": 4,
363
371
  "maxLength": 255,
364
- "pattern": ".*{{.+}}.*"
372
+ "pattern": ".*\\{\\{.+\\}\\}.*"
365
373
  }
366
374
  ]
367
375
  },
@@ -396,7 +404,7 @@
396
404
  "type": "string",
397
405
  "minLength": 4,
398
406
  "maxLength": 255,
399
- "pattern": ".*{{.+}}.*"
407
+ "pattern": ".*\\{\\{.+\\}\\}.*"
400
408
  }
401
409
  ]
402
410
  },
@@ -438,7 +446,7 @@
438
446
  "type": "string",
439
447
  "minLength": 4,
440
448
  "maxLength": 255,
441
- "pattern": ".*{{.+}}.*"
449
+ "pattern": ".*\\{\\{.+\\}\\}.*"
442
450
  }
443
451
  ]
444
452
  },
@@ -474,7 +482,7 @@
474
482
  "type": "string",
475
483
  "minLength": 4,
476
484
  "maxLength": 255,
477
- "pattern": ".*{{.+}}.*"
485
+ "pattern": ".*\\{\\{.+\\}\\}.*"
478
486
  }
479
487
  ]
480
488
  },
@@ -499,8 +507,12 @@
499
507
  },
500
508
  "outputs": {
501
509
  "type": "array",
510
+ "maxItems": 100,
502
511
  "items": {
503
- "maxItems": 100,
512
+ "type": "object",
513
+ "discriminator": {
514
+ "propertyName": "outputType"
515
+ },
504
516
  "oneOf": [
505
517
  {
506
518
  "type": "object",
@@ -521,7 +533,7 @@
521
533
  "type": "string",
522
534
  "minLength": 4,
523
535
  "maxLength": 255,
524
- "pattern": ".*{{.+}}.*"
536
+ "pattern": ".*\\{\\{.+\\}\\}.*"
525
537
  }
526
538
  ]
527
539
  },
@@ -535,7 +547,7 @@
535
547
  "type": "string",
536
548
  "minLength": 4,
537
549
  "maxLength": 255,
538
- "pattern": ".*{{.+}}.*"
550
+ "pattern": ".*\\{\\{.+\\}\\}.*"
539
551
  }
540
552
  ]
541
553
  },
@@ -572,7 +584,7 @@
572
584
  "type": "string",
573
585
  "minLength": 4,
574
586
  "maxLength": 255,
575
- "pattern": ".*{{.+}}.*"
587
+ "pattern": ".*\\{\\{.+\\}\\}.*"
576
588
  }
577
589
  ]
578
590
  },
@@ -616,7 +628,7 @@
616
628
  "type": "string",
617
629
  "minLength": 4,
618
630
  "maxLength": 255,
619
- "pattern": ".*{{.+}}.*"
631
+ "pattern": ".*\\{\\{.+\\}\\}.*"
620
632
  }
621
633
  ]
622
634
  },
@@ -694,7 +706,7 @@
694
706
  "type": "string",
695
707
  "minLength": 4,
696
708
  "maxLength": 255,
697
- "pattern": ".*{{.+}}.*"
709
+ "pattern": ".*\\{\\{.+\\}\\}.*"
698
710
  }
699
711
  ]
700
712
  }
@@ -29,6 +29,11 @@
29
29
  "type": "string",
30
30
  "pattern": "^[A-Fa-f\\d]{24}$"
31
31
  },
32
+ "email": {
33
+ "type": "string",
34
+ "format": "email",
35
+ "maxLength": 1024
36
+ },
32
37
  "status": {
33
38
  "type": "string",
34
39
  "enum": [
@@ -62,6 +67,11 @@
62
67
  "type": "string",
63
68
  "pattern": "^[A-Fa-f\\d]{24}$"
64
69
  },
70
+ "callbackUrl": {
71
+ "type": "string",
72
+ "format": "uri",
73
+ "maxLength": 1024
74
+ },
65
75
  "runQueuedAt": {
66
76
  "type": "string",
67
77
  "format": "date-time"
@@ -116,6 +126,16 @@
116
126
  },
117
127
  "contentType": {
118
128
  "type": "string"
129
+ },
130
+ "outputType": {
131
+ "type": "string",
132
+ "enum": [
133
+ "dataTable",
134
+ "file",
135
+ "executionResult",
136
+ "directory",
137
+ "temporaryUrl"
138
+ ]
119
139
  }
120
140
  }
121
141
  }
@@ -20,7 +20,7 @@
20
20
  "format": "date-time"
21
21
  },
22
22
  "minutes": {
23
- "type": "integer"
23
+ "type": "number"
24
24
  },
25
25
  "completed": {
26
26
  "type": "integer"
@@ -13,8 +13,12 @@
13
13
  },
14
14
  "inputs": {
15
15
  "type": "array",
16
+ "maxItems": 100,
16
17
  "items": {
17
- "maxItems": 100,
18
+ "type": "object",
19
+ "discriminator": {
20
+ "propertyName": "inputType"
21
+ },
18
22
  "oneOf": [
19
23
  {
20
24
  "type": "object",
@@ -35,7 +39,7 @@
35
39
  "type": "string",
36
40
  "minLength": 4,
37
41
  "maxLength": 255,
38
- "pattern": ".*{{.+}}.*"
42
+ "pattern": ".*\\{\\{.+\\}\\}.*"
39
43
  }
40
44
  ]
41
45
  },
@@ -55,7 +59,7 @@
55
59
  "type": "string",
56
60
  "minLength": 4,
57
61
  "maxLength": 255,
58
- "pattern": ".*{{.+}}.*"
62
+ "pattern": ".*\\{\\{.+\\}\\}.*"
59
63
  }
60
64
  ]
61
65
  },
@@ -81,7 +85,7 @@
81
85
  "type": "string",
82
86
  "minLength": 4,
83
87
  "maxLength": 255,
84
- "pattern": ".*{{.+}}.*"
88
+ "pattern": ".*\\{\\{.+\\}\\}.*"
85
89
  }
86
90
  ]
87
91
  }
@@ -132,7 +136,7 @@
132
136
  "type": "string",
133
137
  "minLength": 4,
134
138
  "maxLength": 255,
135
- "pattern": ".*{{.+}}.*"
139
+ "pattern": ".*\\{\\{.+\\}\\}.*"
136
140
  }
137
141
  ]
138
142
  },
@@ -152,7 +156,7 @@
152
156
  "type": "string",
153
157
  "minLength": 4,
154
158
  "maxLength": 255,
155
- "pattern": ".*{{.+}}.*"
159
+ "pattern": ".*\\{\\{.+\\}\\}.*"
156
160
  }
157
161
  ]
158
162
  },
@@ -178,7 +182,7 @@
178
182
  "type": "string",
179
183
  "minLength": 4,
180
184
  "maxLength": 255,
181
- "pattern": ".*{{.+}}.*"
185
+ "pattern": ".*\\{\\{.+\\}\\}.*"
182
186
  }
183
187
  ]
184
188
  }
@@ -221,7 +225,7 @@
221
225
  "type": "string",
222
226
  "minLength": 4,
223
227
  "maxLength": 255,
224
- "pattern": ".*{{.+}}.*"
228
+ "pattern": ".*\\{\\{.+\\}\\}.*"
225
229
  }
226
230
  ]
227
231
  },
@@ -241,7 +245,7 @@
241
245
  "type": "string",
242
246
  "minLength": 4,
243
247
  "maxLength": 255,
244
- "pattern": ".*{{.+}}.*"
248
+ "pattern": ".*\\{\\{.+\\}\\}.*"
245
249
  }
246
250
  ]
247
251
  },
@@ -267,7 +271,7 @@
267
271
  "type": "string",
268
272
  "minLength": 4,
269
273
  "maxLength": 255,
270
- "pattern": ".*{{.+}}.*"
274
+ "pattern": ".*\\{\\{.+\\}\\}.*"
271
275
  }
272
276
  ]
273
277
  }
@@ -310,7 +314,7 @@
310
314
  "type": "string",
311
315
  "minLength": 4,
312
316
  "maxLength": 255,
313
- "pattern": ".*{{.+}}.*"
317
+ "pattern": ".*\\{\\{.+\\}\\}.*"
314
318
  }
315
319
  ]
316
320
  },
@@ -324,7 +328,7 @@
324
328
  "type": "string",
325
329
  "minLength": 4,
326
330
  "maxLength": 255,
327
- "pattern": ".*{{.+}}.*"
331
+ "pattern": ".*\\{\\{.+\\}\\}.*"
328
332
  }
329
333
  ]
330
334
  },
@@ -359,7 +363,7 @@
359
363
  "type": "string",
360
364
  "minLength": 4,
361
365
  "maxLength": 255,
362
- "pattern": ".*{{.+}}.*"
366
+ "pattern": ".*\\{\\{.+\\}\\}.*"
363
367
  }
364
368
  ]
365
369
  },
@@ -401,7 +405,7 @@
401
405
  "type": "string",
402
406
  "minLength": 4,
403
407
  "maxLength": 255,
404
- "pattern": ".*{{.+}}.*"
408
+ "pattern": ".*\\{\\{.+\\}\\}.*"
405
409
  }
406
410
  ]
407
411
  },
@@ -437,7 +441,7 @@
437
441
  "type": "string",
438
442
  "minLength": 4,
439
443
  "maxLength": 255,
440
- "pattern": ".*{{.+}}.*"
444
+ "pattern": ".*\\{\\{.+\\}\\}.*"
441
445
  }
442
446
  ]
443
447
  },
@@ -462,8 +466,12 @@
462
466
  },
463
467
  "outputs": {
464
468
  "type": "array",
469
+ "maxItems": 100,
465
470
  "items": {
466
- "maxItems": 100,
471
+ "type": "object",
472
+ "discriminator": {
473
+ "propertyName": "outputType"
474
+ },
467
475
  "oneOf": [
468
476
  {
469
477
  "type": "object",
@@ -484,7 +492,7 @@
484
492
  "type": "string",
485
493
  "minLength": 4,
486
494
  "maxLength": 255,
487
- "pattern": ".*{{.+}}.*"
495
+ "pattern": ".*\\{\\{.+\\}\\}.*"
488
496
  }
489
497
  ]
490
498
  },
@@ -498,7 +506,7 @@
498
506
  "type": "string",
499
507
  "minLength": 4,
500
508
  "maxLength": 255,
501
- "pattern": ".*{{.+}}.*"
509
+ "pattern": ".*\\{\\{.+\\}\\}.*"
502
510
  }
503
511
  ]
504
512
  },
@@ -535,7 +543,7 @@
535
543
  "type": "string",
536
544
  "minLength": 4,
537
545
  "maxLength": 255,
538
- "pattern": ".*{{.+}}.*"
546
+ "pattern": ".*\\{\\{.+\\}\\}.*"
539
547
  }
540
548
  ]
541
549
  },
@@ -579,7 +587,7 @@
579
587
  "type": "string",
580
588
  "minLength": 4,
581
589
  "maxLength": 255,
582
- "pattern": ".*{{.+}}.*"
590
+ "pattern": ".*\\{\\{.+\\}\\}.*"
583
591
  }
584
592
  ]
585
593
  },
@@ -657,7 +665,7 @@
657
665
  "type": "string",
658
666
  "minLength": 4,
659
667
  "maxLength": 255,
660
- "pattern": ".*{{.+}}.*"
668
+ "pattern": ".*\\{\\{.+\\}\\}.*"
661
669
  }
662
670
  ]
663
671
  }