losant_rest 1.10.4 → 1.13.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (224) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +1 -1
  3. data/README.md +2 -2
  4. data/docs/_schemas.md +35272 -19039
  5. data/docs/application.md +45 -4
  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/applicationTemplates.md +1 -1
  13. data/docs/applications.md +2 -2
  14. data/docs/auditLogs.md +1 -1
  15. data/docs/dashboards.md +1 -1
  16. data/docs/dataTable.md +1 -1
  17. data/docs/dataTableRows.md +1 -1
  18. data/docs/dataTables.md +2 -2
  19. data/docs/deviceRecipes.md +1 -1
  20. data/docs/devices.md +127 -3
  21. data/docs/edgeDeployments.md +1 -1
  22. data/docs/events.md +4 -4
  23. data/docs/experience.md +1 -1
  24. data/docs/experienceDomains.md +1 -1
  25. data/docs/experienceEndpoint.md +1 -0
  26. data/docs/experienceGroup.md +2 -0
  27. data/docs/experienceGroups.md +1 -1
  28. data/docs/experienceSlugs.md +1 -1
  29. data/docs/experienceUsers.md +1 -1
  30. data/docs/experienceVersion.md +3 -3
  31. data/docs/experienceVersions.md +3 -3
  32. data/docs/experienceView.md +4 -4
  33. data/docs/experienceViews.md +3 -3
  34. data/docs/file.md +5 -5
  35. data/docs/files.md +3 -3
  36. data/docs/flow.md +41 -0
  37. data/docs/flowVersions.md +46 -1
  38. data/docs/flows.md +5 -2
  39. data/docs/instance.md +166 -0
  40. data/docs/instanceApiToken.md +133 -0
  41. data/docs/instanceApiTokens.md +91 -0
  42. data/docs/instanceMember.md +133 -0
  43. data/docs/instanceMembers.md +91 -0
  44. data/docs/instanceOrg.md +133 -0
  45. data/docs/instanceOrgMember.md +139 -0
  46. data/docs/instanceOrgMembers.md +96 -0
  47. data/docs/instanceOrgs.md +91 -0
  48. data/docs/instances.md +50 -0
  49. data/docs/integration.md +1 -0
  50. data/docs/integrations.md +1 -1
  51. data/docs/notebooks.md +1 -1
  52. data/docs/orgs.md +1 -1
  53. data/docs/userApiToken.md +125 -0
  54. data/docs/userApiTokens.md +87 -0
  55. data/docs/webhook.md +1 -0
  56. data/docs/webhooks.md +1 -1
  57. data/lib/losant_rest.rb +15 -1
  58. data/lib/losant_rest/application.rb +53 -6
  59. data/lib/losant_rest/application_api_token.rb +1 -1
  60. data/lib/losant_rest/application_api_tokens.rb +2 -2
  61. data/lib/losant_rest/application_certificate.rb +1 -1
  62. data/lib/losant_rest/application_certificate_authorities.rb +1 -1
  63. data/lib/losant_rest/application_certificate_authority.rb +1 -1
  64. data/lib/losant_rest/application_certificates.rb +1 -1
  65. data/lib/losant_rest/application_dashboard.rb +176 -0
  66. data/lib/losant_rest/application_dashboards.rb +138 -0
  67. data/lib/losant_rest/application_key.rb +1 -1
  68. data/lib/losant_rest/application_keys.rb +4 -1
  69. data/lib/losant_rest/application_template.rb +1 -1
  70. data/lib/losant_rest/application_templates.rb +1 -1
  71. data/lib/losant_rest/applications.rb +2 -2
  72. data/lib/losant_rest/audit_log.rb +1 -1
  73. data/lib/losant_rest/audit_logs.rb +1 -1
  74. data/lib/losant_rest/auth.rb +1 -1
  75. data/lib/losant_rest/client.rb +59 -3
  76. data/lib/losant_rest/dashboard.rb +1 -1
  77. data/lib/losant_rest/dashboards.rb +1 -1
  78. data/lib/losant_rest/data.rb +1 -1
  79. data/lib/losant_rest/data_table.rb +2 -2
  80. data/lib/losant_rest/data_table_row.rb +1 -1
  81. data/lib/losant_rest/data_table_rows.rb +2 -2
  82. data/lib/losant_rest/data_tables.rb +2 -2
  83. data/lib/losant_rest/device.rb +1 -1
  84. data/lib/losant_rest/device_recipe.rb +1 -1
  85. data/lib/losant_rest/device_recipes.rb +1 -1
  86. data/lib/losant_rest/devices.rb +155 -3
  87. data/lib/losant_rest/edge_deployments.rb +1 -1
  88. data/lib/losant_rest/error.rb +1 -1
  89. data/lib/losant_rest/event.rb +1 -1
  90. data/lib/losant_rest/events.rb +4 -4
  91. data/lib/losant_rest/experience.rb +2 -2
  92. data/lib/losant_rest/experience_domain.rb +1 -1
  93. data/lib/losant_rest/experience_domains.rb +2 -2
  94. data/lib/losant_rest/experience_endpoint.rb +3 -1
  95. data/lib/losant_rest/experience_endpoints.rb +1 -1
  96. data/lib/losant_rest/experience_group.rb +5 -1
  97. data/lib/losant_rest/experience_groups.rb +1 -1
  98. data/lib/losant_rest/experience_slug.rb +1 -1
  99. data/lib/losant_rest/experience_slugs.rb +2 -2
  100. data/lib/losant_rest/experience_user.rb +1 -1
  101. data/lib/losant_rest/experience_users.rb +1 -1
  102. data/lib/losant_rest/experience_version.rb +4 -4
  103. data/lib/losant_rest/experience_versions.rb +3 -3
  104. data/lib/losant_rest/experience_view.rb +5 -5
  105. data/lib/losant_rest/experience_views.rb +3 -3
  106. data/lib/losant_rest/file.rb +5 -5
  107. data/lib/losant_rest/files.rb +3 -3
  108. data/lib/losant_rest/flow.rb +47 -1
  109. data/lib/losant_rest/flow_version.rb +1 -1
  110. data/lib/losant_rest/flow_versions.rb +54 -1
  111. data/lib/losant_rest/flows.rb +9 -1
  112. data/lib/losant_rest/instance.rb +226 -0
  113. data/lib/losant_rest/instance_api_token.rb +176 -0
  114. data/lib/losant_rest/instance_api_tokens.rb +136 -0
  115. data/lib/losant_rest/instance_member.rb +176 -0
  116. data/lib/losant_rest/instance_members.rb +134 -0
  117. data/lib/losant_rest/instance_org.rb +176 -0
  118. data/lib/losant_rest/instance_org_member.rb +182 -0
  119. data/lib/losant_rest/instance_org_members.rb +138 -0
  120. data/lib/losant_rest/instance_orgs.rb +139 -0
  121. data/lib/losant_rest/instances.rb +88 -0
  122. data/lib/losant_rest/integration.rb +3 -1
  123. data/lib/losant_rest/integrations.rb +1 -1
  124. data/lib/losant_rest/me.rb +2 -2
  125. data/lib/losant_rest/notebook.rb +1 -1
  126. data/lib/losant_rest/notebooks.rb +1 -1
  127. data/lib/losant_rest/org.rb +2 -2
  128. data/lib/losant_rest/org_invites.rb +1 -1
  129. data/lib/losant_rest/orgs.rb +1 -1
  130. data/lib/losant_rest/user_api_token.rb +170 -0
  131. data/lib/losant_rest/user_api_tokens.rb +132 -0
  132. data/lib/losant_rest/utils.rb +1 -1
  133. data/lib/losant_rest/version.rb +2 -2
  134. data/lib/losant_rest/webhook.rb +3 -1
  135. data/lib/losant_rest/webhooks.rb +1 -1
  136. data/schemas/advancedApplicationKeyQuery.json +1082 -0
  137. data/schemas/advancedDeviceQuery.json +309 -0
  138. data/schemas/advancedFlowByVersionQuery.json +665 -0
  139. data/schemas/advancedFlowQuery.json +883 -0
  140. data/schemas/advancedFlowVersionQuery.json +925 -0
  141. data/schemas/apiToken.json +2 -1
  142. data/schemas/apiTokenPost.json +420 -0
  143. data/schemas/apiTokens.json +4 -2
  144. data/schemas/applicationApiTokenPost.json +11 -0
  145. data/schemas/applicationDashboardPost.json +5687 -0
  146. data/schemas/applicationGlobalPatch.json +33 -0
  147. data/schemas/attributeNamesResponse.json +14 -0
  148. data/schemas/auditLog.json +4 -0
  149. data/schemas/auditLogFilter.json +4 -0
  150. data/schemas/auditLogs.json +4 -0
  151. data/schemas/authedUser.json +3 -0
  152. data/schemas/bulkDeleteResponse.json +12 -0
  153. data/schemas/changePassword.json +1 -1
  154. data/schemas/dashboard.json +72 -17
  155. data/schemas/dashboardPatch.json +72 -17
  156. data/schemas/dashboardPost.json +72 -17
  157. data/schemas/dashboardSendReport.json +4 -0
  158. data/schemas/dashboards.json +72 -17
  159. data/schemas/deviceAttributeDataTypeFilter.json +29 -0
  160. data/schemas/deviceClassFilter.json +1 -2
  161. data/schemas/devicesDeletePost.json +309 -0
  162. data/schemas/devicesExportPost.json +309 -0
  163. data/schemas/devicesPatch.json +309 -0
  164. data/schemas/devicesRemoveDataPost.json +309 -0
  165. data/schemas/experienceGroup.json +6 -0
  166. data/schemas/experienceGroups.json +6 -0
  167. data/schemas/experienceLinkedResources.json +57 -0
  168. data/schemas/experienceVersion.json +9 -0
  169. data/schemas/experienceVersionPatch.json +9 -0
  170. data/schemas/experienceVersions.json +9 -0
  171. data/schemas/filePost.json +8 -2
  172. data/schemas/files.json +3 -0
  173. data/schemas/flow.json +19 -0
  174. data/schemas/flowPatch.json +19 -0
  175. data/schemas/flowPost.json +19 -0
  176. data/schemas/flowStorageMetadata.json +13 -0
  177. data/schemas/flowVersion.json +38 -0
  178. data/schemas/flowVersionPost.json +19 -0
  179. data/schemas/flowVersions.json +38 -0
  180. data/schemas/flowVersionsDeletePost.json +941 -0
  181. data/schemas/flows.json +19 -0
  182. data/schemas/flowsImportPost.json +38 -0
  183. data/schemas/flowsImportResult.json +57 -0
  184. data/schemas/githubLogin.json +64 -1
  185. data/schemas/historicalSummaries.json +43 -0
  186. data/schemas/historicalSummary.json +458 -0
  187. data/schemas/instance.json +192 -0
  188. data/schemas/instanceMember.json +37 -0
  189. data/schemas/instanceMemberPatch.json +17 -0
  190. data/schemas/instanceMemberPost.json +22 -0
  191. data/schemas/instanceMembers.json +69 -0
  192. data/schemas/instanceOrg.json +133 -0
  193. data/schemas/instanceOrgMember.json +37 -0
  194. data/schemas/instanceOrgMemberPatch.json +69 -0
  195. data/schemas/instanceOrgMemberPost.json +161 -0
  196. data/schemas/instanceOrgMembers.json +34 -0
  197. data/schemas/instanceOrgPatch.json +122 -0
  198. data/schemas/instanceOrgPost.json +291 -0
  199. data/schemas/instanceOrgs.json +174 -0
  200. data/schemas/instancePatch.json +67 -0
  201. data/schemas/instanceReportOptionsPost.json +41 -0
  202. data/schemas/instances.json +43 -0
  203. data/schemas/integration.json +3 -0
  204. data/schemas/integrationPatch.json +3 -0
  205. data/schemas/integrationPost.json +3 -0
  206. data/schemas/integrations.json +3 -0
  207. data/schemas/me.json +3 -0
  208. data/schemas/mePatch.json +1 -1
  209. data/schemas/multiDeviceCommand.json +309 -0
  210. data/schemas/notebook.json +22 -0
  211. data/schemas/notebookExecutionLogs.json +7 -0
  212. data/schemas/notebookPatch.json +7 -0
  213. data/schemas/notebookPost.json +7 -0
  214. data/schemas/notebooks.json +22 -0
  215. data/schemas/orgPatch.json +0 -9
  216. data/schemas/passwordResetFinish.json +1 -1
  217. data/schemas/payloadStats.json +110 -0
  218. data/schemas/tagKeysResponse.json +14 -0
  219. data/schemas/tagValuesResponse.json +19 -0
  220. data/schemas/userCredentials.json +64 -1
  221. data/schemas/userPost.json +65 -2
  222. data/schemas/validateContextError.json +34 -0
  223. data/schemas/validateContextSuccess.json +34 -0
  224. metadata +64 -3
