losant_rest 2.1.0 → 2.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (202) hide show
  1. checksums.yaml +4 -4
  2. data/docs/_schemas.md +142339 -68894
  3. data/docs/application.md +6 -6
  4. data/docs/applicationCertificates.md +3 -2
  5. data/docs/applicationDashboard.md +1 -1
  6. data/docs/applications.md +1 -1
  7. data/docs/auth.md +1 -1
  8. data/docs/dashboard.md +1 -1
  9. data/docs/dashboards.md +1 -0
  10. data/docs/dataTableRow.md +1 -1
  11. data/docs/dataTableRows.md +3 -3
  12. data/docs/device.md +1 -1
  13. data/docs/edgeDeployments.md +3 -3
  14. data/docs/embeddedDeployments.md +3 -3
  15. data/docs/experience.md +1 -1
  16. data/docs/file.md +4 -4
  17. data/docs/files.md +1 -1
  18. data/docs/flowVersions.md +1 -1
  19. data/docs/instanceApiTokens.md +1 -1
  20. data/docs/instanceMember.md +1 -1
  21. data/docs/instanceOrg.md +1 -1
  22. data/docs/instanceOrgInvite.md +2 -2
  23. data/docs/instanceOrgInvites.md +1 -1
  24. data/docs/instanceOrgMembers.md +2 -1
  25. data/docs/instanceOrgs.md +1 -1
  26. data/docs/me.md +1 -1
  27. data/docs/notebook.md +1 -1
  28. data/docs/org.md +1 -1
  29. data/docs/privateFile.md +4 -4
  30. data/docs/privateFiles.md +1 -1
  31. data/docs/resourceJob.md +2 -2
  32. data/docs/userApiTokens.md +2 -2
  33. data/lib/platform_rest/application.rb +1 -1
  34. data/lib/platform_rest/application_certificates.rb +5 -2
  35. data/lib/platform_rest/application_dashboard.rb +1 -1
  36. data/lib/platform_rest/client.rb +2 -2
  37. data/lib/platform_rest/dashboard.rb +1 -1
  38. data/lib/platform_rest/dashboards.rb +1 -0
  39. data/lib/platform_rest/data_table_row.rb +1 -1
  40. data/lib/platform_rest/data_table_rows.rb +3 -3
  41. data/lib/platform_rest/device.rb +1 -1
  42. data/lib/platform_rest/edge_deployments.rb +3 -3
  43. data/lib/platform_rest/embedded_deployments.rb +3 -3
  44. data/lib/platform_rest/experience.rb +1 -1
  45. data/lib/platform_rest/file.rb +2 -2
  46. data/lib/platform_rest/instance_api_tokens.rb +1 -1
  47. data/lib/platform_rest/instance_member.rb +1 -1
  48. data/lib/platform_rest/instance_org.rb +1 -1
  49. data/lib/platform_rest/instance_org_invite.rb +2 -2
  50. data/lib/platform_rest/instance_org_invites.rb +2 -2
  51. data/lib/platform_rest/instance_org_members.rb +2 -1
  52. data/lib/platform_rest/instance_orgs.rb +1 -1
  53. data/lib/platform_rest/me.rb +1 -1
  54. data/lib/platform_rest/notebook.rb +1 -1
  55. data/lib/platform_rest/org.rb +1 -1
  56. data/lib/platform_rest/private_file.rb +2 -2
  57. data/lib/platform_rest/resource_job.rb +2 -2
  58. data/lib/platform_rest/user_api_tokens.rb +2 -2
  59. data/lib/platform_rest/version.rb +1 -1
  60. data/schemas/advancedApplicationCertQuery.json +1885 -0
  61. data/schemas/advancedApplicationKeyQuery.json +763 -763
  62. data/schemas/apiToken.json +10 -1
  63. data/schemas/apiTokenPost.json +4 -0
  64. data/schemas/apiTokens.json +20 -2
  65. data/schemas/application.json +15 -2
  66. data/schemas/applicationCertificate.json +90 -58
  67. data/schemas/applicationCertificateAuthorities.json +24 -0
  68. data/schemas/applicationCertificateAuthority.json +24 -0
  69. data/schemas/applicationCertificatePatch.json +32 -4
  70. data/schemas/applicationCertificatePost.json +28 -30
  71. data/schemas/applicationCertificates.json +90 -58
  72. data/schemas/applicationCreationByTemplateResult.json +15 -2
  73. data/schemas/applicationDashboardPost.json +315 -133
  74. data/schemas/applicationImportExecutions.json +3 -5
  75. data/schemas/applicationImportResult.json +674 -0
  76. data/schemas/applicationJobLog.json +129 -123
  77. data/schemas/applicationJobLogs.json +129 -123
  78. data/schemas/applicationKey.json +41 -41
  79. data/schemas/applicationKeyPatch.json +4 -4
  80. data/schemas/applicationKeyPost.json +36 -29
  81. data/schemas/applicationKeys.json +41 -41
  82. data/schemas/applicationSearchResult.json +10 -10
  83. data/schemas/applicationTemplates.json +9 -2
  84. data/schemas/applications.json +15 -2
  85. data/schemas/auditLog.json +2 -6
  86. data/schemas/auditLogs.json +2 -6
  87. data/schemas/authedDevice.json +3 -0
  88. data/schemas/credential.json +7 -0
  89. data/schemas/credentialLinkedResources.json +19724 -344
  90. data/schemas/credentialPatch.json +3 -0
  91. data/schemas/credentialPost.json +3 -0
  92. data/schemas/credentials.json +7 -0
  93. data/schemas/dashboard.json +335 -133
  94. data/schemas/dashboardBlockSuggestCodePost.json +19 -0
  95. data/schemas/dashboardPatch.json +315 -133
  96. data/schemas/dashboardPost.json +315 -133
  97. data/schemas/dashboardUpdateEventsResult.json +266 -0
  98. data/schemas/dashboards.json +335 -133
  99. data/schemas/dataTable.json +11 -0
  100. data/schemas/dataTableRowPatch.json +16 -0
  101. data/schemas/dataTableRowPost.json +39 -0
  102. data/schemas/dataTableRowPostResult.json +54 -0
  103. data/schemas/dataTables.json +11 -0
  104. data/schemas/device.json +259 -107
  105. data/schemas/deviceConnectionStatus.json +4 -0
  106. data/schemas/deviceLog.json +3 -0
  107. data/schemas/deviceRecipe.json +259 -108
  108. data/schemas/deviceRecipes.json +259 -108
  109. data/schemas/devices.json +287 -116
  110. data/schemas/edgeDeploymentRelease.json +4252 -39
  111. data/schemas/edgeDeployments.json +28 -0
  112. data/schemas/embeddedDeploymentRelease.json +2073 -0
  113. data/schemas/embeddedDeployments.json +25 -0
  114. data/schemas/error.json +14 -0
  115. data/schemas/event.json +4 -1
  116. data/schemas/eventPlusNewCount.json +4 -1
  117. data/schemas/events.json +4 -1
  118. data/schemas/experienceDomains.json +19 -0
  119. data/schemas/experienceEndpoint.json +19 -0
  120. data/schemas/experienceEndpoints.json +24 -0
  121. data/schemas/experienceLinkedResources.json +19728 -313
  122. data/schemas/experienceSlugs.json +19 -0
  123. data/schemas/experienceUsers.json +16 -2
  124. data/schemas/experienceVersions.json +25 -0
  125. data/schemas/experienceView.json +5 -0
  126. data/schemas/experienceViews.json +10 -0
  127. data/schemas/fileUploadPostResponse.json +92 -103
  128. data/schemas/files.json +5 -1
  129. data/schemas/flow.json +211 -46
  130. data/schemas/flowPatch.json +199 -46
  131. data/schemas/flowPost.json +199 -46
  132. data/schemas/flowStorageMetadata.json +2 -2
  133. data/schemas/flowVersion.json +450 -101
  134. data/schemas/flowVersionPost.json +199 -46
  135. data/schemas/flowVersions.json +9903 -113
  136. data/schemas/flows.json +9637 -46
  137. data/schemas/flowsImportPost.json +398 -92
  138. data/schemas/flowsImportResult.json +661 -147
  139. data/schemas/githubLogin.json +4 -0
  140. data/schemas/historicalSummaries.json +3 -2
  141. data/schemas/historicalSummary.json +3 -2
  142. data/schemas/instance.json +6 -0
  143. data/schemas/instanceAuditLog.json +2 -6
  144. data/schemas/instanceAuditLogs.json +90 -1
  145. data/schemas/instanceCustomNode.json +41 -2
  146. data/schemas/instanceCustomNodePatch.json +59 -6
  147. data/schemas/instanceCustomNodePost.json +59 -6
  148. data/schemas/instanceCustomNodes.json +41 -2
  149. data/schemas/instanceOrg.json +16 -1
  150. data/schemas/instanceOrgEntitlement.json +182 -0
  151. data/schemas/instanceOrgEntitlementSync.json +64 -0
  152. data/schemas/instanceOrgInvite.json +102 -0
  153. data/schemas/instanceOrgInviteSent.json +12 -0
  154. data/schemas/instanceOrgInvites.json +145 -0
  155. data/schemas/instanceOrgMember.json +52 -0
  156. data/schemas/instanceOrgMembers.json +105 -1
  157. data/schemas/instanceOrgPost.json +1 -1
  158. data/schemas/instanceOrgs.json +17 -2
  159. data/schemas/instanceSandbox.json +5 -1
  160. data/schemas/instanceSandboxes.json +9 -1
  161. data/schemas/instances.json +6 -0
  162. data/schemas/integration.json +38 -39
  163. data/schemas/integrationPatch.json +8 -8
  164. data/schemas/integrationPost.json +8 -8
  165. data/schemas/integrations.json +38 -39
  166. data/schemas/jobEnqueuedResult.json +1 -1
  167. data/schemas/me.json +685 -88
  168. data/schemas/meEntitlements.json +194 -0
  169. data/schemas/notebook.json +33 -21
  170. data/schemas/notebookExecutionLogs.json +20 -0
  171. data/schemas/notebookMinuteCounts.json +1 -1
  172. data/schemas/notebookPatch.json +29 -21
  173. data/schemas/notebookPost.json +29 -21
  174. data/schemas/notebooks.json +33 -21
  175. data/schemas/notificationRule.json +4 -0
  176. data/schemas/notificationRules.json +8 -0
  177. data/schemas/org.json +30 -1
  178. data/schemas/orgInvites.json +77 -82
  179. data/schemas/orgInvitesUser.json +44 -47
  180. data/schemas/orgPost.json +4 -0
  181. data/schemas/orgs.json +30 -1
  182. data/schemas/paletteResponse.json +372 -364
  183. data/schemas/periodSummaries.json +1 -1
  184. data/schemas/recentItemList.json +226 -27
  185. data/schemas/resourceJob.json +33 -9
  186. data/schemas/resourceJobExecutionLogs.json +34 -20
  187. data/schemas/resourceJobExecutionOptions.json +1 -1
  188. data/schemas/resourceJobPatch.json +9 -9
  189. data/schemas/resourceJobPost.json +9 -9
  190. data/schemas/resourceJobs.json +33 -9
  191. data/schemas/samlResponse.json +4 -0
  192. data/schemas/tagValuesResponse.json +1 -2
  193. data/schemas/templateKeywords.json +1 -0
  194. data/schemas/timeSeriesData.json +36 -4
  195. data/schemas/userCredentials.json +4 -0
  196. data/schemas/userOauthToken.json +4 -1
  197. data/schemas/userOauthTokenPost.json +1 -1
  198. data/schemas/userOauthTokens.json +4 -1
  199. data/schemas/userPost.json +4 -0
  200. data/schemas/validateContextError.json +99 -24
  201. data/schemas/validateContextSuccess.json +99 -24
  202. metadata +13 -1
