losant_rest 1.12.0 → 1.14.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (202) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +1 -1
  3. data/README.md +1 -1
  4. data/docs/_schemas.md +17509 -8097
  5. data/docs/application.md +6 -6
  6. data/docs/applicationApiTokens.md +1 -1
  7. data/docs/applications.md +1 -1
  8. data/docs/dataTable.md +1 -1
  9. data/docs/dataTableRows.md +1 -1
  10. data/docs/dataTables.md +1 -1
  11. data/docs/device.md +43 -0
  12. data/docs/devices.md +41 -2
  13. data/docs/edgeDeployment.md +49 -0
  14. data/docs/events.md +3 -3
  15. data/docs/experience.md +1 -1
  16. data/docs/experienceDomains.md +1 -1
  17. data/docs/experienceGroup.md +2 -0
  18. data/docs/experienceSlugs.md +1 -1
  19. data/docs/experienceVersion.md +3 -3
  20. data/docs/experienceVersions.md +2 -2
  21. data/docs/experienceView.md +4 -4
  22. data/docs/experienceViews.md +2 -2
  23. data/docs/file.md +5 -5
  24. data/docs/files.md +2 -2
  25. data/docs/flow.md +41 -0
  26. data/docs/flowVersions.md +44 -0
  27. data/docs/instance.md +168 -0
  28. data/docs/instanceApiToken.md +133 -0
  29. data/docs/instanceApiTokens.md +91 -0
  30. data/docs/instanceMember.md +133 -0
  31. data/docs/instanceMembers.md +91 -0
  32. data/docs/instanceOrg.md +135 -0
  33. data/docs/instanceOrgInvite.md +139 -0
  34. data/docs/instanceOrgInvites.md +96 -0
  35. data/docs/instanceOrgMember.md +139 -0
  36. data/docs/instanceOrgMembers.md +96 -0
  37. data/docs/instanceOrgs.md +91 -0
  38. data/docs/instances.md +50 -0
  39. data/docs/me.md +1 -1
  40. data/docs/org.md +1 -1
  41. data/docs/userApiToken.md +125 -0
  42. data/docs/userApiTokens.md +87 -0
  43. data/lib/losant_rest/application.rb +7 -7
  44. data/lib/losant_rest/application_api_token.rb +1 -1
  45. data/lib/losant_rest/application_api_tokens.rb +2 -2
  46. data/lib/losant_rest/application_certificate.rb +1 -1
  47. data/lib/losant_rest/application_certificate_authorities.rb +1 -1
  48. data/lib/losant_rest/application_certificate_authority.rb +1 -1
  49. data/lib/losant_rest/application_certificates.rb +1 -1
  50. data/lib/losant_rest/application_dashboard.rb +1 -1
  51. data/lib/losant_rest/application_dashboards.rb +1 -1
  52. data/lib/losant_rest/application_key.rb +1 -1
  53. data/lib/losant_rest/application_keys.rb +1 -1
  54. data/lib/losant_rest/application_template.rb +1 -1
  55. data/lib/losant_rest/application_templates.rb +1 -1
  56. data/lib/losant_rest/applications.rb +2 -2
  57. data/lib/losant_rest/audit_log.rb +1 -1
  58. data/lib/losant_rest/audit_logs.rb +1 -1
  59. data/lib/losant_rest/auth.rb +1 -1
  60. data/lib/losant_rest/client.rb +63 -3
  61. data/lib/losant_rest/dashboard.rb +1 -1
  62. data/lib/losant_rest/dashboards.rb +1 -1
  63. data/lib/losant_rest/data.rb +1 -1
  64. data/lib/losant_rest/data_table.rb +2 -2
  65. data/lib/losant_rest/data_table_row.rb +1 -1
  66. data/lib/losant_rest/data_table_rows.rb +2 -2
  67. data/lib/losant_rest/data_tables.rb +2 -2
  68. data/lib/losant_rest/device.rb +51 -1
  69. data/lib/losant_rest/device_recipe.rb +1 -1
  70. data/lib/losant_rest/device_recipes.rb +1 -1
  71. data/lib/losant_rest/devices.rb +49 -3
  72. data/lib/losant_rest/edge_deployment.rb +81 -0
  73. data/lib/losant_rest/edge_deployments.rb +1 -1
  74. data/lib/losant_rest/error.rb +1 -1
  75. data/lib/losant_rest/event.rb +1 -1
  76. data/lib/losant_rest/events.rb +4 -4
  77. data/lib/losant_rest/experience.rb +2 -2
  78. data/lib/losant_rest/experience_domain.rb +1 -1
  79. data/lib/losant_rest/experience_domains.rb +2 -2
  80. data/lib/losant_rest/experience_endpoint.rb +1 -1
  81. data/lib/losant_rest/experience_endpoints.rb +1 -1
  82. data/lib/losant_rest/experience_group.rb +5 -1
  83. data/lib/losant_rest/experience_groups.rb +1 -1
  84. data/lib/losant_rest/experience_slug.rb +1 -1
  85. data/lib/losant_rest/experience_slugs.rb +2 -2
  86. data/lib/losant_rest/experience_user.rb +1 -1
  87. data/lib/losant_rest/experience_users.rb +1 -1
  88. data/lib/losant_rest/experience_version.rb +4 -4
  89. data/lib/losant_rest/experience_versions.rb +3 -3
  90. data/lib/losant_rest/experience_view.rb +5 -5
  91. data/lib/losant_rest/experience_views.rb +3 -3
  92. data/lib/losant_rest/file.rb +5 -5
  93. data/lib/losant_rest/files.rb +3 -3
  94. data/lib/losant_rest/flow.rb +47 -1
  95. data/lib/losant_rest/flow_version.rb +1 -1
  96. data/lib/losant_rest/flow_versions.rb +51 -1
  97. data/lib/losant_rest/flows.rb +1 -1
  98. data/lib/losant_rest/instance.rb +227 -0
  99. data/lib/losant_rest/instance_api_token.rb +176 -0
  100. data/lib/losant_rest/instance_api_tokens.rb +136 -0
  101. data/lib/losant_rest/instance_member.rb +176 -0
  102. data/lib/losant_rest/instance_members.rb +134 -0
  103. data/lib/losant_rest/instance_org.rb +180 -0
  104. data/lib/losant_rest/instance_org_invite.rb +182 -0
  105. data/lib/losant_rest/instance_org_invites.rb +138 -0
  106. data/lib/losant_rest/instance_org_member.rb +182 -0
  107. data/lib/losant_rest/instance_org_members.rb +138 -0
  108. data/lib/losant_rest/instance_orgs.rb +139 -0
  109. data/lib/losant_rest/instances.rb +88 -0
  110. data/lib/losant_rest/integration.rb +1 -1
  111. data/lib/losant_rest/integrations.rb +1 -1
  112. data/lib/losant_rest/me.rb +2 -2
  113. data/lib/losant_rest/notebook.rb +1 -1
  114. data/lib/losant_rest/notebooks.rb +1 -1
  115. data/lib/losant_rest/org.rb +2 -2
  116. data/lib/losant_rest/org_invites.rb +1 -1
  117. data/lib/losant_rest/orgs.rb +1 -1
  118. data/lib/losant_rest/user_api_token.rb +170 -0
  119. data/lib/losant_rest/user_api_tokens.rb +132 -0
  120. data/lib/losant_rest/utils.rb +1 -1
  121. data/lib/losant_rest/version.rb +2 -2
  122. data/lib/losant_rest/webhook.rb +1 -1
  123. data/lib/losant_rest/webhooks.rb +1 -1
  124. data/lib/losant_rest.rb +16 -1
  125. data/schemas/advancedDeviceQuery.json +309 -0
  126. data/schemas/apiToken.json +2 -1
  127. data/schemas/apiTokenPost.json +431 -0
  128. data/schemas/apiTokens.json +4 -2
  129. data/schemas/applicationApiTokenPost.json +1 -0
  130. data/schemas/applicationDashboardPost.json +39 -17
  131. data/schemas/auditLog.json +4 -0
  132. data/schemas/auditLogFilter.json +4 -0
  133. data/schemas/auditLogs.json +4 -0
  134. data/schemas/bulkDeleteResponse.json +12 -0
  135. data/schemas/dashboard.json +39 -17
  136. data/schemas/dashboardPatch.json +39 -17
  137. data/schemas/dashboardPost.json +39 -17
  138. data/schemas/dashboardSendReport.json +4 -0
  139. data/schemas/dashboards.json +39 -17
  140. data/schemas/dataTableRowsDelete.json +1 -1
  141. data/schemas/devicePayloadCounts.json +24 -0
  142. data/schemas/devicesDeletePost.json +309 -0
  143. data/schemas/devicesExportPayloadCountPost.json +1350 -0
  144. data/schemas/devicesExportPost.json +309 -0
  145. data/schemas/devicesPatch.json +309 -0
  146. data/schemas/devicesRemoveDataPost.json +309 -0
  147. data/schemas/edgeDeployment.json +16 -0
  148. data/schemas/edgeDeployments.json +16 -0
  149. data/schemas/eventsDeleted.json +1 -1
  150. data/schemas/experienceGroup.json +6 -0
  151. data/schemas/experienceGroups.json +6 -0
  152. data/schemas/experienceLinkedResources.json +381 -6
  153. data/schemas/filePost.json +8 -2
  154. data/schemas/flow.json +127 -2
  155. data/schemas/flowPatch.json +127 -2
  156. data/schemas/flowPost.json +127 -2
  157. data/schemas/flowStorageMetadata.json +13 -0
  158. data/schemas/flowVersion.json +254 -4
  159. data/schemas/flowVersionPost.json +127 -2
  160. data/schemas/flowVersions.json +254 -4
  161. data/schemas/flowVersionsDeletePost.json +941 -0
  162. data/schemas/flows.json +127 -2
  163. data/schemas/flowsImportPost.json +254 -4
  164. data/schemas/flowsImportResult.json +381 -6
  165. data/schemas/githubLogin.json +64 -11
  166. data/schemas/historicalSummaries.json +43 -0
  167. data/schemas/historicalSummary.json +490 -0
  168. data/schemas/instance.json +60 -0
  169. data/schemas/instanceMember.json +41 -0
  170. data/schemas/instanceMemberPatch.json +17 -0
  171. data/schemas/instanceMemberPost.json +37 -0
  172. data/schemas/instanceMembers.json +77 -0
  173. data/schemas/instanceOrg.json +14 -0
  174. data/schemas/instanceOrgMember.json +45 -0
  175. data/schemas/instanceOrgMemberPatch.json +69 -0
  176. data/schemas/instanceOrgMemberPost.json +161 -0
  177. data/schemas/instanceOrgMembers.json +42 -0
  178. data/schemas/instanceOrgPatch.json +19 -0
  179. data/schemas/instanceOrgPost.json +177 -0
  180. data/schemas/instanceOrgs.json +18 -0
  181. data/schemas/instancePatch.json +67 -0
  182. data/schemas/instanceReportOptionsPost.json +41 -0
  183. data/schemas/me.json +30 -14
  184. data/schemas/multiDeviceCommand.json +309 -0
  185. data/schemas/notebook.json +45 -0
  186. data/schemas/notebookPatch.json +30 -0
  187. data/schemas/notebookPost.json +30 -0
  188. data/schemas/notebooks.json +45 -0
  189. data/schemas/org.json +30 -14
  190. data/schemas/orgInvite.json +90 -0
  191. data/schemas/orgInviteCollection.json +130 -0
  192. data/schemas/orgInvites.json +82 -77
  193. data/schemas/orgPatch.json +0 -9
  194. data/schemas/orgRoleInfo.json +69 -0
  195. data/schemas/orgs.json +30 -14
  196. data/schemas/payloadStats.json +126 -0
  197. data/schemas/userCredentials.json +64 -11
  198. data/schemas/userPost.json +64 -11
  199. data/schemas/validateContextError.json +34 -0
  200. data/schemas/validateContextSuccess.json +34 -0
  201. data/schemas/virtualButtonPress.json +4 -0
  202. metadata +55 -3
