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
@@ -69,6 +69,26 @@
69
69
  "type": "string",
70
70
  "maxLength": 64
71
71
  },
72
+ "_currentRole": {
73
+ "type": "string",
74
+ "enum": [
75
+ "admin",
76
+ "edit",
77
+ "collaborate",
78
+ "view",
79
+ "public",
80
+ "solutionView"
81
+ ]
82
+ },
83
+ "_currentAppRole": {
84
+ "type": "string",
85
+ "enum": [
86
+ "admin",
87
+ "edit",
88
+ "collaborate",
89
+ "view"
90
+ ]
91
+ },
72
92
  "applicationId": {
73
93
  "type": "string",
74
94
  "pattern": "^[A-Fa-f\\d]{24}$"
@@ -129,7 +149,6 @@
129
149
  },
130
150
  "toEmail": {
131
151
  "type": "array",
132
- "minItems": 1,
133
152
  "maxItems": 10,
134
153
  "items": {
135
154
  "type": "string",
@@ -223,6 +242,10 @@
223
242
  "blocks": {
224
243
  "type": "array",
225
244
  "items": {
245
+ "type": "object",
246
+ "discriminator": {
247
+ "propertyName": "blockType"
248
+ },
226
249
  "oneOf": [
227
250
  {
228
251
  "type": "object",
@@ -628,6 +651,10 @@
628
651
  "type": "array",
629
652
  "maxItems": 100,
630
653
  "items": {
654
+ "type": "object",
655
+ "discriminator": {
656
+ "propertyName": "queryType"
657
+ },
631
658
  "oneOf": [
632
659
  {
633
660
  "type": "object",
@@ -814,6 +841,9 @@
814
841
  ]
815
842
  }
816
843
  },
844
+ "required": [
845
+ "queryType"
846
+ ],
817
847
  "additionalProperties": false
818
848
  },
819
849
  {
@@ -986,6 +1016,9 @@
986
1016
  ]
987
1017
  }
988
1018
  },
1019
+ "required": [
1020
+ "queryType"
1021
+ ],
989
1022
  "additionalProperties": false
990
1023
  },
991
1024
  {
@@ -1034,6 +1067,9 @@
1034
1067
  "maxLength": 255
1035
1068
  }
1036
1069
  },
1070
+ "required": [
1071
+ "queryType"
1072
+ ],
1037
1073
  "additionalProperties": false
1038
1074
  },
1039
1075
  {
@@ -1092,6 +1128,9 @@
1092
1128
  "maxLength": 255
1093
1129
  }
1094
1130
  },
1131
+ "required": [
1132
+ "queryType"
1133
+ ],
1095
1134
  "additionalProperties": false
1096
1135
  },
1097
1136
  {
@@ -1131,6 +1170,9 @@
1131
1170
  "type": "boolean"
1132
1171
  }
1133
1172
  },
1173
+ "required": [
1174
+ "queryType"
1175
+ ],
1134
1176
  "additionalProperties": false
1135
1177
  }
1136
1178
  ]
@@ -1286,7 +1328,7 @@
1286
1328
  "type": "string",
1287
1329
  "minLength": 4,
1288
1330
  "maxLength": 255,
1289
- "pattern": ".*{{.+}}.*"
1331
+ "pattern": ".*\\{\\{.+\\}\\}.*"
1290
1332
  }
1291
1333
  ]
1292
1334
  },
@@ -1456,7 +1498,8 @@
1456
1498
  "triangle-down",
1457
1499
  "triangle-up",
1458
1500
  "octagon"
1459
- ]
1501
+ ],
1502
+ "default": "circle"
1460
1503
  }
1461
1504
  },
1462
1505
  "additionalProperties": false
@@ -2424,7 +2467,8 @@
2424
2467
  "triangle-down",
2425
2468
  "triangle-up",
2426
2469
  "octagon"
2427
- ]
2470
+ ],
2471
+ "default": "circle"
2428
2472
  }
2429
2473
  },
2430
2474
  "additionalProperties": false
@@ -3054,7 +3098,7 @@
3054
3098
  "type": "string",
3055
3099
  "minLength": 4,
3056
3100
  "maxLength": 255,
3057
- "pattern": ".*{{.+}}.*"
3101
+ "pattern": ".*\\{\\{.+\\}\\}.*"
3058
3102
  }