@@ -62,6 +62,26 @@
62
62
  "type": "string",
63
63
  "maxLength": 64
64
64
  },
65
+ "_currentRole": {
66
+ "type": "string",
67
+ "enum": [
68
+ "admin",
69
+ "edit",
70
+ "collaborate",
71
+ "view",
72
+ "public",
73
+ "solutionView"
74
+ ]
75
+ },
76
+ "_currentAppRole": {
77
+ "type": "string",
78
+ "enum": [
79
+ "admin",
80
+ "edit",
81
+ "collaborate",
82
+ "view"
83
+ ]
84
+ },
65
85
  "applicationId": {
66
86
  "type": "string",
67
87
  "pattern": "^[A-Fa-f\\d]{24}$"
@@ -122,7 +142,6 @@
122
142
  },
123
143
  "toEmail": {
124
144
  "type": "array",
125
- "minItems": 1,
126
145
  "maxItems": 10,
127
146
  "items": {
128
147
  "type": "string",
@@ -216,6 +235,10 @@
216
235
  "blocks": {
217
236
  "type": "array",
218
237
  "items": {
238
+ "type": "object",
239
+ "discriminator": {
240
+ "propertyName": "blockType"
241
+ },
219
242
  "oneOf": [
220
243
  {
221
244
  "type": "object",
@@ -621,6 +644,10 @@
621
644
  "type": "array",
622
645
  "maxItems": 100,
623
646
  "items": {
647
+ "type": "object",
648
+ "discriminator": {
649
+ "propertyName": "queryType"
650
+ },
624
651
  "oneOf": [
625
652
  {
626
653
  "type": "object",
@@ -807,6 +834,9 @@
807
834
  ]
808
835
  }
809
836
  },
837
+ "required": [
838
+ "queryType"
839
+ ],
810
840
  "additionalProperties": false
811
841
  },
812
842
  {
@@ -979,6 +1009,9 @@
979
1009
  ]
980
1010
  }
981
1011
  },
1012
+ "required": [
1013
+ "queryType"
1014
+ ],
982
1015
  "additionalProperties": false
983
1016
  },
984
1017
  {
@@ -1027,6 +1060,9 @@
1027
1060
  "maxLength": 255
1028
1061
  }
1029
1062
  },
1063
+ "required": [
1064
+ "queryType"
1065
+ ],
1030
1066
  "additionalProperties": false
1031
1067
  },
