losant_rest 1.10.3 → 1.13.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (212) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +1 -1
  3. data/README.md +2 -2
  4. data/docs/_schemas.md +27526 -11724
  5. data/docs/application.md +83 -0
  6. data/docs/applicationApiTokens.md +2 -2
  7. data/docs/applicationCertificateAuthorities.md +1 -1
  8. data/docs/applicationCertificates.md +1 -1
  9. data/docs/applicationDashboard.md +133 -0
  10. data/docs/applicationDashboards.md +93 -0
  11. data/docs/applicationKeys.md +4 -3
  12. data/docs/applicationTemplate.md +46 -0
  13. data/docs/applicationTemplates.md +77 -2
  14. data/docs/applications.md +1 -1
  15. data/docs/auditLogs.md +1 -1
  16. data/docs/dashboards.md +1 -1
  17. data/docs/dataTables.md +1 -1
  18. data/docs/device.md +6 -3
  19. data/docs/deviceRecipes.md +1 -1
  20. data/docs/devices.md +125 -1
  21. data/docs/edgeDeployments.md +1 -1
  22. data/docs/events.md +4 -4
  23. data/docs/experienceEndpoint.md +1 -0
  24. data/docs/experienceGroups.md +1 -1
  25. data/docs/experienceUsers.md +1 -1
  26. data/docs/experienceVersions.md +1 -1
  27. data/docs/experienceViews.md +1 -1
  28. data/docs/files.md +1 -1
  29. data/docs/flow.md +41 -0
  30. data/docs/flowVersions.md +2 -1
  31. data/docs/flows.md +5 -2
  32. data/docs/instance.md +128 -0
  33. data/docs/instanceMember.md +133 -0
  34. data/docs/instanceMembers.md +91 -0
  35. data/docs/instanceOrg.md +133 -0
  36. data/docs/instanceOrgMember.md +139 -0
  37. data/docs/instanceOrgMembers.md +96 -0
  38. data/docs/instanceOrgs.md +91 -0
  39. data/docs/instances.md +50 -0
  40. data/docs/integration.md +1 -0
  41. data/docs/integrations.md +1 -1
  42. data/docs/me.md +0 -36
  43. data/docs/notebooks.md +1 -1
  44. data/docs/orgs.md +1 -1
  45. data/docs/webhook.md +1 -0
  46. data/docs/webhooks.md +1 -1
  47. data/lib/losant_rest.rb +12 -1
  48. data/lib/losant_rest/application.rb +97 -2
  49. data/lib/losant_rest/application_api_token.rb +1 -1
  50. data/lib/losant_rest/application_api_tokens.rb +2 -2
  51. data/lib/losant_rest/application_certificate.rb +1 -1
  52. data/lib/losant_rest/application_certificate_authorities.rb +1 -1
  53. data/lib/losant_rest/application_certificate_authority.rb +1 -1
  54. data/lib/losant_rest/application_certificates.rb +1 -1
  55. data/lib/losant_rest/application_dashboard.rb +176 -0
  56. data/lib/losant_rest/application_dashboards.rb +138 -0
  57. data/lib/losant_rest/application_key.rb +1 -1
  58. data/lib/losant_rest/application_keys.rb +4 -1
  59. data/lib/losant_rest/application_template.rb +79 -0
  60. data/lib/losant_rest/application_templates.rb +90 -2
  61. data/lib/losant_rest/applications.rb +1 -1
  62. data/lib/losant_rest/audit_log.rb +1 -1
  63. data/lib/losant_rest/audit_logs.rb +1 -1
  64. data/lib/losant_rest/auth.rb +1 -1
  65. data/lib/losant_rest/client.rb +47 -3
  66. data/lib/losant_rest/dashboard.rb +1 -1
  67. data/lib/losant_rest/dashboards.rb +1 -1
  68. data/lib/losant_rest/data.rb +1 -1
  69. data/lib/losant_rest/data_table.rb +1 -1
  70. data/lib/losant_rest/data_table_row.rb +1 -1
  71. data/lib/losant_rest/data_table_rows.rb +1 -1
  72. data/lib/losant_rest/data_tables.rb +1 -1
  73. data/lib/losant_rest/device.rb +10 -4
  74. data/lib/losant_rest/device_recipe.rb +1 -1
  75. data/lib/losant_rest/device_recipes.rb +1 -1
  76. data/lib/losant_rest/devices.rb +153 -1
  77. data/lib/losant_rest/edge_deployments.rb +1 -1
  78. data/lib/losant_rest/error.rb +1 -1
  79. data/lib/losant_rest/event.rb +1 -1
  80. data/lib/losant_rest/events.rb +4 -4
  81. data/lib/losant_rest/experience.rb +1 -1
  82. data/lib/losant_rest/experience_domain.rb +1 -1
  83. data/lib/losant_rest/experience_domains.rb +1 -1
  84. data/lib/losant_rest/experience_endpoint.rb +3 -1
  85. data/lib/losant_rest/experience_endpoints.rb +1 -1
  86. data/lib/losant_rest/experience_group.rb +1 -1
  87. data/lib/losant_rest/experience_groups.rb +1 -1
  88. data/lib/losant_rest/experience_slug.rb +1 -1
  89. data/lib/losant_rest/experience_slugs.rb +1 -1
  90. data/lib/losant_rest/experience_user.rb +1 -1
  91. data/lib/losant_rest/experience_users.rb +1 -1
  92. data/lib/losant_rest/experience_version.rb +1 -1
  93. data/lib/losant_rest/experience_versions.rb +1 -1
  94. data/lib/losant_rest/experience_view.rb +1 -1
  95. data/lib/losant_rest/experience_views.rb +1 -1
  96. data/lib/losant_rest/file.rb +1 -1
  97. data/lib/losant_rest/files.rb +1 -1
  98. data/lib/losant_rest/flow.rb +47 -1
  99. data/lib/losant_rest/flow_version.rb +1 -1
  100. data/lib/losant_rest/flow_versions.rb +4 -1
  101. data/lib/losant_rest/flows.rb +9 -1
  102. data/lib/losant_rest/instance.rb +181 -0
  103. data/lib/losant_rest/instance_member.rb +176 -0
  104. data/lib/losant_rest/instance_members.rb +134 -0
  105. data/lib/losant_rest/instance_org.rb +176 -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 +3 -1
  111. data/lib/losant_rest/integrations.rb +1 -1
  112. data/lib/losant_rest/me.rb +2 -43
  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/utils.rb +1 -1
  119. data/lib/losant_rest/version.rb +2 -2
  120. data/lib/losant_rest/webhook.rb +3 -1
  121. data/lib/losant_rest/webhooks.rb +1 -1
  122. data/schemas/advancedApplicationKeyQuery.json +1082 -0
  123. data/schemas/advancedDeviceQuery.json +309 -0
  124. data/schemas/advancedFlowByVersionQuery.json +665 -0
  125. data/schemas/advancedFlowQuery.json +883 -0
  126. data/schemas/advancedFlowVersionQuery.json +925 -0
  127. data/schemas/application.json +8 -0
  128. data/schemas/applicationApiTokenPost.json +12 -0
  129. data/schemas/applicationApplyTemplatePatch.json +19 -0
  130. data/schemas/applicationCreationByTemplateResult.json +8 -0
  131. data/schemas/applicationDashboardPost.json +5683 -0
  132. data/schemas/applicationGlobalPatch.json +33 -0
  133. data/schemas/applicationPost.json +8 -0
  134. data/schemas/applicationTemplate.json +20 -0
  135. data/schemas/applicationTemplateCategories.json +43 -0
  136. data/schemas/applicationTemplateCategory.json +23 -0
  137. data/schemas/applicationTemplates.json +32 -0
  138. data/schemas/applications.json +8 -0
  139. data/schemas/attributeNamesResponse.json +14 -0
  140. data/schemas/authedUser.json +3 -0
  141. data/schemas/changePassword.json +2 -2
  142. data/schemas/dashboard.json +197 -26
  143. data/schemas/dashboardPatch.json +197 -26
  144. data/schemas/dashboardPost.json +197 -26
  145. data/schemas/dashboards.json +197 -26
  146. data/schemas/dataExport.json +132 -1
  147. data/schemas/deviceAttributeDataTypeFilter.json +29 -0
  148. data/schemas/deviceClassFilter.json +1 -2
  149. data/schemas/devicesDeletePost.json +309 -0
  150. data/schemas/devicesExportPost.json +309 -0
  151. data/schemas/devicesPatch.json +309 -0
  152. data/schemas/devicesRemoveDataPost.json +309 -0
  153. data/schemas/experienceLinkedResources.json +96 -0
  154. data/schemas/experienceVersion.json +9 -0
  155. data/schemas/experienceVersionPatch.json +9 -0
  156. data/schemas/experienceVersions.json +9 -0
  157. data/schemas/filePost.json +8 -2
  158. data/schemas/files.json +3 -0
  159. data/schemas/flow.json +32 -0
  160. data/schemas/flowPatch.json +32 -0
  161. data/schemas/flowPost.json +32 -0
  162. data/schemas/flowStorageMetadata.json +13 -0
  163. data/schemas/flowVersion.json +64 -0
  164. data/schemas/flowVersionPost.json +32 -0
  165. data/schemas/flowVersions.json +64 -0
  166. data/schemas/flows.json +32 -0
  167. data/schemas/flowsImportPost.json +64 -0
  168. data/schemas/flowsImportResult.json +96 -0
  169. data/schemas/githubLogin.json +53 -4
  170. data/schemas/historicalSummaries.json +43 -0
  171. data/schemas/historicalSummary.json +455 -0
  172. data/schemas/instance.json +132 -0
  173. data/schemas/instanceMember.json +37 -0
  174. data/schemas/instanceMemberPatch.json +17 -0
  175. data/schemas/instanceMemberPost.json +22 -0
  176. data/schemas/instanceMembers.json +69 -0
  177. data/schemas/instanceOrg.json +133 -0
  178. data/schemas/instanceOrgMember.json +37 -0
  179. data/schemas/instanceOrgMemberPatch.json +69 -0
  180. data/schemas/instanceOrgMemberPost.json +161 -0
  181. data/schemas/instanceOrgMembers.json +34 -0
  182. data/schemas/instanceOrgPatch.json +122 -0
  183. data/schemas/instanceOrgPost.json +125 -0
  184. data/schemas/instanceOrgs.json +174 -0
  185. data/schemas/instanceReportOptionsPost.json +40 -0
  186. data/schemas/instances.json +43 -0
  187. data/schemas/integration.json +3 -0
  188. data/schemas/integrationPatch.json +3 -0
  189. data/schemas/integrationPost.json +3 -0
  190. data/schemas/integrations.json +3 -0
  191. data/schemas/me.json +3 -3
  192. data/schemas/mePatch.json +2 -2
  193. data/schemas/multiDeviceCommand.json +309 -0
  194. data/schemas/notebook.json +7 -0
  195. data/schemas/notebookExecutionLogs.json +7 -0
  196. data/schemas/notebookPatch.json +7 -0
  197. data/schemas/notebookPost.json +7 -0
  198. data/schemas/notebooks.json +7 -0
  199. data/schemas/orgInviteInfo.json +3 -0
  200. data/schemas/orgInvitePost.json +3 -0
  201. data/schemas/orgInvites.json +3 -0
  202. data/schemas/orgPatch.json +0 -9
  203. data/schemas/passwordResetFinish.json +2 -2
  204. data/schemas/payloadStats.json +110 -0
  205. data/schemas/tagKeysResponse.json +14 -0
  206. data/schemas/tagValuesResponse.json +19 -0
  207. data/schemas/templateKeywords.json +14 -0
  208. data/schemas/timeSeriesData.json +12 -2
  209. data/schemas/timeSeriesQuery.json +94 -14
  210. data/schemas/userCredentials.json +51 -3
  211. data/schemas/userPost.json +59 -7
  212. metadata +61 -6