@@ -0,0 +1,174 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-04/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "items": {
6
+ "type": "array",
7
+ "items": {
8
+ "title": "Instance Organization",
9
+ "description": "Schema for the body of an Organization owned by an instance",
10
+ "type": "object",
11
+ "properties": {
12
+ "name": {
13
+ "type": "string",
14
+ "minLength": 1,
15
+ "maxLength": 255
16
+ },
17
+ "id": {
18
+ "type": "string",
19
+ "pattern": "^[A-Fa-f\\d]{24}$"
20
+ },
21
+ "instanceId": {
22
+ "type": "string",
23
+ "pattern": "^[A-Fa-f\\d]{24}$"
24
+ },
25
+ "description": {
26
+ "type": "string",
27
+ "maxLength": 32767
28
+ },
29
+ "iconColor": {
30
+ "type": "string",
31
+ "maxLength": 64
32
+ },
33
+ "limits": {
34
+ "apitoken": {
35
+ "type": "number"
36
+ },
37
+ "application": {
38
+ "type": "number"
39
+ },
40
+ "applicationkey": {
41
+ "type": "number"
42
+ },
43
+ "dashboard": {
44
+ "type": "number"
45
+ },
46
+ "datatable": {
47
+ "type": "number"
48
+ },
49
+ "device": {
50
+ "type": "number"
51
+ },
52
+ "devicerecipe": {
53
+ "type": "number"
54
+ },
55
+ "experiencedomain": {
56
+ "type": "number"
57
+ },
58
+ "experienceendpoint": {
59
+ "type": "number"
60
+ },
61
+ "experiencegroup": {
62
+ "type": "number"
63
+ },
64
+ "experienceslug": {
65
+ "type": "number"
66
+ },
67
+ "experienceuser": {
68
+ "type": "number"
69
+ },
70
+ "experienceversion": {
71
+ "type": "number"
72
+ },
73
+ "experienceview": {
74
+ "type": "number"
75
+ },
76
+ "file": {
77
+ "type": "number"
78
+ },
79
+ "flow": {
80
+ "type": "number"
81
+ },
82
+ "integration": {
83
+ "type": "number"
84
+ },
85
+ "notebook": {
86
+ "type": "number"
87
+ },
88
+ "webhook": {
89
+ "type": "number"
90
+ },
91
+ "dataTTL": {
92
+ "type": "number"
93
+ },
94
+ "member": {
95
+ "type": "number"
96
+ },
97
+ "payload": {
98
+ "type": "number"
99
+ },
100
+ "notebookMinutesPerRun": {
101
+ "type": "number"
102
+ },
103
+ "notebookMinutesPerMonth": {
104
+ "type": "number"
105
+ },
106
+ "notebookInParallel": {
107
+ "type": "number"
108
+ }
109
+ },
110
+ "whitelistedEmailDomains": {
111
+ "type": "array",
112
+ "items": {
113
+ "type": "string",
114
+ "maxLength": 45,
115
+ "minLength": 3
116
+ }
117
+ },
118
+ "auditLogEnabled": {
119
+ "type": "boolean"
120
+ },
121
+ "disabledAt": {
122
+ "oneOf": [
123
+ {
124
+ "type": "boolean",
125
+ "enum": [
126
+ false
127
+ ]
128
+ },
129
+ {
130
+ "type": "string",
131
+ "format": "date-time"
132
+ }
133
+ ]
134
+ }
135
+ },
136
+ "additionalProperties": false,
137
+ "required": [
138
+ "name"
139
+ ]
140
+ }
141
+ },
142
+ "count": {
143
+ "type": "integer"
144
+ },
145
+ "totalCount": {
146
+ "type": "integer"
147
+ },
148
+ "perPage": {
149
+ "type": "integer"
150
+ },
151
+ "page": {
152
+ "type": "integer"
153
+ },
154
+ "filter": {
155
+ "type": "string"
156
+ },
157
+ "filterField": {
158
+ "type": "string"
159
+ },
160
+ "sortField": {
161
+ "type": "string"
162
+ },
163
+ "sortDirection": {
164
+ "type": "string",
165
+ "enum": [
166
+ "asc",
167
+ "desc",
168
+ "ASC",
169
+ "DESC",
170
+ ""
171
+ ]
172
+ }
173
+ }
174
+ }
@@ -0,0 +1,67 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-04/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "reportConfigs": {
6
+ "type": "array",
7
+ "items": {
8
+ "type": "object",
9
+ "max": 10,
10
+ "properties": {
11
+ "id": {
12
+ "type": "string",
13
+ "maxLength": 48
14
+ },
15
+ "cron": {
16
+ "type": "string",
17
+ "maxLength": 255
18
+ },
19
+ "timezone": {
20
+ "type": "string",
21
+ "maxLength": 255
22
+ },
23
+ "emails": {
24
+ "type": "array",
25
+ "max": 10,
26
+ "items": {
27
+ "type": "string",
28
+ "format": "email",
29
+ "maxLength": 1024
30
+ }
31
+ },
32
+ "callbackUrl": {
33
+ "type": "string",
34
+ "maxLength": 1024
35
+ },
36
+ "resourceGroupBy": {
37
+ "type": "string",
38
+ "enum": [
39
+ "application",
40
+ "organization"
41
+ ]
42
+ },
43
+ "dateGroupBy": {
44
+ "type": "string",
45
+ "enum": [
46
+ "day",
47
+ "month"
48
+ ]
49
+ },
50
+ "periods": {
51
+ "type": "integer",
52
+ "minimum": 1,
53
+ "maximum": 90
54
+ },
55
+ "includeSandbox": {
56
+ "type": "boolean"
57
+ }
58
+ },
59
+ "required": [
60
+ "cron"
61
+ ],
62
+ "additionalProperties": false
63
+ }
64
+ }
65
+ },
66
+ "additionalProperties": false
67
+ }
@@ -0,0 +1,41 @@
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
+ "callbackUrl": {
11
+ "type": "string",
12
+ "maxLength": 1024
13
+ },
14
+ "resourceGroupBy": {
15
+ "type": "string",
16
+ "enum": [
17
+ "application",
18
+ "organization"
19
+ ]
20
+ },
21
+ "dateGroupBy": {
22
+ "type": "string",
23
+ "enum": [
24
+ "day",
25
+ "month"
26
+ ]
27
+ },
28
+ "includeSandbox": {
29
+ "type": "boolean"
30
+ },
31
+ "start": {
32
+ "type": "string",
33
+ "format": "date-time"
34
+ },
35
+ "end": {
36
+ "type": "string",
37
+ "format": "date-time"
38
+ }
39
+ },
40
+ "additionalProperties": false
41
+ }
@@ -0,0 +1,43 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-04/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "items": {
6
+ "type": "array",
7
+ "items": {
8
+ "type": "#/definitions/instance"
9
+ }
10
+ },
11
+ "count": {
12
+ "type": "integer"
13
+ },
14
+ "totalCount": {
15
+ "type": "integer"
16
+ },
17
+ "perPage": {
18
+ "type": "integer"
19
+ },
20
+ "page": {
21
+ "type": "integer"
22
+ },
23
+ "filter": {
24
+ "type": "string"
25
+ },
26
+ "filterField": {
27
+ "type": "string"
28
+ },
29
+ "sortField": {
30
+ "type": "string"
31
+ },
32
+ "sortDirection": {
33
+ "type": "string",
34
+ "enum": [
35
+ "asc",
36
+ "desc",
37
+ "ASC",
38
+ "DESC",
39
+ ""
40
+ ]
41
+ }
42
+ }
43
+ }
@@ -121,6 +121,9 @@
121
121
  "type": "string",