1032
1068
  {
@@ -1085,6 +1121,9 @@
1085
1121
  "maxLength": 255
1086
1122
  }
1087
1123
  },
1124
+ "required": [
1125
+ "queryType"
1126
+ ],
1088
1127
  "additionalProperties": false
1089
1128
  },
1090
1129
  {
@@ -1124,6 +1163,9 @@
1124
1163
  "type": "boolean"
1125
1164
  }
1126
1165
  },
1166
+ "required": [
1167
+ "queryType"
1168
+ ],
1127
1169
  "additionalProperties": false
1128
1170
  }
1129
1171
  ]
@@ -1279,7 +1321,7 @@
1279
1321
  "type": "string",
1280
1322
  "minLength": 4,
1281
1323
  "maxLength": 255,
1282
- "pattern": ".*{{.+}}.*"
1324
+ "pattern": ".*\\{\\{.+\\}\\}.*"
1283
1325
  }
1284
1326
  ]
1285
1327
  },
@@ -1449,7 +1491,8 @@
1449
1491
  "triangle-down",
1450
1492
  "triangle-up",
1451
1493
  "octagon"
1452
- ]
1494
+ ],
1495
+ "default": "circle"
1453
1496
  }
1454
1497
  },
1455
1498
  "additionalProperties": false