@@ -73,7 +73,6 @@
73
73
  "onBoot",
74
74
  "onConnect",
75
75
  "onDisconnect",
76
- "request",
77
76
  "udp",
78
77
  "webhook"
79
78
  ]
@@ -107,7 +106,6 @@
107
106
  "onConnect",
108
107
  "onDisconnect",
109
108
  "particle",
110
- "request",
111
109
  "udp",
112
110
  "webhook"
113
111
  ]
@@ -313,6 +311,21 @@
313
311
  },
314
312
  "maxAge": {
315
313
  "type": "number"
314
+ },
315
+ "triggerOn": {
316
+ "type": "string",
317
+ "enum": [
318
+ "batch",
319
+ "individual",
320
+ "both"
321
+ ]
322
+ },
323
+ "batchBehavior": {
324
+ "type": "string",
325
+ "enum": [
326
+ "once",
327
+ "each"
328
+ ]
316
329
  }
317
330
  },
318
331
  "additionalProperties": false
@@ -1391,6 +1404,118 @@
1391
1404
  ],
1392
1405
  "additionalProperties": false
1393
1406
  },
1407
+ {
1408
+ "type": "object",
1409
+ "properties": {
1410
+ "key": {
1411
+ "type": "string",
1412
+ "maxLength": 1024
1413
+ },
1414
+ "type": {
1415
+ "type": "string",
1416
+ "enum": [
1417
+ "request"
1418
+ ]
1419
+ },
1420
+ "config": {
1421
+ "type": "object",
1422
+ "properties": {
1423
+ "method": {
1424
+ "type": "string",
1425
+ "enum": [
1426
+ "*",
1427
+ "delete",
1428
+ "get",
1429
+ "options",
1430
+ "patch",
1431
+ "post",
1432
+ "put"
1433
+ ]
1434
+ },
1435
+ "route": {
1436
+ "type": "string",
1437
+ "maxLength": 1024
1438
+ }
1439
+ },
1440
+ "additionalProperties": false
1441
+ },
1442
+ "meta": {
1443
+ "type": "object",
1444
+ "properties": {
1445
+ "category": {
1446
+ "type": "string",
1447
+ "enum": [
1448
+ "trigger"
1449
+ ]
1450
+ },
1451
+ "name": {
1452
+ "type": "string",
1453
+ "enum": [
1454
+ "request"
1455
+ ]
1456
+ },
1457
+ "label": {
1458
+ "type": "string",
1459
+ "minLength": 1,
1460
+ "maxLength": 255
1461
+ },
1462
+ "x": {
1463
+ "type": "number"
1464
+ },
1465
+ "y": {
1466
+ "type": "number"
1467
+ },
1468
+ "uiId": {
1469
+ "type": "string",
1470
+ "maxLength": 48
1471
+ },
1472
+ "description": {
1473
+ "type": "string",
1474
+ "maxLength": 32767
1475
+ },
1476
+ "icon": {
1477
+ "type": "string",
1478
+ "maxLength": 1024
1479
+ },
1480
+ "color": {
1481
+ "type": "string",
1482
+ "maxLength": 1024
1483
+ },
1484
+ "inputCount": {
1485
+ "type": "number"
1486
+ },
1487
+ "outputCount": {
1488
+ "type": "number"
1489
+ },
1490
+ "triggerId": {
1491
+ "type": "string",
1492
+ "maxLength": 48
1493
+ },
1494
+ "id": {
1495
+ "type": "string",
1496
+ "maxLength": 48
1497
+ }
1498
+ },
1499
+ "additionalProperties": false
1500
+ },
1501
+ "outputIds": {
1502
+ "type": "array",
1503
+ "items": {
1504
+ "type": "array",
1505
+ "items": {
1506
+ "type": "string",
1507
+ "maxLength": 255
1508
+ },
1509
+ "maxItems": 100
1510
+ },
1511
+ "maxItems": 100
1512
+ }
1513
+ },
1514
+ "required": [
1515
+ "type"
1516
+ ],
1517
+ "additionalProperties": false
1518
+ },
1394
1519
  {
1395
1520
  "type": "object",
1396
1521
  "properties": {
@@ -2271,7 +2396,6 @@
2271
2396
  "onBoot",
2272
2397
  "onConnect",
2273
2398
  "onDisconnect",
2274
- "request",
2275
2399
  "udp",
2276
2400
  "webhook"
2277
2401
  ]
@@ -2305,7 +2429,6 @@
2305
2429
  "onConnect",
2306
2430
  "onDisconnect",
2307
2431
  "particle",
2308
- "request",
2309
2432
  "udp",
2310
2433
  "webhook"
2311
2434
  ]
