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
@@ -82,7 +82,7 @@
82
82
  "format": "date-time"
83
83
  },
84
84
  "minutes": {
85
- "type": "integer"
85
+ "type": "number"
86
86
  },
87
87
  "completed": {
88
88
  "type": "integer"
@@ -1,37 +1,236 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
3
  "type": "object",
4
- "properties": {
5
- "itemType": {
6
- "type": "string",
7
- "enum": [
8
- "application",
9
- "device",
10
- "flow",
11
- "dashboard",
12
- "organization"
13
- ]
4
+ "oneOf": [
5
+ {
6
+ "properties": {
7
+ "itemType": {
8
+ "type": "string",
9
+ "enum": [
10
+ "device"
11
+ ]
12
+ },
13
+ "parentId": {
14
+ "type": "string",
15
+ "pattern": "^[A-Fa-f\\d]{24}$"
16
+ },
17
+ "items": {
18
+ "type": "array",
19
+ "items": {
20
+ "type": "object",
21
+ "properties": {
22
+ "id": {
23
+ "type": "string",
24
+ "pattern": "^[A-Fa-f\\d]{24}$"
25
+ },
26
+ "name": {
27
+ "type": "string",
28
+ "minLength": 1,
29
+ "maxLength": 255
30
+ },
31
+ "deviceClass": {
32
+ "type": "string",
33
+ "enum": [
34
+ "standalone",
35
+ "gateway",
36
+ "peripheral",
37
+ "floating",
38
+ "edgeCompute",
39
+ "system",
40
+ "embedded"
41
+ ]
42
+ }
43
+ }
44
+ }
45
+ }
46
+ }
47
+ },
48
+ {
49
+ "properties": {
50
+ "itemType": {
51
+ "type": "string",
52
+ "enum": [
53
+ "flow"
54
+ ]
55
+ },
56
+ "parentId": {
57
+ "type": "string",
58
+ "pattern": "^[A-Fa-f\\d]{24}$"
59
+ },
60
+ "items": {
61
+ "type": "array",
62
+ "items": {
63
+ "type": "object",
64
+ "properties": {
65
+ "id": {
66
+ "type": "string",
67
+ "pattern": "^[A-Fa-f\\d]{24}$"
68
+ },
69
+ "name": {
70
+ "type": "string",
71
+ "minLength": 1,
72
+ "maxLength": 255
73
+ },
74
+ "flowClass": {
75
+ "type": "string",
76
+ "enum": [
77
+ "cloud",
78
+ "edge",
79
+ "embedded",
80
+ "experience",
81
+ "customNode"
82
+ ]
83
+ }
84
+ }
85
+ }
86
+ }
87
+ }
14
88
  },
15
- "parentId": {
16
- "type": "string",
17
- "pattern": "^[A-Fa-f\\d]{24}$"
89
+ {
90
+ "properties": {
91
+ "itemType": {
92
+ "type": "string",
93
+ "enum": [
94
+ "application"
95
+ ]
96
+ },
97
+ "parentId": {
98
+ "type": "string",
99
+ "pattern": "^[A-Fa-f\\d]{24}$"
100
+ },
101
+ "items": {
102
+ "type": "array",
103
+ "items": {
104
+ "type": "object",
105
+ "properties": {
106
+ "id": {
107
+ "type": "string",
108
+ "pattern": "^[A-Fa-f\\d]{24}$"
109
+ },
110
+ "name": {
111
+ "type": "string",
112
+ "minLength": 1,
113
+ "maxLength": 255
114
+ },
115
+ "ownerId": {
116
+ "type": "string",
117
+ "pattern": "^[A-Fa-f\\d]{24}$"
118
+ },
119
+ "ownerType": {
120
+ "type": "string",
121
+ "enum": [
122
+ "user",
123
+ "organization"
124
+ ]
125
+ },
126
+ "ownerName": {
127
+ "type": "string",
128
+ "minLength": 1,
129
+ "maxLength": 255
130
+ },
131
+ "iconColor": {
132
+ "type": "string",
133
+ "maxLength": 64
134
+ }
135
+ }
136
+ }
137
+ }
138
+ }
139
+ },
140
+ {
141
+ "properties": {
142
+ "itemType": {
143
+ "type": "string",
144
+ "enum": [
145
+ "dashboard"
146
+ ]
147
+ },
148
+ "parentId": {
149
+ "type": "string",
150
+ "pattern": "^[A-Fa-f\\d]{24}$"
151
+ },
152
+ "items": {
153
+ "type": "array",
154
+ "items": {
155
+ "type": "object",
156
+ "properties": {
157
+ "id": {
158
+ "type": "string",
159
+ "pattern": "^[A-Fa-f\\d]{24}$"
160
+ },
161
+ "name": {
162
+ "type": "string",
163
+ "minLength": 1,
164
+ "maxLength": 255
165
+ },
166
+ "ownerId": {
167
+ "type": "string",
168
+ "pattern": "^[A-Fa-f\\d]{24}$"
169
+ },
170
+ "ownerType": {
171
+ "type": "string",
172
+ "enum": [
173
+ "user",
174
+ "organization"
175
+ ]
176
+ },
177
+ "ownerName": {
178
+ "type": "string",
179
+ "minLength": 1,
180
+ "maxLength": 255
181
+ },
182
+ "iconColor": {
183
+ "type": "string",
184
+ "maxLength": 64
185
+ },
186
+ "applicationId": {
187
+ "type": "string",
188
+ "pattern": "^[A-Fa-f\\d]{24}$"
189
+ },
190
+ "applicationName": {
191
+ "type": "string",
192
+ "minLength": 1,
193
+ "maxLength": 255
194
+ }
195
+ }
196
+ }
197
+ }
198
+ }
18
199
  },
19
- "items": {
20
- "type": "array",
21
- "items": {
22
- "type": "object",
23
- "properties": {
24
- "id": {
25
- "type": "string",
26
- "pattern": "^[A-Fa-f\\d]{24}$"
27
- },
28
- "name": {
29
- "type": "string",
30
- "minLength": 1,
31
- "maxLength": 255
200
+ {
201
+ "properties": {
202
+ "itemType": {
203
+ "type": "string",
204
+ "enum": [
205
+ "organization"
206
+ ]
207
+ },
208
+ "parentId": {
209
+ "type": "string",
210
+ "pattern": "^[A-Fa-f\\d]{24}$"
211
+ },
212
+ "items": {
213
+ "type": "array",
214
+ "items": {
215
+ "type": "object",
216
+ "properties": {
217
+ "id": {
218
+ "type": "string",
219
+ "pattern": "^[A-Fa-f\\d]{24}$"
220
+ },
221
+ "name": {
222
+ "type": "string",
223
+ "minLength": 1,
224
+ "maxLength": 255
225
+ },
226
+ "iconColor": {
227
+ "type": "string",
228
+ "maxLength": 64
229
+ }
230
+ }
32
231
  }
33
232
  }
34
233
  }
35
234
  }
36
- }
235
+ ]
37
236
  }
@@ -33,7 +33,7 @@
33
33
  "type": "string",
34
34
  "minLength": 4,
35
35
  "maxLength": 255,
36
- "pattern": ".*{{.+}}.*"
36
+ "pattern": ".*\\{\\{.+\\}\\}.*"
37
37
  }
38
38
  ]
39
39
  },
@@ -59,13 +59,13 @@
59
59
  },
60
60
  "iterationDelay": {
61
61
  "type": "integer",
62
- "min": 0,
63
- "max": 60000
62
+ "minimum": 0,
63
+ "maximum": 60000
64
64
  },
65
65
  "iterationTimeout": {
66
66
  "type": "integer",
67
- "min": 60000,
68
- "max": 900000
67
+ "minimum": 60000,
68
+ "maximum": 900000
69
69
  },
70
70
  "creationDate": {
71
71
  "type": "string",
@@ -75,6 +75,30 @@
75
75
  "type": "string",
76
76
  "format": "date-time"
77
77
  },
78
+ "createdById": {
79
+ "type": "string",
80
+ "pattern": "^[A-Fa-f\\d]{24}$"
81
+ },
82
+ "createdByType": {
83
+ "type": "string",
84
+ "enum": [
85
+ "flow",
86
+ "user",
87
+ "apiToken"
88
+ ]
89
+ },
90
+ "lastUpdatedById": {
91
+ "type": "string",
92
+ "pattern": "^[A-Fa-f\\d]{24}$"
93
+ },
94
+ "lastUpdatedByType": {
95
+ "type": "string",
96
+ "enum": [
97
+ "flow",
98
+ "user",
99
+ "apiToken"
100
+ ]
101
+ },
78
102
  "lastExecutionRequested": {
79
103
  "type": "string",
80
104
  "format": "date-time"
@@ -91,13 +115,13 @@
91
115
  },
92
116
  "maxIterationRetries": {
93
117
  "type": "integer",
94
- "min": 1,
95
- "max": 5
118
+ "minimum": 1,
119
+ "maximum": 5
96
120
  },
97
121
  "retryDelay": {
98
122
  "type": "integer",
99
- "min": 0,
100
- "max": 30000
123
+ "minimum": 0,
124
+ "maximum": 30000
101
125
  }
102
126
  },
103
127
  "additionalProperties": false
@@ -39,6 +39,20 @@
39
39
  "type": "string",
40
40
  "maxLength": 8192
41
41
  },