@@ -2417,7 +2460,8 @@
2417
2460
  "triangle-down",
2418
2461
  "triangle-up",
2419
2462
  "octagon"
2420
- ]
2463
+ ],
2464
+ "default": "circle"
2421
2465
  }
2422
2466
  },
2423
2467
  "additionalProperties": false
@@ -3047,7 +3091,7 @@
3047
3091
  "type": "string",
3048
3092
  "minLength": 4,
3049
3093
  "maxLength": 255,
3050
- "pattern": ".*{{.+}}.*"
3094
+ "pattern": ".*\\{\\{.+\\}\\}.*"
3051
3095
  }
3052
3096
  ]
3053
3097
  },
@@ -3269,27 +3313,52 @@
3269
3313
  "type": "array",
3270
3314
  "maxItems": 300,
3271
3315
  "items": {
3272
- "oneOf": [
3273
- {
3274
- "type": "object",
3275
- "properties": {
3276
- "queryType": {
3277
- "type": "string",
3278
- "enum": [
3279
- "gauge"
3280
- ]
3281
- },
3282
- "id": {
3283
- "type": "string",
3284
- "maxLength": 48
3285
- },
3286
- "attribute": {
3287
- "type": "string",
3288
- "maxLength": 255
3289
- },
3290
- "aggregation": {
3316
+ "type": "object",
3317
+ "properties": {
3318
+ "queryType": {
3319
+ "type": "string",
3320
+ "enum": [
3321
+ "gauge"
3322
+ ]
3323
+ },
3324
+ "id": {
3325
+ "type": "string",
3326
+ "maxLength": 48
3327
+ },
3328
+ "attribute": {
3329
+ "type": "string",
3330
+ "maxLength": 255
3331
+ },
3332
+ "aggregation": {
3333
+ "oneOf": [
3334
+ {
3291
3335
  "oneOf": [
3292
3336
  {
3337
+ "type": "string",
3338
+ "enum": [
3339
+ "FIRST",
3340
+ "LAST",
3341
+ "COUNT",
3342
+ "MAX",
3343
+ "MIN",
3344
+ "MEDIAN",
3345
+ "MEAN",
3346
+ "SUM",
3347
+ "STD_DEV"
3348
+ ]
3349
+ },
3350
+ {
3351
+ "type": "string",
3352
+ "enum": [
3353
+ "NONE"
3354
+ ]
3355
+ }
3356
+ ]
3357
+ },
3358
+ {
3359
+ "type": "object",
3360
+ "properties": {
3361
+ "type": {
3293
3362
  "oneOf": [
3294
3363
  {
3295
3364
  "type": "string",
@@ -3313,152 +3382,242 @@
3313
3382
  }
3314
3383
  ]
3315
3384
  },
3316
- {
3385
+ "options": {
3386
+ "type": "object",
3387
+ "additionalProperties": false
3388
+ }
3389
+ },
3390
+ "additionalProperties": false,
3391
+ "required": [
3392
+ "type"
3393
+ ]
3394
+ },
3395
+ {
3396
+ "type": "object",
3397
+ "properties": {
3398
+ "type": {
3399
+ "type": "string",
3400
+ "enum": [
3401
+ "TIMEATVALUE"
3402
+ ]
3403
+ },
3404
+ "options": {
3317
3405
  "type": "object",
3318
3406
  "properties": {
3319
- "type": {
3407
+ "value": {
3320
3408
  "oneOf": [
3321
3409
  {
3322
3410
  "type": "string",
3323
- "enum": [
3324
- "FIRST",
3325
- "LAST",
3326
- "COUNT",
3327
- "MAX",
3328
- "MIN",
3329
- "MEDIAN",
3330
- "MEAN",
3331
- "SUM",
3332
- "STD_DEV"
3333
- ]
3411
+ "maxLength": 255
3334
3412
  },
3335
3413
  {
3336
- "type": "string",
3337
- "enum": [
3338
- "NONE"
3339
- ]
3340
- }
3341
- ]
3342
- },
3343
- "options": {
3344
- "type": "object",
3345
- "additionalProperties": false
3346
- }
3347
- },
3348
- "additionalProperties": false,
3349
- "required": [
3350
- "type"
3351
- ]
3352
- },
3353
- {
3354
- "type": "object",
3355
- "properties": {
3356
- "type": {
3357
- "type": "string",
3358
- "enum": [
3359
- "TIMEATVALUE"
3360
- ]
3361
- },
3362
- "options": {
3363
- "type": "object",
3364
- "properties": {
3365
- "value": {
3366
- "oneOf": [
3367
- {
3368
- "type": "string",
3369
- "maxLength": 255
3370
- },
3371
- {
3372
- "type": "number"
3373
- },
3374
- {
3375
- "type": "boolean"
3376
- }
3377
- ]
3414
+ "type": "number"
3415
+ },
3416
+ {
3417
+ "type": "boolean"
3378
3418
  }
3379
- },
3380
- "additionalProperties": false,
3381
- "required": [
3382
- "value"
3383
3419
  ]
3384
3420
  }
3385
3421
  },
3386
3422
  "additionalProperties": false,
3387
3423
  "required": [
3388
- "type",
3389
- "options"
3424
+ "value"
3390
3425
  ]
3391
3426
  }
3427
+ },
3428
+ "additionalProperties": false,
3429
+ "required": [
3430
+ "type",
3431
+ "options"
3392
3432
  ]
3393
- },
3394
- "deviceIds": {
3395
- "type": "array",
3396
- "maxItems": 100,
3397
- "items": {
3433
+ }
3434
+ ]
3435
+ },
3436
+ "deviceIds": {
3437
+ "type": "array",
3438
+ "maxItems": 100,
3439
+ "items": {
3440
+ "type": "string",
3441
+ "maxLength": 255
3442
+ }
3443
+ },
3444
+ "deviceTags": {
3445
+ "type": "array",
3446
+ "maxItems": 100,
3447
+ "items": {
3448
+ "type": "object",
3449
+ "properties": {
3450
+ "key": {
3451
+ "type": "string",
3452
+ "maxLength": 255
3453
+ },
3454
+ "value": {
3455
+ "type": "string",
3456
+ "maxLength": 255
3457
+ },
3458
+ "fromCtx": {
3398
3459
  "type": "string",
3399
3460
  "maxLength": 255
3400
3461
  }
3401
3462
  },
3402
- "deviceTags": {
3463
+ "additionalProperties": false
3464
+ }
3465
+ },
3466
+ "query": {
3467
+ "type": "string",
3468
+ "maxLength": 32767
3469
+ },
3470
+ "duration": {
3471
+ "oneOf": [
3472
+ {
3473
+ "type": "integer",
3474
+ "minimum": 0
3475
+ },
3476
+ {
3477
+ "type": "string",
3478
+ "enum": [
3479
+ "{{dashboard.duration}}"
3480
+ ]
3481
+ }
3482
+ ]
3483
+ }
3484
+ },
3485
+ "required": [
3486
+ "queryType"
3487
+ ],
3488
+ "additionalProperties": false
3489
+ }
3490
+ },
3491
+ "overlays": {
3492
+ "type": "array",
3493
+ "maxItems": 100,
3494
+ "items": {
3495
+ "type": "object",
3496
+ "discriminator": {
3497
+ "propertyName": "type"
3498
+ },
3499
+ "oneOf": [
3500
+ {
3501
+ "type": "object",
3502
+ "properties": {
3503
+ "type": {
3504
+ "type": "string",
3505
+ "enum": [
3506
+ "label",
3507
+ "image"
3508
+ ]
3509
+ },
3510
+ "size": {
3511
+ "type": "string",
3512
+ "enum": [
3513
+ "small",
3514
+ "medium",
3515
+ "large"
3516
+ ]
3517
+ },
3518
+ "position": {
3519
+ "type": "string",
3520
+ "minLength": 3,
3521
+ "maxLength": 255
3522
+ },
3523
+ "popupTemplate": {
3524
+ "type": "string",
3525
+ "maxLength": 32767
3526
+ },
3527
+ "conditions": {
3403
3528
  "type": "array",
3404
3529
  "maxItems": 100,
3405
3530
  "items": {
3406
3531
  "type": "object",
3407
3532
  "properties": {
3408
- "key": {
3533
+ "color": {
3409
3534
  "type": "string",
3410
- "maxLength": 255
3535
+ "maxLength": 64
3411
3536
  },
3412
- "value": {
3537
+ "id": {
3413
3538
  "type": "string",
3414
- "maxLength": 255
3539
+ "maxLength": 48
3415
3540
  },
3416
- "fromCtx": {
3541
+ "label": {
3417
3542
  "type": "string",
3418
- "maxLength": 255
3543
+ "maxLength": 32767
3544
+ },
3545
+ "condition": {
3546
+ "type": "string",
3547
+ "maxLength": 2048
3548
+ },
3549
+ "imageUrl": {
3550
+ "type": "string",
3551
+ "maxLength": 32767
3552
+ },
3553
+ "shape": {
3554
+ "type": "string",
3555
+ "enum": [
3556
+ "circle",
3557
+ "square",
3558
+ "triangle-down",
3559
+ "triangle-up",
3560
+ "octagon"
3561
+ ],
3562
+ "default": "circle"
3419
3563
  }
3420
3564
  },
3421
3565
  "additionalProperties": false
3422
3566
  }
3423
3567
  },
3424
- "query": {
3425
- "type": "string",
3426
- "maxLength": 32767
3427
- },
3428
- "duration": {
3429
- "oneOf": [
3430
- {
3431
- "type": "integer",
3432
- "minimum": 0
3568
+ "defaultCondition": {
3569
+ "type": "object",
3570
+ "properties": {
3571
+ "color": {
3572
+ "type": "string",
3573
+ "maxLength": 64
3433
3574
  },
3434
- {
3575
+ "id": {
3576
+ "type": "string",
3577
+ "maxLength": 48
3578
+ },
3579
+ "label": {
3580
+ "type": "string",
3581
+ "maxLength": 32767
3582
+ },
3583
+ "condition": {
3584
+ "type": "string",
3585
+ "maxLength": 2048
3586
+ },
3587
+ "imageUrl": {
3588
+ "type": "string",
3589
+ "maxLength": 32767
3590
+ },
3591
+ "shape": {
3435
3592
  "type": "string",
3436
3593
  "enum": [
3437
- "{{dashboard.duration}}"
3438
- ]
3594
+ "circle",
3595
+ "square",
3596
+ "triangle-down",
3597
+ "triangle-up",
3598
+ "octagon"
3599
+ ],
3600
+ "default": "circle"
3439
3601
  }
3440
- ]
3602
+ },
3603
+ "additionalProperties": false
3441
3604
  }
3442
3605
  },
3606
+ "required": [
3607
+ "type",
3608
+ "position",
3609
+ "size",
3610
+ "defaultCondition"
3611
+ ],
3443
3612
  "additionalProperties": false
3444
- }
3445
- ]
3446
- }
3447
- },
3448
- "overlays": {
3449
- "type": "array",
3450
- "maxItems": 100,
3451
- "items": {
3452
- "oneOf": [
3613
+ },
3453
3614
  {
3454
3615
  "type": "object",
3455
3616
  "properties": {
3456
3617
  "type": {
3457
3618
  "type": "string",
3458
3619
  "enum": [
3459
- "indicator",
3460
- "label",
3461
- "image"
3620
+ "indicator"
3462
3621
  ]
3463
3622
  },
3464
3623
  "size": {
@@ -3512,10 +3671,14 @@
3512
3671
  "triangle-down",
3513
3672
  "triangle-up",
3514
3673
  "octagon"
3515
- ]
3674
+ ],
3675
+ "default": "circle"
3516
3676
  }
3517
3677
  },
3518
- "additionalProperties": false
3678
+ "additionalProperties": false,
3679
+ "required": [
3680
+ "shape"
3681
+ ]
3519
3682
  }
3520
3683
  },
3521
3684
  "defaultCondition": {
@@ -3549,10 +3712,14 @@
3549
3712
  "triangle-down",
3550
3713
  "triangle-up",
3551
3714
  "octagon"
3552
- ]
3715
+ ],
3716
+ "default": "circle"
3553
3717
  }
3554
3718
  },
3555
- "additionalProperties": false
3719
+ "additionalProperties": false,
3720
+ "required": [
3721
+ "shape"
3722
+ ]
3556
3723
  }
3557
3724
  },
3558
3725
  "required": [
@@ -3623,7 +3790,8 @@
3623
3790
  "triangle-down",
3624
3791
  "triangle-up",
3625
3792
  "octagon"
3626
- ]
3793
+ ],
3794
+ "default": "circle"
3627
3795
  }
3628
3796
  },
3629
3797
  "additionalProperties": false
@@ -3660,7 +3828,8 @@
3660
3828
  "triangle-down",
3661
3829
  "triangle-up",
3662
3830
  "octagon"
3663
- ]
3831
+ ],
3832
+ "default": "circle"
3664
3833
  }
