@whooshbang/contracts 3.0.0 → 3.1.0

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 (85) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/contract-manifest.json +32 -32
  3. package/dist/generated/artifact-index.d.ts +33 -33
  4. package/dist/generated/artifact-index.js +32 -32
  5. package/dist/generated/validators-standalone.js +1319 -822
  6. package/dist/generated/validators-standalone.js.map +1 -1
  7. package/dist/generated/whooshbang-v1.d.ts +304 -1
  8. package/fixtures/core-v1/fixture-index.json +1 -1
  9. package/fixtures/core-v1/scenarios/api-credential-invalid-indistinguishable.json +1 -1
  10. package/fixtures/core-v1/scenarios/api-credential-one-time-reveal.json +1 -1
  11. package/fixtures/core-v1/scenarios/api-credential-revocation-replay.json +1 -1
  12. package/fixtures/core-v1/scenarios/api-credential-rotation-overlap.json +1 -1
  13. package/fixtures/core-v1/scenarios/cancellation-too-late.json +1 -1
  14. package/fixtures/core-v1/scenarios/cross-organization-project.json +1 -1
  15. package/fixtures/core-v1/scenarios/cross-project-resource.json +1 -1
  16. package/fixtures/core-v1/scenarios/environment-mismatch.json +1 -1
  17. package/fixtures/core-v1/scenarios/idempotency-conflict.json +1 -1
  18. package/fixtures/core-v1/scenarios/idempotency-equivalent-replay.json +1 -1
  19. package/fixtures/core-v1/scenarios/malformed-bearer.json +1 -1
  20. package/fixtures/core-v1/scenarios/metadata-overrun.json +1 -1
  21. package/fixtures/core-v1/scenarios/missing-scope.json +1 -1
  22. package/fixtures/core-v1/scenarios/project-create-equivalent-replay.json +1 -1
  23. package/fixtures/core-v1/scenarios/project-slug-conflict.json +1 -1
  24. package/fixtures/core-v1/scenarios/provider-outcome-unknown.json +1 -1
  25. package/fixtures/core-v1/scenarios/subscription-activation-replay.json +1 -1
  26. package/fixtures/core-v1/scenarios/subscription-authorization-capability-opacity.json +1 -1
  27. package/fixtures/core-v1/scenarios/subscription-cross-connection-callback-rejected.json +1 -1
  28. package/fixtures/core-v1/scenarios/subscription-expired-replay.json +1 -1
  29. package/fixtures/core-v1/scenarios/subscription-selected-connection-replay.json +1 -1
  30. package/fixtures/interaction-machine-v1/scenarios/ack-conflict.json +1 -1
  31. package/fixtures/interaction-machine-v1/scenarios/ack-cross-machine.json +1 -1
  32. package/fixtures/interaction-machine-v1/scenarios/ack-out-of-order.json +1 -1
  33. package/fixtures/interaction-machine-v1/scenarios/ack-replay.json +1 -1
  34. package/fixtures/interaction-machine-v1/scenarios/ambiguous-free-text.json +1 -1
  35. package/fixtures/interaction-machine-v1/scenarios/callback-token-opacity.json +1 -1
  36. package/fixtures/interaction-machine-v1/scenarios/credential-registration-conflict.json +1 -1
  37. package/fixtures/interaction-machine-v1/scenarios/credential-registration-replay.json +1 -1
  38. package/fixtures/interaction-machine-v1/scenarios/credential-revocation-replay.json +1 -1
  39. package/fixtures/interaction-machine-v1/scenarios/credential-rotation.json +1 -1
  40. package/fixtures/interaction-machine-v1/scenarios/first-credential-activates.json +1 -1
  41. package/fixtures/interaction-machine-v1/scenarios/interaction-duplicate.json +1 -1
  42. package/fixtures/interaction-machine-v1/scenarios/interaction-expired.json +1 -1
  43. package/fixtures/interaction-machine-v1/scenarios/interaction-mismatch.json +1 -1
  44. package/fixtures/interaction-machine-v1/scenarios/interaction-retired.json +1 -1
  45. package/fixtures/interaction-machine-v1/scenarios/interaction-stale.json +1 -1
  46. package/fixtures/interaction-machine-v1/scenarios/machine-admin-denied.json +1 -1
  47. package/fixtures/interaction-machine-v1/scenarios/machine-bound-message-create.json +1 -1
  48. package/fixtures/interaction-machine-v1/scenarios/machine-cancel-denied.json +1 -1
  49. package/fixtures/interaction-machine-v1/scenarios/machine-crash-before-ack.json +1 -1
  50. package/fixtures/interaction-machine-v1/scenarios/machine-notifier-mismatch.json +1 -1
  51. package/fixtures/interaction-machine-v1/scenarios/machine-other-message-read.json +1 -1
  52. package/fixtures/interaction-machine-v1/scenarios/machine-owned-message-read.json +1 -1
  53. package/fixtures/interaction-machine-v1/scenarios/machine-subscriber-mismatch.json +1 -1
  54. package/fixtures/interaction-machine-v1/scenarios/poll-uncommitted-cursor-rejected.json +1 -1
  55. package/fixtures/interaction-machine-v1/scenarios/project-credential-machine-endpoint-denied.json +1 -1
  56. package/fixtures/interaction-machine-v1/scenarios/quarantine-integrity-rejected.json +1 -1
  57. package/fixtures/interaction-machine-v1/scenarios/quarantine-signature-rejected.json +1 -1
  58. package/fixtures/interaction-machine-v1/scenarios/quarantine-valid.json +1 -1
  59. package/fixtures/interaction-machine-v1/scenarios/revoked-machine-credential.json +1 -1
  60. package/fixtures/recipient-experience-v1/scenarios/membership-broadcast-snapshot.json +1 -1
  61. package/fixtures/recipient-experience-v1/scenarios/preferred-binding-resolution.json +1 -1
  62. package/fixtures/recipient-experience-v1/scenarios/recipient-session-security.json +1 -1
  63. package/fixtures/recipient-experience-v1/scenarios/subscriber-initial-groups-transaction.json +1 -1
  64. package/openapi/generated/whooshbang-v1.bundle.json +82 -4
  65. package/openapi/whooshbang-v1.yaml +37 -2
  66. package/package.json +1 -1
  67. package/schemas/core-scenario.schema.json +1 -1
  68. package/schemas/events/agent-binding-degraded-v1.schema.json +1 -1
  69. package/schemas/events/interaction-expired-v1.schema.json +1 -1
  70. package/schemas/events/interaction-received-v1.schema.json +1 -1
  71. package/schemas/events/message-delivered-v1.schema.json +1 -1
  72. package/schemas/events/message-expired-v1.schema.json +1 -1
  73. package/schemas/events/message-failed-v1.schema.json +1 -1
  74. package/schemas/events/message-provider-accepted-v1.schema.json +1 -1
  75. package/schemas/events/subscription-activated-v1.schema.json +1 -1
  76. package/schemas/events/subscription-revoked-v1.schema.json +1 -1
  77. package/schemas/events/whooshbang-event-v1.schema.json +1 -1
  78. package/schemas/fixture-index.schema.json +1 -1
  79. package/schemas/interaction-machine-scenario.schema.json +1 -1
  80. package/schemas/interaction-v1.schema.json +1 -1
  81. package/schemas/machine-v1.schema.json +1 -1
  82. package/schemas/provider-capabilities-v1.schema.json +1 -1
  83. package/schemas/webhooks/webhook-delivery-case-v1.schema.json +1 -1
  84. package/schemas/webhooks/webhook-signing-vector-v1.schema.json +1 -1
  85. package/schemas/whooshbang-v1.schema.json +36 -2
@@ -7,7 +7,7 @@
7
7
  export const validateMessageListEntry = validate557;