122
122
  "maxLength": 32767,
123
123
  "minLength": 4
124
+ },
125
+ "disableSSLVerification": {
126
+ "type": "boolean"
124
127
  }
125
128
  },
126
129
  "additionalProperties": false,
@@ -101,6 +101,9 @@
101
101
  "type": "string",
102
102
  "maxLength": 32767,
103
103
  "minLength": 4
104
+ },
105
+ "disableSSLVerification": {
106
+ "type": "boolean"
104
107
  }
105
108
  },
106
109
  "additionalProperties": false,
@@ -101,6 +101,9 @@
101
101
  "type": "string",
102
102
  "maxLength": 32767,
103
103
  "minLength": 4
104
+ },
105
+ "disableSSLVerification": {
106
+ "type": "boolean"
104
107
  }
105
108
  },
106
109
  "additionalProperties": false,
@@ -128,6 +128,9 @@
128
128
  "type": "string",
129
129
  "maxLength": 32767,
130
130
  "minLength": 4
131
+ },
132
+ "disableSSLVerification": {
133
+ "type": "boolean"
131
134
  }
132
135
  },
133
136
  "additionalProperties": false,
data/schemas/me.json CHANGED
@@ -64,6 +64,9 @@
64
64
  "emailVerified": {
65
65
  "type": "boolean"
66
66
  },
