losant_rest 1.13.0 → 1.13.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (89) hide show
  1. checksums.yaml +4 -4
  2. data/docs/_schemas.md +2317 -650
  3. data/docs/application.md +5 -5
  4. data/docs/applicationApiTokens.md +1 -1
  5. data/docs/applications.md +1 -1
  6. data/docs/dataTable.md +1 -1
  7. data/docs/dataTableRows.md +1 -1
  8. data/docs/dataTables.md +1 -1
  9. data/docs/devices.md +2 -2
  10. data/docs/experience.md +1 -1
  11. data/docs/experienceDomains.md +1 -1
  12. data/docs/experienceGroup.md +2 -0
  13. data/docs/experienceSlugs.md +1 -1
  14. data/docs/experienceVersion.md +3 -3
  15. data/docs/experienceVersions.md +2 -2
  16. data/docs/experienceView.md +4 -4
  17. data/docs/experienceViews.md +2 -2
  18. data/docs/file.md +5 -5
  19. data/docs/files.md +2 -2
  20. data/docs/flowVersions.md +44 -0
  21. data/docs/instance.md +38 -0
  22. data/docs/instanceApiToken.md +133 -0
  23. data/docs/instanceApiTokens.md +91 -0
  24. data/docs/instanceMembers.md +1 -1
  25. data/docs/instanceOrgMembers.md +1 -1
  26. data/docs/userApiToken.md +125 -0
  27. data/docs/userApiTokens.md +87 -0
  28. data/lib/losant_rest.rb +4 -0
  29. data/lib/losant_rest/application.rb +5 -5
  30. data/lib/losant_rest/application_api_tokens.rb +1 -1
  31. data/lib/losant_rest/applications.rb +1 -1
  32. data/lib/losant_rest/client.rb +18 -2
  33. data/lib/losant_rest/data_table.rb +1 -1
  34. data/lib/losant_rest/data_table_rows.rb +1 -1
  35. data/lib/losant_rest/data_tables.rb +1 -1
  36. data/lib/losant_rest/devices.rb +2 -2
  37. data/lib/losant_rest/experience.rb +1 -1
  38. data/lib/losant_rest/experience_domains.rb +1 -1
  39. data/lib/losant_rest/experience_group.rb +4 -0
  40. data/lib/losant_rest/experience_slugs.rb +1 -1
  41. data/lib/losant_rest/experience_version.rb +3 -3
  42. data/lib/losant_rest/experience_versions.rb +2 -2
  43. data/lib/losant_rest/experience_view.rb +4 -4
  44. data/lib/losant_rest/experience_views.rb +2 -2
  45. data/lib/losant_rest/file.rb +4 -4
  46. data/lib/losant_rest/files.rb +2 -2
  47. data/lib/losant_rest/flow_versions.rb +50 -0
  48. data/lib/losant_rest/instance.rb +46 -1
  49. data/lib/losant_rest/instance_api_token.rb +176 -0
  50. data/lib/losant_rest/instance_api_tokens.rb +136 -0
  51. data/lib/losant_rest/instance_member.rb +1 -1
  52. data/lib/losant_rest/instance_members.rb +2 -2
  53. data/lib/losant_rest/instance_org.rb +1 -1
  54. data/lib/losant_rest/instance_org_member.rb +1 -1
  55. data/lib/losant_rest/instance_org_members.rb +2 -2
  56. data/lib/losant_rest/instance_orgs.rb +1 -1
  57. data/lib/losant_rest/instances.rb +1 -1
  58. data/lib/losant_rest/user_api_token.rb +170 -0
  59. data/lib/losant_rest/user_api_tokens.rb +132 -0
  60. data/lib/losant_rest/version.rb +1 -1
  61. data/schemas/apiToken.json +2 -1
  62. data/schemas/apiTokenPost.json +420 -0
  63. data/schemas/apiTokens.json +4 -2
  64. data/schemas/applicationDashboardPost.json +20 -16
  65. data/schemas/auditLog.json +4 -0
  66. data/schemas/auditLogFilter.json +4 -0
  67. data/schemas/auditLogs.json +4 -0
  68. data/schemas/bulkDeleteResponse.json +12 -0
  69. data/schemas/dashboard.json +20 -16
  70. data/schemas/dashboardPatch.json +20 -16
  71. data/schemas/dashboardPost.json +20 -16
  72. data/schemas/dashboardSendReport.json +4 -0
  73. data/schemas/dashboards.json +20 -16
  74. data/schemas/experienceGroup.json +6 -0
  75. data/schemas/experienceGroups.json +6 -0
  76. data/schemas/flowVersionsDeletePost.json +941 -0
  77. data/schemas/githubLogin.json +19 -1
  78. data/schemas/historicalSummary.json +3 -0
  79. data/schemas/instance.json +60 -0
  80. data/schemas/instanceOrgPost.json +166 -0
  81. data/schemas/instancePatch.json +67 -0
  82. data/schemas/instanceReportOptionsPost.json +1 -0
  83. data/schemas/notebook.json +15 -0
  84. data/schemas/notebooks.json +15 -0
  85. data/schemas/userCredentials.json +19 -1
  86. data/schemas/userPost.json +19 -1
  87. data/schemas/validateContextError.json +34 -0
  88. data/schemas/validateContextSuccess.json +34 -0
  89. metadata +15 -3