3665
3834
  },
3666
3835
  "additionalProperties": false
@@ -3738,7 +3907,8 @@
3738
3907
  "triangle-down",
3739
3908
  "triangle-up",
3740
3909
  "octagon"
3741
- ]
3910
+ ],
3911
+ "default": "circle"
3742
3912
  }
3743
3913
  },
3744
3914
  "additionalProperties": false
@@ -3775,7 +3945,8 @@
3775
3945
  "triangle-down",
3776
3946
  "triangle-up",
3777
3947
  "octagon"
3778
- ]
3948
+ ],
3949
+ "default": "circle"
3779
3950
  }
3780
3951
  },
3781
3952
  "additionalProperties": false
@@ -4119,7 +4290,8 @@
4119
4290
  "triangle-down",
4120
4291
  "triangle-up",
4121
4292
  "octagon"
4122
- ]
4293
+ ],
4294
+ "default": "circle"
4123
4295
  }
4124
4296
  },
4125
4297
  "additionalProperties": false
@@ -4156,7 +4328,8 @@
4156
4328
  "triangle-down",
4157
4329
  "triangle-up",
4158
4330
  "octagon"
4159
- ]
4331
+ ],
4332
+ "default": "circle"
4160
4333
  }
4161
4334
  },
4162
4335
  "additionalProperties": false