@@ -0,0 +1,29 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-04/schema#",
3
+ "oneOf": [
4
+ {
5
+ "type": "string",
6
+ "enum": [
7
+ "string",
8
+ "number",
9
+ "gps",
10
+ "boolean",
11
+ "blob"
12
+ ]
13
+ },
14
+ {
15
+ "type": "array",
16
+ "minItems": 1,
17
+ "items": {
18
+ "type": "string",
19
+ "enum": [
20
+ "string",
21
+ "number",
22
+ "gps",
23
+ "boolean",
24
+ "blob"
25
+ ]
26
+ }
27
+ }
28
+ ]
29
+ }
@@ -24,8 +24,7 @@
24
24
  "edgeCompute",
25
25
  "system"
26
26
  ]
27
- },
28
- "additionalProperties": false
27
+ }
29
28
  }
30
29
  ]
31
30
  }
@@ -1022,6 +1022,315 @@
1022
1022
  "additionalProperties": false
1023
1023
  }
1024
1024
  ]
1025
+ },
1026
+ "disconnectedAt": {
1027
+ "oneOf": [
1028
+ {
1029
+ "type": [
1030
+ "string",
1031
+ "number",
1032
+ "boolean",
1033
+ "null"
1034
+ ]
1035
+ },
1036
+ {
1037
+ "type": "object",
1038
+ "properties": {
1039
+ "$eq": {
1040
+ "type": [
1041
+ "string",
1042
+ "number",
1043
+ "boolean",
1044
+ "null"
1045
+ ]
1046
+ },
1047
+ "$ne": {
1048
+ "type": [
1049
+ "string",
1050
+ "number",
1051
+ "boolean",
1052
+ "null"
1053
+ ]
1054
+ },
1055
+ "$gt": {
1056
+ "type": [
1057
+ "string",
1058
+ "number",
1059
+ "boolean",
1060
+ "null"
1061
+ ]
1062
+ },
1063
+ "$lt": {
1064
+ "type": [
1065
+ "string",
1066
+ "number",
1067
+ "boolean",
1068
+ "null"
1069
+ ]
1070
+ },
1071
+ "$gte": {
1072
+ "type": [
1073
+ "string",
1074
+ "number",
1075
+ "boolean",
1076
+ "null"
1077
+ ]
1078
+ },
1079
+ "$lte": {
1080
+ "type": [
1081
+ "string",
1082
+ "number",
1083
+ "boolean",
1084
+ "null"
1085
+ ]
1086
+ },
1087
+ "$startsWith": {
1088
+ "type": "string",
1089
+ "minLength": 1
1090
+ },
1091
+ "$endsWith": {
1092
+ "type": "string",
1093
+ "minLength": 1
1094
+ },
1095
+ "$contains": {
1096
+ "type": "string",
1097
+ "minLength": 1
1098
+ },
1099
+ "$ci": {
1100
+ "type": "boolean"
1101
+ },
1102
+ "$in": {
1103
+ "type": "array",
1104
+ "maxItems": 100,
1105
+ "items": {
1106
+ "type": [
1107
+ "string",
1108
+ "number",
1109
+ "boolean"
1110
+ ]
1111
+ }
1112
+ },
1113
+ "$nin": {
1114
+ "type": "array",
1115
+ "maxItems": 100,
1116
+ "items": {
1117
+ "type": [
1118
+ "string",
1119
+ "number",
1120
+ "boolean"
1121
+ ]
1122
+ }
1123
+ }
1124
+ },
1125
+ "additionalProperties": false
1126
+ }
1127
+ ]
1128
+ },
1129
+ "connectedAt": {
1130
+ "oneOf": [
1131
+ {
1132
+ "type": [
1133
+ "string",
1134
+ "number",
1135
+ "boolean",
1136
+ "null"
1137
+ ]
1138
+ },
1139
+ {
1140
+ "type": "object",
1141
+ "properties": {
1142
+ "$eq": {
1143
+ "type": [
1144
+ "string",
1145
+ "number",
1146
+ "boolean",
1147
+ "null"
1148
+ ]
1149
+ },
1150
+ "$ne": {
1151
+ "type": [
1152
+ "string",
1153
+ "number",
1154
+ "boolean",
1155
+ "null"
1156
+ ]
1157
+ },
1158
+ "$gt": {
1159
+ "type": [
1160
+ "string",
1161
+ "number",
1162
+ "boolean",
1163
+ "null"
1164
+ ]
1165
+ },
1166
+ "$lt": {
1167
+ "type": [
1168
+ "string",
1169
+ "number",
1170
+ "boolean",
1171
+ "null"
1172
+ ]
1173
+ },
1174
+ "$gte": {
1175
+ "type": [
1176
+ "string",
1177
+ "number",
1178
+ "boolean",
1179
+ "null"
1180
+ ]
1181
+ },
1182
+ "$lte": {
1183
+ "type": [
1184
+ "string",
1185
+ "number",
1186
+ "boolean",
1187
+ "null"
1188
+ ]
1189
+ },
1190
+ "$startsWith": {
1191
+ "type": "string",
1192
+ "minLength": 1
1193
+ },
1194
+ "$endsWith": {
1195
+ "type": "string",
1196
+ "minLength": 1
1197
+ },
1198
+ "$contains": {
1199
+ "type": "string",
1200
+ "minLength": 1
1201
+ },
1202
+ "$ci": {
1203
+ "type": "boolean"
1204
+ },
1205
+ "$in": {
1206
+ "type": "array",
1207
+ "maxItems": 100,
1208
+ "items": {
1209
+ "type": [
1210
+ "string",
1211
+ "number",
1212
+ "boolean"
1213
+ ]
1214
+ }
1215
+ },
1216
+ "$nin": {
1217
+ "type": "array",
1218
+ "maxItems": 100,
1219
+ "items": {
1220
+ "type": [
1221
+ "string",
1222
+ "number",
1223
+ "boolean"
1224
+ ]
1225
+ }
1226
+ }
1227
+ },
1228
+ "additionalProperties": false
1229
+ }
1230
+ ]
1231
+ },
1232
+ "connectionStatus": {
1233
+ "oneOf": [
1234
+ {
1235
+ "type": [
1236
+ "string",
1237
+ "number",
1238
+ "boolean",
1239
+ "null"
1240
+ ]
1241
+ },
1242
+ {
1243
+ "type": "object",
1244
+ "properties": {
1245
+ "$eq": {
1246
+ "type": [
1247
+ "string",
1248
+ "number",
1249
+ "boolean",
1250
+ "null"
1251
+ ]
1252
+ },
1253
+ "$ne": {
1254
+ "type": [
1255
+ "string",
1256
+ "number",
1257
+ "boolean",
1258
+ "null"
1259
+ ]
1260
+ },
1261
+ "$gt": {
1262
+ "type": [
1263
+ "string",
1264
+ "number",
1265
+ "boolean",
1266
+ "null"
1267
+ ]
1268
+ },
1269
+ "$lt": {
1270
+ "type": [
1271
+ "string",
1272
+ "number",
1273
+ "boolean",
1274
+ "null"
1275
+ ]
1276
+ },
1277
+ "$gte": {
1278
+ "type": [
1279
+ "string",
1280
+ "number",
1281
+ "boolean",
1282
+ "null"
1283
+ ]
1284
+ },
1285
+ "$lte": {
1286
+ "type": [
1287
+ "string",
1288
+ "number",
1289
+ "boolean",
1290
+ "null"
1291
+ ]
1292
+ },
1293
+ "$startsWith": {
1294
+ "type": "string",
1295
+ "minLength": 1
1296
+ },
1297
+ "$endsWith": {
1298
+ "type": "string",
1299
+ "minLength": 1
1300
+ },
1301
+ "$contains": {
1302
+ "type": "string",
1303
+ "minLength": 1
1304
+ },
1305
+ "$ci": {
1306
+ "type": "boolean"
1307
+ },
1308
+ "$in": {
1309
+ "type": "array",
1310
+ "maxItems": 100,
1311
+ "items": {
1312
+ "type": [
1313
+ "string",
1314
+ "number",
1315
+ "boolean"
1316
+ ]
1317
+ }
1318
+ },
1319
+ "$nin": {
1320
+ "type": "array",
1321
+ "maxItems": 100,
1322
+ "items": {
1323
+ "type": [
1324
+ "string",
1325
+ "number",
1326
+ "boolean"
1327
+ ]
1328
+ }
1329
+ }
1330
+ },
1331
+ "additionalProperties": false
1332
+ }
1333
+ ]
1025
1334
  }