@@ -138,7 +138,7 @@
138
138
  },
139
139
  {
140
140
  "type": "string",
141
- "maxLength": 64
141
+ "maxLength": 128
142
142
  }
143
143
  ]
144
144
  },
@@ -149,7 +149,7 @@
149
149
  },
150
150
  {
151
151
  "type": "string",
152
- "maxLength": 64
152
+ "maxLength": 128
153
153
  }
154
154
  ]
155
155
  },
@@ -1590,7 +1590,7 @@
1590
1590
  },
1591
1591
  {
1592
1592
  "type": "string",
1593
- "maxLength": 64
1593
+ "maxLength": 128
1594
1594
  }
1595
1595
  ]
1596
1596
  },
@@ -1601,7 +1601,7 @@
1601
1601
  },
1602
1602
  {
1603
1603
  "type": "string",
1604
- "maxLength": 64
1604
+ "maxLength": 128
1605
1605
  }
1606
1606
  ]
1607
1607
  },
@@ -1622,7 +1622,7 @@
1622
1622
  },
1623
1623
  {
1624
1624
  "type": "string",
1625
- "maxLength": 64
1625
+ "maxLength": 128
1626
1626
  }
1627
1627
  ]
1628
1628
  },
@@ -2085,7 +2085,7 @@
2085
2085
  },
2086
2086
  {
2087
2087
  "type": "string",
2088
- "maxLength": 64
2088
+ "maxLength": 128
2089
2089
  }
2090
2090
  ]
2091
2091
  },
@@ -2096,7 +2096,7 @@
2096
2096
  },
2097
2097
  {
2098
2098
  "type": "string",
2099
- "maxLength": 64
2099
+ "maxLength": 128
2100
2100
  }
2101
2101
  ]
2102
2102
  },
@@ -2243,7 +2243,7 @@
2243
2243
  },
2244
2244
  {
2245
2245
  "type": "string",
2246
- "maxLength": 64
2246
+ "maxLength": 128
2247
2247
  }
2248
2248
  ]
2249
2249
  },
@@ -3018,7 +3018,7 @@
3018
3018
  },
3019
3019
  {
3020
3020
  "type": "string",
3021
- "maxLength": 64
3021
+ "maxLength": 128
3022
3022
  }
3023
3023
  ]
3024
3024
  },
@@ -3029,7 +3029,7 @@
3029
3029
  },
3030
3030
  {
3031
3031
  "type": "string",
3032
- "maxLength": 64
3032
+ "maxLength": 128
3033
3033
  }
3034
3034
  ]
3035
3035
  },
@@ -3637,7 +3637,7 @@
3637
3637
  },
3638
3638
  {
3639
3639
  "type": "string",
3640
- "maxLength": 64
3640
+ "maxLength": 128
3641
3641
  }
3642
3642
  ]
3643
3643
  },
@@ -3648,7 +3648,7 @@
3648
3648
  },
3649
3649
  {
3650
3650
  "type": "string",
3651
- "maxLength": 64
3651
+ "maxLength": 128
3652
3652
  }
3653
3653
  ]
3654
3654
  },
@@ -3659,7 +3659,7 @@
3659
3659
  },
3660
3660
  {
3661
3661
  "type": "string",
3662
- "maxLength": 64
3662
+ "maxLength": 128
3663
3663
  }
3664
3664
  ]
3665
3665
  },
@@ -3670,7 +3670,7 @@
3670
3670
  },
3671
3671
  {
3672
3672
  "type": "string",
3673
- "maxLength": 64
3673
+ "maxLength": 128
3674
3674
  }
3675
3675
  ]
3676
3676
  }
@@ -4517,7 +4517,7 @@
4517
4517
  },
4518
4518
  {
4519
4519
  "type": "string",
4520
- "maxLength": 64
4520
+ "maxLength": 128
4521
4521
  }
4522
4522
  ]
4523
4523
  },
@@ -5028,7 +5028,7 @@
5028
5028
  },