@@ -2511,6 +2634,21 @@
2511
2634
  },
2512
2635
  "maxAge": {
2513
2636
  "type": "number"
2637
+ },
2638
+ "triggerOn": {
2639
+ "type": "string",
2640
+ "enum": [
2641
+ "batch",
2642
+ "individual",
2643
+ "both"
2644
+ ]
2645
+ },
2646
+ "batchBehavior": {
2647
+ "type": "string",
2648
+ "enum": [
2649
+ "once",
2650
+ "each"
2651
+ ]
2514
2652
  }
2515
2653
  },
2516
2654
  "additionalProperties": false
@@ -3589,6 +3727,118 @@
3589
3727
  ],
3590
3728
  "additionalProperties": false
3591
3729
  },
3730
+ {
3731
+ "type": "object",
3732
+ "properties": {
3733
+ "key": {
3734
+ "type": "string",
3735
+ "maxLength": 1024
3736
+ },
3737
+ "type": {
3738
+ "type": "string",
3739
+ "enum": [
3740
+ "request"
3741
+ ]
3742
+ },
3743
+ "config": {
3744
+ "type": "object",
3745
+ "properties": {
3746
+ "method": {
3747
+ "type": "string",
3748
+ "enum": [
3749
+ "*",
3750
+ "delete",
3751
+ "get",
3752
+ "options",
3753
+ "patch",
3754
+ "post",
3755
+ "put"
3756
+ ]
3757
+ },
3758
+ "route": {
3759
+ "type": "string",
3760
+ "maxLength": 1024
3761
+ }
3762
+ },
3763
+ "additionalProperties": false
3764
+ },
3765
+ "meta": {
3766
+ "type": "object",
3767
+ "properties": {
3768
+ "category": {
3769
+ "type": "string",
3770
+ "enum": [
3771
+ "trigger"
3772
+ ]
3773
+ },
3774
+ "name": {
3775
+ "type": "string",
3776
+ "enum": [
3777
+ "request"
3778
+ ]
3779
+ },
3780
+ "label": {
3781
+ "type": "string",
3782
+ "minLength": 1,
3783
+ "maxLength": 255
3784
+ },
3785
+ "x": {
3786
+ "type": "number"
3787
+ },
3788
+ "y": {
3789
+ "type": "number"
3790
+ },
3791
+ "uiId": {
3792
+ "type": "string",
3793
+ "maxLength": 48
3794
+ },
3795
+ "description": {
3796
+ "type": "string",
3797
+ "maxLength": 32767
3798
+ },
3799
+ "icon": {
3800
+ "type": "string",
3801
+ "maxLength": 1024
3802
+ },
3803
+ "color": {
3804
+ "type": "string",
3805
+ "maxLength": 1024
3806
+ },
3807
+ "inputCount": {
3808
+ "type": "number"
3809
+ },
3810
+ "outputCount": {
3811
+ "type": "number"
3812
+ },
3813
+ "triggerId": {
3814
+ "type": "string",
3815
+ "maxLength": 48
3816
+ },
3817
+ "id": {
3818
+ "type": "string",
3819
+ "maxLength": 48
3820
+ }
3821
+ },
3822
+ "additionalProperties": false
3823
+ },
3824
+ "outputIds": {
3825
+ "type": "array",
3826
+ "items": {
3827
+ "type": "array",
3828
+ "items": {
3829
+ "type": "string",
3830
+ "maxLength": 255
3831
+ },
3832
+ "maxItems": 100
3833
+ },
3834
+ "maxItems": 100
3835
+ }
3836
+ },
3837
+ "required": [
3838
+ "type"
3839
+ ],
3840
+ "additionalProperties": false
3841
+ },
3592
3842
  {
3593
3843
  "type": "object",
3594
3844
  "properties": {
@@ -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
+ }