8
8
  const schema809 = {
9
9
  type: "object",
10
- description: "Content-free accepted-message summary. Includes neither the notification nor an interaction answer.",
10
+ description: "Accepted-message summary: a one-line snippet of what the message said, and no interaction answer.",
11
11
  required: [
12
12
  "accepted_at",
13
13
  "diagnostic_id",
@@ -49,6 +49,16 @@ const schema809 = {
49
49
  retry_at: { $ref: "#/$defs/Timestamp" },
50
50
  retry_scheduled: { type: "boolean" },
51
51
  classified_error: { $ref: "#/$defs/ClassifiedError" },
52
+ content_snippet: {
53
+ type: "string",
54
+ minLength: 1,
55
+ maxLength: 121,
56
+ description: "The start of what the message said, on one line: its text, or the title of block content, cut to 120 characters with an ellipsis. Absent when `content_retained` is false.",
57
+ },
58
+ content_retained: {
59
+ type: "boolean",
60
+ description: "False once the message's content has been deleted at the end of its retention period (7 days, or 90 on paid plans, after it finished). The rest of the entry is kept.",
61
+ },
52
62
  channel: { $ref: "#/$defs/Channel" },
53
63
  },
54
64
  additionalProperties: false,
@@ -1445,10 +1455,81 @@ function validate557(data, { instancePath = "", parentData, parentDataProperty,
1445
1455
  errors = vErrors.length;
1446
1456
  }
1447
1457
  }
1458
+ if (data.content_snippet !== undefined) {
1459
+ let data16 = data.content_snippet;
1460
+ if (typeof data16 === "string") {
1461
+ if (func1(data16) > 121) {
1462
+ const err54 = {
1463
+ instancePath: instancePath + "/content_snippet",
1464
+ schemaPath: "#/properties/content_snippet/maxLength",
1465
+ keyword: "maxLength",
1466
+ params: { limit: 121 },
1467
+ message: "must NOT have more than 121 characters",
1468
+ };
1469
+ if (vErrors === null) {
1470
+ vErrors = [err54];
1471
+ }
1472
+ else {
1473
+ vErrors.push(err54);
1474
+ }
1475
+ errors++;
1476
+ }
1477
+ if (func1(data16) < 1) {
1478
+ const err55 = {
1479
+ instancePath: instancePath + "/content_snippet",
1480
+ schemaPath: "#/properties/content_snippet/minLength",
1481
+ keyword: "minLength",
1482
+ params: { limit: 1 },
1483
+ message: "must NOT have fewer than 1 characters",
1484
+ };
1485
+ if (vErrors === null) {
1486
+ vErrors = [err55];
1487
+ }
1488
+ else {
1489
+ vErrors.push(err55);
1490
+ }
1491
+ errors++;
1492
+ }
1493
+ }
1494
+ else {
1495
+ const err56 = {
1496
+ instancePath: instancePath + "/content_snippet",
1497
+ schemaPath: "#/properties/content_snippet/type",
1498
+ keyword: "type",
1499
+ params: { type: "string" },
1500
+ message: "must be string",
1501
+ };
1502
+ if (vErrors === null) {
1503
+ vErrors = [err56];
1504
+ }
1505
+ else {
1506
+ vErrors.push(err56);
1507
+ }
1508
+ errors++;
1509
+ }
1510
+ }
1511
+ if (data.content_retained !== undefined) {
1512
+ if (typeof data.content_retained !== "boolean") {
1513
+ const err57 = {
1514
+ instancePath: instancePath + "/content_retained",
1515
+ schemaPath: "#/properties/content_retained/type",
1516
+ keyword: "type",
1517
+ params: { type: "boolean" },
1518
+ message: "must be boolean",
1519
+ };
1520
+ if (vErrors === null) {
1521
+ vErrors = [err57];
1522
+ }
1523
+ else {
1524
+ vErrors.push(err57);
1525
+ }
1526
+ errors++;
1527
+ }
1528
+ }
1448
1529
  if (data.channel !== undefined) {
1449
- let data16 = data.channel;
1450
- if (typeof data16 !== "string") {
1451
- const err54 = {
1530
+ let data18 = data.channel;
1531
+ if (typeof data18 !== "string") {
1532
+ const err58 = {
1452
1533
  instancePath: instancePath + "/channel",
1453
1534
  schemaPath: "#/$defs/Channel/type",
1454
1535
  keyword: "type",
@@ -1456,17 +1537,17 @@ function validate557(data, { instancePath = "", parentData, parentDataProperty,
1456
1537
  message: "must be string",
1457
1538
  };
1458
1539
  if (vErrors === null) {
1459
- vErrors = [err54];
1540
+ vErrors = [err58];
1460
1541
  }
1461
1542
  else {
1462
- vErrors.push(err54);
1543
+ vErrors.push(err58);
1463
1544
  }
1464
1545
  errors++;
1465
1546
  }
1466
- if (!(data16 === "telegram" ||
1467
- data16 === "slack" ||
1468
- data16 === "email")) {
1469
- const err55 = {
1547
+ if (!(data18 === "telegram" ||
1548
+ data18 === "slack" ||
1549
+ data18 === "email")) {
1550
+ const err59 = {
1470
1551
  instancePath: instancePath + "/channel",
1471
1552
  schemaPath: "#/$defs/Channel/enum",
1472
1553
  keyword: "enum",
@@ -1474,17 +1555,17 @@ function validate557(data, { instancePath = "", parentData, parentDataProperty,
1474
1555
  message: "must be equal to one of the allowed values",
1475
1556
  };
1476
1557
  if (vErrors === null) {
1477
- vErrors = [err55];
1558
+ vErrors = [err59];
1478
1559
  }
1479
1560
  else {
1480
- vErrors.push(err55);
1561
+ vErrors.push(err59);
1481
1562
  }
1482
1563
  errors++;
1483
1564
  }
1484
1565
  }
1485
1566
  }
1486
1567
  else {
1487
- const err56 = {
1568
+ const err60 = {
1488
1569
  instancePath,
1489
1570
  schemaPath: "#/type",
1490
1571
  keyword: "type",
@@ -1492,10 +1573,10 @@ function validate557(data, { instancePath = "", parentData, parentDataProperty,
1492
1573
  message: "must be object",
1493
1574
  };
1494
1575
  if (vErrors === null) {
1495
- vErrors = [err56];
1576
+ vErrors = [err60];
1496
1577
  }
1497
1578
  else {
1498
- vErrors.push(err56);
1579
+ vErrors.push(err60);
1499
1580
  }
1500
1581
  errors++;
1501
1582
  }
@@ -2520,10 +2601,81 @@ function validate416(data, { instancePath = "", parentData, parentDataProperty,
2520
2601
  errors = vErrors.length;
2521
2602
  }
2522
2603
  }
2604
+ if (data.content_snippet !== undefined) {
2605
+ let data16 = data.content_snippet;
2606
+ if (typeof data16 === "string") {
2607
+ if (func1(data16) > 121) {
2608
+ const err54 = {
2609
+ instancePath: instancePath + "/content_snippet",
2610
+ schemaPath: "#/properties/content_snippet/maxLength",
2611
+ keyword: "maxLength",
2612
+ params: { limit: 121 },
2613
+ message: "must NOT have more than 121 characters",
2614
+ };
2615
+ if (vErrors === null) {
2616
+ vErrors = [err54];
2617
+ }
2618
+ else {
2619
+ vErrors.push(err54);
2620
+ }
2621
+ errors++;
2622
+ }
2623
+ if (func1(data16) < 1) {
2624
+ const err55 = {
2625
+ instancePath: instancePath + "/content_snippet",
2626
+ schemaPath: "#/properties/content_snippet/minLength",
2627
+ keyword: "minLength",
2628
+ params: { limit: 1 },
2629
+ message: "must NOT have fewer than 1 characters",
2630
+ };
2631
+ if (vErrors === null) {
2632
+ vErrors = [err55];
2633
+ }
2634
+ else {
2635
+ vErrors.push(err55);
2636
+ }
2637
+ errors++;
2638
+ }
2639
+ }
2640
+ else {
2641
+ const err56 = {
2642
+ instancePath: instancePath + "/content_snippet",
2643
+ schemaPath: "#/properties/content_snippet/type",
2644
+ keyword: "type",
2645
+ params: { type: "string" },
2646
+ message: "must be string",
2647
+ };
2648
+ if (vErrors === null) {
2649
+ vErrors = [err56];
2650
+ }
2651
+ else {
2652
+ vErrors.push(err56);
2653
+ }
2654
+ errors++;
2655
+ }
2656
+ }
2657
+ if (data.content_retained !== undefined) {
2658
+ if (typeof data.content_retained !== "boolean") {
2659
+ const err57 = {
2660
+ instancePath: instancePath + "/content_retained",
2661
+ schemaPath: "#/properties/content_retained/type",
2662
+ keyword: "type",
2663
+ params: { type: "boolean" },
2664
+ message: "must be boolean",
2665
+ };
2666
+ if (vErrors === null) {
2667
+ vErrors = [err57];
2668
+ }
2669
+ else {
2670
+ vErrors.push(err57);
2671
+ }
2672
+ errors++;
2673
+ }
2674
+ }
2523
2675
  if (data.channel !== undefined) {
2524
- let data16 = data.channel;
2525
- if (typeof data16 !== "string") {
2526
- const err54 = {
2676
+ let data18 = data.channel;
2677
+ if (typeof data18 !== "string") {
2678
+ const err58 = {
2527
2679
  instancePath: instancePath + "/channel",
2528
2680
  schemaPath: "#/$defs/Channel/type",
2529
2681
  keyword: "type",
@@ -2531,17 +2683,17 @@ function validate416(data, { instancePath = "", parentData, parentDataProperty,
2531
2683
  message: "must be string",
2532
2684
  };
2533
2685
  if (vErrors === null) {
2534
- vErrors = [err54];
2686
+ vErrors = [err58];
2535
2687
  }
2536
2688
  else {
2537
- vErrors.push(err54);
2689
+ vErrors.push(err58);
2538
2690
  }
2539
2691
  errors++;
2540
2692
  }
2541
- if (!(data16 === "telegram" ||
2542
- data16 === "slack" ||
2543
- data16 === "email")) {
2544
- const err55 = {
2693
+ if (!(data18 === "telegram" ||
2694
+ data18 === "slack" ||
2695
+ data18 === "email")) {
2696
+ const err59 = {
2545
2697
  instancePath: instancePath + "/channel",
2546
2698
  schemaPath: "#/$defs/Channel/enum",
2547
2699
  keyword: "enum",
@@ -2549,17 +2701,17 @@ function validate416(data, { instancePath = "", parentData, parentDataProperty,
2549
2701
  message: "must be equal to one of the allowed values",
2550
2702
  };
2551
2703
  if (vErrors === null) {
2552
- vErrors = [err55];
2704
+ vErrors = [err59];
2553
2705
  }
2554
2706
  else {
2555
- vErrors.push(err55);
2707
+ vErrors.push(err59);
2556
2708
  }
2557
2709
  errors++;
2558
2710
  }
2559
2711
  }
2560
2712
  }
2561
2713
  else {
2562
- const err56 = {
2714
+ const err60 = {
2563
2715
  instancePath,
2564
2716
  schemaPath: "#/type",
2565
2717
  keyword: "type",
@@ -2567,10 +2719,10 @@ function validate416(data, { instancePath = "", parentData, parentDataProperty,
2567
2719
  message: "must be object",
2568
2720
  };
2569
2721
  if (vErrors === null) {
2570
- vErrors = [err56];
2722
+ vErrors = [err60];
2571
2723
  }
2572
2724
  else {
2573
- vErrors.push(err56);
2725
+ vErrors.push(err60);
2574
2726
  }
2575
2727
  errors++;
2576
2728
  }
@@ -110102,6 +110254,11 @@ const schema716 = {
110102
110254
  maxLength: 254,
110103
110255
  description: "What to call this subscriber: `display_name` when your application sent one, otherwise the name their channel gave when they connected (a Telegram username, a Slack display name, an email address), which is kept only on the standard privacy setting. Absent when there is neither; show `subscriber_id` then.",
110104
110256
  },
110257
+ team_member: {
110258
+ type: "boolean",
110259
+ const: true,
110260
+ description: "Present when this subscriber is someone on your WhooshBang team, messaged through the operators group. `name` is then their WhooshBang account name. They manage their own channels in notification preferences, so the subscriber can be read but not renamed, paused or erased.",
110261
+ },
110105
110262
  locale: { $ref: "#/$defs/RecipientLanguage" },
110106
110263
  time_zone: { $ref: "#/$defs/TimeZone" },
110107
110264
  channels: {
@@ -110443,10 +110600,45 @@ function validate709(data, { instancePath = "", parentData, parentDataProperty,
110443
110600
  errors++;
110444
110601
  }
110445
110602
  }
110446
- if (data.locale !== undefined) {
110447
- let data3 = data.locale;
110448
- if (typeof data3 !== "string") {
110603
+ if (data.team_member !== undefined) {
110604
+ let data3 = data.team_member;
110605
+ if (typeof data3 !== "boolean") {
110449
110606
  const err15 = {
110607
+ instancePath: instancePath + "/team_member",
110608
+ schemaPath: "#/properties/team_member/type",
110609
+ keyword: "type",
110610
+ params: { type: "boolean" },
110611
+ message: "must be boolean",
110612
+ };
110613
+ if (vErrors === null) {
110614
+ vErrors = [err15];
110615
+ }
110616
+ else {
110617
+ vErrors.push(err15);
110618
+ }
110619
+ errors++;
110620
+ }
110621
+ if (true !== data3) {
110622
+ const err16 = {
110623
+ instancePath: instancePath + "/team_member",
110624
+ schemaPath: "#/properties/team_member/const",
110625
+ keyword: "const",
110626
+ params: { allowedValue: true },
110627
+ message: "must be equal to constant",
110628
+ };
110629
+ if (vErrors === null) {
110630
+ vErrors = [err16];
110631
+ }
110632
+ else {
110633
+ vErrors.push(err16);
110634
+ }
110635
+ errors++;
110636
+ }
110637
+ }
110638
+ if (data.locale !== undefined) {
110639
+ let data4 = data.locale;
110640
+ if (typeof data4 !== "string") {
110641
+ const err17 = {
110450
110642
  instancePath: instancePath + "/locale",
110451
110643
  schemaPath: "#/$defs/RecipientLanguage/type",
110452
110644
  keyword: "type",
@@ -110454,30 +110646,30 @@ function validate709(data, { instancePath = "", parentData, parentDataProperty,
110454
110646
  message: "must be string",
110455
110647
  };
110456
110648
  if (vErrors === null) {
110457
- vErrors = [err15];
110649
+ vErrors = [err17];
110458
110650
  }
110459
110651
  else {
110460
- vErrors.push(err15);
110652
+ vErrors.push(err17);
110461
110653
  }
110462
110654
  errors++;
110463
110655
  }
110464
- if (!(data3 === "en" ||
110465
- data3 === "es" ||
110466
- data3 === "pt-BR" ||
110467
- data3 === "fr" ||
110468
- data3 === "de" ||
110469
- data3 === "it" ||
110470
- data3 === "nl" ||
110471
- data3 === "pl" ||
110472
- data3 === "ru" ||
110473
- data3 === "uk" ||
110474
- data3 === "tr" ||
110475
- data3 === "id" ||
110476
- data3 === "ar" ||
110477
- data3 === "fa" ||
110478
- data3 === "hi" ||
110479
- data3 === "zh-Hans")) {
110480
- const err16 = {
110656
+ if (!(data4 === "en" ||
110657
+ data4 === "es" ||
110658
+ data4 === "pt-BR" ||
110659
+ data4 === "fr" ||
110660
+ data4 === "de" ||
110661
+ data4 === "it" ||
110662
+ data4 === "nl" ||
110663
+ data4 === "pl" ||
110664
+ data4 === "ru" ||
110665
+ data4 === "uk" ||
110666
+ data4 === "tr" ||
110667
+ data4 === "id" ||
110668
+ data4 === "ar" ||
110669
+ data4 === "fa" ||
110670
+ data4 === "hi" ||
110671
+ data4 === "zh-Hans")) {
110672
+ const err18 = {
110481
110673
  instancePath: instancePath + "/locale",
110482
110674
  schemaPath: "#/$defs/RecipientLanguage/enum",
110483
110675
  keyword: "enum",
@@ -110485,19 +110677,19 @@ function validate709(data, { instancePath = "", parentData, parentDataProperty,
110485
110677
  message: "must be equal to one of the allowed values",
110486
110678
  };
110487
110679
  if (vErrors === null) {
110488
- vErrors = [err16];
110680
+ vErrors = [err18];
110489
110681
  }
110490
110682
  else {
110491
- vErrors.push(err16);
110683
+ vErrors.push(err18);
110492
110684
  }
110493
110685
  errors++;
110494
110686
  }
110495
110687
  }
110496
110688
  if (data.time_zone !== undefined) {
110497
- let data4 = data.time_zone;
110498
- if (typeof data4 === "string") {
110499
- if (func1(data4) > 255) {
110500
- const err17 = {
110689
+ let data5 = data.time_zone;
110690
+ if (typeof data5 === "string") {
110691
+ if (func1(data5) > 255) {
110692
+ const err19 = {
110501
110693
  instancePath: instancePath + "/time_zone",
110502
110694
  schemaPath: "#/$defs/TimeZone/maxLength",
110503
110695
  keyword: "maxLength",
@@ -110505,15 +110697,15 @@ function validate709(data, { instancePath = "", parentData, parentDataProperty,
110505
110697
  message: "must NOT have more than 255 characters",
110506
110698
  };
110507
110699
  if (vErrors === null) {
110508
- vErrors = [err17];
110700
+ vErrors = [err19];
110509
110701
  }
110510
110702
  else {
110511
- vErrors.push(err17);
110703
+ vErrors.push(err19);
110512
110704
  }
110513
110705
  errors++;
110514
110706
  }
110515
- if (func1(data4) < 3) {
110516
- const err18 = {
110707
+ if (func1(data5) < 3) {
110708
+ const err20 = {
110517
110709
  instancePath: instancePath + "/time_zone",
110518
110710
  schemaPath: "#/$defs/TimeZone/minLength",
110519
110711
  keyword: "minLength",
@@ -110521,15 +110713,15 @@ function validate709(data, { instancePath = "", parentData, parentDataProperty,
110521
110713
  message: "must NOT have fewer than 3 characters",
110522
110714
  };
110523
110715
  if (vErrors === null) {
110524
- vErrors = [err18];
110716
+ vErrors = [err20];
110525
110717
  }
110526
110718
  else {
110527
- vErrors.push(err18);
110719
+ vErrors.push(err20);
110528
110720
  }
110529
110721
  errors++;
110530
110722
  }
110531
- if (!pattern415.test(data4)) {
110532
- const err19 = {
110723
+ if (!pattern415.test(data5)) {
110724
+ const err21 = {
110533
110725
  instancePath: instancePath + "/time_zone",
110534
110726
  schemaPath: "#/$defs/TimeZone/pattern",
110535
110727
  keyword: "pattern",
@@ -110541,16 +110733,16 @@ function validate709(data, { instancePath = "", parentData, parentDataProperty,
110541
110733
  '"',
110542
110734
  };
110543
110735
  if (vErrors === null) {
110544
- vErrors = [err19];
110736
+ vErrors = [err21];
110545
110737
  }
110546
110738
  else {
110547
- vErrors.push(err19);
110739
+ vErrors.push(err21);
110548
110740
  }
110549
110741
  errors++;
110550
110742
  }
110551
110743
  }
110552
110744
  else {
110553
- const err20 = {
110745
+ const err22 = {
110554
110746
  instancePath: instancePath + "/time_zone",
110555
110747
  schemaPath: "#/$defs/TimeZone/type",
110556
110748
  keyword: "type",
@@ -110558,19 +110750,19 @@ function validate709(data, { instancePath = "", parentData, parentDataProperty,
110558
110750
  message: "must be string",
110559
110751
  };
110560
110752
  if (vErrors === null) {
110561
- vErrors = [err20];
110753
+ vErrors = [err22];
110562
110754
  }
110563
110755
  else {
110564
- vErrors.push(err20);
110756
+ vErrors.push(err22);
110565
110757
  }
110566
110758
  errors++;
110567
110759
  }
110568
110760
  }
110569
110761
  if (data.channels !== undefined) {
110570
- let data5 = data.channels;
110571
- if (Array.isArray(data5)) {
110572
- if (data5.length > 3) {
110573
- const err21 = {
110762
+ let data6 = data.channels;
110763
+ if (Array.isArray(data6)) {
110764
+ if (data6.length > 3) {
110765
+ const err23 = {
110574
110766
  instancePath: instancePath + "/channels",
110575
110767
  schemaPath: "#/properties/channels/maxItems",
110576
110768
  keyword: "maxItems",
@@ -110578,18 +110770,18 @@ function validate709(data, { instancePath = "", parentData, parentDataProperty,
110578
110770
  message: "must NOT have more than 3 items",
110579
110771
  };
110580
110772
  if (vErrors === null) {
110581
- vErrors = [err21];
110773
+ vErrors = [err23];
110582
110774
  }
110583
110775
  else {
110584
- vErrors.push(err21);
110776
+ vErrors.push(err23);
110585
110777
  }
110586
110778
  errors++;
110587
110779
  }
110588
- const len0 = data5.length;
110780
+ const len0 = data6.length;
110589
110781
  for (let i0 = 0; i0 < len0; i0++) {
110590
- let data6 = data5[i0];
110591
- if (typeof data6 !== "string") {
110592
- const err22 = {
110782
+ let data7 = data6[i0];
110783
+ if (typeof data7 !== "string") {
110784
+ const err24 = {
110593
110785
  instancePath: instancePath + "/channels/" + i0,
110594
110786
  schemaPath: "#/$defs/Channel/type",
110595
110787
  keyword: "type",
@@ -110597,17 +110789,17 @@ function validate709(data, { instancePath = "", parentData, parentDataProperty,
110597
110789
  message: "must be string",
110598
110790
  };
110599
110791
  if (vErrors === null) {
110600
- vErrors = [err22];
110792
+ vErrors = [err24];
110601
110793
  }
110602
110794
  else {
110603
- vErrors.push(err22);
110795
+ vErrors.push(err24);
110604
110796
  }
110605
110797
  errors++;
110606
110798
  }
110607
- if (!(data6 === "telegram" ||
110608
- data6 === "slack" ||
110609
- data6 === "email")) {
110610
- const err23 = {
110799
+ if (!(data7 === "telegram" ||
110800
+ data7 === "slack" ||
110801
+ data7 === "email")) {
110802
+ const err25 = {
110611
110803
  instancePath: instancePath + "/channels/" + i0,
110612
110804
  schemaPath: "#/$defs/Channel/enum",
110613
110805
  keyword: "enum",
@@ -110615,21 +110807,21 @@ function validate709(data, { instancePath = "", parentData, parentDataProperty,
110615
110807
  message: "must be equal to one of the allowed values",
110616
110808
  };
110617
110809
  if (vErrors === null) {
110618
- vErrors = [err23];
110810
+ vErrors = [err25];
110619
110811
  }
110620
110812
  else {
110621
- vErrors.push(err23);
110813
+ vErrors.push(err25);
110622
110814
  }
110623
110815
  errors++;
110624
110816
  }
110625
110817
  }
110626
- let i1 = data5.length;
110818
+ let i1 = data6.length;
110627
110819
  let j0;
110628
110820
  if (i1 > 1) {
110629
110821
  outer0: for (; i1--;) {
110630
110822
  for (j0 = i1; j0--;) {
110631
- if (func0(data5[i1], data5[j0])) {
110632
- const err24 = {
110823
+ if (func0(data6[i1], data6[j0])) {
110824
+ const err26 = {
110633
110825
  instancePath: instancePath + "/channels",
110634
110826
  schemaPath: "#/properties/channels/uniqueItems",
110635
110827
  keyword: "uniqueItems",
@@ -110641,10 +110833,10 @@ function validate709(data, { instancePath = "", parentData, parentDataProperty,
110641
110833
  " are identical)",
110642
110834
  };
110643
110835
  if (vErrors === null) {
110644
- vErrors = [err24];
110836
+ vErrors = [err26];
110645
110837
  }
110646
110838
  else {
110647
- vErrors.push(err24);
110839
+ vErrors.push(err26);
110648
110840
  }
110649
110841
  errors++;
110650
110842
  break outer0;
@@ -110654,7 +110846,7 @@ function validate709(data, { instancePath = "", parentData, parentDataProperty,
110654
110846
  }
110655
110847
  }
110656
110848
  else {
110657
- const err25 = {
110849
+ const err27 = {
110658
110850
  instancePath: instancePath + "/channels",
110659
110851
  schemaPath: "#/properties/channels/type",
110660
110852
  keyword: "type",
@@ -110662,19 +110854,19 @@ function validate709(data, { instancePath = "", parentData, parentDataProperty,
110662
110854
  message: "must be array",
110663
110855
  };
110664
110856
  if (vErrors === null) {
110665
- vErrors = [err25];
110857
+ vErrors = [err27];
110666
110858
  }
110667
110859
  else {
110668
- vErrors.push(err25);
110860
+ vErrors.push(err27);
110669
110861
  }
110670
110862
  errors++;
110671
110863
  }
110672
110864
  }
110673
110865
  if (data.profiles !== undefined) {
110674
- let data7 = data.profiles;
110675
- if (Array.isArray(data7)) {
110676
- if (data7.length > 3) {
110677
- const err26 = {
110866
+ let data8 = data.profiles;
110867
+ if (Array.isArray(data8)) {
110868
+ if (data8.length > 3) {
110869
+ const err28 = {
110678
110870
  instancePath: instancePath + "/profiles",
110679
110871
  schemaPath: "#/properties/profiles/maxItems",
110680
110872
  keyword: "maxItems",
@@ -110682,19 +110874,19 @@ function validate709(data, { instancePath = "", parentData, parentDataProperty,
110682
110874
  message: "must NOT have more than 3 items",
110683
110875
  };
110684
110876
  if (vErrors === null) {
110685
- vErrors = [err26];
110877
+ vErrors = [err28];
110686
110878
  }
110687
110879
  else {
110688
- vErrors.push(err26);
110880
+ vErrors.push(err28);
110689
110881
  }
110690
110882
  errors++;
110691
110883
  }
110692
- const len1 = data7.length;
110884
+ const len1 = data8.length;
110693
110885
  for (let i2 = 0; i2 < len1; i2++) {
110694
- let data8 = data7[i2];
110695
- if (data8 && typeof data8 == "object" && !Array.isArray(data8)) {
110696
- if (data8.channel === undefined) {
110697
- const err27 = {
110886
+ let data9 = data8[i2];
110887
+ if (data9 && typeof data9 == "object" && !Array.isArray(data9)) {
110888
+ if (data9.channel === undefined) {
110889
+ const err29 = {
110698
110890
  instancePath: instancePath + "/profiles/" + i2,
110699
110891
  schemaPath: "#/properties/profiles/items/required",
110700
110892
  keyword: "required",
@@ -110702,21 +110894,21 @@ function validate709(data, { instancePath = "", parentData, parentDataProperty,
110702
110894
  message: "must have required property '" + "channel" + "'",
110703
110895
  };
110704
110896
  if (vErrors === null) {
110705
- vErrors = [err27];
110897
+ vErrors = [err29];
110706
110898
  }
110707
110899
  else {
110708
- vErrors.push(err27);
110900
+ vErrors.push(err29);
110709
110901
  }
110710
110902
  errors++;
110711
110903
  }
110712
- for (const key1 in data8) {
110904
+ for (const key1 in data9) {
110713
110905
  if (!(key1 === "channel" ||
110714
110906
  key1 === "name" ||
110715
110907
  key1 === "username" ||
110716
110908
  key1 === "language" ||
110717
110909
  key1 === "time_zone" ||
110718
110910
  key1 === "photo_data_url")) {
110719
- const err28 = {
110911
+ const err30 = {
110720
110912
  instancePath: instancePath + "/profiles/" + i2,
110721
110913
  schemaPath: "#/properties/profiles/items/additionalProperties",
110722
110914
  keyword: "additionalProperties",
@@ -110724,18 +110916,18 @@ function validate709(data, { instancePath = "", parentData, parentDataProperty,
110724
110916
  message: "must NOT have additional properties",
110725
110917
  };
110726
110918
  if (vErrors === null) {
110727
- vErrors = [err28];
110919
+ vErrors = [err30];
110728
110920
  }
110729
110921
  else {
110730
- vErrors.push(err28);
110922
+ vErrors.push(err30);
110731
110923
  }
110732
110924
  errors++;
110733
110925
  }
110734
110926
  }
110735
- if (data8.channel !== undefined) {
110736
- let data9 = data8.channel;
110737
- if (typeof data9 !== "string") {
110738
- const err29 = {
110927
+ if (data9.channel !== undefined) {
110928
+ let data10 = data9.channel;
110929
+ if (typeof data10 !== "string") {
110930
+ const err31 = {
110739
110931
  instancePath: instancePath + "/profiles/" + i2 + "/channel",
110740
110932
  schemaPath: "#/properties/profiles/items/properties/channel/type",
110741
110933
  keyword: "type",
@@ -110743,15 +110935,15 @@ function validate709(data, { instancePath = "", parentData, parentDataProperty,
110743
110935
  message: "must be string",
110744
110936
  };
110745
110937
  if (vErrors === null) {
110746
- vErrors = [err29];
110938
+ vErrors = [err31];
110747
110939
  }
110748
110940
  else {
110749
- vErrors.push(err29);
110941
+ vErrors.push(err31);
110750
110942
  }
110751
110943
  errors++;
110752
110944
  }
110753
- if (!(data9 === "slack" || data9 === "telegram")) {
110754
- const err30 = {
110945
+ if (!(data10 === "slack" || data10 === "telegram")) {
110946
+ const err32 = {
110755
110947
  instancePath: instancePath + "/profiles/" + i2 + "/channel",
110756
110948
  schemaPath: "#/properties/profiles/items/properties/channel/enum",
110757
110949
  keyword: "enum",
@@ -110762,19 +110954,19 @@ function validate709(data, { instancePath = "", parentData, parentDataProperty,
110762
110954
  message: "must be equal to one of the allowed values",
110763
110955
  };
110764
110956
  if (vErrors === null) {
110765
- vErrors = [err30];
110957
+ vErrors = [err32];
110766
110958
  }
110767
110959
  else {
110768
- vErrors.push(err30);
110960
+ vErrors.push(err32);
110769
110961
  }
110770
110962
  errors++;
110771
110963
  }
110772
110964
  }
110773
- if (data8.name !== undefined) {
110774
- let data10 = data8.name;
110775
- if (typeof data10 === "string") {
110776
- if (func1(data10) > 254) {
110777
- const err31 = {
110965
+ if (data9.name !== undefined) {
110966
+ let data11 = data9.name;
110967
+ if (typeof data11 === "string") {
110968
+ if (func1(data11) > 254) {
110969
+ const err33 = {
110778
110970
  instancePath: instancePath + "/profiles/" + i2 + "/name",
110779
110971
  schemaPath: "#/properties/profiles/items/properties/name/maxLength",
110780
110972
  keyword: "maxLength",
@@ -110782,15 +110974,15 @@ function validate709(data, { instancePath = "", parentData, parentDataProperty,
110782
110974
  message: "must NOT have more than 254 characters",
110783
110975
  };
110784
110976
  if (vErrors === null) {
110785
- vErrors = [err31];
110977
+ vErrors = [err33];
110786
110978
  }
110787
110979
  else {
110788
- vErrors.push(err31);
110980
+ vErrors.push(err33);
110789
110981
  }
110790
110982
  errors++;
110791
110983
  }
110792
- if (func1(data10) < 1) {
110793
- const err32 = {
110984
+ if (func1(data11) < 1) {
110985
+ const err34 = {
110794
110986
  instancePath: instancePath + "/profiles/" + i2 + "/name",
110795
110987
  schemaPath: "#/properties/profiles/items/properties/name/minLength",
110796
110988
  keyword: "minLength",
@@ -110798,16 +110990,16 @@ function validate709(data, { instancePath = "", parentData, parentDataProperty,
110798
110990
  message: "must NOT have fewer than 1 characters",
110799
110991
  };
110800
110992
  if (vErrors === null) {
110801
- vErrors = [err32];
110993
+ vErrors = [err34];
110802
110994
  }
110803
110995
  else {
110804
- vErrors.push(err32);
110996
+ vErrors.push(err34);
110805
110997
  }
110806
110998
  errors++;
110807
110999
  }
110808
111000
  }
110809
111001
  else {
110810
- const err33 = {
111002
+ const err35 = {
110811
111003
  instancePath: instancePath + "/profiles/" + i2 + "/name",
110812
111004
  schemaPath: "#/properties/profiles/items/properties/name/type",
110813
111005
  keyword: "type",
@@ -110815,19 +111007,19 @@ function validate709(data, { instancePath = "", parentData, parentDataProperty,
110815
111007
  message: "must be string",
110816
111008
  };
110817
111009
  if (vErrors === null) {
110818
- vErrors = [err33];
111010
+ vErrors = [err35];
110819
111011
  }
110820
111012
  else {
110821
- vErrors.push(err33);
111013
+ vErrors.push(err35);
110822
111014
  }
110823
111015
  errors++;
110824
111016
  }
110825
111017
  }
110826
- if (data8.username !== undefined) {
110827
- let data11 = data8.username;
110828
- if (typeof data11 === "string") {
110829
- if (func1(data11) > 80) {
110830
- const err34 = {
111018
+ if (data9.username !== undefined) {
111019
+ let data12 = data9.username;
111020
+ if (typeof data12 === "string") {
111021
+ if (func1(data12) > 80) {
111022
+ const err36 = {
110831
111023
  instancePath: instancePath + "/profiles/" + i2 + "/username",
110832
111024
  schemaPath: "#/properties/profiles/items/properties/username/maxLength",
110833
111025
  keyword: "maxLength",
@@ -110835,15 +111027,15 @@ function validate709(data, { instancePath = "", parentData, parentDataProperty,
110835
111027
  message: "must NOT have more than 80 characters",
110836
111028
  };
110837
111029
  if (vErrors === null) {
110838
- vErrors = [err34];
111030
+ vErrors = [err36];
110839
111031
  }
110840
111032
  else {
110841
- vErrors.push(err34);
111033
+ vErrors.push(err36);
110842
111034
  }
110843
111035
  errors++;
110844
111036
  }
110845
- if (func1(data11) < 1) {
110846
- const err35 = {
111037
+ if (func1(data12) < 1) {
111038
+ const err37 = {
110847
111039
  instancePath: instancePath + "/profiles/" + i2 + "/username",
110848
111040
  schemaPath: "#/properties/profiles/items/properties/username/minLength",
110849
111041
  keyword: "minLength",
@@ -110851,16 +111043,16 @@ function validate709(data, { instancePath = "", parentData, parentDataProperty,
110851
111043
  message: "must NOT have fewer than 1 characters",
110852
111044
  };
110853
111045
  if (vErrors === null) {
110854
- vErrors = [err35];
111046
+ vErrors = [err37];
110855
111047
  }
110856
111048
  else {
110857
- vErrors.push(err35);
111049
+ vErrors.push(err37);
110858
111050
  }
110859
111051
  errors++;
110860
111052
  }
110861
111053
  }
110862
111054
  else {
110863
- const err36 = {
111055
+ const err38 = {
110864
111056
  instancePath: instancePath + "/profiles/" + i2 + "/username",
110865
111057
  schemaPath: "#/properties/profiles/items/properties/username/type",
110866
111058
  keyword: "type",
@@ -110868,19 +111060,19 @@ function validate709(data, { instancePath = "", parentData, parentDataProperty,
110868
111060
  message: "must be string",
110869
111061
  };
110870
111062
  if (vErrors === null) {
110871
- vErrors = [err36];
111063
+ vErrors = [err38];
110872
111064
  }
110873
111065
  else {
110874
- vErrors.push(err36);
111066
+ vErrors.push(err38);
110875
111067
  }
110876
111068
  errors++;
110877
111069
  }
110878
111070
  }
110879
- if (data8.language !== undefined) {
110880
- let data12 = data8.language;
110881
- if (typeof data12 === "string") {
110882
- if (func1(data12) > 64) {
110883
- const err37 = {
111071
+ if (data9.language !== undefined) {
111072
+ let data13 = data9.language;
111073
+ if (typeof data13 === "string") {
111074
+ if (func1(data13) > 64) {
111075
+ const err39 = {
110884
111076
  instancePath: instancePath + "/profiles/" + i2 + "/language",
110885
111077
  schemaPath: "#/properties/profiles/items/properties/language/maxLength",
110886
111078
  keyword: "maxLength",
@@ -110888,15 +111080,15 @@ function validate709(data, { instancePath = "", parentData, parentDataProperty,
110888
111080
  message: "must NOT have more than 64 characters",
110889
111081
  };
110890
111082
  if (vErrors === null) {
110891
- vErrors = [err37];
111083
+ vErrors = [err39];
110892
111084
  }
110893
111085
  else {
110894
- vErrors.push(err37);
111086
+ vErrors.push(err39);
110895
111087
  }
110896
111088
  errors++;
110897
111089
  }
110898
- if (func1(data12) < 2) {
110899
- const err38 = {
111090
+ if (func1(data13) < 2) {
111091
+ const err40 = {
110900
111092
  instancePath: instancePath + "/profiles/" + i2 + "/language",
110901
111093
  schemaPath: "#/properties/profiles/items/properties/language/minLength",
110902
111094
  keyword: "minLength",
@@ -110904,16 +111096,16 @@ function validate709(data, { instancePath = "", parentData, parentDataProperty,
110904
111096
  message: "must NOT have fewer than 2 characters",
110905
111097
  };
110906
111098
  if (vErrors === null) {
110907
- vErrors = [err38];
111099
+ vErrors = [err40];
110908
111100
  }
110909
111101
  else {
110910
- vErrors.push(err38);
111102
+ vErrors.push(err40);
110911
111103
  }
110912
111104
  errors++;
110913
111105
  }
110914
111106
  }
110915
111107
  else {
110916
- const err39 = {
111108
+ const err41 = {
110917
111109
  instancePath: instancePath + "/profiles/" + i2 + "/language",
110918
111110
  schemaPath: "#/properties/profiles/items/properties/language/type",
110919
111111
  keyword: "type",
@@ -110921,19 +111113,19 @@ function validate709(data, { instancePath = "", parentData, parentDataProperty,
110921
111113
  message: "must be string",
110922
111114
  };
110923
111115
  if (vErrors === null) {
110924
- vErrors = [err39];
111116
+ vErrors = [err41];
110925
111117
  }
110926
111118
  else {
110927
- vErrors.push(err39);
111119
+ vErrors.push(err41);
110928
111120
  }
110929
111121
  errors++;
110930
111122
  }
110931
111123
  }
110932
- if (data8.time_zone !== undefined) {
110933
- let data13 = data8.time_zone;
110934
- if (typeof data13 === "string") {
110935
- if (func1(data13) > 255) {
110936
- const err40 = {
111124
+ if (data9.time_zone !== undefined) {
111125
+ let data14 = data9.time_zone;
111126
+ if (typeof data14 === "string") {
111127
+ if (func1(data14) > 255) {
111128
+ const err42 = {
110937
111129
  instancePath: instancePath + "/profiles/" + i2 + "/time_zone",
110938
111130
  schemaPath: "#/$defs/TimeZone/maxLength",
110939
111131
  keyword: "maxLength",
@@ -110941,15 +111133,15 @@ function validate709(data, { instancePath = "", parentData, parentDataProperty,
110941
111133
  message: "must NOT have more than 255 characters",
110942
111134
  };
110943
111135
  if (vErrors === null) {
110944
- vErrors = [err40];
111136
+ vErrors = [err42];
110945
111137
  }
110946
111138
  else {
110947
- vErrors.push(err40);
111139
+ vErrors.push(err42);
110948
111140
  }
110949
111141
  errors++;
110950
111142
  }
110951
- if (func1(data13) < 3) {
110952
- const err41 = {
111143
+ if (func1(data14) < 3) {
111144
+ const err43 = {
110953
111145
  instancePath: instancePath + "/profiles/" + i2 + "/time_zone",
110954
111146
  schemaPath: "#/$defs/TimeZone/minLength",
110955
111147
  keyword: "minLength",
@@ -110957,15 +111149,15 @@ function validate709(data, { instancePath = "", parentData, parentDataProperty,
110957
111149
  message: "must NOT have fewer than 3 characters",
110958
111150
  };
110959
111151
  if (vErrors === null) {
110960
- vErrors = [err41];
111152
+ vErrors = [err43];
110961
111153
  }
110962
111154
  else {
110963
- vErrors.push(err41);
111155
+ vErrors.push(err43);
110964
111156
  }
110965
111157
  errors++;
110966
111158
  }
110967
- if (!pattern415.test(data13)) {
110968
- const err42 = {
111159
+ if (!pattern415.test(data14)) {
111160
+ const err44 = {
110969
111161
  instancePath: instancePath + "/profiles/" + i2 + "/time_zone",
110970
111162
  schemaPath: "#/$defs/TimeZone/pattern",
110971
111163
  keyword: "pattern",
@@ -110977,16 +111169,16 @@ function validate709(data, { instancePath = "", parentData, parentDataProperty,
110977
111169
  '"',
110978
111170
  };
110979
111171
  if (vErrors === null) {
110980
- vErrors = [err42];
111172
+ vErrors = [err44];
110981
111173
  }
110982
111174
  else {
110983
- vErrors.push(err42);
111175
+ vErrors.push(err44);
110984
111176
  }
110985
111177
  errors++;
110986
111178
  }
110987
111179
  }
110988
111180
  else {
110989
- const err43 = {
111181
+ const err45 = {
110990
111182
  instancePath: instancePath + "/profiles/" + i2 + "/time_zone",
110991
111183
  schemaPath: "#/$defs/TimeZone/type",
110992
111184
  keyword: "type",
@@ -110994,19 +111186,19 @@ function validate709(data, { instancePath = "", parentData, parentDataProperty,
110994
111186
  message: "must be string",
110995
111187
  };
110996
111188
  if (vErrors === null) {
110997
- vErrors = [err43];
111189
+ vErrors = [err45];
110998
111190
  }
110999
111191
  else {
111000
- vErrors.push(err43);
111192
+ vErrors.push(err45);
111001
111193
  }
111002
111194
  errors++;
111003
111195
  }
111004
111196
  }
111005
- if (data8.photo_data_url !== undefined) {
111006
- let data14 = data8.photo_data_url;
111007
- if (typeof data14 === "string") {
111008
- if (func1(data14) > 180000) {
111009
- const err44 = {
111197
+ if (data9.photo_data_url !== undefined) {
111198
+ let data15 = data9.photo_data_url;
111199
+ if (typeof data15 === "string") {
111200
+ if (func1(data15) > 180000) {
111201
+ const err46 = {
111010
111202
  instancePath: instancePath + "/profiles/" + i2 + "/photo_data_url",
111011
111203
  schemaPath: "#/properties/profiles/items/properties/photo_data_url/maxLength",
111012
111204
  keyword: "maxLength",
@@ -111014,15 +111206,15 @@ function validate709(data, { instancePath = "", parentData, parentDataProperty,
111014
111206
  message: "must NOT have more than 180000 characters",
111015
111207
  };
111016
111208
  if (vErrors === null) {
111017
- vErrors = [err44];
111209
+ vErrors = [err46];
111018
111210
  }
111019
111211
  else {
111020
- vErrors.push(err44);
111212
+ vErrors.push(err46);
111021
111213
  }
111022
111214
  errors++;
111023
111215
  }
111024
- if (!pattern421.test(data14)) {
111025
- const err45 = {
111216
+ if (!pattern421.test(data15)) {
111217
+ const err47 = {
111026
111218
  instancePath: instancePath + "/profiles/" + i2 + "/photo_data_url",
111027
111219
  schemaPath: "#/properties/profiles/items/properties/photo_data_url/pattern",
111028
111220
  keyword: "pattern",
@@ -111034,16 +111226,16 @@ function validate709(data, { instancePath = "", parentData, parentDataProperty,
111034
111226
  '"',
111035
111227
  };
111036
111228
  if (vErrors === null) {
111037
- vErrors = [err45];
111229
+ vErrors = [err47];
111038
111230
  }
111039
111231
  else {
111040
- vErrors.push(err45);
111232
+ vErrors.push(err47);
111041
111233
  }
111042
111234
  errors++;
111043
111235
  }
111044
111236
  }
111045
111237
  else {
111046
- const err46 = {
111238
+ const err48 = {
111047
111239
  instancePath: instancePath + "/profiles/" + i2 + "/photo_data_url",
111048
111240
  schemaPath: "#/properties/profiles/items/properties/photo_data_url/type",
111049
111241
  keyword: "type",
@@ -111051,17 +111243,17 @@ function validate709(data, { instancePath = "", parentData, parentDataProperty,
111051
111243
  message: "must be string",
111052
111244
  };
111053
111245
  if (vErrors === null) {
111054
- vErrors = [err46];
111246
+ vErrors = [err48];
111055
111247
  }
111056
111248
  else {
111057
- vErrors.push(err46);
111249
+ vErrors.push(err48);
111058
111250
  }
111059
111251
  errors++;
111060
111252
  }
111061
111253
  }
111062
111254
  }
111063
111255
  else {
111064
- const err47 = {
111256
+ const err49 = {
111065
111257
  instancePath: instancePath + "/profiles/" + i2,
111066
111258
  schemaPath: "#/properties/profiles/items/type",
111067
111259
  keyword: "type",
@@ -111069,17 +111261,17 @@ function validate709(data, { instancePath = "", parentData, parentDataProperty,
111069
111261
  message: "must be object",
111070
111262
  };
111071
111263
  if (vErrors === null) {
111072
- vErrors = [err47];
111264
+ vErrors = [err49];
111073
111265
  }
111074
111266
  else {
111075
- vErrors.push(err47);
111267
+ vErrors.push(err49);
111076
111268
  }
111077
111269
  errors++;
111078
111270
  }
111079
111271
  }
111080
111272
  }
111081
111273
  else {
111082
- const err48 = {
111274
+ const err50 = {
111083
111275
  instancePath: instancePath + "/profiles",
111084
111276
  schemaPath: "#/properties/profiles/type",
111085
111277
  keyword: "type",
@@ -111087,19 +111279,19 @@ function validate709(data, { instancePath = "", parentData, parentDataProperty,
111087
111279
  message: "must be array",
111088
111280
  };
111089
111281
  if (vErrors === null) {
111090
- vErrors = [err48];
111282
+ vErrors = [err50];
111091
111283
  }
111092
111284
  else {
111093
- vErrors.push(err48);
111285
+ vErrors.push(err50);
111094
111286
  }
111095
111287
  errors++;
111096
111288
  }
111097
111289
  }
111098
111290
  if (data.groups !== undefined) {
111099
- let data15 = data.groups;
111100
- if (Array.isArray(data15)) {
111101
- if (data15.length > 200) {
111102
- const err49 = {
111291
+ let data16 = data.groups;
111292
+ if (Array.isArray(data16)) {
111293
+ if (data16.length > 200) {
111294
+ const err51 = {
111103
111295
  instancePath: instancePath + "/groups",
111104
111296
  schemaPath: "#/properties/groups/maxItems",
111105
111297
  keyword: "maxItems",
@@ -111107,19 +111299,19 @@ function validate709(data, { instancePath = "", parentData, parentDataProperty,
111107
111299
  message: "must NOT have more than 200 items",
111108
111300
  };
111109
111301
  if (vErrors === null) {
111110
- vErrors = [err49];
111302
+ vErrors = [err51];
111111
111303
  }
111112
111304
  else {
111113
- vErrors.push(err49);
111305
+ vErrors.push(err51);
111114
111306
  }
111115
111307
  errors++;
111116
111308
  }
111117
- const len2 = data15.length;
111309
+ const len2 = data16.length;
111118
111310
  for (let i3 = 0; i3 < len2; i3++) {
111119
- let data16 = data15[i3];
111120
- if (typeof data16 === "string") {
111121
- if (func1(data16) > 63) {
111122
- const err50 = {
111311
+ let data17 = data16[i3];
111312
+ if (typeof data17 === "string") {
111313
+ if (func1(data17) > 63) {
111314
+ const err52 = {
111123
111315
  instancePath: instancePath + "/groups/" + i3,
111124
111316
  schemaPath: "#/$defs/GroupKey/maxLength",
111125
111317
  keyword: "maxLength",
@@ -111127,15 +111319,15 @@ function validate709(data, { instancePath = "", parentData, parentDataProperty,
111127
111319
  message: "must NOT have more than 63 characters",
111128
111320
  };
111129
111321
  if (vErrors === null) {
111130
- vErrors = [err50];
111322
+ vErrors = [err52];
111131
111323
  }
111132
111324
  else {
111133
- vErrors.push(err50);
111325
+ vErrors.push(err52);
111134
111326
  }
111135
111327
  errors++;
111136
111328
  }
111137
- if (func1(data16) < 1) {
111138
- const err51 = {
111329
+ if (func1(data17) < 1) {
111330
+ const err53 = {
111139
111331
  instancePath: instancePath + "/groups/" + i3,
111140
111332
  schemaPath: "#/$defs/GroupKey/minLength",
111141
111333
  keyword: "minLength",
@@ -111143,15 +111335,15 @@ function validate709(data, { instancePath = "", parentData, parentDataProperty,
111143
111335
  message: "must NOT have fewer than 1 characters",
111144
111336
  };
111145
111337
  if (vErrors === null) {
111146
- vErrors = [err51];
111338
+ vErrors = [err53];
111147
111339
  }
111148
111340
  else {
111149
- vErrors.push(err51);
111341
+ vErrors.push(err53);
111150
111342
  }
111151
111343
  errors++;
111152
111344
  }
111153
- if (!pattern416.test(data16)) {
111154
- const err52 = {
111345
+ if (!pattern416.test(data17)) {
111346
+ const err54 = {
111155
111347
  instancePath: instancePath + "/groups/" + i3,
111156
111348
  schemaPath: "#/$defs/GroupKey/pattern",
111157
111349
  keyword: "pattern",
@@ -111161,16 +111353,16 @@ function validate709(data, { instancePath = "", parentData, parentDataProperty,
111161
111353
  '"',
111162
111354
  };
111163
111355
  if (vErrors === null) {
111164
- vErrors = [err52];
111356
+ vErrors = [err54];
111165
111357
  }
111166
111358
  else {
111167
- vErrors.push(err52);
111359
+ vErrors.push(err54);
111168
111360
  }
111169
111361
  errors++;
111170
111362
  }
111171
111363
  }
111172
111364
  else {
111173
- const err53 = {
111365
+ const err55 = {
111174
111366
  instancePath: instancePath + "/groups/" + i3,
111175
111367
  schemaPath: "#/$defs/GroupKey/type",
111176
111368
  keyword: "type",
@@ -111178,21 +111370,21 @@ function validate709(data, { instancePath = "", parentData, parentDataProperty,
111178
111370
  message: "must be string",
111179
111371
  };
111180
111372
  if (vErrors === null) {
111181
- vErrors = [err53];
111373
+ vErrors = [err55];
111182
111374
  }
111183
111375
  else {
111184
- vErrors.push(err53);
111376
+ vErrors.push(err55);
111185
111377
  }
111186
111378
  errors++;
111187
111379
  }
111188
111380
  }
111189
- let i4 = data15.length;
111381
+ let i4 = data16.length;
111190
111382
  let j1;
111191
111383
  if (i4 > 1) {
111192
111384
  outer1: for (; i4--;) {
111193
111385
  for (j1 = i4; j1--;) {
111194
- if (func0(data15[i4], data15[j1])) {
111195
- const err54 = {
111386
+ if (func0(data16[i4], data16[j1])) {
111387
+ const err56 = {
111196
111388
  instancePath: instancePath + "/groups",
111197
111389
  schemaPath: "#/properties/groups/uniqueItems",
111198
111390
  keyword: "uniqueItems",
@@ -111204,10 +111396,10 @@ function validate709(data, { instancePath = "", parentData, parentDataProperty,
111204
111396
  " are identical)",
111205
111397
  };
111206
111398
  if (vErrors === null) {
111207
- vErrors = [err54];
111399
+ vErrors = [err56];
111208
111400
  }
111209
111401
  else {
111210
- vErrors.push(err54);
111402
+ vErrors.push(err56);
111211
111403
  }
111212
111404
  errors++;
111213
111405
  break outer1;
@@ -111217,7 +111409,7 @@ function validate709(data, { instancePath = "", parentData, parentDataProperty,
111217
111409
  }
111218
111410
  }
111219
111411
  else {
111220
- const err55 = {
111412
+ const err57 = {
111221
111413
  instancePath: instancePath + "/groups",
111222
111414
  schemaPath: "#/properties/groups/type",
111223
111415
  keyword: "type",
@@ -111225,19 +111417,19 @@ function validate709(data, { instancePath = "", parentData, parentDataProperty,
111225
111417
  message: "must be array",
111226
111418
  };
111227
111419
  if (vErrors === null) {
111228
- vErrors = [err55];
111420
+ vErrors = [err57];
111229
111421
  }
111230
111422
  else {
111231
- vErrors.push(err55);
111423
+ vErrors.push(err57);
111232
111424
  }
111233
111425
  errors++;
111234
111426
  }
111235
111427
  }
111236
111428
  if (data.last_activity_at !== undefined) {
111237
- let data17 = data.last_activity_at;
111238
- if (typeof data17 === "string") {
111239
- if (!pattern5.test(data17)) {
111240
- const err56 = {
111429
+ let data18 = data.last_activity_at;
111430
+ if (typeof data18 === "string") {
111431
+ if (!pattern5.test(data18)) {
111432
+ const err58 = {
111241
111433
  instancePath: instancePath + "/last_activity_at",
111242
111434
  schemaPath: "#/$defs/Timestamp/pattern",
111243
111435
  keyword: "pattern",
@@ -111249,16 +111441,16 @@ function validate709(data, { instancePath = "", parentData, parentDataProperty,
111249
111441
  '"',
111250
111442
  };
111251
111443
  if (vErrors === null) {
111252
- vErrors = [err56];
111444
+ vErrors = [err58];
111253
111445
  }
111254
111446
  else {
111255
- vErrors.push(err56);
111447
+ vErrors.push(err58);
111256
111448
  }
111257
111449
  errors++;
111258
111450
  }
111259
111451
  }
111260
111452
  else {
111261
- const err57 = {
111453
+ const err59 = {
111262
111454
  instancePath: instancePath + "/last_activity_at",
111263
111455
  schemaPath: "#/$defs/Timestamp/type",
111264
111456
  keyword: "type",
@@ -111266,19 +111458,19 @@ function validate709(data, { instancePath = "", parentData, parentDataProperty,
111266
111458
  message: "must be string",
111267
111459
  };
111268
111460
  if (vErrors === null) {
111269
- vErrors = [err57];
111461
+ vErrors = [err59];
111270
111462
  }
111271
111463
  else {
111272
- vErrors.push(err57);
111464
+ vErrors.push(err59);
111273
111465
  }
111274
111466
  errors++;
111275
111467
  }
111276
111468
  }
111277
111469
  if (data.created_at !== undefined) {
111278
- let data18 = data.created_at;
111279
- if (typeof data18 === "string") {
111280
- if (!pattern5.test(data18)) {
111281
- const err58 = {
111470
+ let data19 = data.created_at;
111471
+ if (typeof data19 === "string") {
111472
+ if (!pattern5.test(data19)) {
111473
+ const err60 = {
111282
111474
  instancePath: instancePath + "/created_at",
111283
111475
  schemaPath: "#/$defs/Timestamp/pattern",
111284
111476
  keyword: "pattern",
@@ -111290,16 +111482,16 @@ function validate709(data, { instancePath = "", parentData, parentDataProperty,
111290
111482
  '"',
111291
111483
  };
111292
111484
  if (vErrors === null) {
111293
- vErrors = [err58];
111485
+ vErrors = [err60];
111294
111486
  }
111295
111487
  else {
111296
- vErrors.push(err58);
111488
+ vErrors.push(err60);
111297
111489
  }
111298
111490
  errors++;
111299
111491
  }
111300
111492
  }
111301
111493
  else {
111302
- const err59 = {
111494
+ const err61 = {
111303
111495
  instancePath: instancePath + "/created_at",
111304
111496
  schemaPath: "#/$defs/Timestamp/type",
111305
111497
  keyword: "type",
@@ -111307,19 +111499,19 @@ function validate709(data, { instancePath = "", parentData, parentDataProperty,
111307
111499
  message: "must be string",
111308
111500
  };
111309
111501
  if (vErrors === null) {
111310
- vErrors = [err59];
111502
+ vErrors = [err61];
111311
111503
  }
111312
111504
  else {
111313
- vErrors.push(err59);
111505
+ vErrors.push(err61);
111314
111506
  }
111315
111507
  errors++;
111316
111508
  }
111317
111509
  }
111318
111510
  if (data.updated_at !== undefined) {
111319
- let data19 = data.updated_at;
111320
- if (typeof data19 === "string") {
111321
- if (!pattern5.test(data19)) {
111322
- const err60 = {
111511
+ let data20 = data.updated_at;
111512
+ if (typeof data20 === "string") {
111513
+ if (!pattern5.test(data20)) {
111514
+ const err62 = {
111323
111515
  instancePath: instancePath + "/updated_at",
111324
111516
  schemaPath: "#/$defs/Timestamp/pattern",
111325
111517
  keyword: "pattern",
@@ -111331,16 +111523,16 @@ function validate709(data, { instancePath = "", parentData, parentDataProperty,
111331
111523
  '"',
111332
111524
  };
111333
111525
  if (vErrors === null) {
111334
- vErrors = [err60];
111526
+ vErrors = [err62];
111335
111527
  }
111336
111528
  else {
111337
- vErrors.push(err60);
111529
+ vErrors.push(err62);
111338
111530
  }
111339
111531
  errors++;
111340
111532
  }
111341
111533
  }
111342
111534
  else {
111343
- const err61 = {
111535
+ const err63 = {
111344
111536
  instancePath: instancePath + "/updated_at",
111345
111537
  schemaPath: "#/$defs/Timestamp/type",
111346
111538
  keyword: "type",
@@ -111348,19 +111540,19 @@ function validate709(data, { instancePath = "", parentData, parentDataProperty,
111348
111540
  message: "must be string",
111349
111541
  };
111350
111542
  if (vErrors === null) {
111351
- vErrors = [err61];
111543
+ vErrors = [err63];
111352
111544
  }
111353
111545
  else {
111354
- vErrors.push(err61);
111546
+ vErrors.push(err63);
111355
111547
  }
111356
111548
  errors++;
111357
111549
  }
111358
111550
  }
111359
111551
  if (data.diagnostic_id !== undefined) {
111360
- let data20 = data.diagnostic_id;
111361
- if (typeof data20 === "string") {
111362
- if (func1(data20) > 128) {
111363
- const err62 = {
111552
+ let data21 = data.diagnostic_id;
111553
+ if (typeof data21 === "string") {
111554
+ if (func1(data21) > 128) {
111555
+ const err64 = {
111364
111556
  instancePath: instancePath + "/diagnostic_id",
111365
111557
  schemaPath: "#/$defs/DiagnosticId/maxLength",
111366
111558
  keyword: "maxLength",
@@ -111368,15 +111560,15 @@ function validate709(data, { instancePath = "", parentData, parentDataProperty,
111368
111560
  message: "must NOT have more than 128 characters",
111369
111561
  };
111370
111562
  if (vErrors === null) {
111371
- vErrors = [err62];
111563
+ vErrors = [err64];
111372
111564
  }
111373
111565
  else {
111374
- vErrors.push(err62);
111566
+ vErrors.push(err64);
111375
111567
  }
111376
111568
  errors++;
111377
111569
  }
111378
- if (func1(data20) < 8) {
111379
- const err63 = {
111570
+ if (func1(data21) < 8) {
111571
+ const err65 = {
111380
111572
  instancePath: instancePath + "/diagnostic_id",
111381
111573
  schemaPath: "#/$defs/DiagnosticId/minLength",
111382
111574
  keyword: "minLength",
@@ -111384,15 +111576,15 @@ function validate709(data, { instancePath = "", parentData, parentDataProperty,
111384
111576
  message: "must NOT have fewer than 8 characters",
111385
111577
  };
111386
111578
  if (vErrors === null) {
111387
- vErrors = [err63];
111579
+ vErrors = [err65];
111388
111580
  }
111389
111581
  else {
111390
- vErrors.push(err63);
111582
+ vErrors.push(err65);
111391
111583
  }
111392
111584
  errors++;
111393
111585
  }
111394
- if (!pattern7.test(data20)) {
111395
- const err64 = {
111586
+ if (!pattern7.test(data21)) {
111587
+ const err66 = {
111396
111588
  instancePath: instancePath + "/diagnostic_id",
111397
111589
  schemaPath: "#/$defs/DiagnosticId/pattern",
111398
111590
  keyword: "pattern",
@@ -111400,16 +111592,16 @@ function validate709(data, { instancePath = "", parentData, parentDataProperty,
111400
111592
  message: 'must match pattern "' + "^[A-Za-z0-9_-]+$" + '"',
111401
111593
  };
111402
111594
  if (vErrors === null) {
111403
- vErrors = [err64];
111595
+ vErrors = [err66];
111404
111596
  }
111405
111597
  else {
111406
- vErrors.push(err64);
111598
+ vErrors.push(err66);
111407
111599
  }
111408
111600
  errors++;
111409
111601
  }
111410
111602
  }
111411
111603
  else {
111412
- const err65 = {
111604
+ const err67 = {
111413
111605
  instancePath: instancePath + "/diagnostic_id",
111414
111606
  schemaPath: "#/$defs/DiagnosticId/type",
111415
111607
  keyword: "type",
@@ -111417,18 +111609,18 @@ function validate709(data, { instancePath = "", parentData, parentDataProperty,
111417
111609
  message: "must be string",
111418
111610
  };
111419
111611
  if (vErrors === null) {
111420
- vErrors = [err65];
111612
+ vErrors = [err67];
111421
111613
  }
111422
111614
  else {
111423
- vErrors.push(err65);
111615
+ vErrors.push(err67);
111424
111616
  }
111425
111617
  errors++;
111426
111618
  }
111427
111619
  }
111428
111620
  if (data.effective_locale !== undefined) {
111429
- let data21 = data.effective_locale;
111430
- if (typeof data21 !== "string") {
111431
- const err66 = {
111621
+ let data22 = data.effective_locale;
111622
+ if (typeof data22 !== "string") {
111623
+ const err68 = {
111432
111624
  instancePath: instancePath + "/effective_locale",
111433
111625
  schemaPath: "#/$defs/RecipientLanguage/type",
111434
111626
  keyword: "type",
@@ -111436,30 +111628,30 @@ function validate709(data, { instancePath = "", parentData, parentDataProperty,
111436
111628
  message: "must be string",
111437
111629
  };
111438
111630
  if (vErrors === null) {
111439
- vErrors = [err66];
111631
+ vErrors = [err68];
111440
111632
  }
111441
111633
  else {
111442
- vErrors.push(err66);
111634
+ vErrors.push(err68);
111443
111635
  }
111444
111636
  errors++;
111445
111637
  }
111446
- if (!(data21 === "en" ||
111447
- data21 === "es" ||
111448
- data21 === "pt-BR" ||
111449
- data21 === "fr" ||
111450
- data21 === "de" ||
111451
- data21 === "it" ||
111452
- data21 === "nl" ||
111453
- data21 === "pl" ||
111454
- data21 === "ru" ||
111455
- data21 === "uk" ||
111456
- data21 === "tr" ||
111457
- data21 === "id" ||
111458
- data21 === "ar" ||
111459
- data21 === "fa" ||
111460
- data21 === "hi" ||
111461
- data21 === "zh-Hans")) {
111462
- const err67 = {
111638
+ if (!(data22 === "en" ||
111639
+ data22 === "es" ||
111640
+ data22 === "pt-BR" ||
111641
+ data22 === "fr" ||
111642
+ data22 === "de" ||
111643
+ data22 === "it" ||
111644
+ data22 === "nl" ||
111645
+ data22 === "pl" ||
111646
+ data22 === "ru" ||
111647
+ data22 === "uk" ||
111648
+ data22 === "tr" ||
111649
+ data22 === "id" ||
111650
+ data22 === "ar" ||
111651
+ data22 === "fa" ||
111652
+ data22 === "hi" ||
111653
+ data22 === "zh-Hans")) {
111654
+ const err69 = {
111463
111655
  instancePath: instancePath + "/effective_locale",
111464
111656
  schemaPath: "#/$defs/RecipientLanguage/enum",
111465
111657
  keyword: "enum",
@@ -111467,18 +111659,18 @@ function validate709(data, { instancePath = "", parentData, parentDataProperty,
111467
111659
  message: "must be equal to one of the allowed values",
111468
111660
  };
111469
111661
  if (vErrors === null) {
111470
- vErrors = [err67];
111662
+ vErrors = [err69];
111471
111663
  }
111472
111664
  else {
111473
- vErrors.push(err67);
111665
+ vErrors.push(err69);
111474
111666
  }
111475
111667
  errors++;
111476
111668
  }
111477
111669
  }
111478
111670
  if (data.locale_source !== undefined) {
111479
- let data22 = data.locale_source;
111480
- if (typeof data22 !== "string") {
111481
- const err68 = {
111671
+ let data23 = data.locale_source;
111672
+ if (typeof data23 !== "string") {
111673
+ const err70 = {
111482
111674
  instancePath: instancePath + "/locale_source",
111483
111675
  schemaPath: "#/properties/locale_source/type",
111484
111676
  keyword: "type",
@@ -111486,19 +111678,19 @@ function validate709(data, { instancePath = "", parentData, parentDataProperty,
111486
111678
  message: "must be string",
111487
111679
  };
111488
111680
  if (vErrors === null) {
111489
- vErrors = [err68];
111681
+ vErrors = [err70];
111490
111682
  }
111491
111683
  else {
111492
- vErrors.push(err68);
111684
+ vErrors.push(err70);
111493
111685
  }
111494
111686
  errors++;
111495
111687
  }
111496
- if (!(data22 === "administrator" ||
111497
- data22 === "application" ||
111498
- data22 === "slack" ||
111499
- data22 === "telegram" ||
111500
- data22 === "project")) {
111501
- const err69 = {
111688
+ if (!(data23 === "administrator" ||
111689
+ data23 === "application" ||
111690
+ data23 === "slack" ||
111691
+ data23 === "telegram" ||
111692
+ data23 === "project")) {
111693
+ const err71 = {
111502
111694
  instancePath: instancePath + "/locale_source",
111503
111695
  schemaPath: "#/properties/locale_source/enum",
111504
111696
  keyword: "enum",
@@ -111506,18 +111698,18 @@ function validate709(data, { instancePath = "", parentData, parentDataProperty,
111506
111698
  message: "must be equal to one of the allowed values",
111507
111699
  };
111508
111700
  if (vErrors === null) {
111509
- vErrors = [err69];
111701
+ vErrors = [err71];
111510
111702
  }
111511
111703
  else {
111512
- vErrors.push(err69);
111704
+ vErrors.push(err71);
111513
111705
  }
111514
111706
  errors++;
111515
111707
  }
111516
111708
  }
111517
111709
  if (data.locale_override !== undefined) {
111518
- let data23 = data.locale_override;
111519
- if (typeof data23 !== "string") {
111520
- const err70 = {
111710
+ let data24 = data.locale_override;
111711
+ if (typeof data24 !== "string") {
111712
+ const err72 = {
111521
111713
  instancePath: instancePath + "/locale_override",
111522
111714
  schemaPath: "#/$defs/RecipientLanguage/type",
111523
111715
  keyword: "type",
@@ -111525,30 +111717,30 @@ function validate709(data, { instancePath = "", parentData, parentDataProperty,
111525
111717
  message: "must be string",
111526
111718
  };
111527
111719
  if (vErrors === null) {
111528
- vErrors = [err70];
111720
+ vErrors = [err72];
111529
111721
  }
111530
111722
  else {
111531
- vErrors.push(err70);
111723
+ vErrors.push(err72);
111532
111724
  }
111533
111725
  errors++;
111534
111726
  }
111535
- if (!(data23 === "en" ||
111536
- data23 === "es" ||
111537
- data23 === "pt-BR" ||
111538
- data23 === "fr" ||
111539
- data23 === "de" ||
111540
- data23 === "it" ||
111541
- data23 === "nl" ||
111542
- data23 === "pl" ||
111543
- data23 === "ru" ||
111544
- data23 === "uk" ||
111545
- data23 === "tr" ||
111546
- data23 === "id" ||
111547
- data23 === "ar" ||
111548
- data23 === "fa" ||
111549
- data23 === "hi" ||
111550
- data23 === "zh-Hans")) {
111551
- const err71 = {
111727
+ if (!(data24 === "en" ||
111728
+ data24 === "es" ||
111729
+ data24 === "pt-BR" ||
111730
+ data24 === "fr" ||
111731
+ data24 === "de" ||
111732
+ data24 === "it" ||
111733
+ data24 === "nl" ||
111734
+ data24 === "pl" ||
111735
+ data24 === "ru" ||
111736
+ data24 === "uk" ||
111737
+ data24 === "tr" ||
111738
+ data24 === "id" ||
111739
+ data24 === "ar" ||
111740
+ data24 === "fa" ||
111741
+ data24 === "hi" ||
111742
+ data24 === "zh-Hans")) {
111743
+ const err73 = {
111552
111744
  instancePath: instancePath + "/locale_override",
111553
111745
  schemaPath: "#/$defs/RecipientLanguage/enum",
111554
111746
  keyword: "enum",
@@ -111556,19 +111748,19 @@ function validate709(data, { instancePath = "", parentData, parentDataProperty,
111556
111748
  message: "must be equal to one of the allowed values",
111557
111749
  };
111558
111750
  if (vErrors === null) {
111559
- vErrors = [err71];
111751
+ vErrors = [err73];
111560
111752
  }
111561
111753
  else {
111562
- vErrors.push(err71);
111754
+ vErrors.push(err73);
111563
111755
  }
111564
111756
  errors++;
111565
111757
  }
111566
111758
  }
111567
111759
  if (data.effective_time_zone !== undefined) {
111568
- let data24 = data.effective_time_zone;
111569
- if (typeof data24 === "string") {
111570
- if (func1(data24) > 255) {
111571
- const err72 = {
111760
+ let data25 = data.effective_time_zone;
111761
+ if (typeof data25 === "string") {
111762
+ if (func1(data25) > 255) {
111763
+ const err74 = {
111572
111764
  instancePath: instancePath + "/effective_time_zone",
111573
111765
  schemaPath: "#/$defs/TimeZone/maxLength",
111574
111766
  keyword: "maxLength",
@@ -111576,15 +111768,15 @@ function validate709(data, { instancePath = "", parentData, parentDataProperty,
111576
111768
  message: "must NOT have more than 255 characters",
111577
111769
  };
111578
111770
  if (vErrors === null) {
111579
- vErrors = [err72];
111771
+ vErrors = [err74];
111580
111772
  }
111581
111773
  else {
111582
- vErrors.push(err72);
111774
+ vErrors.push(err74);
111583
111775
  }
111584
111776
  errors++;
111585
111777
  }
111586
- if (func1(data24) < 3) {
111587
- const err73 = {
111778
+ if (func1(data25) < 3) {
111779
+ const err75 = {
111588
111780
  instancePath: instancePath + "/effective_time_zone",
111589
111781
  schemaPath: "#/$defs/TimeZone/minLength",
111590
111782
  keyword: "minLength",
@@ -111592,15 +111784,15 @@ function validate709(data, { instancePath = "", parentData, parentDataProperty,
111592
111784
  message: "must NOT have fewer than 3 characters",
111593
111785
  };
111594
111786
  if (vErrors === null) {
111595
- vErrors = [err73];
111787
+ vErrors = [err75];
111596
111788
  }
111597
111789
  else {
111598
- vErrors.push(err73);
111790
+ vErrors.push(err75);
111599
111791
  }
111600
111792
  errors++;
111601
111793
  }
111602
- if (!pattern415.test(data24)) {
111603
- const err74 = {
111794
+ if (!pattern415.test(data25)) {
111795
+ const err76 = {
111604
111796
  instancePath: instancePath + "/effective_time_zone",
111605
111797
  schemaPath: "#/$defs/TimeZone/pattern",
111606
111798
  keyword: "pattern",
@@ -111612,16 +111804,16 @@ function validate709(data, { instancePath = "", parentData, parentDataProperty,
111612
111804
  '"',
111613
111805
  };
111614
111806
  if (vErrors === null) {
111615
- vErrors = [err74];
111807
+ vErrors = [err76];
111616
111808
  }
111617
111809
  else {
111618
- vErrors.push(err74);
111810
+ vErrors.push(err76);
111619
111811
  }
111620
111812
  errors++;
111621
111813
  }
111622
111814
  }
111623
111815
  else {
111624
- const err75 = {
111816
+ const err77 = {
111625
111817
  instancePath: instancePath + "/effective_time_zone",
111626
111818
  schemaPath: "#/$defs/TimeZone/type",
111627
111819
  keyword: "type",
@@ -111629,19 +111821,19 @@ function validate709(data, { instancePath = "", parentData, parentDataProperty,
111629
111821
  message: "must be string",
111630
111822
  };
111631
111823
  if (vErrors === null) {
111632
- vErrors = [err75];
111824
+ vErrors = [err77];
111633
111825
  }
111634
111826
  else {
111635
- vErrors.push(err75);
111827
+ vErrors.push(err77);
111636
111828
  }
111637
111829
  errors++;
111638
111830
  }
111639
111831
  }
111640
111832
  if (data.time_zone_override !== undefined) {
111641
- let data25 = data.time_zone_override;
111642
- if (typeof data25 === "string") {
111643
- if (func1(data25) > 255) {
111644
- const err76 = {
111833
+ let data26 = data.time_zone_override;
111834
+ if (typeof data26 === "string") {
111835
+ if (func1(data26) > 255) {
111836
+ const err78 = {
111645
111837
  instancePath: instancePath + "/time_zone_override",
111646
111838
  schemaPath: "#/$defs/TimeZone/maxLength",
111647
111839
  keyword: "maxLength",
@@ -111649,15 +111841,15 @@ function validate709(data, { instancePath = "", parentData, parentDataProperty,
111649
111841
  message: "must NOT have more than 255 characters",
111650
111842
  };
111651
111843
  if (vErrors === null) {
111652
- vErrors = [err76];
111844
+ vErrors = [err78];
111653
111845
  }
111654
111846
  else {
111655
- vErrors.push(err76);
111847
+ vErrors.push(err78);
111656
111848
  }
111657
111849
  errors++;
111658
111850
  }
111659
- if (func1(data25) < 3) {
111660
- const err77 = {
111851
+ if (func1(data26) < 3) {
111852
+ const err79 = {
111661
111853
  instancePath: instancePath + "/time_zone_override",
111662
111854
  schemaPath: "#/$defs/TimeZone/minLength",
111663
111855
  keyword: "minLength",
@@ -111665,15 +111857,15 @@ function validate709(data, { instancePath = "", parentData, parentDataProperty,
111665
111857
  message: "must NOT have fewer than 3 characters",
111666
111858
  };
111667
111859
  if (vErrors === null) {
111668
- vErrors = [err77];
111860
+ vErrors = [err79];
111669
111861
  }
111670
111862
  else {
111671
- vErrors.push(err77);
111863
+ vErrors.push(err79);
111672
111864
  }
111673
111865
  errors++;
111674
111866
  }
111675
- if (!pattern415.test(data25)) {
111676
- const err78 = {
111867
+ if (!pattern415.test(data26)) {
111868
+ const err80 = {
111677
111869
  instancePath: instancePath + "/time_zone_override",
111678
111870
  schemaPath: "#/$defs/TimeZone/pattern",
111679
111871
  keyword: "pattern",
@@ -111685,16 +111877,16 @@ function validate709(data, { instancePath = "", parentData, parentDataProperty,
111685
111877
  '"',
111686
111878
  };
111687
111879
  if (vErrors === null) {
111688
- vErrors = [err78];
111880
+ vErrors = [err80];
111689
111881
  }
111690
111882
  else {
111691
- vErrors.push(err78);
111883
+ vErrors.push(err80);
111692
111884
  }
111693
111885
  errors++;
111694
111886
  }
111695
111887
  }
111696
111888
  else {
111697
- const err79 = {
111889
+ const err81 = {
111698
111890
  instancePath: instancePath + "/time_zone_override",
111699
111891
  schemaPath: "#/$defs/TimeZone/type",
111700
111892
  keyword: "type",
@@ -111702,18 +111894,18 @@ function validate709(data, { instancePath = "", parentData, parentDataProperty,
111702
111894
  message: "must be string",
111703
111895
  };
111704
111896
  if (vErrors === null) {
111705
- vErrors = [err79];
111897
+ vErrors = [err81];
111706
111898
  }
111707
111899
  else {
111708
- vErrors.push(err79);
111900
+ vErrors.push(err81);
111709
111901
  }
111710
111902
  errors++;
111711
111903
  }
111712
111904
  }
111713
111905
  if (data.time_zone_source !== undefined) {
111714
- let data26 = data.time_zone_source;
111715
- if (typeof data26 !== "string") {
111716
- const err80 = {
111906
+ let data27 = data.time_zone_source;
111907
+ if (typeof data27 !== "string") {
111908
+ const err82 = {
111717
111909
  instancePath: instancePath + "/time_zone_source",
111718
111910
  schemaPath: "#/properties/time_zone_source/type",
111719
111911
  keyword: "type",
@@ -111721,17 +111913,17 @@ function validate709(data, { instancePath = "", parentData, parentDataProperty,
111721
111913
  message: "must be string",
111722
111914
  };
111723
111915
  if (vErrors === null) {
111724
- vErrors = [err80];
111916
+ vErrors = [err82];
111725
111917
  }
111726
111918
  else {
111727
- vErrors.push(err80);
111919
+ vErrors.push(err82);
111728
111920
  }
111729
111921
  errors++;
111730
111922
  }
111731
- if (!(data26 === "administrator" ||
111732
- data26 === "application" ||
111733
- data26 === "slack")) {
111734
- const err81 = {
111923
+ if (!(data27 === "administrator" ||
111924
+ data27 === "application" ||
111925
+ data27 === "slack")) {
111926
+ const err83 = {
111735
111927
  instancePath: instancePath + "/time_zone_source",
111736
111928
  schemaPath: "#/properties/time_zone_source/enum",
111737
111929
  keyword: "enum",
@@ -111739,17 +111931,17 @@ function validate709(data, { instancePath = "", parentData, parentDataProperty,
111739
111931
  message: "must be equal to one of the allowed values",
111740
111932
  };
111741
111933
  if (vErrors === null) {
111742
- vErrors = [err81];
111934
+ vErrors = [err83];
111743
111935
  }
111744
111936
  else {
111745
- vErrors.push(err81);
111937
+ vErrors.push(err83);
111746
111938
  }
111747
111939
  errors++;
111748
111940
  }
111749
111941
  }
111750
111942
  }
111751
111943
  else {
111752
- const err82 = {
111944
+ const err84 = {
111753
111945
  instancePath,
111754
111946
  schemaPath: "#/type",
111755
111947
  keyword: "type",
@@ -111757,10 +111949,10 @@ function validate709(data, { instancePath = "", parentData, parentDataProperty,
111757
111949
  message: "must be object",
111758
111950
  };
111759
111951
  if (vErrors === null) {
111760
- vErrors = [err82];
111952
+ vErrors = [err84];
111761
111953
  }
111762
111954
  else {
111763
- vErrors.push(err82);
111955
+ vErrors.push(err84);
111764
111956
  }
111765
111957
  errors++;
111766
111958
  }
@@ -112527,10 +112719,45 @@ function validate379(data, { instancePath = "", parentData, parentDataProperty,
112527
112719
  errors++;
112528
112720
  }
112529
112721
  }
112530
- if (data.locale !== undefined) {
112531
- let data3 = data.locale;
112532
- if (typeof data3 !== "string") {
112722
+ if (data.team_member !== undefined) {
112723
+ let data3 = data.team_member;
112724
+ if (typeof data3 !== "boolean") {
112533
112725
  const err15 = {
112726
+ instancePath: instancePath + "/team_member",
112727
+ schemaPath: "#/properties/team_member/type",
112728
+ keyword: "type",
112729
+ params: { type: "boolean" },
112730
+ message: "must be boolean",
112731
+ };
112732
+ if (vErrors === null) {
112733
+ vErrors = [err15];
112734
+ }
112735
+ else {
112736
+ vErrors.push(err15);
112737
+ }
112738
+ errors++;
112739
+ }
112740
+ if (true !== data3) {
112741
+ const err16 = {
112742
+ instancePath: instancePath + "/team_member",
112743
+ schemaPath: "#/properties/team_member/const",
112744
+ keyword: "const",
112745
+ params: { allowedValue: true },
112746
+ message: "must be equal to constant",
112747
+ };
112748
+ if (vErrors === null) {
112749
+ vErrors = [err16];
112750
+ }
112751
+ else {
112752
+ vErrors.push(err16);
112753
+ }
112754
+ errors++;
112755
+ }
112756
+ }
112757
+ if (data.locale !== undefined) {
112758
+ let data4 = data.locale;
112759
+ if (typeof data4 !== "string") {
112760
+ const err17 = {
112534
112761
  instancePath: instancePath + "/locale",
112535
112762
  schemaPath: "#/$defs/RecipientLanguage/type",
112536
112763
  keyword: "type",
@@ -112538,30 +112765,30 @@ function validate379(data, { instancePath = "", parentData, parentDataProperty,
112538
112765
  message: "must be string",
112539
112766
  };
112540
112767
  if (vErrors === null) {
112541
- vErrors = [err15];
112768
+ vErrors = [err17];
112542
112769
  }
112543
112770
  else {
112544
- vErrors.push(err15);
112771
+ vErrors.push(err17);
112545
112772
  }
112546
112773
  errors++;
112547
112774
  }
112548
- if (!(data3 === "en" ||
112549
- data3 === "es" ||
112550
- data3 === "pt-BR" ||
112551
- data3 === "fr" ||
112552
- data3 === "de" ||
112553
- data3 === "it" ||
112554
- data3 === "nl" ||
112555
- data3 === "pl" ||
112556
- data3 === "ru" ||
112557
- data3 === "uk" ||
112558
- data3 === "tr" ||
112559
- data3 === "id" ||
112560
- data3 === "ar" ||
112561
- data3 === "fa" ||
112562
- data3 === "hi" ||
112563
- data3 === "zh-Hans")) {
112564
- const err16 = {
112775
+ if (!(data4 === "en" ||
112776
+ data4 === "es" ||
112777
+ data4 === "pt-BR" ||
112778
+ data4 === "fr" ||
112779
+ data4 === "de" ||
112780
+ data4 === "it" ||
112781
+ data4 === "nl" ||
112782
+ data4 === "pl" ||
112783
+ data4 === "ru" ||
112784
+ data4 === "uk" ||
112785
+ data4 === "tr" ||
112786
+ data4 === "id" ||
112787
+ data4 === "ar" ||
112788
+ data4 === "fa" ||
112789
+ data4 === "hi" ||
112790
+ data4 === "zh-Hans")) {
112791
+ const err18 = {
112565
112792
  instancePath: instancePath + "/locale",
112566
112793
  schemaPath: "#/$defs/RecipientLanguage/enum",
112567
112794
  keyword: "enum",
@@ -112569,19 +112796,19 @@ function validate379(data, { instancePath = "", parentData, parentDataProperty,
112569
112796
  message: "must be equal to one of the allowed values",
112570
112797
  };
112571
112798
  if (vErrors === null) {
112572
- vErrors = [err16];
112799
+ vErrors = [err18];
112573
112800
  }
112574
112801
  else {
112575
- vErrors.push(err16);
112802
+ vErrors.push(err18);
112576
112803
  }
112577
112804
  errors++;
112578
112805
  }
112579
112806
  }
112580
112807
  if (data.time_zone !== undefined) {
112581
- let data4 = data.time_zone;
112582
- if (typeof data4 === "string") {
112583
- if (func1(data4) > 255) {
112584
- const err17 = {
112808
+ let data5 = data.time_zone;
112809
+ if (typeof data5 === "string") {
112810
+ if (func1(data5) > 255) {
112811
+ const err19 = {
112585
112812
  instancePath: instancePath + "/time_zone",
112586
112813
  schemaPath: "#/$defs/TimeZone/maxLength",
112587
112814
  keyword: "maxLength",
@@ -112589,15 +112816,15 @@ function validate379(data, { instancePath = "", parentData, parentDataProperty,
112589
112816
  message: "must NOT have more than 255 characters",
112590
112817
  };
112591
112818
  if (vErrors === null) {
112592
- vErrors = [err17];
112819
+ vErrors = [err19];
112593
112820
  }
112594
112821
  else {
112595
- vErrors.push(err17);
112822
+ vErrors.push(err19);
112596
112823
  }
112597
112824
  errors++;
112598
112825
  }
112599
- if (func1(data4) < 3) {
112600
- const err18 = {
112826
+ if (func1(data5) < 3) {
112827
+ const err20 = {
112601
112828
  instancePath: instancePath + "/time_zone",
112602
112829
  schemaPath: "#/$defs/TimeZone/minLength",
112603
112830
  keyword: "minLength",
@@ -112605,15 +112832,15 @@ function validate379(data, { instancePath = "", parentData, parentDataProperty,
112605
112832
  message: "must NOT have fewer than 3 characters",
112606
112833
  };
112607
112834
  if (vErrors === null) {
112608
- vErrors = [err18];
112835
+ vErrors = [err20];
112609
112836
  }
112610
112837
  else {
112611
- vErrors.push(err18);
112838
+ vErrors.push(err20);
112612
112839
  }
112613
112840
  errors++;
112614
112841
  }
112615
- if (!pattern415.test(data4)) {
112616
- const err19 = {
112842
+ if (!pattern415.test(data5)) {
112843
+ const err21 = {
112617
112844
  instancePath: instancePath + "/time_zone",
112618
112845
  schemaPath: "#/$defs/TimeZone/pattern",
112619
112846
  keyword: "pattern",
@@ -112625,16 +112852,16 @@ function validate379(data, { instancePath = "", parentData, parentDataProperty,
112625
112852
  '"',
112626
112853
  };
112627
112854
  if (vErrors === null) {
112628
- vErrors = [err19];
112855
+ vErrors = [err21];
112629
112856
  }
112630
112857
  else {
112631
- vErrors.push(err19);
112858
+ vErrors.push(err21);
112632
112859
  }
112633
112860
  errors++;
112634
112861
  }
112635
112862
  }
112636
112863
  else {
112637
- const err20 = {
112864
+ const err22 = {
112638
112865
  instancePath: instancePath + "/time_zone",
112639
112866
  schemaPath: "#/$defs/TimeZone/type",
112640
112867
  keyword: "type",
@@ -112642,19 +112869,19 @@ function validate379(data, { instancePath = "", parentData, parentDataProperty,
112642
112869
  message: "must be string",
112643
112870
  };
112644
112871
  if (vErrors === null) {
112645
- vErrors = [err20];
112872
+ vErrors = [err22];
112646
112873
  }
112647
112874
  else {
112648
- vErrors.push(err20);
112875
+ vErrors.push(err22);
112649
112876
  }
112650
112877
  errors++;
112651
112878
  }
112652
112879
  }
112653
112880
  if (data.channels !== undefined) {
112654
- let data5 = data.channels;
112655
- if (Array.isArray(data5)) {
112656
- if (data5.length > 3) {
112657
- const err21 = {
112881
+ let data6 = data.channels;
112882
+ if (Array.isArray(data6)) {
112883
+ if (data6.length > 3) {
112884
+ const err23 = {
112658
112885
  instancePath: instancePath + "/channels",
112659
112886
  schemaPath: "#/properties/channels/maxItems",
112660
112887
  keyword: "maxItems",
@@ -112662,18 +112889,18 @@ function validate379(data, { instancePath = "", parentData, parentDataProperty,
112662
112889
  message: "must NOT have more than 3 items",
112663
112890
  };
112664
112891
  if (vErrors === null) {
112665
- vErrors = [err21];
112892
+ vErrors = [err23];
112666
112893
  }
112667
112894
  else {
112668
- vErrors.push(err21);
112895
+ vErrors.push(err23);
112669
112896
  }
112670
112897
  errors++;
112671
112898
  }
112672
- const len0 = data5.length;
112899
+ const len0 = data6.length;
112673
112900
  for (let i0 = 0; i0 < len0; i0++) {
112674
- let data6 = data5[i0];
112675
- if (typeof data6 !== "string") {
112676
- const err22 = {
112901
+ let data7 = data6[i0];
112902
+ if (typeof data7 !== "string") {
112903
+ const err24 = {
112677
112904
  instancePath: instancePath + "/channels/" + i0,
112678
112905
  schemaPath: "#/$defs/Channel/type",
112679
112906
  keyword: "type",
@@ -112681,17 +112908,17 @@ function validate379(data, { instancePath = "", parentData, parentDataProperty,
112681
112908
  message: "must be string",
112682
112909
  };
112683
112910
  if (vErrors === null) {
112684
- vErrors = [err22];
112911
+ vErrors = [err24];
112685
112912
  }
112686
112913
  else {
112687
- vErrors.push(err22);
112914
+ vErrors.push(err24);
112688
112915
  }
112689
112916
  errors++;
112690
112917
  }
112691
- if (!(data6 === "telegram" ||
112692
- data6 === "slack" ||
112693
- data6 === "email")) {
112694
- const err23 = {
112918
+ if (!(data7 === "telegram" ||
112919
+ data7 === "slack" ||
112920
+ data7 === "email")) {
112921
+ const err25 = {
112695
112922
  instancePath: instancePath + "/channels/" + i0,
112696
112923
  schemaPath: "#/$defs/Channel/enum",
112697
112924
  keyword: "enum",
@@ -112699,21 +112926,21 @@ function validate379(data, { instancePath = "", parentData, parentDataProperty,
112699
112926
  message: "must be equal to one of the allowed values",
112700
112927
  };
112701
112928
  if (vErrors === null) {
112702
- vErrors = [err23];
112929
+ vErrors = [err25];
112703
112930
  }
112704
112931
  else {
112705
- vErrors.push(err23);
112932
+ vErrors.push(err25);
112706
112933
  }
112707
112934
  errors++;
112708
112935
  }
112709
112936
  }
112710
- let i1 = data5.length;
112937
+ let i1 = data6.length;
112711
112938
  let j0;
112712
112939
  if (i1 > 1) {
112713
112940
  outer0: for (; i1--;) {
112714
112941
  for (j0 = i1; j0--;) {
112715
- if (func0(data5[i1], data5[j0])) {
112716
- const err24 = {
112942
+ if (func0(data6[i1], data6[j0])) {
112943
+ const err26 = {
112717
112944
  instancePath: instancePath + "/channels",
112718
112945
  schemaPath: "#/properties/channels/uniqueItems",
112719
112946
  keyword: "uniqueItems",
@@ -112725,10 +112952,10 @@ function validate379(data, { instancePath = "", parentData, parentDataProperty,
112725
112952
  " are identical)",
112726
112953
  };
112727
112954
  if (vErrors === null) {
112728
- vErrors = [err24];
112955
+ vErrors = [err26];
112729
112956
  }
112730
112957
  else {
112731
- vErrors.push(err24);
112958
+ vErrors.push(err26);
112732
112959
  }
112733
112960
  errors++;
112734
112961
  break outer0;
@@ -112738,7 +112965,7 @@ function validate379(data, { instancePath = "", parentData, parentDataProperty,
112738
112965
  }
112739
112966
  }
112740
112967
  else {
112741
- const err25 = {
112968
+ const err27 = {
112742
112969
  instancePath: instancePath + "/channels",
112743
112970
  schemaPath: "#/properties/channels/type",
112744
112971
  keyword: "type",
@@ -112746,19 +112973,19 @@ function validate379(data, { instancePath = "", parentData, parentDataProperty,
112746
112973
  message: "must be array",
112747
112974
  };
112748
112975
  if (vErrors === null) {
112749
- vErrors = [err25];
112976
+ vErrors = [err27];
112750
112977
  }
112751
112978
  else {
112752
- vErrors.push(err25);
112979
+ vErrors.push(err27);
112753
112980
  }
112754
112981
  errors++;
112755
112982
  }
112756
112983
  }
112757
112984
  if (data.profiles !== undefined) {
112758
- let data7 = data.profiles;
112759
- if (Array.isArray(data7)) {
112760
- if (data7.length > 3) {
112761
- const err26 = {
112985
+ let data8 = data.profiles;
112986
+ if (Array.isArray(data8)) {
112987
+ if (data8.length > 3) {
112988
+ const err28 = {
112762
112989
  instancePath: instancePath + "/profiles",
112763
112990
  schemaPath: "#/properties/profiles/maxItems",
112764
112991
  keyword: "maxItems",
@@ -112766,19 +112993,19 @@ function validate379(data, { instancePath = "", parentData, parentDataProperty,
112766
112993
  message: "must NOT have more than 3 items",
112767
112994
  };
112768
112995
  if (vErrors === null) {
112769
- vErrors = [err26];
112996
+ vErrors = [err28];
112770
112997
  }
112771
112998
  else {
112772
- vErrors.push(err26);
112999
+ vErrors.push(err28);
112773
113000
  }
112774
113001
  errors++;
112775
113002
  }
112776
- const len1 = data7.length;
113003
+ const len1 = data8.length;
112777
113004
  for (let i2 = 0; i2 < len1; i2++) {
112778
- let data8 = data7[i2];
112779
- if (data8 && typeof data8 == "object" && !Array.isArray(data8)) {
112780
- if (data8.channel === undefined) {
112781
- const err27 = {
113005
+ let data9 = data8[i2];
113006
+ if (data9 && typeof data9 == "object" && !Array.isArray(data9)) {
113007
+ if (data9.channel === undefined) {
113008
+ const err29 = {
112782
113009
  instancePath: instancePath + "/profiles/" + i2,
112783
113010
  schemaPath: "#/properties/profiles/items/required",
112784
113011
  keyword: "required",
@@ -112786,21 +113013,21 @@ function validate379(data, { instancePath = "", parentData, parentDataProperty,
112786
113013
  message: "must have required property '" + "channel" + "'",
112787
113014
  };
112788
113015
  if (vErrors === null) {
112789
- vErrors = [err27];
113016
+ vErrors = [err29];
112790
113017
  }
112791
113018
  else {
112792
- vErrors.push(err27);
113019
+ vErrors.push(err29);
112793
113020
  }
112794
113021
  errors++;
112795
113022
  }
112796
- for (const key1 in data8) {
113023
+ for (const key1 in data9) {
112797
113024
  if (!(key1 === "channel" ||
112798
113025
  key1 === "name" ||
112799
113026
  key1 === "username" ||
112800
113027
  key1 === "language" ||
112801
113028
  key1 === "time_zone" ||
112802
113029
  key1 === "photo_data_url")) {
112803
- const err28 = {
113030
+ const err30 = {
112804
113031
  instancePath: instancePath + "/profiles/" + i2,
112805
113032
  schemaPath: "#/properties/profiles/items/additionalProperties",
112806
113033
  keyword: "additionalProperties",
@@ -112808,18 +113035,18 @@ function validate379(data, { instancePath = "", parentData, parentDataProperty,
112808
113035
  message: "must NOT have additional properties",
112809
113036
  };
112810
113037
  if (vErrors === null) {
112811
- vErrors = [err28];
113038
+ vErrors = [err30];
112812
113039
  }
112813
113040
  else {
112814
- vErrors.push(err28);
113041
+ vErrors.push(err30);
112815
113042
  }
112816
113043
  errors++;
112817
113044
  }
112818
113045
  }
112819
- if (data8.channel !== undefined) {
112820
- let data9 = data8.channel;
112821
- if (typeof data9 !== "string") {
112822
- const err29 = {
113046
+ if (data9.channel !== undefined) {
113047
+ let data10 = data9.channel;
113048
+ if (typeof data10 !== "string") {
113049
+ const err31 = {
112823
113050
  instancePath: instancePath + "/profiles/" + i2 + "/channel",
112824
113051
  schemaPath: "#/properties/profiles/items/properties/channel/type",
112825
113052
  keyword: "type",
@@ -112827,15 +113054,15 @@ function validate379(data, { instancePath = "", parentData, parentDataProperty,
112827
113054
  message: "must be string",
112828
113055
  };
112829
113056
  if (vErrors === null) {
112830
- vErrors = [err29];
113057
+ vErrors = [err31];
112831
113058
  }
112832
113059
  else {
112833
- vErrors.push(err29);
113060
+ vErrors.push(err31);
112834
113061
  }
112835
113062
  errors++;
112836
113063
  }
112837
- if (!(data9 === "slack" || data9 === "telegram")) {
112838
- const err30 = {
113064
+ if (!(data10 === "slack" || data10 === "telegram")) {
113065
+ const err32 = {
112839
113066
  instancePath: instancePath + "/profiles/" + i2 + "/channel",
112840
113067
  schemaPath: "#/properties/profiles/items/properties/channel/enum",
112841
113068
  keyword: "enum",
@@ -112846,19 +113073,19 @@ function validate379(data, { instancePath = "", parentData, parentDataProperty,
112846
113073
  message: "must be equal to one of the allowed values",
112847
113074
  };
112848
113075
  if (vErrors === null) {
112849
- vErrors = [err30];
113076
+ vErrors = [err32];
112850
113077
  }
112851
113078
  else {
112852
- vErrors.push(err30);
113079
+ vErrors.push(err32);
112853
113080
  }
112854
113081
  errors++;
112855
113082
  }
112856
113083
  }
112857
- if (data8.name !== undefined) {
112858
- let data10 = data8.name;
112859
- if (typeof data10 === "string") {
112860
- if (func1(data10) > 254) {
112861
- const err31 = {
113084
+ if (data9.name !== undefined) {
113085
+ let data11 = data9.name;
113086
+ if (typeof data11 === "string") {
113087
+ if (func1(data11) > 254) {
113088
+ const err33 = {
112862
113089
  instancePath: instancePath + "/profiles/" + i2 + "/name",
112863
113090
  schemaPath: "#/properties/profiles/items/properties/name/maxLength",
112864
113091
  keyword: "maxLength",
@@ -112866,15 +113093,15 @@ function validate379(data, { instancePath = "", parentData, parentDataProperty,
112866
113093
  message: "must NOT have more than 254 characters",
112867
113094
  };
112868
113095
  if (vErrors === null) {
112869
- vErrors = [err31];
113096
+ vErrors = [err33];
112870
113097
  }
112871
113098
  else {
112872
- vErrors.push(err31);
113099
+ vErrors.push(err33);
112873
113100
  }
112874
113101
  errors++;
112875
113102
  }
112876
- if (func1(data10) < 1) {
112877
- const err32 = {
113103
+ if (func1(data11) < 1) {
113104
+ const err34 = {
112878
113105
  instancePath: instancePath + "/profiles/" + i2 + "/name",
112879
113106
  schemaPath: "#/properties/profiles/items/properties/name/minLength",
112880
113107
  keyword: "minLength",
@@ -112882,16 +113109,16 @@ function validate379(data, { instancePath = "", parentData, parentDataProperty,
112882
113109
  message: "must NOT have fewer than 1 characters",
112883
113110
  };
112884
113111
  if (vErrors === null) {
112885
- vErrors = [err32];
113112
+ vErrors = [err34];
112886
113113
  }
112887
113114
  else {
112888
- vErrors.push(err32);
113115
+ vErrors.push(err34);
112889
113116
  }
112890
113117
  errors++;
112891
113118
  }
112892
113119
  }
112893
113120
  else {
112894
- const err33 = {
113121
+ const err35 = {
112895
113122
  instancePath: instancePath + "/profiles/" + i2 + "/name",
112896
113123
  schemaPath: "#/properties/profiles/items/properties/name/type",
112897
113124
  keyword: "type",
@@ -112899,19 +113126,19 @@ function validate379(data, { instancePath = "", parentData, parentDataProperty,
112899
113126
  message: "must be string",
112900
113127
  };
112901
113128
  if (vErrors === null) {
112902
- vErrors = [err33];
113129
+ vErrors = [err35];
112903
113130
  }
112904
113131
  else {
112905
- vErrors.push(err33);
113132
+ vErrors.push(err35);
112906
113133
  }
112907
113134
  errors++;
112908
113135
  }
112909
113136
  }
112910
- if (data8.username !== undefined) {
112911
- let data11 = data8.username;
112912
- if (typeof data11 === "string") {
112913
- if (func1(data11) > 80) {
112914
- const err34 = {
113137
+ if (data9.username !== undefined) {
113138
+ let data12 = data9.username;
113139
+ if (typeof data12 === "string") {
113140
+ if (func1(data12) > 80) {
113141
+ const err36 = {
112915
113142
  instancePath: instancePath + "/profiles/" + i2 + "/username",
112916
113143
  schemaPath: "#/properties/profiles/items/properties/username/maxLength",
112917
113144
  keyword: "maxLength",
@@ -112919,15 +113146,15 @@ function validate379(data, { instancePath = "", parentData, parentDataProperty,
112919
113146
  message: "must NOT have more than 80 characters",
112920
113147
  };
112921
113148
  if (vErrors === null) {
112922
- vErrors = [err34];
113149
+ vErrors = [err36];
112923
113150
  }
112924
113151
  else {
112925
- vErrors.push(err34);
113152
+ vErrors.push(err36);
112926
113153
  }
112927
113154
  errors++;
112928
113155
  }
112929
- if (func1(data11) < 1) {
112930
- const err35 = {
113156
+ if (func1(data12) < 1) {
113157
+ const err37 = {
112931
113158
  instancePath: instancePath + "/profiles/" + i2 + "/username",
112932
113159
  schemaPath: "#/properties/profiles/items/properties/username/minLength",
112933
113160
  keyword: "minLength",
@@ -112935,16 +113162,16 @@ function validate379(data, { instancePath = "", parentData, parentDataProperty,
112935
113162
  message: "must NOT have fewer than 1 characters",
112936
113163
  };
112937
113164
  if (vErrors === null) {
112938
- vErrors = [err35];
113165
+ vErrors = [err37];
112939
113166
  }
112940
113167
  else {
112941
- vErrors.push(err35);
113168
+ vErrors.push(err37);
112942
113169
  }
112943
113170
  errors++;
112944
113171
  }
112945
113172
  }
112946
113173
  else {
112947
- const err36 = {
113174
+ const err38 = {
112948
113175
  instancePath: instancePath + "/profiles/" + i2 + "/username",
112949
113176
  schemaPath: "#/properties/profiles/items/properties/username/type",
112950
113177
  keyword: "type",
@@ -112952,19 +113179,19 @@ function validate379(data, { instancePath = "", parentData, parentDataProperty,
112952
113179
  message: "must be string",
112953
113180
  };
112954
113181
  if (vErrors === null) {
112955
- vErrors = [err36];
113182
+ vErrors = [err38];
112956
113183
  }
112957
113184
  else {
112958
- vErrors.push(err36);
113185
+ vErrors.push(err38);
112959
113186
  }
112960
113187
  errors++;
112961
113188
  }
112962
113189
  }
112963
- if (data8.language !== undefined) {
112964
- let data12 = data8.language;
112965
- if (typeof data12 === "string") {
112966
- if (func1(data12) > 64) {
112967
- const err37 = {
113190
+ if (data9.language !== undefined) {
113191
+ let data13 = data9.language;
113192
+ if (typeof data13 === "string") {
113193
+ if (func1(data13) > 64) {
113194
+ const err39 = {
112968
113195
  instancePath: instancePath + "/profiles/" + i2 + "/language",
112969
113196
  schemaPath: "#/properties/profiles/items/properties/language/maxLength",
112970
113197
  keyword: "maxLength",
@@ -112972,15 +113199,15 @@ function validate379(data, { instancePath = "", parentData, parentDataProperty,
112972
113199
  message: "must NOT have more than 64 characters",
112973
113200
  };
112974
113201
  if (vErrors === null) {
112975
- vErrors = [err37];
113202
+ vErrors = [err39];
112976
113203
  }
112977
113204
  else {
112978
- vErrors.push(err37);
113205
+ vErrors.push(err39);
112979
113206
  }
112980
113207
  errors++;
112981
113208
  }
112982
- if (func1(data12) < 2) {
112983
- const err38 = {
113209
+ if (func1(data13) < 2) {
113210
+ const err40 = {
112984
113211
  instancePath: instancePath + "/profiles/" + i2 + "/language",
112985
113212
  schemaPath: "#/properties/profiles/items/properties/language/minLength",
112986
113213
  keyword: "minLength",
@@ -112988,16 +113215,16 @@ function validate379(data, { instancePath = "", parentData, parentDataProperty,
112988
113215
  message: "must NOT have fewer than 2 characters",
112989
113216
  };
112990
113217
  if (vErrors === null) {
112991
- vErrors = [err38];
113218
+ vErrors = [err40];
112992
113219
  }
112993
113220
  else {
112994
- vErrors.push(err38);
113221
+ vErrors.push(err40);
112995
113222
  }
112996
113223
  errors++;
112997
113224
  }
112998
113225
  }
112999
113226
  else {
113000
- const err39 = {
113227
+ const err41 = {
113001
113228
  instancePath: instancePath + "/profiles/" + i2 + "/language",
113002
113229
  schemaPath: "#/properties/profiles/items/properties/language/type",
113003
113230
  keyword: "type",
@@ -113005,19 +113232,19 @@ function validate379(data, { instancePath = "", parentData, parentDataProperty,
113005
113232
  message: "must be string",
113006
113233
  };
113007
113234
  if (vErrors === null) {
113008
- vErrors = [err39];
113235
+ vErrors = [err41];
113009
113236
  }
113010
113237
  else {
113011
- vErrors.push(err39);
113238
+ vErrors.push(err41);
113012
113239
  }
113013
113240
  errors++;
113014
113241
  }
113015
113242
  }
113016
- if (data8.time_zone !== undefined) {
113017
- let data13 = data8.time_zone;
113018
- if (typeof data13 === "string") {
113019
- if (func1(data13) > 255) {
113020
- const err40 = {
113243
+ if (data9.time_zone !== undefined) {
113244
+ let data14 = data9.time_zone;
113245
+ if (typeof data14 === "string") {
113246
+ if (func1(data14) > 255) {
113247
+ const err42 = {
113021
113248
  instancePath: instancePath + "/profiles/" + i2 + "/time_zone",
113022
113249
  schemaPath: "#/$defs/TimeZone/maxLength",
113023
113250
  keyword: "maxLength",
@@ -113025,15 +113252,15 @@ function validate379(data, { instancePath = "", parentData, parentDataProperty,
113025
113252
  message: "must NOT have more than 255 characters",
113026
113253
  };
113027
113254
  if (vErrors === null) {
113028
- vErrors = [err40];
113255
+ vErrors = [err42];
113029
113256
  }
113030
113257
  else {
113031
- vErrors.push(err40);
113258
+ vErrors.push(err42);
113032
113259
  }
113033
113260
  errors++;
113034
113261
  }
113035
- if (func1(data13) < 3) {
113036
- const err41 = {
113262
+ if (func1(data14) < 3) {
113263
+ const err43 = {
113037
113264
  instancePath: instancePath + "/profiles/" + i2 + "/time_zone",
113038
113265
  schemaPath: "#/$defs/TimeZone/minLength",
113039
113266
  keyword: "minLength",
@@ -113041,15 +113268,15 @@ function validate379(data, { instancePath = "", parentData, parentDataProperty,
113041
113268
  message: "must NOT have fewer than 3 characters",
113042
113269
  };
113043
113270
  if (vErrors === null) {
113044
- vErrors = [err41];
113271
+ vErrors = [err43];
113045
113272
  }
113046
113273
  else {
113047
- vErrors.push(err41);
113274
+ vErrors.push(err43);
113048
113275
  }
113049
113276
  errors++;
113050
113277
  }
113051
- if (!pattern415.test(data13)) {
113052
- const err42 = {
113278
+ if (!pattern415.test(data14)) {
113279
+ const err44 = {
113053
113280
  instancePath: instancePath + "/profiles/" + i2 + "/time_zone",
113054
113281
  schemaPath: "#/$defs/TimeZone/pattern",
113055
113282
  keyword: "pattern",
@@ -113061,16 +113288,16 @@ function validate379(data, { instancePath = "", parentData, parentDataProperty,
113061
113288
  '"',
113062
113289
  };
113063
113290
  if (vErrors === null) {
113064
- vErrors = [err42];
113291
+ vErrors = [err44];
113065
113292
  }
113066
113293
  else {
113067
- vErrors.push(err42);
113294
+ vErrors.push(err44);
113068
113295
  }
113069
113296
  errors++;
113070
113297
  }
113071
113298
  }
113072
113299
  else {
113073
- const err43 = {
113300
+ const err45 = {
113074
113301
  instancePath: instancePath + "/profiles/" + i2 + "/time_zone",
113075
113302
  schemaPath: "#/$defs/TimeZone/type",
113076
113303
  keyword: "type",
@@ -113078,19 +113305,19 @@ function validate379(data, { instancePath = "", parentData, parentDataProperty,
113078
113305
  message: "must be string",
113079
113306
  };
113080
113307
  if (vErrors === null) {
113081
- vErrors = [err43];
113308
+ vErrors = [err45];
113082
113309
  }
113083
113310
  else {
113084
- vErrors.push(err43);
113311
+ vErrors.push(err45);
113085
113312
  }
113086
113313
  errors++;
113087
113314
  }
113088
113315
  }
113089
- if (data8.photo_data_url !== undefined) {
113090
- let data14 = data8.photo_data_url;
113091
- if (typeof data14 === "string") {
113092
- if (func1(data14) > 180000) {
113093
- const err44 = {
113316
+ if (data9.photo_data_url !== undefined) {
113317
+ let data15 = data9.photo_data_url;
113318
+ if (typeof data15 === "string") {
113319
+ if (func1(data15) > 180000) {
113320
+ const err46 = {
113094
113321
  instancePath: instancePath + "/profiles/" + i2 + "/photo_data_url",
113095
113322
  schemaPath: "#/properties/profiles/items/properties/photo_data_url/maxLength",
113096
113323
  keyword: "maxLength",
@@ -113098,15 +113325,15 @@ function validate379(data, { instancePath = "", parentData, parentDataProperty,
113098
113325
  message: "must NOT have more than 180000 characters",
113099
113326
  };
113100
113327
  if (vErrors === null) {
113101
- vErrors = [err44];
113328
+ vErrors = [err46];
113102
113329
  }
113103
113330
  else {
113104
- vErrors.push(err44);
113331
+ vErrors.push(err46);
113105
113332
  }
113106
113333
  errors++;
113107
113334
  }
113108
- if (!pattern421.test(data14)) {
113109
- const err45 = {
113335
+ if (!pattern421.test(data15)) {
113336
+ const err47 = {
113110
113337
  instancePath: instancePath + "/profiles/" + i2 + "/photo_data_url",
113111
113338
  schemaPath: "#/properties/profiles/items/properties/photo_data_url/pattern",
113112
113339
  keyword: "pattern",
@@ -113118,16 +113345,16 @@ function validate379(data, { instancePath = "", parentData, parentDataProperty,
113118
113345
  '"',
113119
113346
  };
113120
113347
  if (vErrors === null) {
113121
- vErrors = [err45];
113348
+ vErrors = [err47];
113122
113349
  }
113123
113350
  else {
113124
- vErrors.push(err45);
113351
+ vErrors.push(err47);
113125
113352
  }
113126
113353
  errors++;
113127
113354
  }
113128
113355
  }
113129
113356
  else {
113130
- const err46 = {
113357
+ const err48 = {
113131
113358
  instancePath: instancePath + "/profiles/" + i2 + "/photo_data_url",
113132
113359
  schemaPath: "#/properties/profiles/items/properties/photo_data_url/type",
113133
113360
  keyword: "type",
@@ -113135,17 +113362,17 @@ function validate379(data, { instancePath = "", parentData, parentDataProperty,
113135
113362
  message: "must be string",
113136
113363
  };
113137
113364
  if (vErrors === null) {
113138
- vErrors = [err46];
113365
+ vErrors = [err48];
113139
113366
  }
113140
113367
  else {
113141
- vErrors.push(err46);
113368
+ vErrors.push(err48);
113142
113369
  }
113143
113370
  errors++;
113144
113371
  }
113145
113372
  }
113146
113373
  }
113147
113374
  else {
113148
- const err47 = {
113375
+ const err49 = {
113149
113376
  instancePath: instancePath + "/profiles/" + i2,
113150
113377
  schemaPath: "#/properties/profiles/items/type",
113151
113378
  keyword: "type",
@@ -113153,17 +113380,17 @@ function validate379(data, { instancePath = "", parentData, parentDataProperty,
113153
113380
  message: "must be object",
113154
113381
  };
113155
113382
  if (vErrors === null) {
113156
- vErrors = [err47];
113383
+ vErrors = [err49];
113157
113384
  }
113158
113385
  else {
113159
- vErrors.push(err47);
113386
+ vErrors.push(err49);
113160
113387
  }
113161
113388
  errors++;
113162
113389
  }
113163
113390
  }
113164
113391
  }
113165
113392
  else {
113166
- const err48 = {
113393
+ const err50 = {
113167
113394
  instancePath: instancePath + "/profiles",
113168
113395
  schemaPath: "#/properties/profiles/type",
113169
113396
  keyword: "type",
@@ -113171,19 +113398,19 @@ function validate379(data, { instancePath = "", parentData, parentDataProperty,
113171
113398
  message: "must be array",
113172
113399
  };
113173
113400
  if (vErrors === null) {
113174
- vErrors = [err48];
113401
+ vErrors = [err50];
113175
113402
  }
113176
113403
  else {
113177
- vErrors.push(err48);
113404
+ vErrors.push(err50);
113178
113405
  }
113179
113406
  errors++;
113180
113407
  }
113181
113408
  }
113182
113409
  if (data.groups !== undefined) {
113183
- let data15 = data.groups;
113184
- if (Array.isArray(data15)) {
113185
- if (data15.length > 200) {
113186
- const err49 = {
113410
+ let data16 = data.groups;
113411
+ if (Array.isArray(data16)) {
113412
+ if (data16.length > 200) {
113413
+ const err51 = {
113187
113414
  instancePath: instancePath + "/groups",
113188
113415
  schemaPath: "#/properties/groups/maxItems",
113189
113416
  keyword: "maxItems",
@@ -113191,19 +113418,19 @@ function validate379(data, { instancePath = "", parentData, parentDataProperty,
113191
113418
  message: "must NOT have more than 200 items",
113192
113419
  };
113193
113420
  if (vErrors === null) {
113194
- vErrors = [err49];
113421
+ vErrors = [err51];
113195
113422
  }
113196
113423
  else {
113197
- vErrors.push(err49);
113424
+ vErrors.push(err51);
113198
113425
  }
113199
113426
  errors++;
113200
113427
  }
113201
- const len2 = data15.length;
113428
+ const len2 = data16.length;
113202
113429
  for (let i3 = 0; i3 < len2; i3++) {
113203
- let data16 = data15[i3];
113204
- if (typeof data16 === "string") {
113205
- if (func1(data16) > 63) {
113206
- const err50 = {
113430
+ let data17 = data16[i3];
113431
+ if (typeof data17 === "string") {
113432
+ if (func1(data17) > 63) {
113433
+ const err52 = {
113207
113434
  instancePath: instancePath + "/groups/" + i3,
113208
113435
  schemaPath: "#/$defs/GroupKey/maxLength",
113209
113436
  keyword: "maxLength",
@@ -113211,15 +113438,15 @@ function validate379(data, { instancePath = "", parentData, parentDataProperty,
113211
113438
  message: "must NOT have more than 63 characters",
113212
113439
  };
113213
113440
  if (vErrors === null) {
113214
- vErrors = [err50];
113441
+ vErrors = [err52];
113215
113442
  }
113216
113443
  else {
113217
- vErrors.push(err50);
113444
+ vErrors.push(err52);
113218
113445
  }
113219
113446
  errors++;
113220
113447
  }
113221
- if (func1(data16) < 1) {
113222
- const err51 = {
113448
+ if (func1(data17) < 1) {
113449
+ const err53 = {
113223
113450
  instancePath: instancePath + "/groups/" + i3,
113224
113451
  schemaPath: "#/$defs/GroupKey/minLength",
113225
113452
  keyword: "minLength",
@@ -113227,15 +113454,15 @@ function validate379(data, { instancePath = "", parentData, parentDataProperty,
113227
113454
  message: "must NOT have fewer than 1 characters",
113228
113455
  };
113229
113456
  if (vErrors === null) {
113230
- vErrors = [err51];
113457
+ vErrors = [err53];
113231
113458
  }
113232
113459
  else {
113233
- vErrors.push(err51);
113460
+ vErrors.push(err53);
113234
113461
  }
113235
113462
  errors++;
113236
113463
  }
113237
- if (!pattern416.test(data16)) {
113238
- const err52 = {
113464
+ if (!pattern416.test(data17)) {
113465
+ const err54 = {
113239
113466
  instancePath: instancePath + "/groups/" + i3,
113240
113467
  schemaPath: "#/$defs/GroupKey/pattern",
113241
113468
  keyword: "pattern",
@@ -113245,16 +113472,16 @@ function validate379(data, { instancePath = "", parentData, parentDataProperty,
113245
113472
  '"',
113246
113473
  };
113247
113474
  if (vErrors === null) {
113248
- vErrors = [err52];
113475
+ vErrors = [err54];
113249
113476
  }
113250
113477
  else {
113251
- vErrors.push(err52);
113478
+ vErrors.push(err54);
113252
113479
  }
113253
113480
  errors++;
113254
113481
  }
113255
113482
  }
113256
113483
  else {
113257
- const err53 = {
113484
+ const err55 = {
113258
113485
  instancePath: instancePath + "/groups/" + i3,
113259
113486
  schemaPath: "#/$defs/GroupKey/type",
113260
113487
  keyword: "type",
@@ -113262,21 +113489,21 @@ function validate379(data, { instancePath = "", parentData, parentDataProperty,
113262
113489
  message: "must be string",
113263
113490
  };
113264
113491
  if (vErrors === null) {
113265
- vErrors = [err53];
113492
+ vErrors = [err55];
113266
113493
  }
113267
113494
  else {
113268
- vErrors.push(err53);
113495
+ vErrors.push(err55);
113269
113496
  }
113270
113497
  errors++;
113271
113498
  }
113272
113499
  }
113273
- let i4 = data15.length;
113500
+ let i4 = data16.length;
113274
113501
  let j1;
113275
113502
  if (i4 > 1) {
113276
113503
  outer1: for (; i4--;) {
113277
113504
  for (j1 = i4; j1--;) {
113278
- if (func0(data15[i4], data15[j1])) {
113279
- const err54 = {
113505
+ if (func0(data16[i4], data16[j1])) {
113506
+ const err56 = {
113280
113507
  instancePath: instancePath + "/groups",
113281
113508
  schemaPath: "#/properties/groups/uniqueItems",
113282
113509
  keyword: "uniqueItems",
@@ -113288,10 +113515,10 @@ function validate379(data, { instancePath = "", parentData, parentDataProperty,
113288
113515
  " are identical)",
113289
113516
  };
113290
113517
  if (vErrors === null) {
113291
- vErrors = [err54];
113518
+ vErrors = [err56];
113292
113519
  }
113293
113520
  else {
113294
- vErrors.push(err54);
113521
+ vErrors.push(err56);
113295
113522
  }
113296
113523
  errors++;
113297
113524
  break outer1;
@@ -113301,7 +113528,7 @@ function validate379(data, { instancePath = "", parentData, parentDataProperty,
113301
113528
  }
113302
113529
  }
113303
113530
  else {
113304
- const err55 = {
113531
+ const err57 = {
113305
113532
  instancePath: instancePath + "/groups",
113306
113533
  schemaPath: "#/properties/groups/type",
113307
113534
  keyword: "type",
@@ -113309,19 +113536,19 @@ function validate379(data, { instancePath = "", parentData, parentDataProperty,
113309
113536
  message: "must be array",
113310
113537
  };
113311
113538
  if (vErrors === null) {
113312
- vErrors = [err55];
113539
+ vErrors = [err57];
113313
113540
  }
113314
113541
  else {
113315
- vErrors.push(err55);
113542
+ vErrors.push(err57);
113316
113543
  }
113317
113544
  errors++;
113318
113545
  }
113319
113546
  }
113320
113547
  if (data.last_activity_at !== undefined) {
113321
- let data17 = data.last_activity_at;
113322
- if (typeof data17 === "string") {
113323
- if (!pattern5.test(data17)) {
113324
- const err56 = {
113548
+ let data18 = data.last_activity_at;
113549
+ if (typeof data18 === "string") {
113550
+ if (!pattern5.test(data18)) {
113551
+ const err58 = {
113325
113552
  instancePath: instancePath + "/last_activity_at",
113326
113553
  schemaPath: "#/$defs/Timestamp/pattern",
113327
113554
  keyword: "pattern",
@@ -113333,16 +113560,16 @@ function validate379(data, { instancePath = "", parentData, parentDataProperty,
113333
113560
  '"',
113334
113561
  };
113335
113562
  if (vErrors === null) {
113336
- vErrors = [err56];
113563
+ vErrors = [err58];
113337
113564
  }
113338
113565
  else {
113339
- vErrors.push(err56);
113566
+ vErrors.push(err58);
113340
113567
  }
113341
113568
  errors++;
113342
113569
  }
113343
113570
  }
113344
113571
  else {
113345
- const err57 = {
113572
+ const err59 = {
113346
113573
  instancePath: instancePath + "/last_activity_at",
113347
113574
  schemaPath: "#/$defs/Timestamp/type",
113348
113575
  keyword: "type",
@@ -113350,19 +113577,19 @@ function validate379(data, { instancePath = "", parentData, parentDataProperty,
113350
113577
  message: "must be string",
113351
113578
  };
113352
113579
  if (vErrors === null) {
113353
- vErrors = [err57];
113580
+ vErrors = [err59];
113354
113581
  }
113355
113582
  else {
113356
- vErrors.push(err57);
113583
+ vErrors.push(err59);
113357
113584
  }
113358
113585
  errors++;
113359
113586
  }
113360
113587
  }
113361
113588
  if (data.created_at !== undefined) {
113362
- let data18 = data.created_at;
113363
- if (typeof data18 === "string") {
113364
- if (!pattern5.test(data18)) {
113365
- const err58 = {
113589
+ let data19 = data.created_at;
113590
+ if (typeof data19 === "string") {
113591
+ if (!pattern5.test(data19)) {
113592
+ const err60 = {
113366
113593
  instancePath: instancePath + "/created_at",
113367
113594
  schemaPath: "#/$defs/Timestamp/pattern",
113368
113595
  keyword: "pattern",
@@ -113374,16 +113601,16 @@ function validate379(data, { instancePath = "", parentData, parentDataProperty,
113374
113601
  '"',
113375
113602
  };
113376
113603
  if (vErrors === null) {
113377
- vErrors = [err58];
113604
+ vErrors = [err60];
113378
113605
  }
113379
113606
  else {
113380
- vErrors.push(err58);
113607
+ vErrors.push(err60);
113381
113608
  }
113382
113609
  errors++;
113383
113610
  }
113384
113611
  }
113385
113612
  else {
113386
- const err59 = {
113613
+ const err61 = {
113387
113614
  instancePath: instancePath + "/created_at",
113388
113615
  schemaPath: "#/$defs/Timestamp/type",
113389
113616
  keyword: "type",
@@ -113391,19 +113618,19 @@ function validate379(data, { instancePath = "", parentData, parentDataProperty,
113391
113618
  message: "must be string",
113392
113619
  };
113393
113620
  if (vErrors === null) {
113394
- vErrors = [err59];
113621
+ vErrors = [err61];
113395
113622
  }
113396
113623
  else {
113397
- vErrors.push(err59);
113624
+ vErrors.push(err61);
113398
113625
  }
113399
113626
  errors++;
113400
113627
  }
113401
113628
  }
113402
113629
  if (data.updated_at !== undefined) {
113403
- let data19 = data.updated_at;
113404
- if (typeof data19 === "string") {
113405
- if (!pattern5.test(data19)) {
113406
- const err60 = {
113630
+ let data20 = data.updated_at;
113631
+ if (typeof data20 === "string") {
113632
+ if (!pattern5.test(data20)) {
113633
+ const err62 = {
113407
113634
  instancePath: instancePath + "/updated_at",
113408
113635
  schemaPath: "#/$defs/Timestamp/pattern",
113409
113636
  keyword: "pattern",
@@ -113415,16 +113642,16 @@ function validate379(data, { instancePath = "", parentData, parentDataProperty,
113415
113642
  '"',
113416
113643
  };
113417
113644
  if (vErrors === null) {
113418
- vErrors = [err60];
113645
+ vErrors = [err62];
113419
113646
  }
113420
113647
  else {
113421
- vErrors.push(err60);
113648
+ vErrors.push(err62);
113422
113649
  }
113423
113650
  errors++;
113424
113651
  }
113425
113652
  }
113426
113653
  else {
113427
- const err61 = {
113654
+ const err63 = {
113428
113655
  instancePath: instancePath + "/updated_at",
113429
113656
  schemaPath: "#/$defs/Timestamp/type",
113430
113657
  keyword: "type",
@@ -113432,19 +113659,19 @@ function validate379(data, { instancePath = "", parentData, parentDataProperty,
113432
113659
  message: "must be string",
113433
113660
  };
113434
113661
  if (vErrors === null) {
113435
- vErrors = [err61];
113662
+ vErrors = [err63];
113436
113663
  }
113437
113664
  else {
113438
- vErrors.push(err61);
113665
+ vErrors.push(err63);
113439
113666
  }
113440
113667
  errors++;
113441
113668
  }
113442
113669
  }
113443
113670
  if (data.diagnostic_id !== undefined) {
113444
- let data20 = data.diagnostic_id;
113445
- if (typeof data20 === "string") {
113446
- if (func1(data20) > 128) {
113447
- const err62 = {
113671
+ let data21 = data.diagnostic_id;
113672
+ if (typeof data21 === "string") {
113673
+ if (func1(data21) > 128) {
113674
+ const err64 = {
113448
113675
  instancePath: instancePath + "/diagnostic_id",
113449
113676
  schemaPath: "#/$defs/DiagnosticId/maxLength",
113450
113677
  keyword: "maxLength",
@@ -113452,15 +113679,15 @@ function validate379(data, { instancePath = "", parentData, parentDataProperty,
113452
113679
  message: "must NOT have more than 128 characters",
113453
113680
  };
113454
113681
  if (vErrors === null) {
113455
- vErrors = [err62];
113682
+ vErrors = [err64];
113456
113683
  }
113457
113684
  else {
113458
- vErrors.push(err62);
113685
+ vErrors.push(err64);
113459
113686
  }
113460
113687
  errors++;
113461
113688
  }
113462
- if (func1(data20) < 8) {
113463
- const err63 = {
113689
+ if (func1(data21) < 8) {
113690
+ const err65 = {
113464
113691
  instancePath: instancePath + "/diagnostic_id",
113465
113692
  schemaPath: "#/$defs/DiagnosticId/minLength",
113466
113693
  keyword: "minLength",
@@ -113468,15 +113695,15 @@ function validate379(data, { instancePath = "", parentData, parentDataProperty,
113468
113695
  message: "must NOT have fewer than 8 characters",
113469
113696
  };
113470
113697
  if (vErrors === null) {
113471
- vErrors = [err63];
113698
+ vErrors = [err65];
113472
113699
  }
113473
113700
  else {
113474
- vErrors.push(err63);
113701
+ vErrors.push(err65);
113475
113702
  }
113476
113703
  errors++;
113477
113704
  }
113478
- if (!pattern7.test(data20)) {
113479
- const err64 = {
113705
+ if (!pattern7.test(data21)) {
113706
+ const err66 = {
113480
113707
  instancePath: instancePath + "/diagnostic_id",
113481
113708
  schemaPath: "#/$defs/DiagnosticId/pattern",
113482
113709
  keyword: "pattern",
@@ -113484,16 +113711,16 @@ function validate379(data, { instancePath = "", parentData, parentDataProperty,
113484
113711
  message: 'must match pattern "' + "^[A-Za-z0-9_-]+$" + '"',
113485
113712
  };
113486
113713
  if (vErrors === null) {
113487
- vErrors = [err64];
113714
+ vErrors = [err66];
113488
113715
  }
113489
113716
  else {
113490
- vErrors.push(err64);
113717
+ vErrors.push(err66);
113491
113718
  }
113492
113719
  errors++;
113493
113720
  }
113494
113721
  }
113495
113722
  else {
113496
- const err65 = {
113723
+ const err67 = {
113497
113724
  instancePath: instancePath + "/diagnostic_id",
113498
113725
  schemaPath: "#/$defs/DiagnosticId/type",
113499
113726
  keyword: "type",
@@ -113501,18 +113728,18 @@ function validate379(data, { instancePath = "", parentData, parentDataProperty,
113501
113728
  message: "must be string",
113502
113729
  };
113503
113730
  if (vErrors === null) {
113504
- vErrors = [err65];
113731
+ vErrors = [err67];
113505
113732
  }
113506
113733
  else {
113507
- vErrors.push(err65);
113734
+ vErrors.push(err67);
113508
113735
  }
113509
113736
  errors++;
113510
113737
  }
113511
113738
  }
113512
113739
  if (data.effective_locale !== undefined) {
113513
- let data21 = data.effective_locale;
113514
- if (typeof data21 !== "string") {
113515
- const err66 = {
113740
+ let data22 = data.effective_locale;
113741
+ if (typeof data22 !== "string") {
113742
+ const err68 = {
113516
113743
  instancePath: instancePath + "/effective_locale",
113517
113744
  schemaPath: "#/$defs/RecipientLanguage/type",
113518
113745
  keyword: "type",
@@ -113520,30 +113747,30 @@ function validate379(data, { instancePath = "", parentData, parentDataProperty,
113520
113747
  message: "must be string",
113521
113748
  };
113522
113749
  if (vErrors === null) {
113523
- vErrors = [err66];
113750
+ vErrors = [err68];
113524
113751
  }
113525
113752
  else {
113526
- vErrors.push(err66);
113753
+ vErrors.push(err68);
113527
113754
  }
113528
113755
  errors++;
113529
113756
  }
113530
- if (!(data21 === "en" ||
113531
- data21 === "es" ||
113532
- data21 === "pt-BR" ||
113533
- data21 === "fr" ||
113534
- data21 === "de" ||
113535
- data21 === "it" ||
113536
- data21 === "nl" ||
113537
- data21 === "pl" ||
113538
- data21 === "ru" ||
113539
- data21 === "uk" ||
113540
- data21 === "tr" ||
113541
- data21 === "id" ||
113542
- data21 === "ar" ||
113543
- data21 === "fa" ||
113544
- data21 === "hi" ||
113545
- data21 === "zh-Hans")) {
113546
- const err67 = {
113757
+ if (!(data22 === "en" ||
113758
+ data22 === "es" ||
113759
+ data22 === "pt-BR" ||
113760
+ data22 === "fr" ||
113761
+ data22 === "de" ||
113762
+ data22 === "it" ||
113763
+ data22 === "nl" ||
113764
+ data22 === "pl" ||
113765
+ data22 === "ru" ||
113766
+ data22 === "uk" ||
113767
+ data22 === "tr" ||
113768
+ data22 === "id" ||
113769
+ data22 === "ar" ||
113770
+ data22 === "fa" ||
113771
+ data22 === "hi" ||
113772
+ data22 === "zh-Hans")) {
113773
+ const err69 = {
113547
113774
  instancePath: instancePath + "/effective_locale",
113548
113775
  schemaPath: "#/$defs/RecipientLanguage/enum",
113549
113776
  keyword: "enum",
@@ -113551,18 +113778,18 @@ function validate379(data, { instancePath = "", parentData, parentDataProperty,
113551
113778
  message: "must be equal to one of the allowed values",
113552
113779
  };
113553
113780
  if (vErrors === null) {
113554
- vErrors = [err67];
113781
+ vErrors = [err69];
113555
113782
  }
113556
113783
  else {
113557
- vErrors.push(err67);
113784
+ vErrors.push(err69);
113558
113785
  }
113559
113786
  errors++;
113560
113787
  }
113561
113788
  }
113562
113789
  if (data.locale_source !== undefined) {
113563
- let data22 = data.locale_source;
113564
- if (typeof data22 !== "string") {
113565
- const err68 = {
113790
+ let data23 = data.locale_source;
113791
+ if (typeof data23 !== "string") {
113792
+ const err70 = {
113566
113793
  instancePath: instancePath + "/locale_source",
113567
113794
  schemaPath: "#/properties/locale_source/type",
113568
113795
  keyword: "type",
@@ -113570,19 +113797,19 @@ function validate379(data, { instancePath = "", parentData, parentDataProperty,
113570
113797
  message: "must be string",
113571
113798
  };
113572
113799
  if (vErrors === null) {
113573
- vErrors = [err68];
113800
+ vErrors = [err70];
113574
113801
  }
113575
113802
  else {
113576
- vErrors.push(err68);
113803
+ vErrors.push(err70);
113577
113804
  }
113578
113805
  errors++;
113579
113806
  }
113580
- if (!(data22 === "administrator" ||
113581
- data22 === "application" ||
113582
- data22 === "slack" ||
113583
- data22 === "telegram" ||
113584
- data22 === "project")) {
113585
- const err69 = {
113807
+ if (!(data23 === "administrator" ||
113808
+ data23 === "application" ||
113809
+ data23 === "slack" ||
113810
+ data23 === "telegram" ||
113811
+ data23 === "project")) {
113812
+ const err71 = {
113586
113813
  instancePath: instancePath + "/locale_source",
113587
113814
  schemaPath: "#/properties/locale_source/enum",
113588
113815
  keyword: "enum",
@@ -113590,18 +113817,18 @@ function validate379(data, { instancePath = "", parentData, parentDataProperty,
113590
113817
  message: "must be equal to one of the allowed values",
113591
113818
  };
113592
113819
  if (vErrors === null) {
113593
- vErrors = [err69];
113820
+ vErrors = [err71];
113594
113821
  }
113595
113822
  else {
113596
- vErrors.push(err69);
113823
+ vErrors.push(err71);
113597
113824
  }
113598
113825
  errors++;
113599
113826
  }
113600
113827
  }
113601
113828
  if (data.locale_override !== undefined) {
113602
- let data23 = data.locale_override;
113603
- if (typeof data23 !== "string") {
113604
- const err70 = {
113829
+ let data24 = data.locale_override;
113830
+ if (typeof data24 !== "string") {
113831
+ const err72 = {
113605
113832
  instancePath: instancePath + "/locale_override",
113606
113833
  schemaPath: "#/$defs/RecipientLanguage/type",
113607
113834
  keyword: "type",
@@ -113609,30 +113836,30 @@ function validate379(data, { instancePath = "", parentData, parentDataProperty,
113609
113836
  message: "must be string",
113610
113837
  };
113611
113838
  if (vErrors === null) {
113612
- vErrors = [err70];
113839
+ vErrors = [err72];
113613
113840
  }
113614
113841
  else {
113615
- vErrors.push(err70);
113842
+ vErrors.push(err72);
113616
113843
  }
113617
113844
  errors++;
113618
113845
  }
113619
- if (!(data23 === "en" ||
113620
- data23 === "es" ||
113621
- data23 === "pt-BR" ||
113622
- data23 === "fr" ||
113623
- data23 === "de" ||
113624
- data23 === "it" ||
113625
- data23 === "nl" ||
113626
- data23 === "pl" ||
113627
- data23 === "ru" ||
113628
- data23 === "uk" ||
113629
- data23 === "tr" ||
113630
- data23 === "id" ||
113631
- data23 === "ar" ||
113632
- data23 === "fa" ||
113633
- data23 === "hi" ||
113634
- data23 === "zh-Hans")) {
113635
- const err71 = {
113846
+ if (!(data24 === "en" ||
113847
+ data24 === "es" ||
113848
+ data24 === "pt-BR" ||
113849
+ data24 === "fr" ||
113850
+ data24 === "de" ||
113851
+ data24 === "it" ||
113852
+ data24 === "nl" ||
113853
+ data24 === "pl" ||
113854
+ data24 === "ru" ||
113855
+ data24 === "uk" ||
113856
+ data24 === "tr" ||
113857
+ data24 === "id" ||
113858
+ data24 === "ar" ||
113859
+ data24 === "fa" ||
113860
+ data24 === "hi" ||
113861
+ data24 === "zh-Hans")) {
113862
+ const err73 = {
113636
113863
  instancePath: instancePath + "/locale_override",
113637
113864
  schemaPath: "#/$defs/RecipientLanguage/enum",
113638
113865
  keyword: "enum",
@@ -113640,19 +113867,19 @@ function validate379(data, { instancePath = "", parentData, parentDataProperty,
113640
113867
  message: "must be equal to one of the allowed values",
113641
113868
  };
113642
113869
  if (vErrors === null) {
113643
- vErrors = [err71];
113870
+ vErrors = [err73];
113644
113871
  }
113645
113872
  else {
113646
- vErrors.push(err71);
113873
+ vErrors.push(err73);
113647
113874
  }
113648
113875
  errors++;
113649
113876
  }
113650
113877
  }
113651
113878
  if (data.effective_time_zone !== undefined) {
113652
- let data24 = data.effective_time_zone;
113653
- if (typeof data24 === "string") {
113654
- if (func1(data24) > 255) {
113655
- const err72 = {
113879
+ let data25 = data.effective_time_zone;
113880
+ if (typeof data25 === "string") {
113881
+ if (func1(data25) > 255) {
113882
+ const err74 = {
113656
113883
  instancePath: instancePath + "/effective_time_zone",
113657
113884
  schemaPath: "#/$defs/TimeZone/maxLength",
113658
113885
  keyword: "maxLength",
@@ -113660,15 +113887,15 @@ function validate379(data, { instancePath = "", parentData, parentDataProperty,
113660
113887
  message: "must NOT have more than 255 characters",
113661
113888
  };
113662
113889
  if (vErrors === null) {
113663
- vErrors = [err72];
113890
+ vErrors = [err74];
113664
113891
  }
113665
113892
  else {
113666
- vErrors.push(err72);
113893
+ vErrors.push(err74);
113667
113894
  }
113668
113895
  errors++;
113669
113896
  }
113670
- if (func1(data24) < 3) {
113671
- const err73 = {
113897
+ if (func1(data25) < 3) {
113898
+ const err75 = {
113672
113899
  instancePath: instancePath + "/effective_time_zone",
113673
113900
  schemaPath: "#/$defs/TimeZone/minLength",
113674
113901
  keyword: "minLength",
@@ -113676,15 +113903,15 @@ function validate379(data, { instancePath = "", parentData, parentDataProperty,
113676
113903
  message: "must NOT have fewer than 3 characters",
113677
113904
  };
113678
113905
  if (vErrors === null) {
113679
- vErrors = [err73];
113906
+ vErrors = [err75];
113680
113907
  }
113681
113908
  else {
113682
- vErrors.push(err73);
113909
+ vErrors.push(err75);
113683
113910
  }
113684
113911
  errors++;
113685
113912
  }
113686
- if (!pattern415.test(data24)) {
113687
- const err74 = {
113913
+ if (!pattern415.test(data25)) {
113914
+ const err76 = {
113688
113915
  instancePath: instancePath + "/effective_time_zone",
113689
113916
  schemaPath: "#/$defs/TimeZone/pattern",
113690
113917
  keyword: "pattern",
@@ -113696,16 +113923,16 @@ function validate379(data, { instancePath = "", parentData, parentDataProperty,
113696
113923
  '"',
113697
113924
  };
113698
113925
  if (vErrors === null) {
113699
- vErrors = [err74];
113926
+ vErrors = [err76];
113700
113927
  }
113701
113928
  else {
113702
- vErrors.push(err74);
113929
+ vErrors.push(err76);
113703
113930
  }
113704
113931
  errors++;
113705
113932
  }
113706
113933
  }
113707
113934
  else {
113708
- const err75 = {
113935
+ const err77 = {
113709
113936
  instancePath: instancePath + "/effective_time_zone",
113710
113937
  schemaPath: "#/$defs/TimeZone/type",
113711
113938
  keyword: "type",
@@ -113713,19 +113940,19 @@ function validate379(data, { instancePath = "", parentData, parentDataProperty,
113713
113940
  message: "must be string",
113714
113941
  };
113715
113942
  if (vErrors === null) {
113716
- vErrors = [err75];
113943
+ vErrors = [err77];
113717
113944
  }
113718
113945
  else {
113719
- vErrors.push(err75);
113946
+ vErrors.push(err77);
113720
113947
  }
113721
113948
  errors++;
113722
113949
  }
113723
113950
  }
113724
113951
  if (data.time_zone_override !== undefined) {
113725
- let data25 = data.time_zone_override;
113726
- if (typeof data25 === "string") {
113727
- if (func1(data25) > 255) {
113728
- const err76 = {
113952
+ let data26 = data.time_zone_override;
113953
+ if (typeof data26 === "string") {
113954
+ if (func1(data26) > 255) {
113955
+ const err78 = {
113729
113956
  instancePath: instancePath + "/time_zone_override",
113730
113957
  schemaPath: "#/$defs/TimeZone/maxLength",
113731
113958
  keyword: "maxLength",
@@ -113733,15 +113960,15 @@ function validate379(data, { instancePath = "", parentData, parentDataProperty,
113733
113960
  message: "must NOT have more than 255 characters",
113734
113961
  };
113735
113962
  if (vErrors === null) {
113736
- vErrors = [err76];
113963
+ vErrors = [err78];
113737
113964
  }
113738
113965
  else {
113739
- vErrors.push(err76);
113966
+ vErrors.push(err78);
113740
113967
  }
113741
113968
  errors++;
113742
113969
  }
113743
- if (func1(data25) < 3) {
113744
- const err77 = {
113970
+ if (func1(data26) < 3) {
113971
+ const err79 = {
113745
113972
  instancePath: instancePath + "/time_zone_override",
113746
113973
  schemaPath: "#/$defs/TimeZone/minLength",
113747
113974
  keyword: "minLength",
@@ -113749,15 +113976,15 @@ function validate379(data, { instancePath = "", parentData, parentDataProperty,
113749
113976
  message: "must NOT have fewer than 3 characters",
113750
113977
  };
113751
113978
  if (vErrors === null) {
113752
- vErrors = [err77];
113979
+ vErrors = [err79];
113753
113980
  }
113754
113981
  else {
113755
- vErrors.push(err77);
113982
+ vErrors.push(err79);
113756
113983
  }
113757
113984
  errors++;
113758
113985
  }
113759
- if (!pattern415.test(data25)) {
113760
- const err78 = {
113986
+ if (!pattern415.test(data26)) {
113987
+ const err80 = {
113761
113988
  instancePath: instancePath + "/time_zone_override",
113762
113989
  schemaPath: "#/$defs/TimeZone/pattern",
113763
113990
  keyword: "pattern",
@@ -113769,16 +113996,16 @@ function validate379(data, { instancePath = "", parentData, parentDataProperty,
113769
113996
  '"',
113770
113997
  };
113771
113998
  if (vErrors === null) {
113772
- vErrors = [err78];
113999
+ vErrors = [err80];
113773
114000
  }
113774
114001
  else {
113775
- vErrors.push(err78);
114002
+ vErrors.push(err80);
113776
114003
  }
113777
114004
  errors++;
113778
114005
  }
113779
114006
  }
113780
114007
  else {
113781
- const err79 = {
114008
+ const err81 = {
113782
114009
  instancePath: instancePath + "/time_zone_override",
113783
114010
  schemaPath: "#/$defs/TimeZone/type",
113784
114011
  keyword: "type",
@@ -113786,18 +114013,18 @@ function validate379(data, { instancePath = "", parentData, parentDataProperty,
113786
114013
  message: "must be string",
113787
114014
  };
113788
114015
  if (vErrors === null) {
113789
- vErrors = [err79];
114016
+ vErrors = [err81];
113790
114017
  }
113791
114018
  else {
113792
- vErrors.push(err79);
114019
+ vErrors.push(err81);
113793
114020
  }
113794
114021
  errors++;
113795
114022
  }
113796
114023
  }
113797
114024
  if (data.time_zone_source !== undefined) {
113798
- let data26 = data.time_zone_source;
113799
- if (typeof data26 !== "string") {
113800
- const err80 = {
114025
+ let data27 = data.time_zone_source;
114026
+ if (typeof data27 !== "string") {
114027
+ const err82 = {
113801
114028
  instancePath: instancePath + "/time_zone_source",
113802
114029
  schemaPath: "#/properties/time_zone_source/type",
113803
114030
  keyword: "type",
@@ -113805,17 +114032,17 @@ function validate379(data, { instancePath = "", parentData, parentDataProperty,
113805
114032
  message: "must be string",
113806
114033
  };
113807
114034
  if (vErrors === null) {
113808
- vErrors = [err80];
114035
+ vErrors = [err82];
113809
114036
  }
113810
114037
  else {
113811
- vErrors.push(err80);
114038
+ vErrors.push(err82);
113812
114039
  }
113813
114040
  errors++;
113814
114041
  }
113815
- if (!(data26 === "administrator" ||
113816
- data26 === "application" ||
113817
- data26 === "slack")) {
113818
- const err81 = {
114042
+ if (!(data27 === "administrator" ||
114043
+ data27 === "application" ||
114044
+ data27 === "slack")) {
114045
+ const err83 = {
113819
114046
  instancePath: instancePath + "/time_zone_source",
113820
114047
  schemaPath: "#/properties/time_zone_source/enum",
113821
114048
  keyword: "enum",
@@ -113823,17 +114050,17 @@ function validate379(data, { instancePath = "", parentData, parentDataProperty,
113823
114050
  message: "must be equal to one of the allowed values",
113824
114051
  };
113825
114052
  if (vErrors === null) {
113826
- vErrors = [err81];
114053
+ vErrors = [err83];
113827
114054
  }
113828
114055
  else {
113829
- vErrors.push(err81);
114056
+ vErrors.push(err83);
113830
114057
  }
113831
114058
  errors++;
113832
114059
  }
113833
114060
  }
113834
114061
  }
113835
114062
  else {
113836
- const err82 = {
114063
+ const err84 = {
113837
114064
  instancePath,
113838
114065
  schemaPath: "#/type",
113839
114066
  keyword: "type",
@@ -113841,10 +114068,10 @@ function validate379(data, { instancePath = "", parentData, parentDataProperty,
113841
114068
  message: "must be object",
113842
114069
  };
113843
114070
  if (vErrors === null) {
113844
- vErrors = [err82];
114071
+ vErrors = [err84];
113845
114072
  }
113846
114073
  else {
113847
- vErrors.push(err82);
114074
+ vErrors.push(err84);
113848
114075
  }
113849
114076
  errors++;
113850
114077
  }
@@ -161818,7 +162045,7 @@ export const validateProviderCapabilities = validate216;
161818
162045
  const schema398 = {
161819
162046
  $schema: "https://json-schema.org/draft/2020-12/schema",
161820
162047
  $id: "https://whooshbang.flowxo.com/schemas/provider-capabilities-v1.schema.json",
161821
- "x-contract-version": "3.0.0",
162048
+ "x-contract-version": "3.1.0",
161822
162049
  title: "ProviderCapabilitiesV1",
161823
162050
  description: "Provider-neutral, renderer-facing delivery and interaction capabilities with explicit degradation.",
161824
162051
  type: "object",
@@ -171878,7 +172105,7 @@ export const validateWhooshBangEvent = validate810;
171878
172105
  const schema1610 = {
171879
172106
  $schema: "https://json-schema.org/draft/2020-12/schema",
171880
172107
  $id: "https://whooshbang.flowxo.com/schemas/events/whooshbang-event-v1.schema.json",
171881
- "x-contract-version": "3.0.0",
172108
+ "x-contract-version": "3.1.0",
171882
172109
  title: "WhooshBangEventV1ContractDocument",
171883
172110
  description: "Strict public customer-event envelope and initial WhooshBang event union.",
171884
172111
  oneOf: [
@@ -183112,7 +183339,7 @@ export const validateWebhookSigningVectorSet = validate902;
183112
183339
  const schema1716 = {
183113
183340
  $schema: "https://json-schema.org/draft/2020-12/schema",
183114
183341
  $id: "https://whooshbang.flowxo.com/schemas/webhooks/webhook-signing-vector-v1.schema.json",
183115
- "x-contract-version": "3.0.0",
183342
+ "x-contract-version": "3.1.0",
183116
183343
  title: "WebhookSigningVectorSetV1",
183117
183344
  description: "Language-neutral deterministic Standard Webhooks V1 verification vectors. All key material is public synthetic test data and must never be used outside fixtures.",
183118
183345
  type: "object",
@@ -185127,7 +185354,7 @@ export const validateWebhookDeliveryCaseSet = validate905;
185127
185354
  const schema1721 = {
185128
185355
  $schema: "https://json-schema.org/draft/2020-12/schema",
185129
185356
  $id: "https://whooshbang.flowxo.com/schemas/webhooks/webhook-delivery-case-v1.schema.json",
185130
- "x-contract-version": "3.0.0",
185357
+ "x-contract-version": "3.1.0",
185131
185358
  title: "WebhookDeliveryCaseSetV1",
185132
185359
  description: "Deterministic customer webhook response classification, Retry-After, and delivery-bound cases.",
185133
185360
  type: "object",
@@ -190866,6 +191093,21 @@ const schema973 = {
190866
191093
  properties: {
190867
191094
  operator: { $ref: "#/$defs/Operator" },
190868
191095
  settings: { $ref: "#/$defs/SubscriberChannelSettings" },
191096
+ accounts: {
191097
+ type: "array",
191098
+ maxItems: 10,
191099
+ description: "Who each of your connected channels reaches, as the channel named you when you connected: a Telegram or Slack name and username, by binding. Kept only on the Standard privacy setting, so it is empty otherwise.",
191100
+ items: {
191101
+ type: "object",
191102
+ required: ["binding_id"],
191103
+ properties: {
191104
+ binding_id: { type: "string", minLength: 1, maxLength: 128 },
191105
+ name: { type: "string", minLength: 1, maxLength: 254 },
191106
+ username: { type: "string", minLength: 1, maxLength: 80 },
191107
+ },
191108
+ additionalProperties: false,
191109
+ },
191110
+ },
190869
191111
  connections: {
190870
191112
  type: "array",
190871
191113
  items: {
@@ -191549,6 +191791,7 @@ function validate925(data, { instancePath = "", parentData, parentDataProperty,
191549
191791
  for (const key0 in data) {
191550
191792
  if (!(key0 === "operator" ||
191551
191793
  key0 === "settings" ||
191794
+ key0 === "accounts" ||
191552
191795
  key0 === "connections")) {
191553
191796
  const err3 = {
191554
191797
  instancePath,
@@ -191596,208 +191839,462 @@ function validate925(data, { instancePath = "", parentData, parentDataProperty,
191596
191839
  errors = vErrors.length;
191597
191840
  }
191598
191841
  }
191599
- if (data.connections !== undefined) {
191600
- let data2 = data.connections;
191842
+ if (data.accounts !== undefined) {
191843
+ let data2 = data.accounts;
191601
191844
  if (Array.isArray(data2)) {
191845
+ if (data2.length > 10) {
191846
+ const err4 = {
191847
+ instancePath: instancePath + "/accounts",
191848
+ schemaPath: "#/properties/accounts/maxItems",
191849
+ keyword: "maxItems",
191850
+ params: { limit: 10 },
191851
+ message: "must NOT have more than 10 items",
191852
+ };
191853
+ if (vErrors === null) {
191854
+ vErrors = [err4];
191855
+ }
191856
+ else {
191857
+ vErrors.push(err4);
191858
+ }
191859
+ errors++;
191860
+ }
191602
191861
  const len0 = data2.length;
191603
191862
  for (let i0 = 0; i0 < len0; i0++) {
191604
191863
  let data3 = data2[i0];
191605
191864
  if (data3 && typeof data3 == "object" && !Array.isArray(data3)) {
191606
- if (data3.id === undefined) {
191607
- const err4 = {
191608
- instancePath: instancePath + "/connections/" + i0,
191865
+ if (data3.binding_id === undefined) {
191866
+ const err5 = {
191867
+ instancePath: instancePath + "/accounts/" + i0,
191868
+ schemaPath: "#/properties/accounts/items/required",
191869
+ keyword: "required",
191870
+ params: { missingProperty: "binding_id" },
191871
+ message: "must have required property '" + "binding_id" + "'",
191872
+ };
191873
+ if (vErrors === null) {
191874
+ vErrors = [err5];
191875
+ }
191876
+ else {
191877
+ vErrors.push(err5);
191878
+ }
191879
+ errors++;
191880
+ }
191881
+ for (const key1 in data3) {
191882
+ if (!(key1 === "binding_id" ||
191883
+ key1 === "name" ||
191884
+ key1 === "username")) {
191885
+ const err6 = {
191886
+ instancePath: instancePath + "/accounts/" + i0,
191887
+ schemaPath: "#/properties/accounts/items/additionalProperties",
191888
+ keyword: "additionalProperties",
191889
+ params: { additionalProperty: key1 },
191890
+ message: "must NOT have additional properties",
191891
+ };
191892
+ if (vErrors === null) {
191893
+ vErrors = [err6];
191894
+ }
191895
+ else {
191896
+ vErrors.push(err6);
191897
+ }
191898
+ errors++;
191899
+ }
191900
+ }
191901
+ if (data3.binding_id !== undefined) {
191902
+ let data4 = data3.binding_id;
191903
+ if (typeof data4 === "string") {
191904
+ if (func1(data4) > 128) {
191905
+ const err7 = {
191906
+ instancePath: instancePath + "/accounts/" + i0 + "/binding_id",
191907
+ schemaPath: "#/properties/accounts/items/properties/binding_id/maxLength",
191908
+ keyword: "maxLength",
191909
+ params: { limit: 128 },
191910
+ message: "must NOT have more than 128 characters",
191911
+ };
191912
+ if (vErrors === null) {
191913
+ vErrors = [err7];
191914
+ }
191915
+ else {
191916
+ vErrors.push(err7);
191917
+ }
191918
+ errors++;
191919
+ }
191920
+ if (func1(data4) < 1) {
191921
+ const err8 = {
191922
+ instancePath: instancePath + "/accounts/" + i0 + "/binding_id",
191923
+ schemaPath: "#/properties/accounts/items/properties/binding_id/minLength",
191924
+ keyword: "minLength",
191925
+ params: { limit: 1 },
191926
+ message: "must NOT have fewer than 1 characters",
191927
+ };
191928
+ if (vErrors === null) {
191929
+ vErrors = [err8];
191930
+ }
191931
+ else {
191932
+ vErrors.push(err8);
191933
+ }
191934
+ errors++;
191935
+ }
191936
+ }
191937
+ else {
191938
+ const err9 = {
191939
+ instancePath: instancePath + "/accounts/" + i0 + "/binding_id",
191940
+ schemaPath: "#/properties/accounts/items/properties/binding_id/type",
191941
+ keyword: "type",
191942
+ params: { type: "string" },
191943
+ message: "must be string",
191944
+ };
191945
+ if (vErrors === null) {
191946
+ vErrors = [err9];
191947
+ }
191948
+ else {
191949
+ vErrors.push(err9);
191950
+ }
191951
+ errors++;
191952
+ }
191953
+ }
191954
+ if (data3.name !== undefined) {
191955
+ let data5 = data3.name;
191956
+ if (typeof data5 === "string") {
191957
+ if (func1(data5) > 254) {
191958
+ const err10 = {
191959
+ instancePath: instancePath + "/accounts/" + i0 + "/name",
191960
+ schemaPath: "#/properties/accounts/items/properties/name/maxLength",
191961
+ keyword: "maxLength",
191962
+ params: { limit: 254 },
191963
+ message: "must NOT have more than 254 characters",
191964
+ };
191965
+ if (vErrors === null) {
191966
+ vErrors = [err10];
191967
+ }
191968
+ else {
191969
+ vErrors.push(err10);
191970
+ }
191971
+ errors++;
191972
+ }
191973
+ if (func1(data5) < 1) {
191974
+ const err11 = {
191975
+ instancePath: instancePath + "/accounts/" + i0 + "/name",
191976
+ schemaPath: "#/properties/accounts/items/properties/name/minLength",
191977
+ keyword: "minLength",
191978
+ params: { limit: 1 },
191979
+ message: "must NOT have fewer than 1 characters",
191980
+ };
191981
+ if (vErrors === null) {
191982
+ vErrors = [err11];
191983
+ }
191984
+ else {
191985
+ vErrors.push(err11);
191986
+ }
191987
+ errors++;
191988
+ }
191989
+ }
191990
+ else {
191991
+ const err12 = {
191992
+ instancePath: instancePath + "/accounts/" + i0 + "/name",
191993
+ schemaPath: "#/properties/accounts/items/properties/name/type",
191994
+ keyword: "type",
191995
+ params: { type: "string" },
191996
+ message: "must be string",
191997
+ };
191998
+ if (vErrors === null) {
191999
+ vErrors = [err12];
192000
+ }
192001
+ else {
192002
+ vErrors.push(err12);
192003
+ }
192004
+ errors++;
192005
+ }
192006
+ }
192007
+ if (data3.username !== undefined) {
192008
+ let data6 = data3.username;
192009
+ if (typeof data6 === "string") {
192010
+ if (func1(data6) > 80) {
192011
+ const err13 = {
192012
+ instancePath: instancePath + "/accounts/" + i0 + "/username",
192013
+ schemaPath: "#/properties/accounts/items/properties/username/maxLength",
192014
+ keyword: "maxLength",
192015
+ params: { limit: 80 },
192016
+ message: "must NOT have more than 80 characters",
192017
+ };
192018
+ if (vErrors === null) {
192019
+ vErrors = [err13];
192020
+ }
192021
+ else {
192022
+ vErrors.push(err13);
192023
+ }
192024
+ errors++;
192025
+ }
192026
+ if (func1(data6) < 1) {
192027
+ const err14 = {
192028
+ instancePath: instancePath + "/accounts/" + i0 + "/username",
192029
+ schemaPath: "#/properties/accounts/items/properties/username/minLength",
192030
+ keyword: "minLength",
192031
+ params: { limit: 1 },
192032
+ message: "must NOT have fewer than 1 characters",
192033
+ };
192034
+ if (vErrors === null) {
192035
+ vErrors = [err14];
192036
+ }
192037
+ else {
192038
+ vErrors.push(err14);
192039
+ }
192040
+ errors++;
192041
+ }
192042
+ }
192043
+ else {
192044
+ const err15 = {
192045
+ instancePath: instancePath + "/accounts/" + i0 + "/username",
192046
+ schemaPath: "#/properties/accounts/items/properties/username/type",
192047
+ keyword: "type",
192048
+ params: { type: "string" },
192049
+ message: "must be string",
192050
+ };
192051
+ if (vErrors === null) {
192052
+ vErrors = [err15];
192053
+ }
192054
+ else {
192055
+ vErrors.push(err15);
192056
+ }
192057
+ errors++;
192058
+ }
192059
+ }
192060
+ }
192061
+ else {
192062
+ const err16 = {
192063
+ instancePath: instancePath + "/accounts/" + i0,
192064
+ schemaPath: "#/properties/accounts/items/type",
192065
+ keyword: "type",
192066
+ params: { type: "object" },
192067
+ message: "must be object",
192068
+ };
192069
+ if (vErrors === null) {
192070
+ vErrors = [err16];
192071
+ }
192072
+ else {
192073
+ vErrors.push(err16);
192074
+ }
192075
+ errors++;
192076
+ }
192077
+ }
192078
+ }
192079
+ else {
192080
+ const err17 = {
192081
+ instancePath: instancePath + "/accounts",
192082
+ schemaPath: "#/properties/accounts/type",
192083
+ keyword: "type",
192084
+ params: { type: "array" },
192085
+ message: "must be array",
192086
+ };
192087
+ if (vErrors === null) {
192088
+ vErrors = [err17];
192089
+ }
192090
+ else {
192091
+ vErrors.push(err17);
192092
+ }
192093
+ errors++;
192094
+ }
192095
+ }
192096
+ if (data.connections !== undefined) {
192097
+ let data7 = data.connections;
192098
+ if (Array.isArray(data7)) {
192099
+ const len1 = data7.length;
192100
+ for (let i1 = 0; i1 < len1; i1++) {
192101
+ let data8 = data7[i1];
192102
+ if (data8 && typeof data8 == "object" && !Array.isArray(data8)) {
192103
+ if (data8.id === undefined) {
192104
+ const err18 = {
192105
+ instancePath: instancePath + "/connections/" + i1,
191609
192106
  schemaPath: "#/properties/connections/items/required",
191610
192107
  keyword: "required",
191611
192108
  params: { missingProperty: "id" },
191612
192109
  message: "must have required property '" + "id" + "'",
191613
192110
  };
191614
192111
  if (vErrors === null) {
191615
- vErrors = [err4];
192112
+ vErrors = [err18];
191616
192113
  }
191617
192114
  else {
191618
- vErrors.push(err4);
192115
+ vErrors.push(err18);
191619
192116
  }
191620
192117
  errors++;
191621
192118
  }
191622
- if (data3.channel === undefined) {
191623
- const err5 = {
191624
- instancePath: instancePath + "/connections/" + i0,
192119
+ if (data8.channel === undefined) {
192120
+ const err19 = {
192121
+ instancePath: instancePath + "/connections/" + i1,
191625
192122
  schemaPath: "#/properties/connections/items/required",
191626
192123
  keyword: "required",
191627
192124
  params: { missingProperty: "channel" },
191628
192125
  message: "must have required property '" + "channel" + "'",
191629
192126
  };
191630
192127
  if (vErrors === null) {
191631
- vErrors = [err5];
192128
+ vErrors = [err19];
191632
192129
  }
191633
192130
  else {
191634
- vErrors.push(err5);
192131
+ vErrors.push(err19);
191635
192132
  }
191636
192133
  errors++;
191637
192134
  }
191638
- if (data3.name === undefined) {
191639
- const err6 = {
191640
- instancePath: instancePath + "/connections/" + i0,
192135
+ if (data8.name === undefined) {
192136
+ const err20 = {
192137
+ instancePath: instancePath + "/connections/" + i1,
191641
192138
  schemaPath: "#/properties/connections/items/required",
191642
192139
  keyword: "required",
191643
192140
  params: { missingProperty: "name" },
191644
192141
  message: "must have required property '" + "name" + "'",
191645
192142
  };
191646
192143
  if (vErrors === null) {
191647
- vErrors = [err6];
192144
+ vErrors = [err20];
191648
192145
  }
191649
192146
  else {
191650
- vErrors.push(err6);
192147
+ vErrors.push(err20);
191651
192148
  }
191652
192149
  errors++;
191653
192150
  }
191654
- for (const key1 in data3) {
191655
- if (!(key1 === "id" || key1 === "channel" || key1 === "name")) {
191656
- const err7 = {
191657
- instancePath: instancePath + "/connections/" + i0,
192151
+ for (const key2 in data8) {
192152
+ if (!(key2 === "id" || key2 === "channel" || key2 === "name")) {
192153
+ const err21 = {
192154
+ instancePath: instancePath + "/connections/" + i1,
191658
192155
  schemaPath: "#/properties/connections/items/additionalProperties",
191659
192156
  keyword: "additionalProperties",
191660
- params: { additionalProperty: key1 },
192157
+ params: { additionalProperty: key2 },
191661
192158
  message: "must NOT have additional properties",
191662
192159
  };
191663
192160
  if (vErrors === null) {
191664
- vErrors = [err7];
192161
+ vErrors = [err21];
191665
192162
  }
191666
192163
  else {
191667
- vErrors.push(err7);
192164
+ vErrors.push(err21);
191668
192165
  }
191669
192166
  errors++;
191670
192167
  }
191671
192168
  }
191672
- if (data3.id !== undefined) {
191673
- let data4 = data3.id;
191674
- if (typeof data4 === "string") {
191675
- if (func1(data4) > 128) {
191676
- const err8 = {
191677
- instancePath: instancePath + "/connections/" + i0 + "/id",
192169
+ if (data8.id !== undefined) {
192170
+ let data9 = data8.id;
192171
+ if (typeof data9 === "string") {
192172
+ if (func1(data9) > 128) {
192173
+ const err22 = {
192174
+ instancePath: instancePath + "/connections/" + i1 + "/id",
191678
192175
  schemaPath: "#/properties/connections/items/properties/id/maxLength",
191679
192176
  keyword: "maxLength",
191680
192177
  params: { limit: 128 },
191681
192178
  message: "must NOT have more than 128 characters",
191682
192179
  };
191683
192180
  if (vErrors === null) {
191684
- vErrors = [err8];
192181
+ vErrors = [err22];
191685
192182
  }
191686
192183
  else {
191687
- vErrors.push(err8);
192184
+ vErrors.push(err22);
191688
192185
  }
191689
192186
  errors++;
191690
192187
  }
191691
- if (func1(data4) < 1) {
191692
- const err9 = {
191693
- instancePath: instancePath + "/connections/" + i0 + "/id",
192188
+ if (func1(data9) < 1) {
192189
+ const err23 = {
192190
+ instancePath: instancePath + "/connections/" + i1 + "/id",
191694
192191
  schemaPath: "#/properties/connections/items/properties/id/minLength",
191695
192192
  keyword: "minLength",
191696
192193
  params: { limit: 1 },
191697
192194
  message: "must NOT have fewer than 1 characters",
191698
192195
  };
191699
192196
  if (vErrors === null) {
191700
- vErrors = [err9];
192197
+ vErrors = [err23];
191701
192198
  }
191702
192199
  else {
191703
- vErrors.push(err9);
192200
+ vErrors.push(err23);
191704
192201
  }
191705
192202
  errors++;
191706
192203
  }
191707
192204
  }
191708
192205
  else {
191709
- const err10 = {
191710
- instancePath: instancePath + "/connections/" + i0 + "/id",
192206
+ const err24 = {
192207
+ instancePath: instancePath + "/connections/" + i1 + "/id",
191711
192208
  schemaPath: "#/properties/connections/items/properties/id/type",
191712
192209
  keyword: "type",
191713
192210
  params: { type: "string" },
191714
192211
  message: "must be string",
191715
192212
  };
191716
192213
  if (vErrors === null) {
191717
- vErrors = [err10];
192214
+ vErrors = [err24];
191718
192215
  }
191719
192216
  else {
191720
- vErrors.push(err10);
192217
+ vErrors.push(err24);
191721
192218
  }
191722
192219
  errors++;
191723
192220
  }
191724
192221
  }
191725
- if (data3.channel !== undefined) {
191726
- let data5 = data3.channel;
191727
- if (typeof data5 !== "string") {
191728
- const err11 = {
191729
- instancePath: instancePath + "/connections/" + i0 + "/channel",
192222
+ if (data8.channel !== undefined) {
192223
+ let data10 = data8.channel;
192224
+ if (typeof data10 !== "string") {
192225
+ const err25 = {
192226
+ instancePath: instancePath + "/connections/" + i1 + "/channel",
191730
192227
  schemaPath: "#/$defs/Channel/type",
191731
192228
  keyword: "type",
191732
192229
  params: { type: "string" },
191733
192230
  message: "must be string",
191734
192231
  };
191735
192232
  if (vErrors === null) {
191736
- vErrors = [err11];
192233
+ vErrors = [err25];
191737
192234
  }
191738
192235
  else {
191739
- vErrors.push(err11);
192236
+ vErrors.push(err25);
191740
192237
  }
191741
192238
  errors++;
191742
192239
  }
191743
- if (!(data5 === "telegram" ||
191744
- data5 === "slack" ||
191745
- data5 === "email")) {
191746
- const err12 = {
191747
- instancePath: instancePath + "/connections/" + i0 + "/channel",
192240
+ if (!(data10 === "telegram" ||
192241
+ data10 === "slack" ||
192242
+ data10 === "email")) {
192243
+ const err26 = {
192244
+ instancePath: instancePath + "/connections/" + i1 + "/channel",
191748
192245
  schemaPath: "#/$defs/Channel/enum",
191749
192246
  keyword: "enum",
191750
192247
  params: { allowedValues: schema188.enum },
191751
192248
  message: "must be equal to one of the allowed values",
191752
192249
  };
191753
192250
  if (vErrors === null) {
191754
- vErrors = [err12];
192251
+ vErrors = [err26];
191755
192252
  }
191756
192253
  else {
191757
- vErrors.push(err12);
192254
+ vErrors.push(err26);
191758
192255
  }
191759
192256
  errors++;
191760
192257
  }
191761
192258
  }
191762
- if (data3.name !== undefined) {
191763
- if (typeof data3.name !== "string") {
191764
- const err13 = {
191765
- instancePath: instancePath + "/connections/" + i0 + "/name",
192259
+ if (data8.name !== undefined) {
192260
+ if (typeof data8.name !== "string") {
192261
+ const err27 = {
192262
+ instancePath: instancePath + "/connections/" + i1 + "/name",
191766
192263
  schemaPath: "#/properties/connections/items/properties/name/type",
191767
192264
  keyword: "type",
191768
192265
  params: { type: "string" },
191769
192266
  message: "must be string",
191770
192267
  };
191771
192268
  if (vErrors === null) {
191772
- vErrors = [err13];
192269
+ vErrors = [err27];
191773
192270
  }
191774
192271
  else {
191775
- vErrors.push(err13);
192272
+ vErrors.push(err27);
191776
192273
  }
191777
192274
  errors++;
191778
192275
  }
191779
192276
  }
191780
192277
  }
191781
192278
  else {
191782
- const err14 = {
191783
- instancePath: instancePath + "/connections/" + i0,
192279
+ const err28 = {
192280
+ instancePath: instancePath + "/connections/" + i1,
191784
192281
  schemaPath: "#/properties/connections/items/type",
191785
192282
  keyword: "type",
191786
192283
  params: { type: "object" },
191787
192284
  message: "must be object",
191788
192285
  };
191789
192286
  if (vErrors === null) {
191790
- vErrors = [err14];
192287
+ vErrors = [err28];
191791
192288
  }
191792
192289
  else {
191793
- vErrors.push(err14);
192290
+ vErrors.push(err28);
191794
192291
  }
191795
192292
  errors++;
191796
192293
  }
191797
192294
  }
191798
192295
  }
191799
192296
  else {
191800
- const err15 = {
192297
+ const err29 = {
191801
192298
  instancePath: instancePath + "/connections",
191802
192299
  schemaPath: "#/properties/connections/type",
191803
192300
  keyword: "type",
@@ -191805,17 +192302,17 @@ function validate925(data, { instancePath = "", parentData, parentDataProperty,
191805
192302
  message: "must be array",
191806
192303
  };
191807
192304
  if (vErrors === null) {
191808
- vErrors = [err15];
192305
+ vErrors = [err29];
191809
192306
  }
191810
192307
  else {
191811
- vErrors.push(err15);
192308
+ vErrors.push(err29);
191812
192309
  }
191813
192310
  errors++;
191814
192311
  }
191815
192312
  }
191816
192313
  }
191817
192314
  else {
191818
- const err16 = {
192315
+ const err30 = {
191819
192316
  instancePath,
191820
192317
  schemaPath: "#/type",
191821
192318
  keyword: "type",
@@ -191823,10 +192320,10 @@ function validate925(data, { instancePath = "", parentData, parentDataProperty,
191823
192320
  message: "must be object",
191824
192321
  };
191825
192322
  if (vErrors === null) {
191826
- vErrors = [err16];
192323
+ vErrors = [err30];
191827
192324
  }
191828
192325
  else {
191829
- vErrors.push(err16);
192326
+ vErrors.push(err30);
191830
192327
  }
191831
192328
  errors++;
191832
192329
  }