3059
3103
  ]
3060
3104
  },
@@ -3276,27 +3320,52 @@
3276
3320
  "type": "array",
3277
3321
  "maxItems": 300,
3278
3322
  "items": {
3279
- "oneOf": [
3280
- {
3281
- "type": "object",
3282
- "properties": {
3283
- "queryType": {
3284
- "type": "string",
3285
- "enum": [
3286
- "gauge"
3287
- ]
3288
- },
3289
- "id": {
3290
- "type": "string",
3291
- "maxLength": 48
3292
- },
3293
- "attribute": {
3294
- "type": "string",
3295
- "maxLength": 255
3296
- },
3297
- "aggregation": {
3323
+ "type": "object",
3324
+ "properties": {
3325
+ "queryType": {
3326
+ "type": "string",
3327
+ "enum": [
3328
+ "gauge"
3329
+ ]
3330
+ },
3331
+ "id": {
3332
+ "type": "string",
3333
+ "maxLength": 48
3334
+ },
3335
+ "attribute": {
3336
+ "type": "string",
3337
+ "maxLength": 255
3338
+ },
3339
+ "aggregation": {
3340
+ "oneOf": [
3341
+ {
3298
3342
  "oneOf": [
3299
3343
  {
3344
+ "type": "string",
3345
+ "enum": [
3346
+ "FIRST",
3347
+ "LAST",
3348
+ "COUNT",
3349
+ "MAX",
3350
+ "MIN",
3351
+ "MEDIAN",
3352
+ "MEAN",
3353
+ "SUM",
3354
+ "STD_DEV"
3355
+ ]
3356
+ },
3357
+ {
3358
+ "type": "string",
3359
+ "enum": [
3360
+ "NONE"
3361
+ ]
3362
+ }
3363
+ ]
3364
+ },
3365
+ {
3366
+ "type": "object",
3367
+ "properties": {
3368
+ "type": {
3300
3369
  "oneOf": [
3301
3370
  {
3302
3371
  "type": "string",
@@ -3320,152 +3389,242 @@
3320
3389
  }
3321
3390
  ]
3322
3391
  },
3323
- {
3392
+ "options": {
3393
+ "type": "object",
3394
+ "additionalProperties": false
3395
+ }
3396
+ },
3397
+ "additionalProperties": false,
3398
+ "required": [
3399
+ "type"
3400
+ ]
3401
+ },
3402
+ {
3403
+ "type": "object",
3404
+ "properties": {
3405
+ "type": {
3406
+ "type": "string",
3407
+ "enum": [
3408
+ "TIMEATVALUE"
3409
+ ]
3410
+ },
3411
+ "options": {
3324
3412
  "type": "object",
3325
3413
  "properties": {
3326
- "type": {
3414
+ "value": {
3327
3415
  "oneOf": [
3328
3416
  {
3329
3417
  "type": "string",
3330
- "enum": [
3331
- "FIRST",
3332
- "LAST",
3333
- "COUNT",
3334
- "MAX",
3335
- "MIN",
3336
- "MEDIAN",
3337
- "MEAN",
3338
- "SUM",
3339
- "STD_DEV"
3340
- ]
3418
+ "maxLength": 255
3341
3419
  },
3342
3420
  {
3343
- "type": "string",
3344
- "enum": [
3345
- "NONE"
3346
- ]
3347
- }
3348
- ]
3349
- },
3350
- "options": {
3351
- "type": "object",
3352
- "additionalProperties": false
3353
- }
3354
- },
3355
- "additionalProperties": false,
3356
- "required": [
3357
- "type"
3358
- ]
3359
- },
3360
- {
3361
- "type": "object",
3362
- "properties": {
3363
- "type": {
3364
- "type": "string",
3365
- "enum": [
3366
- "TIMEATVALUE"
3367
- ]
3368
- },
3369
- "options": {
3370
- "type": "object",
3371
- "properties": {
3372
- "value": {
3373
- "oneOf": [
3374
- {
3375
- "type": "string",
3376
- "maxLength": 255
3377
- },
3378
- {
3379
- "type": "number"
3380
- },
3381
- {
3382
- "type": "boolean"
3383
- }
3384
- ]
3421
+ "type": "number"
3422
+ },
3423
+ {
3424
+ "type": "boolean"
3385
3425
  }
3386
- },
3387
- "additionalProperties": false,
3388
- "required": [
3389
- "value"
3390
3426
  ]
3391
3427
  }
3392
3428
  },
3393
3429
  "additionalProperties": false,
3394
3430
  "required": [
3395
- "type",
3396
- "options"
3431
+ "value"
3397
3432
  ]
3398
3433
  }
3434
+ },
3435
+ "additionalProperties": false,
3436
+ "required": [
3437
+ "type",
3438
+ "options"
3399
3439
  ]
3400
- },
3401
- "deviceIds": {
3402
- "type": "array",
3403
- "maxItems": 100,
3404
- "items": {
3440
+ }
3441
+ ]
3442
+ },
3443
+ "deviceIds": {
3444
+ "type": "array",
3445
+ "maxItems": 100,
3446
+ "items": {
3447
+ "type": "string",
3448
+ "maxLength": 255
3449
+ }
3450
+ },
3451
+ "deviceTags": {
3452
+ "type": "array",
3453
+ "maxItems": 100,
3454
+ "items": {
3455
+ "type": "object",
3456
+ "properties": {
3457
+ "key": {
3458
+ "type": "string",
3459
+ "maxLength": 255
3460
+ },
3461
+ "value": {
3462
+ "type": "string",
3463
+ "maxLength": 255
3464
+ },
3465
+ "fromCtx": {
3405
3466
  "type": "string",
3406
3467
  "maxLength": 255
3407
3468
  }
3408
3469
  },
3409
- "deviceTags": {
3470
+ "additionalProperties": false
3471
+ }
3472
+ },
3473
+ "query": {
3474
+ "type": "string",
3475
+ "maxLength": 32767
3476
+ },
3477
+ "duration": {
3478
+ "oneOf": [
3479
+ {
3480
+ "type": "integer",
3481
+ "minimum": 0
3482
+ },
3483
+ {
3484
+ "type": "string",
3485
+ "enum": [
3486
+ "{{dashboard.duration}}"
3487
+ ]
3488
+ }
3489
+ ]
3490
+ }
3491
+ },
3492
+ "required": [
3493
+ "queryType"
3494
+ ],
3495
+ "additionalProperties": false
3496
+ }
3497
+ },
3498
+ "overlays": {
3499
+ "type": "array",
3500
+ "maxItems": 100,
3501
+ "items": {
3502
+ "type": "object",
3503
+ "discriminator": {
3504
+ "propertyName": "type"
3505
+ },
3506
+ "oneOf": [
3507
+ {
3508
+ "type": "object",
3509
+ "properties": {
3510
+ "type": {
3511
+ "type": "string",
3512
+ "enum": [
3513
+ "label",
3514
+ "image"
3515
+ ]
3516
+ },
3517
+ "size": {
3518
+ "type": "string",
3519
+ "enum": [
3520
+ "small",
3521
+ "medium",
3522
+ "large"
3523
+ ]
3524
+ },
3525
+ "position": {
3526
+ "type": "string",
3527
+ "minLength": 3,
3528
+ "maxLength": 255
3529
+ },
3530
+ "popupTemplate": {
3531
+ "type": "string",
3532
+ "maxLength": 32767
3533
+ },
3534
+ "conditions": {
3410
3535
  "type": "array",
3411
3536
  "maxItems": 100,
3412
3537
  "items": {
3413
3538
  "type": "object",
3414
3539
  "properties": {
3415
- "key": {
3540
+ "color": {
3416
3541
  "type": "string",
3417
- "maxLength": 255
3542
+ "maxLength": 64
3418
3543
  },
3419
- "value": {
3544
+ "id": {
3420
3545
  "type": "string",
3421
- "maxLength": 255
3546
+ "maxLength": 48
3422
3547
  },
3423
- "fromCtx": {
3548
+ "label": {
3424
3549
  "type": "string",
3425
- "maxLength": 255
3550
+ "maxLength": 32767
3551
+ },
3552
+ "condition": {
3553
+ "type": "string",
3554
+ "maxLength": 2048
3555
+ },
3556
+ "imageUrl": {
3557
+ "type": "string",
3558
+ "maxLength": 32767
3559
+ },
3560
+ "shape": {
3561
+ "type": "string",
3562
+ "enum": [
3563
+ "circle",
3564
+ "square",
3565
+ "triangle-down",
3566
+ "triangle-up",
3567
+ "octagon"
3568
+ ],
3569
+ "default": "circle"
3426
3570
  }
3427
3571
  },
3428
3572
  "additionalProperties": false
3429
3573
  }
3430
3574
  },
3431
- "query": {
3432
- "type": "string",
3433
- "maxLength": 32767
3434
- },
3435
- "duration": {
3436
- "oneOf": [
3437
- {
3438
- "type": "integer",
3439
- "minimum": 0
3575
+ "defaultCondition": {
3576
+ "type": "object",
3577
+ "properties": {
3578
+ "color": {
3579
+ "type": "string",
3580
+ "maxLength": 64
3440
3581
  },
3441
- {
3582
+ "id": {
3583
+ "type": "string",
3584
+ "maxLength": 48
3585
+ },
3586
+ "label": {
3587
+ "type": "string",
3588
+ "maxLength": 32767
3589
+ },
3590
+ "condition": {
3591
+ "type": "string",
3592
+ "maxLength": 2048
3593
+ },
3594
+ "imageUrl": {
3595
+ "type": "string",
3596
+ "maxLength": 32767
3597
+ },
3598
+ "shape": {
3442
3599
  "type": "string",
3443
3600
  "enum": [
3444
- "{{dashboard.duration}}"
3445
- ]
3601
+ "circle",
3602
+ "square",
3603
+ "triangle-down",
3604
+ "triangle-up",
3605
+ "octagon"
3606
+ ],
3607
+ "default": "circle"
3446
3608
  }
3447
- ]
3609
+ },
3610
+ "additionalProperties": false
3448
3611
  }
3449
3612
  },
3613
+ "required": [
3614
+ "type",
3615
+ "position",
3616
+ "size",
3617
+ "defaultCondition"
3618
+ ],
3450
3619
  "additionalProperties": false
3451
- }
3452
- ]
3453
- }
3454
- },
3455
- "overlays": {
3456
- "type": "array",
3457
- "maxItems": 100,
3458
- "items": {
3459
- "oneOf": [
3620
+ },
3460
3621
  {
3461
3622
  "type": "object",
3462
3623
  "properties": {
3463
3624
  "type": {
3464
3625
  "type": "string",
3465
3626
  "enum": [
3466
- "indicator",
3467
- "label",
3468
- "image"
3627
+ "indicator"
3469
3628
  ]
3470
3629
  },
3471
3630
  "size": {
@@ -3519,10 +3678,14 @@
3519
3678
  "triangle-down",
3520
3679
  "triangle-up",
3521
3680
  "octagon"
3522
- ]
3681
+ ],
3682
+ "default": "circle"
3523
3683
  }
3524
3684
  },
3525
- "additionalProperties": false
3685
+ "additionalProperties": false,
3686
+ "required": [
3687
+ "shape"
3688
+ ]
3526
3689
  }
3527
3690
  },
3528
3691
  "defaultCondition": {
@@ -3556,10 +3719,14 @@
3556
3719
  "triangle-down",
3557
3720
  "triangle-up",
3558
3721
  "octagon"
3559
- ]
3722
+ ],
3723
+ "default": "circle"
3560
3724
  }
3561
3725
  },
3562
- "additionalProperties": false
3726
+ "additionalProperties": false,
3727
+ "required": [
3728
+ "shape"
3729
+ ]
3563
3730
  }
3564
3731
  },
3565
3732
  "required": [
@@ -3630,7 +3797,8 @@
3630
3797
  "triangle-down",
3631
3798
  "triangle-up",
3632
3799
  "octagon"
3633
- ]
3800
+ ],
3801
+ "default": "circle"
3634
3802
  }
3635
3803
  },
3636
3804
  "additionalProperties": false
@@ -3667,7 +3835,8 @@
3667
3835
  "triangle-down",
3668
3836
  "triangle-up",
3669
3837
  "octagon"
3670
- ]
3838
+ ],
3839
+ "default": "circle"
3671
3840
  }