42
+ "dataTableId": {
43
+ "oneOf": [
44
+ {
45
+ "type": "string",
46
+ "pattern": "^[A-Fa-f\\d]{24}$"
47
+ },
48
+ {
49
+ "type": "string",
50
+ "minLength": 4,
51
+ "maxLength": 255,
52
+ "pattern": ".*\\{\\{.+\\}\\}.*"
53
+ }
54
+ ]
55
+ },
42
56
  "resourceType": {
43
57
  "type": "string",
44
58
  "enum": [
@@ -93,13 +107,13 @@
93
107
  },
94
108
  "iterationDelay": {
95
109
  "type": "integer",
96
- "min": 0,
97
- "max": 60000
110
+ "minimum": 0,
111
+ "maximum": 60000
98
112
  },
99
113
  "iterationTimeout": {
100
114
  "type": "integer",
101
- "min": 60000,
102
- "max": 900000
115
+ "minimum": 60000,
116
+ "maximum": 900000
103
117
  },
104
118
  "maxIterationConcurrency": {
105
119
  "type": "integer",
@@ -127,23 +141,23 @@
127
141
  "type": "number"
128
142
  }
129
143
  }
144
+ },
145
+ "retryOnTimeout": {
146
+ "type": "boolean"
147
+ },
148
+ "retryOnFailure": {
149
+ "type": "boolean"
150
+ },
151
+ "maxIterationRetries": {
152
+ "type": "integer",
153
+ "minimum": 1,
154
+ "maximum": 5
155
+ },
156
+ "retryDelay": {
157
+ "type": "integer",
158
+ "minimum": 0,
159
+ "maximum": 30000
130
160
  }