1026
1335
  },
1027
1336
  "additionalProperties": false
@@ -1026,6 +1026,315 @@
1026
1026
  "additionalProperties": false
1027
1027
  }
1028
1028
  ]
1029
+ },
1030
+ "disconnectedAt": {
1031
+ "oneOf": [
1032
+ {
1033
+ "type": [
1034
+ "string",
1035
+ "number",
1036
+ "boolean",
1037
+ "null"
1038
+ ]
1039
+ },
1040
+ {
1041
+ "type": "object",
1042
+ "properties": {
1043
+ "$eq": {
1044
+ "type": [
1045
+ "string",
1046
+ "number",
1047
+ "boolean",
1048
+ "null"
1049
+ ]
1050
+ },
1051
+ "$ne": {
1052
+ "type": [
1053
+ "string",
1054
+ "number",
1055
+ "boolean",
1056
+ "null"
1057
+ ]
1058
+ },
1059
+ "$gt": {
1060
+ "type": [
1061
+ "string",
1062
+ "number",
1063
+ "boolean",
1064
+ "null"
1065
+ ]
1066
+ },
1067
+ "$lt": {
1068
+ "type": [
1069
+ "string",
1070
+ "number",
1071
+ "boolean",
1072
+ "null"
1073
+ ]
1074
+ },
1075
+ "$gte": {
1076
+ "type": [
1077
+ "string",
1078
+ "number",
1079
+ "boolean",
1080
+ "null"
1081
+ ]
1082
+ },
1083
+ "$lte": {
1084
+ "type": [
1085
+ "string",
1086
+ "number",
1087
+ "boolean",
1088
+ "null"
1089
+ ]
1090
+ },
1091
+ "$startsWith": {
1092
+ "type": "string",
1093
+ "minLength": 1
1094
+ },
1095
+ "$endsWith": {
1096
+ "type": "string",
1097
+ "minLength": 1
1098
+ },
1099
+ "$contains": {
1100
+ "type": "string",
1101
+ "minLength": 1
1102
+ },
1103
+ "$ci": {
1104
+ "type": "boolean"
1105
+ },
1106
+ "$in": {
1107
+ "type": "array",
1108
+ "maxItems": 100,
1109
+ "items": {
1110
+ "type": [
1111
+ "string",
1112
+ "number",
1113
+ "boolean"
1114
+ ]
1115
+ }
1116
+ },
1117
+ "$nin": {
1118
+ "type": "array",
1119
+ "maxItems": 100,
1120
+ "items": {
1121
+ "type": [
1122
+ "string",
1123
+ "number",
1124
+ "boolean"
1125
+ ]
1126
+ }
1127
+ }
1128
+ },
1129
+ "additionalProperties": false
1130
+ }
1131
+ ]
1132
+ },
1133
+ "connectedAt": {
1134
+ "oneOf": [
1135
+ {
1136
+ "type": [
1137
+ "string",
1138
+ "number",
1139
+ "boolean",
1140
+ "null"
1141
+ ]
1142
+ },
1143
+ {
1144
+ "type": "object",
1145
+ "properties": {
1146
+ "$eq": {
1147
+ "type": [
1148
+ "string",
1149
+ "number",
1150
+ "boolean",
1151
+ "null"
1152
+ ]
1153
+ },
1154
+ "$ne": {
1155
+ "type": [
1156
+ "string",
1157
+ "number",
1158
+ "boolean",
1159
+ "null"
1160
+ ]
1161
+ },
1162
+ "$gt": {
1163
+ "type": [
1164
+ "string",
1165
+ "number",
1166
+ "boolean",
1167
+ "null"
1168
+ ]
1169
+ },
1170
+ "$lt": {
1171
+ "type": [
1172
+ "string",
1173
+ "number",
1174
+ "boolean",
1175
+ "null"
1176
+ ]
1177
+ },
1178
+ "$gte": {
1179
+ "type": [
1180
+ "string",
1181
+ "number",
1182
+ "boolean",
1183
+ "null"
1184
+ ]
1185
+ },
1186
+ "$lte": {
1187
+ "type": [
1188
+ "string",
1189
+ "number",
1190
+ "boolean",
1191
+ "null"
1192
+ ]
1193
+ },
1194
+ "$startsWith": {
1195
+ "type": "string",
1196
+ "minLength": 1
1197
+ },
1198
+ "$endsWith": {
1199
+ "type": "string",
1200
+ "minLength": 1
1201
+ },
1202
+ "$contains": {
1203
+ "type": "string",
1204
+ "minLength": 1
1205
+ },
1206
+ "$ci": {
1207
+ "type": "boolean"
1208
+ },
1209
+ "$in": {
1210
+ "type": "array",
1211
+ "maxItems": 100,
1212
+ "items": {
1213
+ "type": [
1214
+ "string",
1215
+ "number",
1216
+ "boolean"
1217
+ ]
1218
+ }
1219
+ },
1220
+ "$nin": {
1221
+ "type": "array",
1222
+ "maxItems": 100,
1223
+ "items": {
1224
+ "type": [
1225
+ "string",
1226
+ "number",
1227
+ "boolean"
1228
+ ]
1229
+ }
1230
+ }
1231
+ },
1232
+ "additionalProperties": false
1233
+ }
1234
+ ]
1235
+ },
1236
+ "connectionStatus": {
1237
+ "oneOf": [
1238
+ {
1239
+ "type": [
1240
+ "string",
1241
+ "number",
1242
+ "boolean",
1243
+ "null"
1244
+ ]
1245
+ },
1246
+ {
1247
+ "type": "object",
1248
+ "properties": {
1249
+ "$eq": {
1250
+ "type": [
1251
+ "string",
1252
+ "number",
1253
+ "boolean",
1254
+ "null"
1255
+ ]
1256
+ },
1257
+ "$ne": {
1258
+ "type": [
1259
+ "string",
1260
+ "number",
1261
+ "boolean",
1262
+ "null"
1263
+ ]
1264
+ },
1265
+ "$gt": {
1266
+ "type": [
1267
+ "string",
1268
+ "number",
1269
+ "boolean",
1270
+ "null"
1271
+ ]
1272
+ },
1273
+ "$lt": {
1274
+ "type": [
1275
+ "string",
1276
+ "number",
1277
+ "boolean",
1278
+ "null"
1279
+ ]
1280
+ },
1281
+ "$gte": {
1282
+ "type": [
1283
+ "string",
1284
+ "number",
1285
+ "boolean",
1286
+ "null"
1287
+ ]
1288
+ },
1289
+ "$lte": {
1290
+ "type": [
1291
+ "string",
1292
+ "number",
1293
+ "boolean",
1294
+ "null"
1295
+ ]
1296
+ },
1297
+ "$startsWith": {
1298
+ "type": "string",
1299
+ "minLength": 1
1300
+ },
1301
+ "$endsWith": {
1302
+ "type": "string",
1303
+ "minLength": 1
1304
+ },
1305
+ "$contains": {
1306
+ "type": "string",
1307
+ "minLength": 1
1308
+ },
1309
+ "$ci": {
1310
+ "type": "boolean"
1311
+ },
1312
+ "$in": {
1313
+ "type": "array",
1314
+ "maxItems": 100,
1315
+ "items": {
1316
+ "type": [
1317
+ "string",
1318
+ "number",
1319
+ "boolean"
1320
+ ]
1321
+ }
1322
+ },
1323
+ "$nin": {
1324
+ "type": "array",
1325
+ "maxItems": 100,
1326
+ "items": {
1327
+ "type": [
1328
+ "string",
1329
+ "number",
1330
+ "boolean"
1331
+ ]
1332
+ }
1333
+ }
1334
+ },
1335
+ "additionalProperties": false
1336
+ }
1337
+ ]
1029
1338
  }
1030
1339
  },
1031
1340
  "additionalProperties": false