3672
3841
  },
3673
3842
  "additionalProperties": false
@@ -3745,7 +3914,8 @@
3745
3914
  "triangle-down",
3746
3915
  "triangle-up",
3747
3916
  "octagon"
3748
- ]
3917
+ ],
3918
+ "default": "circle"
3749
3919
  }
3750
3920
  },
3751
3921
  "additionalProperties": false
@@ -3782,7 +3952,8 @@
3782
3952
  "triangle-down",
3783
3953
  "triangle-up",
3784
3954
  "octagon"
3785
- ]
3955
+ ],
3956
+ "default": "circle"
3786
3957
  }
3787
3958
  },
3788
3959
  "additionalProperties": false
@@ -4126,7 +4297,8 @@
4126
4297
  "triangle-down",
4127
4298
  "triangle-up",
4128
4299
  "octagon"
4129
- ]
4300
+ ],
4301
+ "default": "circle"
4130
4302
  }
4131
4303
  },
4132
4304
  "additionalProperties": false
@@ -4163,7 +4335,8 @@
4163
4335
  "triangle-down",
4164
4336
  "triangle-up",
4165
4337
  "octagon"
4166
- ]
4338
+ ],
4339
+ "default": "circle"
4167
4340
  }
4168
4341
  },
4169
4342
  "additionalProperties": false