131
- },
132
- "retryOnTimeout": {
133
- "type": "boolean"
134
- },
135
- "retryOnFailure": {
136
- "type": "boolean"
137
- },
138
- "maxIterationRetries": {
139
- "type": "integer",
140
- "min": 1,
141
- "max": 5
142
- },
143
- "retryDelay": {
144
- "type": "integer",
145
- "min": 0,
146
- "max": 30000
147
161
  }
148
162
  }
149
163
  }
@@ -20,7 +20,7 @@
20
20
  "type": "string",
21
21
  "minLength": 4,
22
22
  "maxLength": 255,
23
- "pattern": ".*{{.+}}.*"
23
+ "pattern": ".*\\{\\{.+\\}\\}.*"
24
24
  }
25
25
  ]
26
26
  }
@@ -21,7 +21,7 @@
21
21
  "type": "string",
22
22
  "minLength": 4,
23
23
  "maxLength": 255,
24
- "pattern": ".*{{.+}}.*"
24
+ "pattern": ".*\\{\\{.+\\}\\}.*"
25
25
  }
26
26
  ]
27
27
  },
@@ -38,13 +38,13 @@
38
38
  },
39
39
  "iterationDelay": {
40
40
  "type": "integer",
41
- "min": 0,
42
- "max": 60000
41
+ "minimum": 0,
42
+ "maximum": 60000
43
43
  },
44
44
  "iterationTimeout": {
45
45
  "type": "integer",
46
- "min": 60000,
47
- "max": 900000
46
+ "minimum": 60000,
47
+ "maximum": 900000
48
48
  },
49
49
  "defaultContext": {
50
50
  "type": "string",
@@ -58,13 +58,13 @@
58
58
  },
59
59
  "maxIterationRetries": {
60
60
  "type": "integer",
61
- "min": 1,
62
- "max": 5
61
+ "minimum": 1,
62
+ "maximum": 5
63
63
  },
64
64
  "retryDelay": {
65
65
  "type": "integer",
66
- "min": 0,
67
- "max": 30000
66
+ "minimum": 0,
67
+ "maximum": 30000
68
68
  }
69
69
  },
70
70
  "additionalProperties": false
@@ -21,7 +21,7 @@
21
21
  "type": "string",
22
22
  "minLength": 4,
23
23
  "maxLength": 255,
24
- "pattern": ".*{{.+}}.*"
24
+ "pattern": ".*\\{\\{.+\\}\\}.*"
25
25
  }
26
26
  ]
27
27
  },
@@ -47,13 +47,13 @@
47
47
  },
48
48
  "iterationDelay": {
49
49
  "type": "integer",
50
- "min": 0,
51
- "max": 60000
50
+ "minimum": 0,
51
+ "maximum": 60000
52
52
  },
53
53
  "iterationTimeout": {
54
54
  "type": "integer",
55
- "min": 60000,
56
- "max": 900000
55
+ "minimum": 60000,
56
+ "maximum": 900000
57
57
  },