67
+ "needsToVerifyEmail": {
68
+ "type": "boolean"
69
+ },
67
70
  "twoFactorAuthEnabled": {
68
71
  "type": "boolean"
69
72
  },
data/schemas/mePatch.json CHANGED
@@ -41,7 +41,7 @@
41
41
  "type": "string",
42
42
  "minLength": 12,
43
43
  "maxLength": 2048,
44
- "pattern": "^(?=.*[A-Z])(?=.*[^A-z0-9])(?=.*[0-9])(?=.*[a-z]).{12,}$"
44
+ "pattern": "^(?=.*[A-Z])(?=.*[^A-Za-z0-9])(?=.*[0-9])(?=.*[a-z]).{12,}$"
45
45
  },
46
46
  "tokenCutoff": {
47
47
  "type": "string",
@@ -1072,6 +1072,315 @@
1072
1072
  "additionalProperties": false
1073
1073
  }
1074
1074
  ]
1075
+ },
1076
+ "disconnectedAt": {
1077
+ "oneOf": [
1078
+ {
1079
+ "type": [
1080
+ "string",
1081
+ "number",
1082
+ "boolean",
1083
+ "null"
1084
+ ]
1085
+ },
1086
+ {
1087
+ "type": "object",
1088
+ "properties": {
1089
+ "$eq": {
1090
+ "type": [
1091
+ "string",
1092
+ "number",
1093
+ "boolean",
1094
+ "null"
1095
+ ]
1096
+ },
1097
+ "$ne": {
1098
+ "type": [
1099
+ "string",
1100
+ "number",
1101
+ "boolean",
1102
+ "null"
1103
+ ]
1104
+ },
1105
+ "$gt": {
1106
+ "type": [
1107
+ "string",
1108
+ "number",
1109
+ "boolean",
1110
+ "null"
1111
+ ]
1112
+ },
1113
+ "$lt": {
1114
+ "type": [
1115
+ "string",
1116
+ "number",
1117
+ "boolean",
1118
+ "null"
1119
+ ]
1120
+ },
1121
+ "$gte": {
1122
+ "type": [
1123
+ "string",
1124
+ "number",
1125
+ "boolean",
1126
+ "null"
1127
+ ]
1128
+ },
1129
+ "$lte": {
1130
+ "type": [
1131
+ "string",
1132
+ "number",
1133
+ "boolean",
1134
+ "null"
1135
+ ]
1136
+ },
1137
+ "$startsWith": {
1138
+ "type": "string",
1139
+ "minLength": 1
1140
+ },
1141
+ "$endsWith": {
1142
+ "type": "string",
1143
+ "minLength": 1
1144
+ },
1145
+ "$contains": {
1146
+ "type": "string",
1147
+ "minLength": 1
1148
+ },
1149
+ "$ci": {
1150
+ "type": "boolean"
1151
+ },
1152
+ "$in": {
1153
+ "type": "array",
1154
+ "maxItems": 100,
1155
+ "items": {
1156
+ "type": [
1157
+ "string",
1158
+ "number",
1159
+ "boolean"
1160
+ ]
1161
+ }
1162
+ },
1163
+ "$nin": {
1164
+ "type": "array",
1165
+ "maxItems": 100,
1166
+ "items": {
1167
+ "type": [
1168
+ "string",
1169
+ "number",
1170
+ "boolean"
1171
+ ]
1172
+ }
1173
+ }
1174
+ },
1175
+ "additionalProperties": false
1176
+ }
1177
+ ]
1178
+ },
1179
+ "connectedAt": {
1180
+ "oneOf": [
1181
+ {
1182
+ "type": [
1183
+ "string",
1184
+ "number",
1185
+ "boolean",
1186
+ "null"
1187
+ ]
1188
+ },
1189
+ {
1190
+ "type": "object",
1191
+ "properties": {
1192
+ "$eq": {
1193
+ "type": [
1194
+ "string",
1195
+ "number",
1196
+ "boolean",
1197
+ "null"
1198
+ ]
1199
+ },
1200
+ "$ne": {
1201
+ "type": [
1202
+ "string",
1203
+ "number",
1204
+ "boolean",
1205
+ "null"
1206
+ ]
1207
+ },
1208
+ "$gt": {
1209
+ "type": [
1210
+ "string",
1211
+ "number",
1212
+ "boolean",
1213
+ "null"
1214
+ ]
1215
+ },
1216
+ "$lt": {
1217
+ "type": [
1218
+ "string",
1219
+ "number",
1220
+ "boolean",
1221
+ "null"
1222
+ ]
1223
+ },
1224
+ "$gte": {
1225
+ "type": [
1226
+ "string",
1227
+ "number",
1228
+ "boolean",
1229
+ "null"
1230
+ ]
1231
+ },
1232
+ "$lte": {
1233
+ "type": [
1234
+ "string",
1235
+ "number",
1236
+ "boolean",
1237
+ "null"
1238
+ ]
1239
+ },
1240
+ "$startsWith": {
1241
+ "type": "string",
1242
+ "minLength": 1
1243
+ },
1244
+ "$endsWith": {
1245
+ "type": "string",
1246
+ "minLength": 1
1247
+ },
1248
+ "$contains": {
1249
+ "type": "string",
1250
+ "minLength": 1
1251
+ },
1252
+ "$ci": {
1253
+ "type": "boolean"
1254
+ },
1255
+ "$in": {
1256
+ "type": "array",
1257
+ "maxItems": 100,
1258
+ "items": {
1259
+ "type": [
1260
+ "string",
1261
+ "number",
1262
+ "boolean"
1263
+ ]
1264
+ }
1265
+ },
1266
+ "$nin": {
1267
+ "type": "array",
1268
+ "maxItems": 100,
1269
+ "items": {
1270
+ "type": [
1271
+ "string",
1272
+ "number",
1273
+ "boolean"
1274
+ ]
1275
+ }
1276
+ }
1277
+ },
1278
+ "additionalProperties": false
1279
+ }
1280
+ ]
1281
+ },
1282
+ "connectionStatus": {
1283
+ "oneOf": [
1284
+ {
1285
+ "type": [
1286
+ "string",
1287
+ "number",
1288
+ "boolean",
1289
+ "null"
1290
+ ]
1291
+ },
1292
+ {
1293
+ "type": "object",
1294
+ "properties": {
1295
+ "$eq": {
1296
+ "type": [
1297
+ "string",
1298
+ "number",
1299
+ "boolean",
1300
+ "null"
1301
+ ]
1302
+ },
1303
+ "$ne": {
1304
+ "type": [
1305
+ "string",
1306
+ "number",
1307
+ "boolean",
1308
+ "null"
1309
+ ]
1310
+ },
1311
+ "$gt": {
1312
+ "type": [
1313
+ "string",
1314
+ "number",
1315
+ "boolean",
1316
+ "null"
1317
+ ]
1318
+ },
1319
+ "$lt": {
1320
+ "type": [
1321
+ "string",
1322
+ "number",
1323
+ "boolean",
1324
+ "null"
1325
+ ]
1326
+ },
1327
+ "$gte": {
1328
+ "type": [
1329
+ "string",
1330
+ "number",
1331
+ "boolean",
1332
+ "null"
1333
+ ]
1334
+ },
1335
+ "$lte": {
1336
+ "type": [
1337
+ "string",
1338
+ "number",
1339
+ "boolean",
1340
+ "null"
1341
+ ]
1342
+ },
1343
+ "$startsWith": {
1344
+ "type": "string",
1345
+ "minLength": 1
1346
+ },
1347
+ "$endsWith": {
1348
+ "type": "string",
1349
+ "minLength": 1
1350
+ },
1351
+ "$contains": {
1352
+ "type": "string",
1353
+ "minLength": 1
1354
+ },
1355
+ "$ci": {
1356
+ "type": "boolean"
1357
+ },
1358
+ "$in": {
1359
+ "type": "array",
1360
+ "maxItems": 100,
1361
+ "items": {
1362
+ "type": [
1363
+ "string",
1364
+ "number",
1365
+ "boolean"
1366
+ ]
1367
+ }
1368
+ },
1369
+ "$nin": {
1370
+ "type": "array",
1371
+ "maxItems": 100,
1372
+ "items": {
1373
+ "type": [
1374
+ "string",
1375
+ "number",
1376
+ "boolean"
1377
+ ]
1378
+ }
1379
+ }
1380
+ },
1381
+ "additionalProperties": false
1382
+ }
1383
+ ]
1075
1384
  }
1076
1385
  },
1077
1386
  "additionalProperties": false