losant_rest 1.9.1 → 1.9.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/LICENSE +1 -1
- data/README.md +1 -1
- data/docs/_schemas.md +8502 -580
- data/docs/application.md +45 -3
- data/docs/applications.md +46 -0
- data/docs/experienceEndpoint.md +43 -0
- data/docs/experienceEndpoints.md +1 -1
- data/docs/experienceView.md +43 -0
- data/lib/losant_rest.rb +1 -1
- data/lib/losant_rest/application.rb +52 -4
- data/lib/losant_rest/application_api_token.rb +1 -1
- data/lib/losant_rest/application_api_tokens.rb +1 -1
- data/lib/losant_rest/application_certificate.rb +1 -1
- data/lib/losant_rest/application_certificate_authorities.rb +1 -1
- data/lib/losant_rest/application_certificate_authority.rb +1 -1
- data/lib/losant_rest/application_certificates.rb +1 -1
- data/lib/losant_rest/application_key.rb +1 -1
- data/lib/losant_rest/application_keys.rb +1 -1
- data/lib/losant_rest/applications.rb +1 -1
- data/lib/losant_rest/audit_log.rb +1 -1
- data/lib/losant_rest/audit_logs.rb +1 -1
- data/lib/losant_rest/auth.rb +1 -1
- data/lib/losant_rest/client.rb +3 -3
- data/lib/losant_rest/dashboard.rb +1 -1
- data/lib/losant_rest/dashboards.rb +1 -1
- data/lib/losant_rest/data.rb +1 -1
- data/lib/losant_rest/data_table.rb +1 -1
- data/lib/losant_rest/data_table_row.rb +1 -1
- data/lib/losant_rest/data_table_rows.rb +1 -1
- data/lib/losant_rest/data_tables.rb +1 -1
- data/lib/losant_rest/device.rb +1 -1
- data/lib/losant_rest/device_recipe.rb +1 -1
- data/lib/losant_rest/device_recipes.rb +1 -1
- data/lib/losant_rest/devices.rb +1 -1
- data/lib/losant_rest/edge_deployments.rb +1 -1
- data/lib/losant_rest/error.rb +1 -1
- data/lib/losant_rest/event.rb +1 -1
- data/lib/losant_rest/events.rb +1 -1
- data/lib/losant_rest/experience.rb +1 -1
- data/lib/losant_rest/experience_domain.rb +1 -1
- data/lib/losant_rest/experience_domains.rb +1 -1
- data/lib/losant_rest/experience_endpoint.rb +51 -1
- data/lib/losant_rest/experience_endpoints.rb +1 -1
- data/lib/losant_rest/experience_group.rb +1 -1
- data/lib/losant_rest/experience_groups.rb +1 -1
- data/lib/losant_rest/experience_slug.rb +1 -1
- data/lib/losant_rest/experience_slugs.rb +1 -1
- data/lib/losant_rest/experience_user.rb +1 -1
- data/lib/losant_rest/experience_users.rb +1 -1
- data/lib/losant_rest/experience_version.rb +1 -1
- data/lib/losant_rest/experience_versions.rb +1 -1
- data/lib/losant_rest/experience_view.rb +51 -1
- data/lib/losant_rest/experience_views.rb +1 -1
- data/lib/losant_rest/file.rb +1 -1
- data/lib/losant_rest/files.rb +1 -1
- data/lib/losant_rest/flow.rb +1 -1
- data/lib/losant_rest/flow_version.rb +1 -1
- data/lib/losant_rest/flow_versions.rb +1 -1
- data/lib/losant_rest/flows.rb +1 -1
- data/lib/losant_rest/integration.rb +1 -1
- data/lib/losant_rest/integrations.rb +1 -1
- data/lib/losant_rest/me.rb +1 -1
- data/lib/losant_rest/notebook.rb +1 -1
- data/lib/losant_rest/notebooks.rb +1 -1
- data/lib/losant_rest/org.rb +1 -1
- data/lib/losant_rest/org_invites.rb +1 -1
- data/lib/losant_rest/orgs.rb +1 -1
- data/lib/losant_rest/utils.rb +1 -1
- data/lib/losant_rest/version.rb +1 -1
- data/lib/losant_rest/webhook.rb +1 -1
- data/lib/losant_rest/webhooks.rb +1 -1
- data/schemas/application.json +3 -3
- data/schemas/applicationApiTokenPost.json +3 -0
- data/schemas/applicationCertificate.json +34 -0
- data/schemas/applicationCertificatePatch.json +34 -0
- data/schemas/applicationCertificatePost.json +34 -0
- data/schemas/applicationCertificates.json +34 -0
- data/schemas/{applicationCloneResult.json → applicationCreationByTemplateResult.json} +14 -6
- data/schemas/applicationExportPost.json +24 -0
- data/schemas/applicationExportResult.json +10 -0
- data/schemas/applicationKey.json +34 -0
- data/schemas/applicationKeyPatch.json +34 -0
- data/schemas/applicationKeyPost.json +34 -0
- data/schemas/applicationKeyPostResponse.json +34 -0
- data/schemas/applicationKeys.json +34 -0
- data/schemas/applicationPatch.json +3 -3
- data/schemas/applicationPost.json +3 -3
- data/schemas/applications.json +3 -3
- data/schemas/authedDevice.json +34 -0
- data/schemas/dashboard.json +76 -0
- data/schemas/dashboardPatch.json +76 -0
- data/schemas/dashboardPost.json +76 -0
- data/schemas/dashboards.json +76 -0
- data/schemas/experienceLinkedResources.json +6353 -0
- data/schemas/githubLogin.json +4 -0
- data/schemas/integration.json +4 -4
- data/schemas/integrationPatch.json +4 -4
- data/schemas/integrationPost.json +4 -4
- data/schemas/integrations.json +4 -4
- data/schemas/{applicationCloneEnqueued.json → jobEnqueuedResult.json} +0 -0
- data/schemas/notebook.json +198 -34
- data/schemas/notebookDataExportOptions.json +4 -0
- data/schemas/notebookExecutionLogs.json +4 -0
- data/schemas/notebookExecutionOptions.json +4 -0
- data/schemas/notebookPatch.json +198 -34
- data/schemas/notebookPost.json +198 -34
- data/schemas/notebooks.json +198 -34
- data/schemas/userCredentials.json +4 -0
- data/schemas/userPost.json +4 -0
- data/schemas/{validationCloneErrors.json → validationErrors.json} +9 -2
- metadata +9 -6
data/schemas/notebookPatch.json
CHANGED
@@ -26,17 +26,38 @@
|
|
26
26
|
]
|
27
27
|
},
|
28
28
|
"fileName": {
|
29
|
-
"
|
30
|
-
|
29
|
+
"oneOf": [
|
30
|
+
{
|
31
|
+
"type": "string",
|
32
|
+
"pattern": "^(?!\\.{1,2}$)[0-9a-zA-Z_.-]{1,255}$"
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"type": "string",
|
36
|
+
"minLength": 4,
|
37
|
+
"maxLength": 255,
|
38
|
+
"pattern": ".*{{.+}}.*"
|
39
|
+
}
|
40
|
+
]
|
31
41
|
},
|
32
42
|
"deviceTags": {
|
33
43
|
"type": "array",
|
44
|
+
"maxItems": 100,
|
34
45
|
"items": {
|
35
46
|
"type": "object",
|
36
47
|
"properties": {
|
37
48
|
"key": {
|
38
|
-
"
|
39
|
-
|
49
|
+
"oneOf": [
|
50
|
+
{
|
51
|
+
"type": "string",
|
52
|
+
"pattern": "^[0-9a-zA-Z_-]{1,255}$"
|
53
|
+
},
|
54
|
+
{
|
55
|
+
"type": "string",
|
56
|
+
"minLength": 4,
|
57
|
+
"maxLength": 255,
|
58
|
+
"pattern": ".*{{.+}}.*"
|
59
|
+
}
|
60
|
+
]
|
40
61
|
},
|
41
62
|
"value": {
|
42
63
|
"type": "string",
|
@@ -45,16 +66,25 @@
|
|
45
66
|
}
|
46
67
|
},
|
47
68
|
"additionalProperties": false
|
48
|
-
}
|
49
|
-
"maxItems": 100
|
69
|
+
}
|
50
70
|
},
|
51
71
|
"deviceIds": {
|
52
72
|
"type": "array",
|
73
|
+
"maxItems": 100,
|
53
74
|
"items": {
|
54
|
-
"
|
55
|
-
|
56
|
-
|
57
|
-
|
75
|
+
"oneOf": [
|
76
|
+
{
|
77
|
+
"type": "string",
|
78
|
+
"pattern": "^[A-Fa-f\\d]{24}$"
|
79
|
+
},
|
80
|
+
{
|
81
|
+
"type": "string",
|
82
|
+
"minLength": 4,
|
83
|
+
"maxLength": 255,
|
84
|
+
"pattern": ".*{{.+}}.*"
|
85
|
+
}
|
86
|
+
]
|
87
|
+
}
|
58
88
|
},
|
59
89
|
"attributes": {
|
60
90
|
"type": "array",
|
@@ -89,17 +119,38 @@
|
|
89
119
|
]
|
90
120
|
},
|
91
121
|
"fileName": {
|
92
|
-
"
|
93
|
-
|
122
|
+
"oneOf": [
|
123
|
+
{
|
124
|
+
"type": "string",
|
125
|
+
"pattern": "^(?!\\.{1,2}$)[0-9a-zA-Z_.-]{1,255}$"
|
126
|
+
},
|
127
|
+
{
|
128
|
+
"type": "string",
|
129
|
+
"minLength": 4,
|
130
|
+
"maxLength": 255,
|
131
|
+
"pattern": ".*{{.+}}.*"
|
132
|
+
}
|
133
|
+
]
|
94
134
|
},
|
95
135
|
"deviceTags": {
|
96
136
|
"type": "array",
|
137
|
+
"maxItems": 100,
|
97
138
|
"items": {
|
98
139
|
"type": "object",
|
99
140
|
"properties": {
|
100
141
|
"key": {
|
101
|
-
"
|
102
|
-
|
142
|
+
"oneOf": [
|
143
|
+
{
|
144
|
+
"type": "string",
|
145
|
+
"pattern": "^[0-9a-zA-Z_-]{1,255}$"
|
146
|
+
},
|
147
|
+
{
|
148
|
+
"type": "string",
|
149
|
+
"minLength": 4,
|
150
|
+
"maxLength": 255,
|
151
|
+
"pattern": ".*{{.+}}.*"
|
152
|
+
}
|
153
|
+
]
|
103
154
|
},
|
104
155
|
"value": {
|
105
156
|
"type": "string",
|
@@ -108,16 +159,25 @@
|
|
108
159
|
}
|
109
160
|
},
|
110
161
|
"additionalProperties": false
|
111
|
-
}
|
112
|
-
"maxItems": 100
|
162
|
+
}
|
113
163
|
},
|
114
164
|
"deviceIds": {
|
115
165
|
"type": "array",
|
166
|
+
"maxItems": 100,
|
116
167
|
"items": {
|
117
|
-
"
|
118
|
-
|
119
|
-
|
120
|
-
|
168
|
+
"oneOf": [
|
169
|
+
{
|
170
|
+
"type": "string",
|
171
|
+
"pattern": "^[A-Fa-f\\d]{24}$"
|
172
|
+
},
|
173
|
+
{
|
174
|
+
"type": "string",
|
175
|
+
"minLength": 4,
|
176
|
+
"maxLength": 255,
|
177
|
+
"pattern": ".*{{.+}}.*"
|
178
|
+
}
|
179
|
+
]
|
180
|
+
}
|
121
181
|
}
|
122
182
|
},
|
123
183
|
"required": [
|
@@ -136,12 +196,32 @@
|
|
136
196
|
]
|
137
197
|
},
|
138
198
|
"fileName": {
|
139
|
-
"
|
140
|
-
|
199
|
+
"oneOf": [
|
200
|
+
{
|
201
|
+
"type": "string",
|
202
|
+
"pattern": "^(?!\\.{1,2}$)[0-9a-zA-Z_.-]{1,255}$"
|
203
|
+
},
|
204
|
+
{
|
205
|
+
"type": "string",
|
206
|
+
"minLength": 4,
|
207
|
+
"maxLength": 255,
|
208
|
+
"pattern": ".*{{.+}}.*"
|
209
|
+
}
|
210
|
+
]
|
141
211
|
},
|
142
212
|
"dataTableId": {
|
143
|
-
"
|
144
|
-
|
213
|
+
"oneOf": [
|
214
|
+
{
|
215
|
+
"type": "string",
|
216
|
+
"pattern": "^[A-Fa-f\\d]{24}$"
|
217
|
+
},
|
218
|
+
{
|
219
|
+
"type": "string",
|
220
|
+
"minLength": 4,
|
221
|
+
"maxLength": 255,
|
222
|
+
"pattern": ".*{{.+}}.*"
|
223
|
+
}
|
224
|
+
]
|
145
225
|
},
|
146
226
|
"queryJson": {
|
147
227
|
"type": "string",
|
@@ -161,12 +241,56 @@
|
|
161
241
|
"inputType": {
|
162
242
|
"type": "string",
|
163
243
|
"enum": [
|
164
|
-
"
|
244
|
+
"eventData"
|
165
245
|
]
|
166
246
|
},
|
167
247
|
"fileName": {
|
248
|
+
"oneOf": [
|
249
|
+
{
|
250
|
+
"type": "string",
|
251
|
+
"pattern": "^(?!\\.{1,2}$)[0-9a-zA-Z_.-]{1,255}$"
|
252
|
+
},
|
253
|
+
{
|
254
|
+
"type": "string",
|
255
|
+
"minLength": 4,
|
256
|
+
"maxLength": 255,
|
257
|
+
"pattern": ".*{{.+}}.*"
|
258
|
+
}
|
259
|
+
]
|
260
|
+
},
|
261
|
+
"queryJson": {
|
262
|
+
"type": "string",
|
263
|
+
"maxLength": 32767
|
264
|
+
}
|
265
|
+
},
|
266
|
+
"required": [
|
267
|
+
"inputType",
|
268
|
+
"fileName"
|
269
|
+
],
|
270
|
+
"additionalProperties": false
|
271
|
+
},
|
272
|
+
{
|
273
|
+
"type": "object",
|
274
|
+
"properties": {
|
275
|
+
"inputType": {
|
168
276
|
"type": "string",
|
169
|
-
"
|
277
|
+
"enum": [
|
278
|
+
"externalUrl"
|
279
|
+
]
|
280
|
+
},
|
281
|
+
"fileName": {
|
282
|
+
"oneOf": [
|
283
|
+
{
|
284
|
+
"type": "string",
|
285
|
+
"pattern": "^(?!\\.{1,2}$)[0-9a-zA-Z_.-]{1,255}$"
|
286
|
+
},
|
287
|
+
{
|
288
|
+
"type": "string",
|
289
|
+
"minLength": 4,
|
290
|
+
"maxLength": 255,
|
291
|
+
"pattern": ".*{{.+}}.*"
|
292
|
+
}
|
293
|
+
]
|
170
294
|
},
|
171
295
|
"sourceUrl": {
|
172
296
|
"type": "string",
|
@@ -199,12 +323,32 @@
|
|
199
323
|
]
|
200
324
|
},
|
201
325
|
"fileName": {
|
202
|
-
"
|
203
|
-
|
326
|
+
"oneOf": [
|
327
|
+
{
|
328
|
+
"type": "string",
|
329
|
+
"pattern": "^(?!\\.{1,2}$)[0-9a-zA-Z_.-]{1,255}$"
|
330
|
+
},
|
331
|
+
{
|
332
|
+
"type": "string",
|
333
|
+
"minLength": 4,
|
334
|
+
"maxLength": 255,
|
335
|
+
"pattern": ".*{{.+}}.*"
|
336
|
+
}
|
337
|
+
]
|
204
338
|
},
|
205
339
|
"dataTableId": {
|
206
|
-
"
|
207
|
-
|
340
|
+
"oneOf": [
|
341
|
+
{
|
342
|
+
"type": "string",
|
343
|
+
"pattern": "^[A-Fa-f\\d]{24}$"
|
344
|
+
},
|
345
|
+
{
|
346
|
+
"type": "string",
|
347
|
+
"minLength": 4,
|
348
|
+
"maxLength": 255,
|
349
|
+
"pattern": ".*{{.+}}.*"
|
350
|
+
}
|
351
|
+
]
|
208
352
|
},
|
209
353
|
"createMissingColumns": {
|
210
354
|
"type": "boolean"
|
@@ -230,8 +374,18 @@
|
|
230
374
|
]
|
231
375
|
},
|
232
376
|
"fileName": {
|
233
|
-
"
|
234
|
-
|
377
|
+
"oneOf": [
|
378
|
+
{
|
379
|
+
"type": "string",
|
380
|
+
"pattern": "^(?!\\.{1,2}$)[0-9a-zA-Z_.-]{1,255}$"
|
381
|
+
},
|
382
|
+
{
|
383
|
+
"type": "string",
|
384
|
+
"minLength": 4,
|
385
|
+
"maxLength": 255,
|
386
|
+
"pattern": ".*{{.+}}.*"
|
387
|
+
}
|
388
|
+
]
|
235
389
|
},
|
236
390
|
"destinationDirectoryTemplate": {
|
237
391
|
"type": "string",
|
@@ -261,8 +415,18 @@
|
|
261
415
|
]
|
262
416
|
},
|
263
417
|
"directoryName": {
|
264
|
-
"
|
265
|
-
|
418
|
+
"oneOf": [
|
419
|
+
{
|
420
|
+
"type": "string",
|
421
|
+
"pattern": "^(?!\\.{1,2}$)[0-9a-zA-Z_.-]{1,255}$"
|
422
|
+
},
|
423
|
+
{
|
424
|
+
"type": "string",
|
425
|
+
"minLength": 4,
|
426
|
+
"maxLength": 255,
|
427
|
+
"pattern": ".*{{.+}}.*"
|
428
|
+
}
|
429
|
+
]
|
266
430
|
},
|
267
431
|
"destinationDirectoryTemplate": {
|
268
432
|
"type": "string",
|
data/schemas/notebookPost.json
CHANGED
@@ -26,17 +26,38 @@
|
|
26
26
|
]
|
27
27
|
},
|
28
28
|
"fileName": {
|
29
|
-
"
|
30
|
-
|
29
|
+
"oneOf": [
|
30
|
+
{
|
31
|
+
"type": "string",
|
32
|
+
"pattern": "^(?!\\.{1,2}$)[0-9a-zA-Z_.-]{1,255}$"
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"type": "string",
|
36
|
+
"minLength": 4,
|
37
|
+
"maxLength": 255,
|
38
|
+
"pattern": ".*{{.+}}.*"
|
39
|
+
}
|
40
|
+
]
|
31
41
|
},
|
32
42
|
"deviceTags": {
|
33
43
|
"type": "array",
|
44
|
+
"maxItems": 100,
|
34
45
|
"items": {
|
35
46
|
"type": "object",
|
36
47
|
"properties": {
|
37
48
|
"key": {
|
38
|
-
"
|
39
|
-
|
49
|
+
"oneOf": [
|
50
|
+
{
|
51
|
+
"type": "string",
|
52
|
+
"pattern": "^[0-9a-zA-Z_-]{1,255}$"
|
53
|
+
},
|
54
|
+
{
|
55
|
+
"type": "string",
|
56
|
+
"minLength": 4,
|
57
|
+
"maxLength": 255,
|
58
|
+
"pattern": ".*{{.+}}.*"
|
59
|
+
}
|
60
|
+
]
|
40
61
|
},
|
41
62
|
"value": {
|
42
63
|
"type": "string",
|
@@ -45,16 +66,25 @@
|
|
45
66
|
}
|
46
67
|
},
|
47
68
|
"additionalProperties": false
|
48
|
-
}
|
49
|
-
"maxItems": 100
|
69
|
+
}
|
50
70
|
},
|
51
71
|
"deviceIds": {
|
52
72
|
"type": "array",
|
73
|
+
"maxItems": 100,
|
53
74
|
"items": {
|
54
|
-
"
|
55
|
-
|
56
|
-
|
57
|
-
|
75
|
+
"oneOf": [
|
76
|
+
{
|
77
|
+
"type": "string",
|
78
|
+
"pattern": "^[A-Fa-f\\d]{24}$"
|
79
|
+
},
|
80
|
+
{
|
81
|
+
"type": "string",
|
82
|
+
"minLength": 4,
|
83
|
+
"maxLength": 255,
|
84
|
+
"pattern": ".*{{.+}}.*"
|
85
|
+
}
|
86
|
+
]
|
87
|
+
}
|
58
88
|
},
|
59
89
|
"attributes": {
|
60
90
|
"type": "array",
|
@@ -89,17 +119,38 @@
|
|
89
119
|
]
|
90
120
|
},
|
91
121
|
"fileName": {
|
92
|
-
"
|
93
|
-
|
122
|
+
"oneOf": [
|
123
|
+
{
|
124
|
+
"type": "string",
|
125
|
+
"pattern": "^(?!\\.{1,2}$)[0-9a-zA-Z_.-]{1,255}$"
|
126
|
+
},
|
127
|
+
{
|
128
|
+
"type": "string",
|
129
|
+
"minLength": 4,
|
130
|
+
"maxLength": 255,
|
131
|
+
"pattern": ".*{{.+}}.*"
|
132
|
+
}
|
133
|
+
]
|
94
134
|
},
|
95
135
|
"deviceTags": {
|
96
136
|
"type": "array",
|
137
|
+
"maxItems": 100,
|
97
138
|
"items": {
|
98
139
|
"type": "object",
|
99
140
|
"properties": {
|
100
141
|
"key": {
|
101
|
-
"
|
102
|
-
|
142
|
+
"oneOf": [
|
143
|
+
{
|
144
|
+
"type": "string",
|
145
|
+
"pattern": "^[0-9a-zA-Z_-]{1,255}$"
|
146
|
+
},
|
147
|
+
{
|
148
|
+
"type": "string",
|
149
|
+
"minLength": 4,
|
150
|
+
"maxLength": 255,
|
151
|
+
"pattern": ".*{{.+}}.*"
|
152
|
+
}
|
153
|
+
]
|
103
154
|
},
|
104
155
|
"value": {
|
105
156
|
"type": "string",
|
@@ -108,16 +159,25 @@
|
|
108
159
|
}
|
109
160
|
},
|
110
161
|
"additionalProperties": false
|
111
|
-
}
|
112
|
-
"maxItems": 100
|
162
|
+
}
|
113
163
|
},
|
114
164
|
"deviceIds": {
|
115
165
|
"type": "array",
|
166
|
+
"maxItems": 100,
|
116
167
|
"items": {
|
117
|
-
"
|
118
|
-
|
119
|
-
|
120
|
-
|
168
|
+
"oneOf": [
|
169
|
+
{
|
170
|
+
"type": "string",
|
171
|
+
"pattern": "^[A-Fa-f\\d]{24}$"
|
172
|
+
},
|
173
|
+
{
|
174
|
+
"type": "string",
|
175
|
+
"minLength": 4,
|
176
|
+
"maxLength": 255,
|
177
|
+
"pattern": ".*{{.+}}.*"
|
178
|
+
}
|
179
|
+
]
|
180
|
+
}
|
121
181
|
}
|
122
182
|
},
|
123
183
|
"required": [
|
@@ -136,12 +196,32 @@
|
|
136
196
|
]
|
137
197
|
},
|
138
198
|
"fileName": {
|
139
|
-
"
|
140
|
-
|
199
|
+
"oneOf": [
|
200
|
+
{
|
201
|
+
"type": "string",
|
202
|
+
"pattern": "^(?!\\.{1,2}$)[0-9a-zA-Z_.-]{1,255}$"
|
203
|
+
},
|
204
|
+
{
|
205
|
+
"type": "string",
|
206
|
+
"minLength": 4,
|
207
|
+
"maxLength": 255,
|
208
|
+
"pattern": ".*{{.+}}.*"
|
209
|
+
}
|
210
|
+
]
|
141
211
|
},
|
142
212
|
"dataTableId": {
|
143
|
-
"
|
144
|
-
|
213
|
+
"oneOf": [
|
214
|
+
{
|
215
|
+
"type": "string",
|
216
|
+
"pattern": "^[A-Fa-f\\d]{24}$"
|
217
|
+
},
|
218
|
+
{
|
219
|
+
"type": "string",
|
220
|
+
"minLength": 4,
|
221
|
+
"maxLength": 255,
|
222
|
+
"pattern": ".*{{.+}}.*"
|
223
|
+
}
|
224
|
+
]
|
145
225
|
},
|
146
226
|
"queryJson": {
|
147
227
|
"type": "string",
|
@@ -161,12 +241,56 @@
|
|
161
241
|
"inputType": {
|
162
242
|
"type": "string",
|
163
243
|
"enum": [
|
164
|
-
"
|
244
|
+
"eventData"
|
165
245
|
]
|
166
246
|
},
|
167
247
|
"fileName": {
|
248
|
+
"oneOf": [
|
249
|
+
{
|
250
|
+
"type": "string",
|
251
|
+
"pattern": "^(?!\\.{1,2}$)[0-9a-zA-Z_.-]{1,255}$"
|
252
|
+
},
|
253
|
+
{
|
254
|
+
"type": "string",
|
255
|
+
"minLength": 4,
|
256
|
+
"maxLength": 255,
|
257
|
+
"pattern": ".*{{.+}}.*"
|
258
|
+
}
|
259
|
+
]
|
260
|
+
},
|
261
|
+
"queryJson": {
|
262
|
+
"type": "string",
|
263
|
+
"maxLength": 32767
|
264
|
+
}
|
265
|
+
},
|
266
|
+
"required": [
|
267
|
+
"inputType",
|
268
|
+
"fileName"
|
269
|
+
],
|
270
|
+
"additionalProperties": false
|
271
|
+
},
|
272
|
+
{
|
273
|
+
"type": "object",
|
274
|
+
"properties": {
|
275
|
+
"inputType": {
|
168
276
|
"type": "string",
|
169
|
-
"
|
277
|
+
"enum": [
|
278
|
+
"externalUrl"
|
279
|
+
]
|
280
|
+
},
|
281
|
+
"fileName": {
|
282
|
+
"oneOf": [
|
283
|
+
{
|
284
|
+
"type": "string",
|
285
|
+
"pattern": "^(?!\\.{1,2}$)[0-9a-zA-Z_.-]{1,255}$"
|
286
|
+
},
|
287
|
+
{
|
288
|
+
"type": "string",
|
289
|
+
"minLength": 4,
|
290
|
+
"maxLength": 255,
|
291
|
+
"pattern": ".*{{.+}}.*"
|
292
|
+
}
|
293
|
+
]
|
170
294
|
},
|
171
295
|
"sourceUrl": {
|
172
296
|
"type": "string",
|
@@ -199,12 +323,32 @@
|
|
199
323
|
]
|
200
324
|
},
|
201
325
|
"fileName": {
|
202
|
-
"
|
203
|
-
|
326
|
+
"oneOf": [
|
327
|
+
{
|
328
|
+
"type": "string",
|
329
|
+
"pattern": "^(?!\\.{1,2}$)[0-9a-zA-Z_.-]{1,255}$"
|
330
|
+
},
|
331
|
+
{
|
332
|
+
"type": "string",
|
333
|
+
"minLength": 4,
|
334
|
+
"maxLength": 255,
|
335
|
+
"pattern": ".*{{.+}}.*"
|
336
|
+
}
|
337
|
+
]
|
204
338
|
},
|
205
339
|
"dataTableId": {
|
206
|
-
"
|
207
|
-
|
340
|
+
"oneOf": [
|
341
|
+
{
|
342
|
+
"type": "string",
|
343
|
+
"pattern": "^[A-Fa-f\\d]{24}$"
|
344
|
+
},
|
345
|
+
{
|
346
|
+
"type": "string",
|
347
|
+
"minLength": 4,
|
348
|
+
"maxLength": 255,
|
349
|
+
"pattern": ".*{{.+}}.*"
|
350
|
+
}
|
351
|
+
]
|
208
352
|
},
|
209
353
|
"createMissingColumns": {
|
210
354
|
"type": "boolean"
|
@@ -230,8 +374,18 @@
|
|
230
374
|
]
|
231
375
|
},
|
232
376
|
"fileName": {
|
233
|
-
"
|
234
|
-
|
377
|
+
"oneOf": [
|
378
|
+
{
|
379
|
+
"type": "string",
|
380
|
+
"pattern": "^(?!\\.{1,2}$)[0-9a-zA-Z_.-]{1,255}$"
|
381
|
+
},
|
382
|
+
{
|
383
|
+
"type": "string",
|
384
|
+
"minLength": 4,
|
385
|
+
"maxLength": 255,
|
386
|
+
"pattern": ".*{{.+}}.*"
|
387
|
+
}
|
388
|
+
]
|
235
389
|
},
|
236
390
|
"destinationDirectoryTemplate": {
|
237
391
|
"type": "string",
|
@@ -261,8 +415,18 @@
|
|
261
415
|
]
|
262
416
|
},
|
263
417
|
"directoryName": {
|
264
|
-
"
|
265
|
-
|
418
|
+
"oneOf": [
|
419
|
+
{
|
420
|
+
"type": "string",
|
421
|
+
"pattern": "^(?!\\.{1,2}$)[0-9a-zA-Z_.-]{1,255}$"
|
422
|
+
},
|
423
|
+
{
|
424
|
+
"type": "string",
|
425
|
+
"minLength": 4,
|
426
|
+
"maxLength": 255,
|
427
|
+
"pattern": ".*{{.+}}.*"
|
428
|
+
}
|
429
|
+
]
|
266
430
|
},
|
267
431
|
"destinationDirectoryTemplate": {
|
268
432
|
"type": "string",
|