@@ -4232,6 +4405,10 @@
4232
4405
  "type": "array",
4233
4406
  "maxItems": 100,
4234
4407
  "items": {
4408
+ "type": "object",
4409
+ "discriminator": {
4410
+ "propertyName": "type"
4411
+ },
4235
4412
  "oneOf": [
4236
4413
  {
4237
4414
  "type": "object",
@@ -4469,6 +4646,9 @@
4469
4646
  ]
4470
4647
  }
4471
4648
  },
4649
+ "required": [
4650
+ "type"
4651
+ ],
4472
4652
  "additionalProperties": false
4473
4653
  },
4474
4654
  {
@@ -4669,6 +4849,9 @@
4669
4849
  "type": "boolean"
4670
4850
  }
4671
4851
  },
4852
+ "required": [
4853
+ "type"
4854
+ ],
4672
4855
  "additionalProperties": false
4673
4856
  },
4674
4857
  {
@@ -4863,6 +5046,9 @@
4863
5046
  "maxLength": 2048
4864
5047
  }
4865
5048
  },
5049
+ "required": [
5050
+ "type"
5051
+ ],
4866
5052
  "additionalProperties": false
4867
5053
  },
4868
5054
  {
@@ -5075,6 +5261,9 @@
5075
5261
  }
5076
5262
  }