5029
5029
  {
5030
5030
  "type": "string",
5031
- "maxLength": 64
5031
+ "maxLength": 128
5032
5032
  }
5033
5033
  ]
5034
5034
  },
@@ -5341,6 +5341,10 @@
5341
5341
  "timezone": {
5342
5342
  "type": "string",
5343
5343
  "maxLength": 255
5344
+ },
5345
+ "locale": {
5346
+ "type": "string",
5347
+ "maxLength": 5
5344
5348
  }
5345
5349
  },
5346
5350
  "additionalProperties": false,
@@ -36,6 +36,10 @@
36
36
  "timezone": {
37
37
  "type": "string",
38
38
  "max": 255
39
+ },
40
+ "locale": {
41
+ "type": "string",
42
+ "max": 5
39
43
  }
40
44
  },
41
45
  "additionalProperties": false
@@ -123,6 +123,10 @@
123
123
  "timezone": {
124
124
  "type": "string",
125
125
  "maxLength": 255
126
+ },
127
+ "locale": {
128
+ "type": "string",
129
+ "maxLength": 5
126
130
  }
127
131
  },
128
132
  "additionalProperties": false,
@@ -255,7 +259,7 @@
255
259
  },
256
260
  {
257
261
  "type": "string",
258
- "maxLength": 64
262
+ "maxLength": 128
259
263
  }
260
264
  ]
261
265
  },
@@ -266,7 +270,7 @@
266
270
  },
267
271
  {
268
272
  "type": "string",
269
- "maxLength": 64
273
+ "maxLength": 128
270
274
  }
271
275
  ]
272
276
  },
@@ -1707,7 +1711,7 @@
1707
1711
  },
1708
1712
  {
1709
1713
  "type": "string",
1710
- "maxLength": 64
1714
+ "maxLength": 128
1711
1715
  }
1712
1716
  ]
1713
1717
  },
@@ -1718,7 +1722,7 @@
1718
1722
  },
1719
1723
  {
1720
1724
  "type": "string",
1721
- "maxLength": 64
1725
+ "maxLength": 128
1722
1726
  }
1723
1727
  ]
1724
1728
  },
@@ -1739,7 +1743,7 @@
1739
1743
  },
1740
1744
  {
1741
1745
  "type": "string",
1742
- "maxLength": 64
1746
+ "maxLength": 128
1743
1747
  }
1744
1748
  ]
1745
1749
  },
@@ -2202,7 +2206,7 @@
2202
2206
  },
2203
2207
  {
2204
2208
  "type": "string",
2205
- "maxLength": 64
2209
+ "maxLength": 128
2206
2210
  }
2207
2211
  ]
2208
2212
  },
@@ -2213,7 +2217,7 @@
2213
2217
  },
2214
2218
  {
2215
2219
  "type": "string",
2216
- "maxLength": 64
2220
+ "maxLength": 128
2217
2221
  }
2218
2222
  ]
2219
2223
  },
@@ -2360,7 +2364,7 @@
2360
2364
  },
2361
2365
  {
2362
2366
  "type": "string",
2363
- "maxLength": 64
2367
+ "maxLength": 128
2364
2368
  }
2365
2369
  ]
2366
2370
  },
@@ -3135,7 +3139,7 @@
3135
3139
  },
3136
3140
  {
3137
3141
  "type": "string",
3138
- "maxLength": 64
3142
+ "maxLength": 128
3139
3143
  }
3140
3144
  ]
3141
3145
  },
@@ -3146,7 +3150,7 @@
3146
3150
  },
3147
3151
  {
3148
3152
  "type": "string",
3149
- "maxLength": 64
3153
+ "maxLength": 128
3150
3154
  }
3151
3155
  ]
3152
3156
  },
@@ -3754,7 +3758,7 @@
3754
3758
  },
3755
3759
  {
3756
3760
  "type": "string",
3757
- "maxLength": 64
3761
+ "maxLength": 128
3758
3762
  }
3759
3763
  ]
3760
3764
  },
@@ -3765,7 +3769,7 @@
3765
3769
  },
3766
3770
  {
3767
3771
  "type": "string",
3768
- "maxLength": 64
3772
+ "maxLength": 128
3769
3773
  }
3770
3774
  ]
3771
3775
  },
@@ -3776,7 +3780,7 @@
3776
3780
  },
3777
3781
  {
3778
3782
  "type": "string",
3779
- "maxLength": 64
3783
+ "maxLength": 128
3780
3784
  }
3781
3785
  ]
3782
3786
  },
@@ -3787,7 +3791,7 @@
3787
3791
  },