@@ -4225,6 +4398,10 @@
4225
4398
  "type": "array",
4226
4399
  "maxItems": 100,
4227
4400
  "items": {
4401
+ "type": "object",
4402
+ "discriminator": {
4403
+ "propertyName": "type"
4404
+ },
4228
4405
  "oneOf": [
4229
4406
  {
4230
4407
  "type": "object",
@@ -4462,6 +4639,9 @@
4462
4639
  ]
4463
4640
  }
4464
4641
  },
4642
+ "required": [
4643
+ "type"
4644
+ ],
4465
4645
  "additionalProperties": false
4466
4646
  },
4467
4647
  {
@@ -4662,6 +4842,9 @@
4662
4842
  "type": "boolean"
4663
4843
  }
4664
4844
  },
4845
+ "required": [
4846
+ "type"
4847
+ ],
4665
4848
  "additionalProperties": false
4666
4849
  },
4667
4850
  {
@@ -4856,6 +5039,9 @@
4856
5039
  "maxLength": 2048
4857
5040
  }
4858
5041
  },
5042
+ "required": [
5043
+ "type"
5044
+ ],
4859
5045
  "additionalProperties": false
4860
5046
  },
4861
5047
  {
@@ -5068,6 +5254,9 @@
5068
5254
  }
5069
5255
  }