5077
5263
  },
5264
+ "required": [
5265
+ "type"
5266
+ ],
5078
5267
  "additionalProperties": false
5079
5268
  },
5080
5269
  {
@@ -5117,6 +5306,9 @@
5117
5306
  "maxLength": 32767
5118
5307
  }
5119
5308
  },
5309
+ "required": [
5310
+ "type"
5311
+ ],
5120
5312
  "additionalProperties": false
5121
5313
  },
5122
5314
  {
@@ -5227,6 +5419,9 @@
5227
5419
  "maxLength": 255
5228
5420
  }
5229
5421
  },
5422
+ "required": [
5423
+ "type"
5424
+ ],
5230
5425
  "additionalProperties": false
5231
5426
  }
5232
5427
  ]
@@ -5406,7 +5601,7 @@
5406
5601
  "type": "string",
5407
5602
  "minLength": 4,
5408
5603
  "maxLength": 255,
5409
- "pattern": ".*{{.+}}.*"
5604
+ "pattern": ".*\\{\\{.+\\}\\}.*"
5410
5605
  }
5411
5606
  ]
5412
5607
  },
@@ -6145,6 +6340,10 @@
6145
6340
  "contextConfiguration": {
6146
6341
  "type": "array",
6147
6342
  "items": {
6343
+ "type": "object",
6344
+ "discriminator": {
6345
+ "propertyName": "type"
6346
+ },
6148
6347
  "oneOf": [
6149
6348
  {
6150
6349
  "type": "object",
@@ -6457,6 +6656,9 @@
6457
6656
  "pattern": "^[A-Fa-f\\d]{24}$"
6458
6657
  },
6459
6658
  "maxItems": 1000
6659
+ },
6660
+ "includeExperienceGroups": {
6661
+ "type": "boolean"
6460
6662
  }
6461
6663
  },
6462
6664
  "additionalProperties": false