3788
3792
  {
3789
3793
  "type": "string",
3790
- "maxLength": 64
3794
+ "maxLength": 128
3791
3795
  }
3792
3796
  ]
3793
3797
  }
@@ -4634,7 +4638,7 @@
4634
4638
  },
4635
4639
  {
4636
4640
  "type": "string",
4637
- "maxLength": 64
4641
+ "maxLength": 128
4638
4642
  }
4639
4643
  ]
4640
4644
  },
@@ -5145,7 +5149,7 @@
5145
5149
  },
5146
5150
  {
5147
5151
  "type": "string",
5148
- "maxLength": 64
5152
+ "maxLength": 128
5149
5153
  }
5150
5154
  ]
5151
5155
  },
@@ -102,6 +102,12 @@
102
102
  "type": "null"
103
103
  }
104
104
  ]
105
+ },
106
+ "directDeviceCount": {
107
+ "type": "number"
108
+ },
109
+ "totalDeviceCount": {
110
+ "type": "number"
105
111
  }
106
112
  }
107
113
  }
@@ -109,6 +109,12 @@
109
109
  "type": "null"
110
110
  }
111
111
  ]
112
+ },
113
+ "directDeviceCount": {
114
+ "type": "number"
115
+ },
116
+ "totalDeviceCount": {
117
+ "type": "number"
112
118
  }
113
119
  }
114
120
  }