5070
5256
  },
5257
+ "required": [
5258
+ "type"
5259
+ ],
5071
5260
  "additionalProperties": false
5072
5261
  },
5073
5262
  {
@@ -5110,6 +5299,9 @@
5110
5299
  "maxLength": 32767
5111
5300
  }
5112
5301
  },
5302
+ "required": [
5303
+ "type"
5304
+ ],
5113
5305
  "additionalProperties": false
5114
5306
  },
5115
5307
  {
@@ -5220,6 +5412,9 @@
5220
5412
  "maxLength": 255
5221
5413
  }
5222
5414
  },
5415
+ "required": [
5416
+ "type"
5417
+ ],
5223
5418
  "additionalProperties": false
5224
5419
  }
5225
5420
  ]
@@ -5399,7 +5594,7 @@
5399
5594
  "type": "string",
5400
5595
  "minLength": 4,
5401
5596
  "maxLength": 255,
5402
- "pattern": ".*{{.+}}.*"
5597
+ "pattern": ".*\\{\\{.+\\}\\}.*"
5403
5598
  }
5404
5599
  ]
5405
5600
  },
@@ -6138,6 +6333,10 @@
6138
6333
  "contextConfiguration": {
6139
6334
  "type": "array",
6140
6335
  "items": {
6336
+ "type": "object",
6337
+ "discriminator": {
6338
+ "propertyName": "type"
6339
+ },
6141
6340
  "oneOf": [
6142
6341
  {
6143
6342
  "type": "object",
@@ -6450,6 +6649,9 @@
6450
6649
  "pattern": "^[A-Fa-f\\d]{24}$"
6451
6650
  },
6452
6651
  "maxItems": 1000
6652
+ },
6653
+ "includeExperienceGroups": {
6654
+ "type": "boolean"
6453
6655
  }
6454
6656
  },
6455
6657
  "additionalProperties": false