58
58
  "defaultContext": {
59
59
  "type": "string",
@@ -67,13 +67,13 @@
67
67
  },
68
68
  "maxIterationRetries": {
69
69
  "type": "integer",
70
- "min": 1,
71
- "max": 5
70
+ "minimum": 1,
71
+ "maximum": 5
72
72
  },
73
73
  "retryDelay": {
74
74
  "type": "integer",
75
- "min": 0,
76
- "max": 30000
75
+ "minimum": 0,
76
+ "maximum": 30000
77
77
  }
78
78
  },
79
79
  "additionalProperties": false,
@@ -40,7 +40,7 @@
40
40
  "type": "string",
41
41
  "minLength": 4,
42
42
  "maxLength": 255,
43
- "pattern": ".*{{.+}}.*"
43
+ "pattern": ".*\\{\\{.+\\}\\}.*"
44
44
  }
45
45
  ]
46
46
  },
@@ -66,13 +66,13 @@
66
66
  },
67
67
  "iterationDelay": {
68
68
  "type": "integer",
69
- "min": 0,
70
- "max": 60000
69
+ "minimum": 0,
70
+ "maximum": 60000
71
71
  },
72
72
  "iterationTimeout": {
73
73
  "type": "integer",
74
- "min": 60000,
75
- "max": 900000
74
+ "minimum": 60000,
75
+ "maximum": 900000
76
76
  },
77
77
  "creationDate": {
78
78
  "type": "string",
@@ -82,6 +82,30 @@
82
82
  "type": "string",
83
83
  "format": "date-time"
84
84
  },
85
+ "createdById": {
86
+ "type": "string",
87
+ "pattern": "^[A-Fa-f\\d]{24}$"
88
+ },
89
+ "createdByType": {
90
+ "type": "string",
91
+ "enum": [
92
+ "flow",
93
+ "user",
94
+ "apiToken"
95
+ ]
96
+ },
97
+ "lastUpdatedById": {
98
+ "type": "string",
99
+ "pattern": "^[A-Fa-f\\d]{24}$"
100
+ },
101
+ "lastUpdatedByType": {
102
+ "type": "string",
103
+ "enum": [
104
+ "flow",
105
+ "user",
106
+ "apiToken"
107
+ ]
108
+ },
85
109
  "lastExecutionRequested": {
86
110
  "type": "string",
87
111
  "format": "date-time"
@@ -98,13 +122,13 @@
98
122
  },
99
123
  "maxIterationRetries": {
100
124
  "type": "integer",
101
- "min": 1,
102
- "max": 5
125
+ "minimum": 1,
126
+ "maximum": 5
103
127
  },
104
128
  "retryDelay": {
105
129
  "type": "integer",
106
- "min": 0,
107
- "max": 30000
130
+ "minimum": 0,
131
+ "maximum": 30000
108
132
  }
109
133
  },
110
134
  "additionalProperties": false
@@ -3,8 +3,7 @@
3
3
  "type": "object",
4
4
  "properties": {
5
5
  "tagKey": {
6
- "type": "string",
7
- "pattern": "^[0-9a-zA-Z_-]{1,255}$"
6
+ "type": "string"
8
7
  },
9
8
  "tagValues": {
10
9
  "type": "array",
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
3
4
  "properties": {
4
5
  "keywords": {
5
6
  "type": "array",
@@ -18,6 +18,9 @@
18
18
  },
19
19
  "aggregation": {
20
20
  "oneOf": [
21
+ {
22
+ "type": "null"
23
+ },
21
24
  {
22
25
  "oneOf": [
23
26
  {
@@ -171,10 +174,39 @@
171
174
  "type": "object",
172
175
  "patternProperties": {
173
176
  "^[0-9a-zA-Z_-]{1,255}$": {
174
- "type": [
175
- "number",
176
- "string",
177
- "boolean"
177
+ "oneOf": [
178
+ {
179
+ "type": [
180
+ "number",
181
+ "string",
182
+ "boolean"
183
+ ]
184
+ },
185
+ {
186
+ "type": "object",
187
+ "properties": {
188
+ "value": {
189
+ "type": [
190
+ "number",
191
+ "string",
192
+ "boolean"
193
+ ]
194
+ },
195
+ "sum": {
196
+ "type": "number"
197
+ },
198
+ "count": {
199
+ "type": "number"
200
+ },
201
+ "average": {
202
+ "type": "number"
203
+ },
204
+ "variance": {
205
+ "type": "number"
206
+ }
207
+ },
208
+ "additionalProperties": false
209
+ }
178
210
  ]
179
211
  }
180
212
  },