@@ -0,0 +1,941 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-04/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "email": {
6
+ "type": "string",
7
+ "format": "email",
8
+ "maxLength": 1024
9
+ },
10
+ "query": {
11
+ "title": "Advanced Workflow Version Query",
12
+ "description": "Schema for advanced workflow queries",
13
+ "type": "object",
14
+ "properties": {
15
+ "$and": {
16
+ "type": "array",
17
+ "items": {
18
+ "$ref": "#/definitions/advancedFlowVersionQuery"
19
+ },
20
+ "maxItems": 100
21
+ },
22
+ "$or": {
23
+ "type": "array",
24
+ "items": {
25
+ "$ref": "#/definitions/advancedFlowVersionQuery"
26
+ },
27
+ "maxItems": 100
28
+ },
29
+ "$nor": {
30
+ "type": "array",
31
+ "items": {
32
+ "$ref": "#/definitions/advancedFlowVersionQuery"
33
+ },
34
+ "maxItems": 100
35
+ },
36
+ "name": {
37
+ "oneOf": [
38
+ {
39
+ "type": [
40
+ "string",
41
+ "number",
42
+ "boolean",
43
+ "null"
44
+ ]
45
+ },
46
+ {
47
+ "type": "object",
48
+ "properties": {
49
+ "$eq": {
50
+ "type": [
51
+ "string",
52
+ "number",
53
+ "boolean",
54
+ "null"
55
+ ]
56
+ },
57
+ "$ne": {
58
+ "type": [
59
+ "string",
60
+ "number",
61
+ "boolean",
62
+ "null"
63
+ ]
64
+ },
65
+ "$gt": {
66
+ "type": [
67
+ "string",
68
+ "number",
69
+ "boolean",
70
+ "null"
71
+ ]
72
+ },
73
+ "$lt": {
74
+ "type": [
75
+ "string",
76
+ "number",
77
+ "boolean",
78
+ "null"
79
+ ]
80
+ },
81
+ "$gte": {
82
+ "type": [
83
+ "string",
84
+ "number",
85
+ "boolean",
86
+ "null"
87
+ ]
88
+ },
89
+ "$lte": {
90
+ "type": [
91
+ "string",
92
+ "number",
93
+ "boolean",
94
+ "null"
95
+ ]
96
+ },
97
+ "$startsWith": {
98
+ "type": "string",
99
+ "minLength": 1
100
+ },
101
+ "$endsWith": {
102
+ "type": "string",
103
+ "minLength": 1
104
+ },
105
+ "$contains": {
106
+ "type": "string",
107
+ "minLength": 1
108
+ },
109
+ "$ci": {
110
+ "type": "boolean"
111
+ },
112
+ "$in": {
113
+ "type": "array",
114
+ "maxItems": 100,
115
+ "items": {
116
+ "type": [
117
+ "string",
118
+ "number",
119
+ "boolean"
120
+ ]
121
+ }
122
+ },
123
+ "$nin": {
124
+ "type": "array",
125
+ "maxItems": 100,
126
+ "items": {
127
+ "type": [
128
+ "string",
129
+ "number",
130
+ "boolean"
131
+ ]
132
+ }
133
+ }
134
+ },
135
+ "additionalProperties": false
136
+ }
137
+ ]
138
+ },
139
+ "id": {
140
+ "oneOf": [
141
+ {
142
+ "oneOf": [
143
+ {
144
+ "type": "string",
145
+ "pattern": "^[A-Fa-f\\d]{24}$"
146
+ },
147
+ {
148
+ "type": "null"
149
+ }
150
+ ]
151
+ },
152
+ {
153
+ "type": "object",
154
+ "properties": {
155
+ "$eq": {
156
+ "oneOf": [
157
+ {
158
+ "type": "string",
159
+ "pattern": "^[A-Fa-f\\d]{24}$"
160
+ },
161
+ {
162
+ "type": "null"
163
+ }
164
+ ]
165
+ },
166
+ "$ne": {
167
+ "oneOf": [
168
+ {
169
+ "type": "string",
170
+ "pattern": "^[A-Fa-f\\d]{24}$"
171
+ },
172
+ {
173
+ "type": "null"
174
+ }
175
+ ]
176
+ },
177
+ "$in": {
178
+ "type": "array",
179
+ "maxItems": 100,
180
+ "items": {
181
+ "type": "string",
182
+ "pattern": "^[A-Fa-f\\d]{24}$"
183
+ }
184
+ },
185
+ "$nin": {
186
+ "type": "array",
187
+ "maxItems": 100,
188
+ "items": {
189
+ "type": "string",
190
+ "pattern": "^[A-Fa-f\\d]{24}$"
191
+ }
192
+ }
193
+ },
194
+ "additionalProperties": false,
195
+ "minProperties": 1,
196
+ "maxProperties": 1
197
+ }
198
+ ]
199
+ },
200
+ "creationDate": {
201
+ "oneOf": [
202
+ {
203
+ "type": [
204
+ "string",
205
+ "number",
206
+ "boolean",
207
+ "null"
208
+ ]
209
+ },
210
+ {
211
+ "type": "object",
212
+ "properties": {
213
+ "$eq": {
214
+ "type": [
215
+ "string",
216
+ "number",
217
+ "boolean",
218
+ "null"
219
+ ]
220
+ },
221
+ "$ne": {
222
+ "type": [
223
+ "string",
224
+ "number",
225
+ "boolean",
226
+ "null"
227
+ ]
228
+ },
229
+ "$gt": {
230
+ "type": [
231
+ "string",
232
+ "number",
233
+ "boolean",
234
+ "null"
235
+ ]
236
+ },
237
+ "$lt": {
238
+ "type": [
239
+ "string",
240
+ "number",
241
+ "boolean",
242
+ "null"
243
+ ]
244
+ },
245
+ "$gte": {
246
+ "type": [
247
+ "string",
248
+ "number",
249
+ "boolean",
250
+ "null"
251
+ ]
252
+ },
253
+ "$lte": {
254
+ "type": [
255
+ "string",
256
+ "number",
257
+ "boolean",
258
+ "null"
259
+ ]
260
+ },
261
+ "$startsWith": {
262
+ "type": "string",
263
+ "minLength": 1
264
+ },
265
+ "$endsWith": {
266
+ "type": "string",
267
+ "minLength": 1
268
+ },
269
+ "$contains": {
270
+ "type": "string",
271
+ "minLength": 1
272
+ },
273
+ "$ci": {
274
+ "type": "boolean"
275
+ },
276
+ "$in": {
277
+ "type": "array",
278
+ "maxItems": 100,
279
+ "items": {
280
+ "type": [
281
+ "string",
282
+ "number",
283
+ "boolean"
284
+ ]
285
+ }
286
+ },
287
+ "$nin": {
288
+ "type": "array",
289
+ "maxItems": 100,
290
+ "items": {
291
+ "type": [
292
+ "string",
293
+ "number",
294
+ "boolean"
295
+ ]
296
+ }
297
+ }
298
+ },
299
+ "additionalProperties": false
300
+ }
301
+ ]
302
+ },
303
+ "lastUpdated": {
304
+ "oneOf": [
305
+ {
306
+ "type": [
307
+ "string",
308
+ "number",
309
+ "boolean",
310
+ "null"
311
+ ]
312
+ },
313
+ {
314
+ "type": "object",
315
+ "properties": {
316
+ "$eq": {
317
+ "type": [
318
+ "string",
319
+ "number",
320
+ "boolean",
321
+ "null"
322
+ ]
323
+ },
324
+ "$ne": {
325
+ "type": [
326
+ "string",
327
+ "number",
328
+ "boolean",
329
+ "null"
330
+ ]
331
+ },
332
+ "$gt": {
333
+ "type": [
334
+ "string",
335
+ "number",
336
+ "boolean",
337
+ "null"
338
+ ]
339
+ },
340
+ "$lt": {
341
+ "type": [
342
+ "string",
343
+ "number",
344
+ "boolean",
345
+ "null"
346
+ ]
347
+ },
348
+ "$gte": {
349
+ "type": [
350
+ "string",
351
+ "number",
352
+ "boolean",
353
+ "null"
354
+ ]
355
+ },
356
+ "$lte": {
357
+ "type": [
358
+ "string",
359
+ "number",
360
+ "boolean",
361
+ "null"
362
+ ]
363
+ },
364
+ "$startsWith": {
365
+ "type": "string",
366
+ "minLength": 1
367
+ },
368
+ "$endsWith": {
369
+ "type": "string",
370
+ "minLength": 1
371
+ },
372
+ "$contains": {
373
+ "type": "string",
374
+ "minLength": 1
375
+ },
376
+ "$ci": {
377
+ "type": "boolean"
378
+ },
379
+ "$in": {
380
+ "type": "array",
381
+ "maxItems": 100,
382
+ "items": {
383
+ "type": [
384
+ "string",
385
+ "number",
386
+ "boolean"
387
+ ]
388
+ }
389
+ },
390
+ "$nin": {
391
+ "type": "array",
392
+ "maxItems": 100,
393
+ "items": {
394
+ "type": [
395
+ "string",
396
+ "number",
397
+ "boolean"
398
+ ]
399
+ }
400
+ }
401
+ },
402
+ "additionalProperties": false
403
+ }
404
+ ]
405
+ },
406
+ "flowClass": {
407
+ "oneOf": [
408
+ {
409
+ "type": [
410
+ "string",
411
+ "number",
412
+ "boolean",
413
+ "null"
414
+ ]
415
+ },
416
+ {
417
+ "type": "object",
418
+ "properties": {
419
+ "$eq": {
420
+ "type": [
421
+ "string",
422
+ "number",
423
+ "boolean",
424
+ "null"
425
+ ]
426
+ },
427
+ "$ne": {
428
+ "type": [
429
+ "string",
430
+ "number",
431
+ "boolean",
432
+ "null"
433
+ ]
434
+ },
435
+ "$gt": {
436
+ "type": [
437
+ "string",
438
+ "number",
439
+ "boolean",
440
+ "null"
441
+ ]
442
+ },
443
+ "$lt": {
444
+ "type": [
445
+ "string",
446
+ "number",
447
+ "boolean",
448
+ "null"
449
+ ]
450
+ },
451
+ "$gte": {
452
+ "type": [
453
+ "string",
454
+ "number",
455
+ "boolean",
456
+ "null"
457
+ ]
458
+ },
459
+ "$lte": {
460
+ "type": [
461
+ "string",
462
+ "number",
463
+ "boolean",
464
+ "null"
465
+ ]
466
+ },
467
+ "$startsWith": {
468
+ "type": "string",
469
+ "minLength": 1
470
+ },
471
+ "$endsWith": {
472
+ "type": "string",
473
+ "minLength": 1
474
+ },
475
+ "$contains": {
476
+ "type": "string",
477
+ "minLength": 1
478
+ },
479
+ "$ci": {
480
+ "type": "boolean"
481
+ },
482
+ "$in": {
483
+ "type": "array",
484
+ "maxItems": 100,
485
+ "items": {
486
+ "type": [
487
+ "string",
488
+ "number",
489
+ "boolean"
490
+ ]
491
+ }
492
+ },
493
+ "$nin": {
494
+ "type": "array",
495
+ "maxItems": 100,
496
+ "items": {
497
+ "type": [
498
+ "string",
499
+ "number",
500
+ "boolean"
501
+ ]
502
+ }
503
+ }
504
+ },
505
+ "additionalProperties": false
506
+ }
507
+ ]
508
+ },
509
+ "enabled": {
510
+ "oneOf": [
511
+ {
512
+ "type": [
513
+ "string",
514
+ "number",
515
+ "boolean",
516
+ "null"
517
+ ]
518
+ },
519
+ {
520
+ "type": "object",
521
+ "properties": {
522
+ "$eq": {
523
+ "type": [
524
+ "string",
525
+ "number",
526
+ "boolean",
527
+ "null"
528
+ ]
529
+ },
530
+ "$ne": {
531
+ "type": [
532
+ "string",
533
+ "number",
534
+ "boolean",
535
+ "null"
536
+ ]
537
+ },
538
+ "$gt": {
539
+ "type": [
540
+ "string",
541
+ "number",
542
+ "boolean",
543
+ "null"
544
+ ]
545
+ },
546
+ "$lt": {
547
+ "type": [
548
+ "string",
549
+ "number",
550
+ "boolean",
551
+ "null"
552
+ ]
553
+ },
554
+ "$gte": {
555
+ "type": [
556
+ "string",
557
+ "number",
558
+ "boolean",
559
+ "null"
560
+ ]
561
+ },
562
+ "$lte": {
563
+ "type": [
564
+ "string",
565
+ "number",
566
+ "boolean",
567
+ "null"
568
+ ]
569
+ },
570
+ "$startsWith": {
571
+ "type": "string",
572
+ "minLength": 1
573
+ },
574
+ "$endsWith": {
575
+ "type": "string",
576
+ "minLength": 1
577
+ },
578
+ "$contains": {
579
+ "type": "string",
580
+ "minLength": 1
581
+ },
582
+ "$ci": {
583
+ "type": "boolean"
584
+ },
585
+ "$in": {
586
+ "type": "array",
587
+ "maxItems": 100,
588
+ "items": {
589
+ "type": [
590
+ "string",
591
+ "number",
592
+ "boolean"
593
+ ]
594
+ }
595
+ },
596
+ "$nin": {
597
+ "type": "array",
598
+ "maxItems": 100,
599
+ "items": {
600
+ "type": [
601
+ "string",
602
+ "number",
603
+ "boolean"
604
+ ]
605
+ }
606
+ }
607
+ },
608
+ "additionalProperties": false
609
+ }
610
+ ]
611
+ },
612
+ "version": {
613
+ "oneOf": [
614
+ {
615
+ "type": [
616
+ "string",
617
+ "number",
618
+ "boolean",
619
+ "null"
620
+ ]
621
+ },
622
+ {
623
+ "type": "object",
624
+ "properties": {
625
+ "$eq": {
626
+ "type": [
627
+ "string",
628
+ "number",
629
+ "boolean",
630
+ "null"
631
+ ]
632
+ },
633
+ "$ne": {
634
+ "type": [
635
+ "string",
636
+ "number",
637
+ "boolean",
638
+ "null"
639
+ ]
640
+ },
641
+ "$gt": {
642
+ "type": [
643
+ "string",
644
+ "number",
645
+ "boolean",
646
+ "null"
647
+ ]
648
+ },
649
+ "$lt": {
650
+ "type": [
651
+ "string",
652
+ "number",
653
+ "boolean",
654
+ "null"
655
+ ]
656
+ },
657
+ "$gte": {
658
+ "type": [
659
+ "string",
660
+ "number",
661
+ "boolean",
662
+ "null"
663
+ ]
664
+ },
665
+ "$lte": {
666
+ "type": [
667
+ "string",
668
+ "number",
669
+ "boolean",
670
+ "null"
671
+ ]
672
+ },
673
+ "$startsWith": {
674
+ "type": "string",
675
+ "minLength": 1
676
+ },
677
+ "$endsWith": {
678
+ "type": "string",
679
+ "minLength": 1
680
+ },
681
+ "$contains": {
682
+ "type": "string",
683
+ "minLength": 1
684
+ },
685
+ "$ci": {
686
+ "type": "boolean"
687
+ },
688
+ "$in": {
689
+ "type": "array",
690
+ "maxItems": 100,
691
+ "items": {
692
+ "type": [
693
+ "string",
694
+ "number",
695
+ "boolean"
696
+ ]
697
+ }
698
+ },
699
+ "$nin": {
700
+ "type": "array",
701
+ "maxItems": 100,
702
+ "items": {
703
+ "type": [
704
+ "string",
705
+ "number",
706
+ "boolean"
707
+ ]
708
+ }
709
+ }
710
+ },
711
+ "additionalProperties": false
712
+ }
713
+ ]
714
+ },
715
+ "triggers": {
716
+ "oneOf": [
717
+ {
718
+ "type": "object",
719
+ "properties": {
720
+ "type": {
721
+ "type": "string",
722
+ "maxLength": 255
723
+ },
724
+ "key": {
725
+ "type": "string",
726
+ "pattern": "^[0-9a-zA-Z_-]{1,255}$"
727
+ },
728
+ "config": {
729
+ "type": "object",
730
+ "patternProperties": {
731
+ "^[0-9a-zA-Z_-]{1,255}$": {
732
+ "type": [
733
+ "string",
734
+ "number",
735
+ "boolean",
736
+ "null"
737
+ ],
738
+ "maxLength": 1024
739
+ }
740
+ }
741
+ }
742
+ },
743
+ "required": [
744
+ "type"
745
+ ],
746
+ "additionalProperties": false
747
+ },
748
+ {
749
+ "type": "object",
750
+ "properties": {
751
+ "$eq": {
752
+ "type": "object",
753
+ "properties": {
754
+ "type": {
755
+ "type": "string",
756
+ "maxLength": 255
757
+ },
758
+ "key": {
759
+ "type": "string",
760
+ "pattern": "^[0-9a-zA-Z_-]{1,255}$"
761
+ },
762
+ "config": {
763
+ "type": "object",
764
+ "patternProperties": {
765
+ "^[0-9a-zA-Z_-]{1,255}$": {
766
+ "type": [
767
+ "string",
768
+ "number",
769
+ "boolean",
770
+ "null"
771
+ ],
772
+ "maxLength": 1024
773
+ }
774
+ }
775
+ }
776
+ },
777
+ "required": [
778
+ "type"
779
+ ],
780
+ "additionalProperties": false
781
+ }
782
+ },
783
+ "required": [
784
+ "$eq"
785
+ ],
786
+ "additionalProperties": false
787
+ },
788
+ {
789
+ "type": "object",
790
+ "properties": {
791
+ "$ne": {
792
+ "type": "object",
793
+ "properties": {
794
+ "type": {
795
+ "type": "string",
796
+ "maxLength": 255
797
+ },
798
+ "key": {
799
+ "type": "string",
800
+ "pattern": "^[0-9a-zA-Z_-]{1,255}$"
801
+ },
802
+ "config": {
803
+ "type": "object",
804
+ "patternProperties": {
805
+ "^[0-9a-zA-Z_-]{1,255}$": {
806
+ "type": [
807
+ "string",
808
+ "number",
809
+ "boolean",
810
+ "null"
811
+ ],
812
+ "maxLength": 1024
813
+ }
814
+ }
815
+ }
816
+ },
817
+ "required": [
818
+ "type"
819
+ ],
820
+ "additionalProperties": false
821
+ }
822
+ },
823
+ "required": [
824
+ "$ne"
825
+ ],
826
+ "additionalProperties": false
827
+ }
828
+ ]
829
+ },
830
+ "nodes": {
831
+ "oneOf": [
832
+ {
833
+ "type": "object",
834
+ "properties": {
835
+ "type": {
836
+ "type": "string",
837
+ "maxLength": 255
838
+ },
839
+ "config": {
840
+ "type": "object",
841
+ "patternProperties": {
842
+ "^[0-9a-zA-Z_-]{1,255}$": {
843
+ "type": [
844
+ "string",
845
+ "number",
846
+ "boolean",
847
+ "null"
848
+ ],
849
+ "maxLength": 1024
850
+ }
851
+ }
852
+ }
853
+ },
854
+ "required": [
855
+ "type"
856
+ ],
857
+ "additionalProperties": false
858
+ },
859
+ {
860
+ "type": "object",
861
+ "properties": {
862
+ "$eq": {
863
+ "type": "object",
864
+ "properties": {
865
+ "type": {
866
+ "type": "string",
867
+ "maxLength": 255
868
+ },
869
+ "config": {
870
+ "type": "object",
871
+ "patternProperties": {
872
+ "^[0-9a-zA-Z_-]{1,255}$": {
873
+ "type": [
874
+ "string",
875
+ "number",
876
+ "boolean",
877
+ "null"
878
+ ],
879
+ "maxLength": 1024
880
+ }
881
+ }
882
+ }
883
+ },
884
+ "required": [
885
+ "type"
886
+ ],
887
+ "additionalProperties": false
888
+ }
889
+ },
890
+ "required": [
891
+ "$eq"
892
+ ],
893
+ "additionalProperties": false
894
+ },
895
+ {
896
+ "type": "object",
897
+ "properties": {
898
+ "$ne": {
899
+ "type": "object",
900
+ "properties": {
901
+ "type": {
902
+ "type": "string",
903
+ "maxLength": 255
904
+ },
905
+ "config": {
906
+ "type": "object",
907
+ "patternProperties": {
908
+ "^[0-9a-zA-Z_-]{1,255}$": {
909
+ "type": [
910
+ "string",
911
+ "number",
912
+ "boolean",
913
+ "null"
914
+ ],
915
+ "maxLength": 1024
916
+ }
917
+ }
918
+ }
919
+ },
920
+ "required": [
921
+ "type"
922
+ ],
923
+ "additionalProperties": false
924
+ }
925
+ },
926
+ "required": [
927
+ "$ne"
928
+ ],
929
+ "additionalProperties": false
930
+ }
931
+ ]
932
+ }
933
+ },
934
+ "additionalProperties": false
935
+ }
936
+ },
937
+ "additionalProperties": false,
938
+ "required": [
939
+ "query"
940
+ ]
941
+ }