@kohost/api-client 4.0.9 → 4.0.11

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.
package/dist/index.cjs CHANGED
@@ -12203,6 +12203,7 @@ var schema120 = {
12203
12203
  properties: {
12204
12204
  type: { type: "string", default: "log", enum: ["log"] },
12205
12205
  timestamp: { type: "number", minimum: 1655907956593 },
12206
+ id: { $ref: "definitions.json#/definitions/id" },
12206
12207
  name: { type: "string", description: "Event name" },
12207
12208
  field1: {
12208
12209
  type: "object",
@@ -12308,9 +12309,63 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
12308
12309
  errors++;
12309
12310
  }
12310
12311
  }
12312
+ if (data.id !== void 0) {
12313
+ let data2 = data.id;
12314
+ if (typeof data2 !== "string") {
12315
+ const err4 = {
12316
+ instancePath: instancePath + "/id",
12317
+ schemaPath: "definitions.json#/definitions/id/type",
12318
+ keyword: "type",
12319
+ params: { type: "string" },
12320
+ message: "must be string"
12321
+ };
12322
+ if (vErrors === null) {
12323
+ vErrors = [err4];
12324
+ } else {
12325
+ vErrors.push(err4);
12326
+ }
12327
+ errors++;
12328
+ }
12329
+ const _errs8 = errors;
12330
+ const _errs9 = errors;
12331
+ if (!(data2 === "global" || data2 === "system")) {
12332
+ const err5 = {};
12333
+ if (vErrors === null) {
12334
+ vErrors = [err5];
12335
+ } else {
12336
+ vErrors.push(err5);
12337
+ }
12338
+ errors++;
12339
+ }
12340
+ var valid2 = _errs9 === errors;
12341
+ if (valid2) {
12342
+ const err6 = {
12343
+ instancePath: instancePath + "/id",
12344
+ schemaPath: "definitions.json#/definitions/id/not",
12345
+ keyword: "not",
12346
+ params: {},
12347
+ message: "must NOT be valid"
12348
+ };
12349
+ if (vErrors === null) {
12350
+ vErrors = [err6];
12351
+ } else {
12352
+ vErrors.push(err6);
12353
+ }
12354
+ errors++;
12355
+ } else {
12356
+ errors = _errs8;
12357
+ if (vErrors !== null) {
12358
+ if (_errs8) {
12359
+ vErrors.length = _errs8;
12360
+ } else {
12361
+ vErrors = null;
12362
+ }
12363
+ }
12364
+ }
12365
+ }
12311
12366
  if (data.name !== void 0) {
12312
12367
  if (typeof data.name !== "string") {
12313
- const err4 = {
12368
+ const err7 = {
12314
12369
  instancePath: instancePath + "/name",
12315
12370
  schemaPath: "#/properties/name/type",
12316
12371
  keyword: "type",
@@ -12318,18 +12373,18 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
12318
12373
  message: "must be string"
12319
12374
  };
12320
12375
  if (vErrors === null) {
12321
- vErrors = [err4];
12376
+ vErrors = [err7];
12322
12377
  } else {
12323
- vErrors.push(err4);
12378
+ vErrors.push(err7);
12324
12379
  }
12325
12380
  errors++;
12326
12381
  }
12327
12382
  }
12328
12383
  if (data.field1 !== void 0) {
12329
- let data3 = data.field1;
12330
- if (data3 && typeof data3 == "object" && !Array.isArray(data3)) {
12331
- if (data3.name === void 0) {
12332
- const err5 = {
12384
+ let data4 = data.field1;
12385
+ if (data4 && typeof data4 == "object" && !Array.isArray(data4)) {
12386
+ if (data4.name === void 0) {
12387
+ const err8 = {
12333
12388
  instancePath: instancePath + "/field1",
12334
12389
  schemaPath: "#/properties/field1/required",
12335
12390
  keyword: "required",
@@ -12337,14 +12392,14 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
12337
12392
  message: "must have required property 'name'"
12338
12393
  };
12339
12394
  if (vErrors === null) {
12340
- vErrors = [err5];
12395
+ vErrors = [err8];
12341
12396
  } else {
12342
- vErrors.push(err5);
12397
+ vErrors.push(err8);
12343
12398
  }
12344
12399
  errors++;
12345
12400
  }
12346
- if (data3.value === void 0) {
12347
- const err6 = {
12401
+ if (data4.value === void 0) {
12402
+ const err9 = {
12348
12403
  instancePath: instancePath + "/field1",
12349
12404
  schemaPath: "#/properties/field1/required",
12350
12405
  keyword: "required",
@@ -12352,15 +12407,15 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
12352
12407
  message: "must have required property 'value'"
12353
12408
  };
12354
12409
  if (vErrors === null) {
12355
- vErrors = [err6];
12410
+ vErrors = [err9];
12356
12411
  } else {
12357
- vErrors.push(err6);
12412
+ vErrors.push(err9);
12358
12413
  }
12359
12414
  errors++;
12360
12415
  }
12361
- if (data3.name !== void 0) {
12362
- if (typeof data3.name !== "string") {
12363
- const err7 = {
12416
+ if (data4.name !== void 0) {
12417
+ if (typeof data4.name !== "string") {
12418
+ const err10 = {
12364
12419
  instancePath: instancePath + "/field1/name",
12365
12420
  schemaPath: "#/properties/field1/properties/name/type",
12366
12421
  keyword: "type",
@@ -12368,16 +12423,16 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
12368
12423
  message: "must be string"
12369
12424
  };
12370
12425
  if (vErrors === null) {
12371
- vErrors = [err7];
12426
+ vErrors = [err10];
12372
12427
  } else {
12373
- vErrors.push(err7);
12428
+ vErrors.push(err10);
12374
12429
  }
12375
12430
  errors++;
12376
12431
  }
12377
12432
  }
12378
- if (data3.value !== void 0) {
12379
- if (typeof data3.value !== "string") {
12380
- const err8 = {
12433
+ if (data4.value !== void 0) {
12434
+ if (typeof data4.value !== "string") {
12435
+ const err11 = {
12381
12436
  instancePath: instancePath + "/field1/value",
12382
12437
  schemaPath: "#/properties/field1/properties/value/type",
12383
12438
  keyword: "type",
@@ -12385,15 +12440,15 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
12385
12440
  message: "must be string"
12386
12441
  };
12387
12442
  if (vErrors === null) {
12388
- vErrors = [err8];
12443
+ vErrors = [err11];
12389
12444
  } else {
12390
- vErrors.push(err8);
12445
+ vErrors.push(err11);
12391
12446
  }
12392
12447
  errors++;
12393
12448
  }
12394
12449
  }
12395
12450
  } else {
12396
- const err9 = {
12451
+ const err12 = {
12397
12452
  instancePath: instancePath + "/field1",
12398
12453
  schemaPath: "#/properties/field1/type",
12399
12454
  keyword: "type",
@@ -12401,18 +12456,18 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
12401
12456
  message: "must be object"
12402
12457
  };
12403
12458
  if (vErrors === null) {
12404
- vErrors = [err9];
12459
+ vErrors = [err12];
12405
12460
  } else {
12406
- vErrors.push(err9);
12461
+ vErrors.push(err12);
12407
12462
  }
12408
12463
  errors++;
12409
12464
  }
12410
12465
  }
12411
12466
  if (data.field2 !== void 0) {
12412
- let data6 = data.field2;
12413
- if (data6 && typeof data6 == "object" && !Array.isArray(data6)) {
12414
- if (data6.name === void 0) {
12415
- const err10 = {
12467
+ let data7 = data.field2;
12468
+ if (data7 && typeof data7 == "object" && !Array.isArray(data7)) {
12469
+ if (data7.name === void 0) {
12470
+ const err13 = {
12416
12471
  instancePath: instancePath + "/field2",
12417
12472
  schemaPath: "#/properties/field2/required",
12418
12473
  keyword: "required",
@@ -12420,14 +12475,14 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
12420
12475
  message: "must have required property 'name'"
12421
12476
  };
12422
12477
  if (vErrors === null) {
12423
- vErrors = [err10];
12478
+ vErrors = [err13];
12424
12479
  } else {
12425
- vErrors.push(err10);
12480
+ vErrors.push(err13);
12426
12481
  }
12427
12482
  errors++;
12428
12483
  }
12429
- if (data6.value === void 0) {
12430
- const err11 = {
12484
+ if (data7.value === void 0) {
12485
+ const err14 = {
12431
12486
  instancePath: instancePath + "/field2",
12432
12487
  schemaPath: "#/properties/field2/required",
12433
12488
  keyword: "required",
@@ -12435,15 +12490,15 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
12435
12490
  message: "must have required property 'value'"
12436
12491
  };
12437
12492
  if (vErrors === null) {
12438
- vErrors = [err11];
12493
+ vErrors = [err14];
12439
12494
  } else {
12440
- vErrors.push(err11);
12495
+ vErrors.push(err14);
12441
12496
  }
12442
12497
  errors++;
12443
12498
  }
12444
- if (data6.name !== void 0) {
12445
- if (typeof data6.name !== "string") {
12446
- const err12 = {
12499
+ if (data7.name !== void 0) {
12500
+ if (typeof data7.name !== "string") {
12501
+ const err15 = {
12447
12502
  instancePath: instancePath + "/field2/name",
12448
12503
  schemaPath: "#/properties/field2/properties/name/type",
12449
12504
  keyword: "type",
@@ -12451,16 +12506,16 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
12451
12506
  message: "must be string"
12452
12507
  };
12453
12508
  if (vErrors === null) {
12454
- vErrors = [err12];
12509
+ vErrors = [err15];
12455
12510
  } else {
12456
- vErrors.push(err12);
12511
+ vErrors.push(err15);
12457
12512
  }
12458
12513
  errors++;
12459
12514
  }
12460
12515
  }
12461
- if (data6.value !== void 0) {
12462
- if (typeof data6.value !== "string") {
12463
- const err13 = {
12516
+ if (data7.value !== void 0) {
12517
+ if (typeof data7.value !== "string") {
12518
+ const err16 = {
12464
12519
  instancePath: instancePath + "/field2/value",
12465
12520
  schemaPath: "#/properties/field2/properties/value/type",
12466
12521
  keyword: "type",
@@ -12468,15 +12523,15 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
12468
12523
  message: "must be string"
12469
12524
  };
12470
12525
  if (vErrors === null) {
12471
- vErrors = [err13];
12526
+ vErrors = [err16];
12472
12527
  } else {
12473
- vErrors.push(err13);
12528
+ vErrors.push(err16);
12474
12529
  }
12475
12530
  errors++;
12476
12531
  }
12477
12532
  }
12478
12533
  } else {
12479
- const err14 = {
12534
+ const err17 = {
12480
12535
  instancePath: instancePath + "/field2",
12481
12536
  schemaPath: "#/properties/field2/type",
12482
12537
  keyword: "type",
@@ -12484,18 +12539,18 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
12484
12539
  message: "must be object"
12485
12540
  };
12486
12541
  if (vErrors === null) {
12487
- vErrors = [err14];
12542
+ vErrors = [err17];
12488
12543
  } else {
12489
- vErrors.push(err14);
12544
+ vErrors.push(err17);
12490
12545
  }
12491
12546
  errors++;
12492
12547
  }
12493
12548
  }
12494
12549
  if (data.field3 !== void 0) {
12495
- let data9 = data.field3;
12496
- if (data9 && typeof data9 == "object" && !Array.isArray(data9)) {
12497
- if (data9.name === void 0) {
12498
- const err15 = {
12550
+ let data10 = data.field3;
12551
+ if (data10 && typeof data10 == "object" && !Array.isArray(data10)) {
12552
+ if (data10.name === void 0) {
12553
+ const err18 = {
12499
12554
  instancePath: instancePath + "/field3",
12500
12555
  schemaPath: "#/properties/field3/required",
12501
12556
  keyword: "required",
@@ -12503,14 +12558,14 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
12503
12558
  message: "must have required property 'name'"
12504
12559
  };
12505
12560
  if (vErrors === null) {
12506
- vErrors = [err15];
12561
+ vErrors = [err18];
12507
12562
  } else {
12508
- vErrors.push(err15);
12563
+ vErrors.push(err18);
12509
12564
  }
12510
12565
  errors++;
12511
12566
  }
12512
- if (data9.value === void 0) {
12513
- const err16 = {
12567
+ if (data10.value === void 0) {
12568
+ const err19 = {
12514
12569
  instancePath: instancePath + "/field3",
12515
12570
  schemaPath: "#/properties/field3/required",
12516
12571
  keyword: "required",
@@ -12518,15 +12573,15 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
12518
12573
  message: "must have required property 'value'"
12519
12574
  };
12520
12575
  if (vErrors === null) {
12521
- vErrors = [err16];
12576
+ vErrors = [err19];
12522
12577
  } else {
12523
- vErrors.push(err16);
12578
+ vErrors.push(err19);
12524
12579
  }
12525
12580
  errors++;
12526
12581
  }
12527
- if (data9.name !== void 0) {
12528
- if (typeof data9.name !== "string") {
12529
- const err17 = {
12582
+ if (data10.name !== void 0) {
12583
+ if (typeof data10.name !== "string") {
12584
+ const err20 = {
12530
12585
  instancePath: instancePath + "/field3/name",
12531
12586
  schemaPath: "#/properties/field3/properties/name/type",
12532
12587
  keyword: "type",
@@ -12534,16 +12589,16 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
12534
12589
  message: "must be string"
12535
12590
  };
12536
12591
  if (vErrors === null) {
12537
- vErrors = [err17];
12592
+ vErrors = [err20];
12538
12593
  } else {
12539
- vErrors.push(err17);
12594
+ vErrors.push(err20);
12540
12595
  }
12541
12596
  errors++;
12542
12597
  }
12543
12598
  }
12544
- if (data9.value !== void 0) {
12545
- if (typeof data9.value !== "string") {
12546
- const err18 = {
12599
+ if (data10.value !== void 0) {
12600
+ if (typeof data10.value !== "string") {
12601
+ const err21 = {
12547
12602
  instancePath: instancePath + "/field3/value",
12548
12603
  schemaPath: "#/properties/field3/properties/value/type",
12549
12604
  keyword: "type",
@@ -12551,15 +12606,15 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
12551
12606
  message: "must be string"
12552
12607
  };
12553
12608
  if (vErrors === null) {
12554
- vErrors = [err18];
12609
+ vErrors = [err21];
12555
12610
  } else {
12556
- vErrors.push(err18);
12611
+ vErrors.push(err21);
12557
12612
  }
12558
12613
  errors++;
12559
12614
  }
12560
12615
  }
12561
12616
  } else {
12562
- const err19 = {
12617
+ const err22 = {
12563
12618
  instancePath: instancePath + "/field3",
12564
12619
  schemaPath: "#/properties/field3/type",
12565
12620
  keyword: "type",
@@ -12567,18 +12622,18 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
12567
12622
  message: "must be object"
12568
12623
  };
12569
12624
  if (vErrors === null) {
12570
- vErrors = [err19];
12625
+ vErrors = [err22];
12571
12626
  } else {
12572
- vErrors.push(err19);
12627
+ vErrors.push(err22);
12573
12628
  }
12574
12629
  errors++;
12575
12630
  }
12576
12631
  }
12577
12632
  if (data.field4 !== void 0) {
12578
- let data12 = data.field4;
12579
- if (data12 && typeof data12 == "object" && !Array.isArray(data12)) {
12580
- if (data12.name === void 0) {
12581
- const err20 = {
12633
+ let data13 = data.field4;
12634
+ if (data13 && typeof data13 == "object" && !Array.isArray(data13)) {
12635
+ if (data13.name === void 0) {
12636
+ const err23 = {
12582
12637
  instancePath: instancePath + "/field4",
12583
12638
  schemaPath: "#/properties/field4/required",
12584
12639
  keyword: "required",
@@ -12586,14 +12641,14 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
12586
12641
  message: "must have required property 'name'"
12587
12642
  };
12588
12643
  if (vErrors === null) {
12589
- vErrors = [err20];
12644
+ vErrors = [err23];
12590
12645
  } else {
12591
- vErrors.push(err20);
12646
+ vErrors.push(err23);
12592
12647
  }
12593
12648
  errors++;
12594
12649
  }
12595
- if (data12.value === void 0) {
12596
- const err21 = {
12650
+ if (data13.value === void 0) {
12651
+ const err24 = {
12597
12652
  instancePath: instancePath + "/field4",
12598
12653
  schemaPath: "#/properties/field4/required",
12599
12654
  keyword: "required",
@@ -12601,15 +12656,15 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
12601
12656
  message: "must have required property 'value'"
12602
12657
  };
12603
12658
  if (vErrors === null) {
12604
- vErrors = [err21];
12659
+ vErrors = [err24];
12605
12660
  } else {
12606
- vErrors.push(err21);
12661
+ vErrors.push(err24);
12607
12662
  }
12608
12663
  errors++;
12609
12664
  }
12610
- if (data12.name !== void 0) {
12611
- if (typeof data12.name !== "string") {
12612
- const err22 = {
12665
+ if (data13.name !== void 0) {
12666
+ if (typeof data13.name !== "string") {
12667
+ const err25 = {
12613
12668
  instancePath: instancePath + "/field4/name",
12614
12669
  schemaPath: "#/properties/field4/properties/name/type",
12615
12670
  keyword: "type",
@@ -12617,16 +12672,16 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
12617
12672
  message: "must be string"
12618
12673
  };
12619
12674
  if (vErrors === null) {
12620
- vErrors = [err22];
12675
+ vErrors = [err25];
12621
12676
  } else {
12622
- vErrors.push(err22);
12677
+ vErrors.push(err25);
12623
12678
  }
12624
12679
  errors++;
12625
12680
  }
12626
12681
  }
12627
- if (data12.value !== void 0) {
12628
- if (typeof data12.value !== "string") {
12629
- const err23 = {
12682
+ if (data13.value !== void 0) {
12683
+ if (typeof data13.value !== "string") {
12684
+ const err26 = {
12630
12685
  instancePath: instancePath + "/field4/value",
12631
12686
  schemaPath: "#/properties/field4/properties/value/type",
12632
12687
  keyword: "type",
@@ -12634,15 +12689,15 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
12634
12689
  message: "must be string"
12635
12690
  };
12636
12691
  if (vErrors === null) {
12637
- vErrors = [err23];
12692
+ vErrors = [err26];
12638
12693
  } else {
12639
- vErrors.push(err23);
12694
+ vErrors.push(err26);
12640
12695
  }
12641
12696
  errors++;
12642
12697
  }
12643
12698
  }
12644
12699
  } else {
12645
- const err24 = {
12700
+ const err27 = {
12646
12701
  instancePath: instancePath + "/field4",
12647
12702
  schemaPath: "#/properties/field4/type",
12648
12703
  keyword: "type",
@@ -12650,18 +12705,18 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
12650
12705
  message: "must be object"
12651
12706
  };
12652
12707
  if (vErrors === null) {
12653
- vErrors = [err24];
12708
+ vErrors = [err27];
12654
12709
  } else {
12655
- vErrors.push(err24);
12710
+ vErrors.push(err27);
12656
12711
  }
12657
12712
  errors++;
12658
12713
  }
12659
12714
  }
12660
12715
  if (data.field5 !== void 0) {
12661
- let data15 = data.field5;
12662
- if (data15 && typeof data15 == "object" && !Array.isArray(data15)) {
12663
- if (data15.name === void 0) {
12664
- const err25 = {
12716
+ let data16 = data.field5;
12717
+ if (data16 && typeof data16 == "object" && !Array.isArray(data16)) {
12718
+ if (data16.name === void 0) {
12719
+ const err28 = {
12665
12720
  instancePath: instancePath + "/field5",
12666
12721
  schemaPath: "#/properties/field5/required",
12667
12722
  keyword: "required",
@@ -12669,14 +12724,14 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
12669
12724
  message: "must have required property 'name'"
12670
12725
  };
12671
12726
  if (vErrors === null) {
12672
- vErrors = [err25];
12727
+ vErrors = [err28];
12673
12728
  } else {
12674
- vErrors.push(err25);
12729
+ vErrors.push(err28);
12675
12730
  }
12676
12731
  errors++;
12677
12732
  }
12678
- if (data15.value === void 0) {
12679
- const err26 = {
12733
+ if (data16.value === void 0) {
12734
+ const err29 = {
12680
12735
  instancePath: instancePath + "/field5",
12681
12736
  schemaPath: "#/properties/field5/required",
12682
12737
  keyword: "required",
@@ -12684,15 +12739,15 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
12684
12739
  message: "must have required property 'value'"
12685
12740
  };
12686
12741
  if (vErrors === null) {
12687
- vErrors = [err26];
12742
+ vErrors = [err29];
12688
12743
  } else {
12689
- vErrors.push(err26);
12744
+ vErrors.push(err29);
12690
12745
  }
12691
12746
  errors++;
12692
12747
  }
12693
- if (data15.name !== void 0) {
12694
- if (typeof data15.name !== "string") {
12695
- const err27 = {
12748
+ if (data16.name !== void 0) {
12749
+ if (typeof data16.name !== "string") {
12750
+ const err30 = {
12696
12751
  instancePath: instancePath + "/field5/name",
12697
12752
  schemaPath: "#/properties/field5/properties/name/type",
12698
12753
  keyword: "type",
@@ -12700,16 +12755,16 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
12700
12755
  message: "must be string"
12701
12756
  };
12702
12757
  if (vErrors === null) {
12703
- vErrors = [err27];
12758
+ vErrors = [err30];
12704
12759
  } else {
12705
- vErrors.push(err27);
12760
+ vErrors.push(err30);
12706
12761
  }
12707
12762
  errors++;
12708
12763
  }
12709
12764
  }
12710
- if (data15.value !== void 0) {
12711
- if (typeof data15.value !== "string") {
12712
- const err28 = {
12765
+ if (data16.value !== void 0) {
12766
+ if (typeof data16.value !== "string") {
12767
+ const err31 = {
12713
12768
  instancePath: instancePath + "/field5/value",
12714
12769
  schemaPath: "#/properties/field5/properties/value/type",
12715
12770
  keyword: "type",
@@ -12717,15 +12772,15 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
12717
12772
  message: "must be string"
12718
12773
  };
12719
12774
  if (vErrors === null) {
12720
- vErrors = [err28];
12775
+ vErrors = [err31];
12721
12776
  } else {
12722
- vErrors.push(err28);
12777
+ vErrors.push(err31);
12723
12778
  }
12724
12779
  errors++;
12725
12780
  }
12726
12781
  }
12727
12782
  } else {
12728
- const err29 = {
12783
+ const err32 = {
12729
12784
  instancePath: instancePath + "/field5",
12730
12785
  schemaPath: "#/properties/field5/type",
12731
12786
  keyword: "type",
@@ -12733,18 +12788,18 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
12733
12788
  message: "must be object"
12734
12789
  };
12735
12790
  if (vErrors === null) {
12736
- vErrors = [err29];
12791
+ vErrors = [err32];
12737
12792
  } else {
12738
- vErrors.push(err29);
12793
+ vErrors.push(err32);
12739
12794
  }
12740
12795
  errors++;
12741
12796
  }
12742
12797
  }
12743
12798
  if (data.field6 !== void 0) {
12744
- let data18 = data.field6;
12745
- if (data18 && typeof data18 == "object" && !Array.isArray(data18)) {
12746
- if (data18.name === void 0) {
12747
- const err30 = {
12799
+ let data19 = data.field6;
12800
+ if (data19 && typeof data19 == "object" && !Array.isArray(data19)) {
12801
+ if (data19.name === void 0) {
12802
+ const err33 = {
12748
12803
  instancePath: instancePath + "/field6",
12749
12804
  schemaPath: "#/properties/field6/required",
12750
12805
  keyword: "required",
@@ -12752,14 +12807,14 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
12752
12807
  message: "must have required property 'name'"
12753
12808
  };
12754
12809
  if (vErrors === null) {
12755
- vErrors = [err30];
12810
+ vErrors = [err33];
12756
12811
  } else {
12757
- vErrors.push(err30);
12812
+ vErrors.push(err33);
12758
12813
  }
12759
12814
  errors++;
12760
12815
  }
12761
- if (data18.value === void 0) {
12762
- const err31 = {
12816
+ if (data19.value === void 0) {
12817
+ const err34 = {
12763
12818
  instancePath: instancePath + "/field6",
12764
12819
  schemaPath: "#/properties/field6/required",
12765
12820
  keyword: "required",
@@ -12767,15 +12822,15 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
12767
12822
  message: "must have required property 'value'"
12768
12823
  };
12769
12824
  if (vErrors === null) {
12770
- vErrors = [err31];
12825
+ vErrors = [err34];
12771
12826
  } else {
12772
- vErrors.push(err31);
12827
+ vErrors.push(err34);
12773
12828
  }
12774
12829
  errors++;
12775
12830
  }
12776
- if (data18.name !== void 0) {
12777
- if (typeof data18.name !== "string") {
12778
- const err32 = {
12831
+ if (data19.name !== void 0) {
12832
+ if (typeof data19.name !== "string") {
12833
+ const err35 = {
12779
12834
  instancePath: instancePath + "/field6/name",
12780
12835
  schemaPath: "#/properties/field6/properties/name/type",
12781
12836
  keyword: "type",
@@ -12783,16 +12838,16 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
12783
12838
  message: "must be string"
12784
12839
  };
12785
12840
  if (vErrors === null) {
12786
- vErrors = [err32];
12841
+ vErrors = [err35];
12787
12842
  } else {
12788
- vErrors.push(err32);
12843
+ vErrors.push(err35);
12789
12844
  }
12790
12845
  errors++;
12791
12846
  }
12792
12847
  }
12793
- if (data18.value !== void 0) {
12794
- if (typeof data18.value !== "string") {
12795
- const err33 = {
12848
+ if (data19.value !== void 0) {
12849
+ if (typeof data19.value !== "string") {
12850
+ const err36 = {
12796
12851
  instancePath: instancePath + "/field6/value",
12797
12852
  schemaPath: "#/properties/field6/properties/value/type",
12798
12853
  keyword: "type",
@@ -12800,15 +12855,15 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
12800
12855
  message: "must be string"
12801
12856
  };
12802
12857
  if (vErrors === null) {
12803
- vErrors = [err33];
12858
+ vErrors = [err36];
12804
12859
  } else {
12805
- vErrors.push(err33);
12860
+ vErrors.push(err36);
12806
12861
  }
12807
12862
  errors++;
12808
12863
  }
12809
12864
  }
12810
12865
  } else {
12811
- const err34 = {
12866
+ const err37 = {
12812
12867
  instancePath: instancePath + "/field6",
12813
12868
  schemaPath: "#/properties/field6/type",
12814
12869
  keyword: "type",
@@ -12816,15 +12871,15 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
12816
12871
  message: "must be object"
12817
12872
  };
12818
12873
  if (vErrors === null) {
12819
- vErrors = [err34];
12874
+ vErrors = [err37];
12820
12875
  } else {
12821
- vErrors.push(err34);
12876
+ vErrors.push(err37);
12822
12877
  }
12823
12878
  errors++;
12824
12879
  }
12825
12880
  }
12826
12881
  } else {
12827
- const err35 = {
12882
+ const err38 = {
12828
12883
  instancePath,
12829
12884
  schemaPath: "#/type",
12830
12885
  keyword: "type",
@@ -12832,9 +12887,9 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
12832
12887
  message: "must be object"
12833
12888
  };
12834
12889
  if (vErrors === null) {
12835
- vErrors = [err35];
12890
+ vErrors = [err38];
12836
12891
  } else {
12837
- vErrors.push(err35);
12892
+ vErrors.push(err38);
12838
12893
  }
12839
12894
  errors++;
12840
12895
  }
@@ -12844,7 +12899,7 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
12844
12899
  __name(validate48, "validate48");
12845
12900
  var validateMediaFile = validate15;
12846
12901
  var validateMediaSource = validate49;
12847
- var schema121 = {
12902
+ var schema122 = {
12848
12903
  $schema: "http://json-schema.org/draft-07/schema",
12849
12904
  $id: "mediaSource.json",
12850
12905
  title: "Media Source",
@@ -13241,7 +13296,7 @@ function validate49(data, { instancePath = "", parentData, parentDataProperty, r
13241
13296
  errors++;
13242
13297
  }
13243
13298
  for (const key0 in data) {
13244
- if (!func5.call(schema121.properties, key0)) {
13299
+ if (!func5.call(schema122.properties, key0)) {
13245
13300
  const err6 = {
13246
13301
  instancePath,
13247
13302
  schemaPath: "#/additionalProperties",
@@ -13332,7 +13387,7 @@ function validate49(data, { instancePath = "", parentData, parentDataProperty, r
13332
13387
  instancePath: instancePath + "/type",
13333
13388
  schemaPath: "#/properties/type/enum",
13334
13389
  keyword: "enum",
13335
- params: { allowedValues: schema121.properties.type.enum },
13390
+ params: { allowedValues: schema122.properties.type.enum },
13336
13391
  message: "must be equal to one of the allowed values"
13337
13392
  };
13338
13393
  if (vErrors === null) {
@@ -13364,7 +13419,7 @@ function validate49(data, { instancePath = "", parentData, parentDataProperty, r
13364
13419
  instancePath: instancePath + "/discriminator",
13365
13420
  schemaPath: "#/properties/discriminator/enum",
13366
13421
  keyword: "enum",
13367
- params: { allowedValues: schema121.properties.discriminator.enum },
13422
+ params: { allowedValues: schema122.properties.discriminator.enum },
13368
13423
  message: "must be equal to one of the allowed values"
13369
13424
  };
13370
13425
  if (vErrors === null) {
@@ -13507,7 +13562,7 @@ function validate49(data, { instancePath = "", parentData, parentDataProperty, r
13507
13562
  instancePath: instancePath + "/remote",
13508
13563
  schemaPath: "#/properties/remote/enum",
13509
13564
  keyword: "enum",
13510
- params: { allowedValues: schema121.properties.remote.enum },
13565
+ params: { allowedValues: schema122.properties.remote.enum },
13511
13566
  message: "must be equal to one of the allowed values"
13512
13567
  };
13513
13568
  if (vErrors === null) {
@@ -13839,7 +13894,7 @@ function validate49(data, { instancePath = "", parentData, parentDataProperty, r
13839
13894
  instancePath: instancePath + "/power",
13840
13895
  schemaPath: "#/properties/power/enum",
13841
13896
  keyword: "enum",
13842
- params: { allowedValues: schema121.properties.power.enum },
13897
+ params: { allowedValues: schema122.properties.power.enum },
13843
13898
  message: "must be equal to one of the allowed values"
13844
13899
  };
13845
13900
  if (vErrors === null) {
@@ -13948,7 +14003,7 @@ function validate49(data, { instancePath = "", parentData, parentDataProperty, r
13948
14003
  instancePath: instancePath + "/command",
13949
14004
  schemaPath: "#/properties/command/type",
13950
14005
  keyword: "type",
13951
- params: { type: schema121.properties.command.type },
14006
+ params: { type: schema122.properties.command.type },
13952
14007
  message: "must be string,null"
13953
14008
  };
13954
14009
  if (vErrors === null) {
@@ -13963,7 +14018,7 @@ function validate49(data, { instancePath = "", parentData, parentDataProperty, r
13963
14018
  instancePath: instancePath + "/command",
13964
14019
  schemaPath: "#/properties/command/enum",
13965
14020
  keyword: "enum",
13966
- params: { allowedValues: schema121.properties.command.enum },
14021
+ params: { allowedValues: schema122.properties.command.enum },
13967
14022
  message: "must be equal to one of the allowed values"
13968
14023
  };
13969
14024
  if (vErrors === null) {
@@ -14186,7 +14241,7 @@ function validate49(data, { instancePath = "", parentData, parentDataProperty, r
14186
14241
  }
14187
14242
  __name(validate49, "validate49");
14188
14243
  var validateMotionSensor = validate52;
14189
- var schema132 = {
14244
+ var schema133 = {
14190
14245
  $schema: "http://json-schema.org/draft-07/schema",
14191
14246
  $id: "motionSensor.json",
14192
14247
  title: "Motion Sensor",
@@ -14368,7 +14423,7 @@ function validate52(data, { instancePath = "", parentData, parentDataProperty, r
14368
14423
  errors++;
14369
14424
  }
14370
14425
  for (const key0 in data) {
14371
- if (!func5.call(schema132.properties, key0)) {
14426
+ if (!func5.call(schema133.properties, key0)) {
14372
14427
  const err3 = {
14373
14428
  instancePath,
14374
14429
  schemaPath: "#/additionalProperties",
@@ -14716,7 +14771,7 @@ function validate52(data, { instancePath = "", parentData, parentDataProperty, r
14716
14771
  }
14717
14772
  __name(validate52, "validate52");
14718
14773
  var validateOrder = validate55;
14719
- var schema141 = {
14774
+ var schema142 = {
14720
14775
  $schema: "http://json-schema.org/draft-07/schema",
14721
14776
  $id: "order.json",
14722
14777
  title: "Order",
@@ -14980,7 +15035,7 @@ function validate55(data, { instancePath = "", parentData, parentDataProperty, r
14980
15035
  instancePath: instancePath + "/type",
14981
15036
  schemaPath: "#/properties/type/enum",
14982
15037
  keyword: "enum",
14983
- params: { allowedValues: schema141.properties.type.enum },
15038
+ params: { allowedValues: schema142.properties.type.enum },
14984
15039
  message: "must be equal to one of the allowed values"
14985
15040
  };
14986
15041
  if (vErrors === null) {
@@ -15029,7 +15084,7 @@ function validate55(data, { instancePath = "", parentData, parentDataProperty, r
15029
15084
  instancePath: instancePath + "/status",
15030
15085
  schemaPath: "#/properties/status/enum",
15031
15086
  keyword: "enum",
15032
- params: { allowedValues: schema141.properties.status.enum },
15087
+ params: { allowedValues: schema142.properties.status.enum },
15033
15088
  message: "must be equal to one of the allowed values"
15034
15089
  };
15035
15090
  if (vErrors === null) {
@@ -15495,7 +15550,7 @@ function validate55(data, { instancePath = "", parentData, parentDataProperty, r
15495
15550
  schemaPath: "#/properties/taxes/items/properties/rateType/enum",
15496
15551
  keyword: "enum",
15497
15552
  params: {
15498
- allowedValues: schema141.properties.taxes.items.properties.rateType.enum
15553
+ allowedValues: schema142.properties.taxes.items.properties.rateType.enum
15499
15554
  },
15500
15555
  message: "must be equal to one of the allowed values"
15501
15556
  };
@@ -15797,7 +15852,7 @@ function validate55(data, { instancePath = "", parentData, parentDataProperty, r
15797
15852
  schemaPath: "#/properties/delivery/items/properties/rateType/enum",
15798
15853
  keyword: "enum",
15799
15854
  params: {
15800
- allowedValues: schema141.properties.delivery.items.properties.rateType.enum
15855
+ allowedValues: schema142.properties.delivery.items.properties.rateType.enum
15801
15856
  },
15802
15857
  message: "must be equal to one of the allowed values"
15803
15858
  };
@@ -15902,7 +15957,7 @@ function validate55(data, { instancePath = "", parentData, parentDataProperty, r
15902
15957
  schemaPath: "#/properties/payments/items/properties/method/enum",
15903
15958
  keyword: "enum",
15904
15959
  params: {
15905
- allowedValues: schema141.properties.payments.items.properties.method.enum
15960
+ allowedValues: schema142.properties.payments.items.properties.method.enum
15906
15961
  },
15907
15962
  message: "must be equal to one of the allowed values"
15908
15963
  };
@@ -16051,7 +16106,7 @@ function validate55(data, { instancePath = "", parentData, parentDataProperty, r
16051
16106
  }
16052
16107
  __name(validate55, "validate55");
16053
16108
  var validateOrganization = validate56;
16054
- var schema147 = {
16109
+ var schema148 = {
16055
16110
  $schema: "http://json-schema.org/draft-07/schema",
16056
16111
  $id: "organization.json",
16057
16112
  title: "Organization",
@@ -16152,7 +16207,7 @@ var schema147 = {
16152
16207
  }
16153
16208
  };
16154
16209
  var schema102 = { type: ["string", "object"], format: "date-time" };
16155
- var schema150 = { type: ["string", "object"], format: "date-time" };
16210
+ var schema151 = { type: ["string", "object"], format: "date-time" };
16156
16211
  function validate56(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
16157
16212
  let vErrors = null;
16158
16213
  let errors = 0;
@@ -16294,7 +16349,7 @@ function validate56(data, { instancePath = "", parentData, parentDataProperty, r
16294
16349
  instancePath: instancePath + "/type",
16295
16350
  schemaPath: "#/properties/type/enum",
16296
16351
  keyword: "enum",
16297
- params: { allowedValues: schema147.properties.type.enum },
16352
+ params: { allowedValues: schema148.properties.type.enum },
16298
16353
  message: "must be equal to one of the allowed values"
16299
16354
  };
16300
16355
  if (vErrors === null) {
@@ -16311,7 +16366,7 @@ function validate56(data, { instancePath = "", parentData, parentDataProperty, r
16311
16366
  instancePath: instancePath + "/accountNumber",
16312
16367
  schemaPath: "#/properties/accountNumber/type",
16313
16368
  keyword: "type",
16314
- params: { type: schema147.properties.accountNumber.type },
16369
+ params: { type: schema148.properties.accountNumber.type },
16315
16370
  message: "must be number,null"
16316
16371
  };
16317
16372
  if (vErrors === null) {
@@ -16400,7 +16455,7 @@ function validate56(data, { instancePath = "", parentData, parentDataProperty, r
16400
16455
  instancePath: instancePath + "/hostname",
16401
16456
  schemaPath: "#/properties/hostname/type",
16402
16457
  keyword: "type",
16403
- params: { type: schema147.properties.hostname.type },
16458
+ params: { type: schema148.properties.hostname.type },
16404
16459
  message: "must be string,null"
16405
16460
  };
16406
16461
  if (vErrors === null) {
@@ -16543,7 +16598,7 @@ function validate56(data, { instancePath = "", parentData, parentDataProperty, r
16543
16598
  schemaPath: "#/properties/appManifest/properties/display/enum",
16544
16599
  keyword: "enum",
16545
16600
  params: {
16546
- allowedValues: schema147.properties.appManifest.properties.display.enum
16601
+ allowedValues: schema148.properties.appManifest.properties.display.enum
16547
16602
  },
16548
16603
  message: "must be equal to one of the allowed values"
16549
16604
  };
@@ -16576,7 +16631,7 @@ function validate56(data, { instancePath = "", parentData, parentDataProperty, r
16576
16631
  schemaPath: "#/properties/appManifest/properties/orientation/enum",
16577
16632
  keyword: "enum",
16578
16633
  params: {
16579
- allowedValues: schema147.properties.appManifest.properties.orientation.enum
16634
+ allowedValues: schema148.properties.appManifest.properties.orientation.enum
16580
16635
  },
16581
16636
  message: "must be equal to one of the allowed values"
16582
16637
  };
@@ -16845,7 +16900,7 @@ function validate56(data, { instancePath = "", parentData, parentDataProperty, r
16845
16900
  schemaPath: "#/properties/tickets/properties/nextTicketNumber/type",
16846
16901
  keyword: "type",
16847
16902
  params: {
16848
- type: schema147.properties.tickets.properties.nextTicketNumber.type
16903
+ type: schema148.properties.tickets.properties.nextTicketNumber.type
16849
16904
  },
16850
16905
  message: "must be string,integer"
16851
16906
  };
@@ -16932,7 +16987,7 @@ function validate56(data, { instancePath = "", parentData, parentDataProperty, r
16932
16987
  instancePath: instancePath + "/updatedAt",
16933
16988
  schemaPath: "definitions.json#/definitions/updatedAt/type",
16934
16989
  keyword: "type",
16935
- params: { type: schema150.type },
16990
+ params: { type: schema151.type },
16936
16991
  message: "must be string,object"
16937
16992
  };
16938
16993
  if (vErrors === null) {
@@ -16980,7 +17035,7 @@ function validate56(data, { instancePath = "", parentData, parentDataProperty, r
16980
17035
  }
16981
17036
  __name(validate56, "validate56");
16982
17037
  var validatePayment = validate57;
16983
- var schema151 = {
17038
+ var schema152 = {
16984
17039
  $schema: "http://json-schema.org/draft-07/schema",
16985
17040
  $id: "payment.json",
16986
17041
  title: "Payment",
@@ -17140,7 +17195,7 @@ function validate57(data, { instancePath = "", parentData, parentDataProperty, r
17140
17195
  instancePath: instancePath + "/type",
17141
17196
  schemaPath: "#/properties/type/enum",
17142
17197
  keyword: "enum",
17143
- params: { allowedValues: schema151.properties.type.enum },
17198
+ params: { allowedValues: schema152.properties.type.enum },
17144
17199
  message: "must be equal to one of the allowed values"
17145
17200
  };
17146
17201
  if (vErrors === null) {
@@ -17173,7 +17228,7 @@ function validate57(data, { instancePath = "", parentData, parentDataProperty, r
17173
17228
  instancePath: instancePath + "/storageData",
17174
17229
  schemaPath: "#/properties/storageData/type",
17175
17230
  keyword: "type",
17176
- params: { type: schema151.properties.storageData.type },
17231
+ params: { type: schema152.properties.storageData.type },
17177
17232
  message: "must be string,null"
17178
17233
  };
17179
17234
  if (vErrors === null) {
@@ -17191,7 +17246,7 @@ function validate57(data, { instancePath = "", parentData, parentDataProperty, r
17191
17246
  instancePath: instancePath + "/issued",
17192
17247
  schemaPath: "#/properties/issued/type",
17193
17248
  keyword: "type",
17194
- params: { type: schema151.properties.issued.type },
17249
+ params: { type: schema152.properties.issued.type },
17195
17250
  message: "must be string,null"
17196
17251
  };
17197
17252
  if (vErrors === null) {
@@ -17239,7 +17294,7 @@ function validate57(data, { instancePath = "", parentData, parentDataProperty, r
17239
17294
  }
17240
17295
  __name(validate57, "validate57");
17241
17296
  var validatePolicy = validate58;
17242
- var schema154 = {
17297
+ var schema155 = {
17243
17298
  $schema: "http://json-schema.org/draft-07/schema",
17244
17299
  $id: "policy.json",
17245
17300
  title: "Policy",
@@ -17450,7 +17505,7 @@ function validate58(data, { instancePath = "", parentData, parentDataProperty, r
17450
17505
  instancePath: instancePath + "/type",
17451
17506
  schemaPath: "#/properties/type/enum",
17452
17507
  keyword: "enum",
17453
- params: { allowedValues: schema154.properties.type.enum },
17508
+ params: { allowedValues: schema155.properties.type.enum },
17454
17509
  message: "must be equal to one of the allowed values"
17455
17510
  };
17456
17511
  if (vErrors === null) {
@@ -17482,7 +17537,7 @@ function validate58(data, { instancePath = "", parentData, parentDataProperty, r
17482
17537
  instancePath: instancePath + "/discriminator",
17483
17538
  schemaPath: "#/properties/discriminator/enum",
17484
17539
  keyword: "enum",
17485
- params: { allowedValues: schema154.properties.discriminator.enum },
17540
+ params: { allowedValues: schema155.properties.discriminator.enum },
17486
17541
  message: "must be equal to one of the allowed values"
17487
17542
  };
17488
17543
  if (vErrors === null) {
@@ -17692,7 +17747,7 @@ function validate58(data, { instancePath = "", parentData, parentDataProperty, r
17692
17747
  schemaPath: "#/properties/permissions/items/properties/effect/enum",
17693
17748
  keyword: "enum",
17694
17749
  params: {
17695
- allowedValues: schema154.properties.permissions.items.properties.effect.enum
17750
+ allowedValues: schema155.properties.permissions.items.properties.effect.enum
17696
17751
  },
17697
17752
  message: "must be equal to one of the allowed values"
17698
17753
  };
@@ -17756,7 +17811,7 @@ function validate58(data, { instancePath = "", parentData, parentDataProperty, r
17756
17811
  }
17757
17812
  __name(validate58, "validate58");
17758
17813
  var validateProduct = validate59;
17759
- var schema156 = {
17814
+ var schema157 = {
17760
17815
  $schema: "http://json-schema.org/draft-07/schema",
17761
17816
  $id: "product.json",
17762
17817
  title: "Product",
@@ -17904,7 +17959,7 @@ function validate59(data, { instancePath = "", parentData, parentDataProperty, r
17904
17959
  instancePath: instancePath + "/type",
17905
17960
  schemaPath: "#/properties/type/enum",
17906
17961
  keyword: "enum",
17907
- params: { allowedValues: schema156.properties.type.enum },
17962
+ params: { allowedValues: schema157.properties.type.enum },
17908
17963
  message: "must be equal to one of the allowed values"
17909
17964
  };
17910
17965
  if (vErrors === null) {
@@ -17988,7 +18043,7 @@ function validate59(data, { instancePath = "", parentData, parentDataProperty, r
17988
18043
  instancePath: instancePath + "/tax",
17989
18044
  schemaPath: "#/properties/tax/type",
17990
18045
  keyword: "type",
17991
- params: { type: schema156.properties.tax.type },
18046
+ params: { type: schema157.properties.tax.type },
17992
18047
  message: "must be number,null"
17993
18048
  };
17994
18049
  if (vErrors === null) {
@@ -18099,7 +18154,7 @@ function validate59(data, { instancePath = "", parentData, parentDataProperty, r
18099
18154
  }
18100
18155
  __name(validate59, "validate59");
18101
18156
  var validateProperty = validate61;
18102
- var schema160 = {
18157
+ var schema161 = {
18103
18158
  $schema: "http://json-schema.org/draft-07/schema",
18104
18159
  $id: "property.json",
18105
18160
  title: "Property",
@@ -18589,7 +18644,7 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
18589
18644
  instancePath: instancePath + "/type",
18590
18645
  schemaPath: "#/properties/type/enum",
18591
18646
  keyword: "enum",
18592
- params: { allowedValues: schema160.properties.type.enum },
18647
+ params: { allowedValues: schema161.properties.type.enum },
18593
18648
  message: "must be equal to one of the allowed values"
18594
18649
  };
18595
18650
  if (vErrors === null) {
@@ -18621,7 +18676,7 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
18621
18676
  instancePath: instancePath + "/discriminator",
18622
18677
  schemaPath: "#/properties/discriminator/enum",
18623
18678
  keyword: "enum",
18624
- params: { allowedValues: schema160.properties.discriminator.enum },
18679
+ params: { allowedValues: schema161.properties.discriminator.enum },
18625
18680
  message: "must be equal to one of the allowed values"
18626
18681
  };
18627
18682
  if (vErrors === null) {
@@ -18639,7 +18694,7 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
18639
18694
  instancePath: instancePath + "/organization",
18640
18695
  schemaPath: "#/properties/organization/type",
18641
18696
  keyword: "type",
18642
- params: { type: schema160.properties.organization.type },
18697
+ params: { type: schema161.properties.organization.type },
18643
18698
  message: "must be string,null"
18644
18699
  };
18645
18700
  if (vErrors === null) {
@@ -19106,7 +19161,7 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19106
19161
  let data28 = data.appFeatures;
19107
19162
  if (data28 && typeof data28 == "object" && !Array.isArray(data28)) {
19108
19163
  for (const key0 in data28) {
19109
- if (!func5.call(schema160.properties.appFeatures.properties, key0)) {
19164
+ if (!func5.call(schema161.properties.appFeatures.properties, key0)) {
19110
19165
  const err41 = {
19111
19166
  instancePath: instancePath + "/appFeatures",
19112
19167
  schemaPath: "#/properties/appFeatures/additionalProperties",
@@ -19172,7 +19227,7 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19172
19227
  schemaPath: "#/properties/appFeatures/properties/RoomControl/properties/disabledSystems/items/enum",
19173
19228
  keyword: "enum",
19174
19229
  params: {
19175
- allowedValues: schema160.properties.appFeatures.properties.RoomControl.properties.disabledSystems.items.enum
19230
+ allowedValues: schema161.properties.appFeatures.properties.RoomControl.properties.disabledSystems.items.enum
19176
19231
  },
19177
19232
  message: "must be equal to one of the allowed values"
19178
19233
  };
@@ -19727,7 +19782,7 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19727
19782
  schemaPath: "#/properties/appFeatures/properties/Concierge/properties/newMessageChannel/type",
19728
19783
  keyword: "type",
19729
19784
  params: {
19730
- type: schema160.properties.appFeatures.properties.Concierge.properties.newMessageChannel.type
19785
+ type: schema161.properties.appFeatures.properties.Concierge.properties.newMessageChannel.type
19731
19786
  },
19732
19787
  message: "must be string,null"
19733
19788
  };
@@ -19744,7 +19799,7 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19744
19799
  schemaPath: "#/properties/appFeatures/properties/Concierge/properties/newMessageChannel/enum",
19745
19800
  keyword: "enum",
19746
19801
  params: {
19747
- allowedValues: schema160.properties.appFeatures.properties.Concierge.properties.newMessageChannel.enum
19802
+ allowedValues: schema161.properties.appFeatures.properties.Concierge.properties.newMessageChannel.enum
19748
19803
  },
19749
19804
  message: "must be equal to one of the allowed values"
19750
19805
  };
@@ -19985,7 +20040,7 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19985
20040
  schemaPath: "#/properties/appFeatures/properties/DigitalKey/properties/system/enum",
19986
20041
  keyword: "enum",
19987
20042
  params: {
19988
- allowedValues: schema160.properties.appFeatures.properties.DigitalKey.properties.system.enum
20043
+ allowedValues: schema161.properties.appFeatures.properties.DigitalKey.properties.system.enum
19989
20044
  },
19990
20045
  message: "must be equal to one of the allowed values"
19991
20046
  };
@@ -20449,7 +20504,7 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20449
20504
  schemaPath: "#/properties/appFeatures/properties/SOS/properties/activeEmergencies/items/enum",
20450
20505
  keyword: "enum",
20451
20506
  params: {
20452
- allowedValues: schema160.properties.appFeatures.properties.SOS.properties.activeEmergencies.items.enum
20507
+ allowedValues: schema161.properties.appFeatures.properties.SOS.properties.activeEmergencies.items.enum
20453
20508
  },
20454
20509
  message: "must be equal to one of the allowed values"
20455
20510
  };
@@ -20519,7 +20574,7 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20519
20574
  schemaPath: "#/properties/appFeatures/properties/Dining/properties/system/enum",
20520
20575
  keyword: "enum",
20521
20576
  params: {
20522
- allowedValues: schema160.properties.appFeatures.properties.Dining.properties.system.enum
20577
+ allowedValues: schema161.properties.appFeatures.properties.Dining.properties.system.enum
20523
20578
  },
20524
20579
  message: "must be equal to one of the allowed values"
20525
20580
  };
@@ -20880,7 +20935,7 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20880
20935
  }
20881
20936
  __name(validate61, "validate61");
20882
20937
  var validateReservation = validate63;
20883
- var schema163 = {
20938
+ var schema164 = {
20884
20939
  $schema: "http://json-schema.org/draft-07/schema",
20885
20940
  $id: "reservation.json",
20886
20941
  title: "Reservation",
@@ -20962,7 +21017,7 @@ var schema163 = {
20962
21017
  updatedAt: { $ref: "definitions.json#/definitions/updatedAt" }
20963
21018
  }
20964
21019
  };
20965
- var schema166 = {
21020
+ var schema167 = {
20966
21021
  type: "array",
20967
21022
  items: {
20968
21023
  type: "object",
@@ -21112,7 +21167,7 @@ function validate64(data, { instancePath = "", parentData, parentDataProperty, r
21112
21167
  instancePath: instancePath + "/" + i0 + "/tax",
21113
21168
  schemaPath: "#/items/properties/tax/type",
21114
21169
  keyword: "type",
21115
- params: { type: schema166.items.properties.tax.type },
21170
+ params: { type: schema167.items.properties.tax.type },
21116
21171
  message: "must be number,null"
21117
21172
  };
21118
21173
  if (vErrors === null) {
@@ -21359,7 +21414,7 @@ function validate63(data, { instancePath = "", parentData, parentDataProperty, r
21359
21414
  instancePath: instancePath + "/type",
21360
21415
  schemaPath: "#/properties/type/enum",
21361
21416
  keyword: "enum",
21362
- params: { allowedValues: schema163.properties.type.enum },
21417
+ params: { allowedValues: schema164.properties.type.enum },
21363
21418
  message: "must be equal to one of the allowed values"
21364
21419
  };
21365
21420
  if (vErrors === null) {
@@ -21430,7 +21485,7 @@ function validate63(data, { instancePath = "", parentData, parentDataProperty, r
21430
21485
  instancePath: instancePath + "/space",
21431
21486
  schemaPath: "#/properties/space/type",
21432
21487
  keyword: "type",
21433
- params: { type: schema163.properties.space.type },
21488
+ params: { type: schema164.properties.space.type },
21434
21489
  message: "must be string,null"
21435
21490
  };
21436
21491
  if (vErrors === null) {
@@ -21447,7 +21502,7 @@ function validate63(data, { instancePath = "", parentData, parentDataProperty, r
21447
21502
  instancePath: instancePath + "/previousSpace",
21448
21503
  schemaPath: "#/properties/previousSpace/type",
21449
21504
  keyword: "type",
21450
- params: { type: schema163.properties.previousSpace.type },
21505
+ params: { type: schema164.properties.previousSpace.type },
21451
21506
  message: "must be string,null"
21452
21507
  };
21453
21508
  if (vErrors === null) {
@@ -21479,7 +21534,7 @@ function validate63(data, { instancePath = "", parentData, parentDataProperty, r
21479
21534
  instancePath: instancePath + "/status",
21480
21535
  schemaPath: "#/properties/status/enum",
21481
21536
  keyword: "enum",
21482
- params: { allowedValues: schema163.properties.status.enum },
21537
+ params: { allowedValues: schema164.properties.status.enum },
21483
21538
  message: "must be equal to one of the allowed values"
21484
21539
  };
21485
21540
  if (vErrors === null) {
@@ -21547,7 +21602,7 @@ function validate63(data, { instancePath = "", parentData, parentDataProperty, r
21547
21602
  schemaPath: "#/properties/mobileCheckInStatus/enum",
21548
21603
  keyword: "enum",
21549
21604
  params: {
21550
- allowedValues: schema163.properties.mobileCheckInStatus.enum
21605
+ allowedValues: schema164.properties.mobileCheckInStatus.enum
21551
21606
  },
21552
21607
  message: "must be equal to one of the allowed values"
21553
21608
  };
@@ -21600,7 +21655,7 @@ function validate63(data, { instancePath = "", parentData, parentDataProperty, r
21600
21655
  instancePath: instancePath + "/expectedCheckInDateTime",
21601
21656
  schemaPath: "#/properties/expectedCheckInDateTime/type",
21602
21657
  keyword: "type",
21603
- params: { type: schema163.properties.expectedCheckInDateTime.type },
21658
+ params: { type: schema164.properties.expectedCheckInDateTime.type },
21604
21659
  message: "must be string,object"
21605
21660
  };
21606
21661
  if (vErrors === null) {
@@ -21635,7 +21690,7 @@ function validate63(data, { instancePath = "", parentData, parentDataProperty, r
21635
21690
  instancePath: instancePath + "/checkInDateTime",
21636
21691
  schemaPath: "#/properties/checkInDateTime/type",
21637
21692
  keyword: "type",
21638
- params: { type: schema163.properties.checkInDateTime.type },
21693
+ params: { type: schema164.properties.checkInDateTime.type },
21639
21694
  message: "must be string,object"
21640
21695
  };
21641
21696
  if (vErrors === null) {
@@ -21670,7 +21725,7 @@ function validate63(data, { instancePath = "", parentData, parentDataProperty, r
21670
21725
  instancePath: instancePath + "/checkOutDateTime",
21671
21726
  schemaPath: "#/properties/checkOutDateTime/type",
21672
21727
  keyword: "type",
21673
- params: { type: schema163.properties.checkOutDateTime.type },
21728
+ params: { type: schema164.properties.checkOutDateTime.type },
21674
21729
  message: "must be string,object"
21675
21730
  };
21676
21731
  if (vErrors === null) {
@@ -21809,7 +21864,7 @@ function validate63(data, { instancePath = "", parentData, parentDataProperty, r
21809
21864
  schemaPath: "#/properties/spaceCategoryAvailabilites/items/properties/unit/enum",
21810
21865
  keyword: "enum",
21811
21866
  params: {
21812
- allowedValues: schema163.properties.spaceCategoryAvailabilites.items.properties.unit.enum
21867
+ allowedValues: schema164.properties.spaceCategoryAvailabilites.items.properties.unit.enum
21813
21868
  },
21814
21869
  message: "must be equal to one of the allowed values"
21815
21870
  };
@@ -21973,7 +22028,7 @@ function validate63(data, { instancePath = "", parentData, parentDataProperty, r
21973
22028
  instancePath: instancePath + "/updatedAt",
21974
22029
  schemaPath: "definitions.json#/definitions/updatedAt/type",
21975
22030
  keyword: "type",
21976
- params: { type: schema150.type },
22031
+ params: { type: schema151.type },
21977
22032
  message: "must be string,object"
21978
22033
  };
21979
22034
  if (vErrors === null) {
@@ -22021,7 +22076,7 @@ function validate63(data, { instancePath = "", parentData, parentDataProperty, r
22021
22076
  }
22022
22077
  __name(validate63, "validate63");
22023
22078
  var validateRoom = validate66;
22024
- var schema170 = {
22079
+ var schema171 = {
22025
22080
  $schema: "http://json-schema.org/draft-07/schema",
22026
22081
  $id: "room.json",
22027
22082
  title: "Room",
@@ -22065,7 +22120,7 @@ var schema170 = {
22065
22120
  },
22066
22121
  additionalProperties: false
22067
22122
  };
22068
- var schema172 = {
22123
+ var schema173 = {
22069
22124
  $schema: "http://json-schema.org/draft-07/schema",
22070
22125
  $id: "switch.json",
22071
22126
  title: "Switch",
@@ -22390,7 +22445,7 @@ function validate68(data, { instancePath = "", parentData, parentDataProperty, r
22390
22445
  instancePath: instancePath + "/discriminator",
22391
22446
  schemaPath: "#/properties/discriminator/enum",
22392
22447
  keyword: "enum",
22393
- params: { allowedValues: schema172.properties.discriminator.enum },
22448
+ params: { allowedValues: schema173.properties.discriminator.enum },
22394
22449
  message: "must be equal to one of the allowed values"
22395
22450
  };
22396
22451
  if (vErrors === null) {
@@ -22546,7 +22601,7 @@ function validate68(data, { instancePath = "", parentData, parentDataProperty, r
22546
22601
  instancePath: instancePath + "/state",
22547
22602
  schemaPath: "#/properties/state/enum",
22548
22603
  keyword: "enum",
22549
- params: { allowedValues: schema172.properties.state.enum },
22604
+ params: { allowedValues: schema173.properties.state.enum },
22550
22605
  message: "must be equal to one of the allowed values"
22551
22606
  };
22552
22607
  if (vErrors === null) {
@@ -22695,7 +22750,7 @@ function validate68(data, { instancePath = "", parentData, parentDataProperty, r
22695
22750
  return errors === 0;
22696
22751
  }
22697
22752
  __name(validate68, "validate68");
22698
- var schema181 = {
22753
+ var schema182 = {
22699
22754
  $schema: "http://json-schema.org/draft-07/schema",
22700
22755
  $id: "thermostat.json",
22701
22756
  title: "Thermostat",
@@ -22789,8 +22844,8 @@ var schema181 = {
22789
22844
  "driver"
22790
22845
  ]
22791
22846
  };
22792
- var schema189 = { enum: ["cool", "heat", "auto", "off"] };
22793
- var schema190 = { enum: ["auto", "low", "medium", "high", "off", "on"] };
22847
+ var schema190 = { enum: ["cool", "heat", "auto", "off"] };
22848
+ var schema191 = { enum: ["auto", "low", "medium", "high", "off", "on"] };
22794
22849
  function validate73(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
22795
22850
  let vErrors = null;
22796
22851
  let errors = 0;
@@ -22899,7 +22954,7 @@ function validate73(data, { instancePath = "", parentData, parentDataProperty, r
22899
22954
  return errors === 0;
22900
22955
  }
22901
22956
  __name(validate73, "validate73");
22902
- var schema193 = { type: ["number", "null"], minimum: 0, maximum: 99 };
22957
+ var schema194 = { type: ["number", "null"], minimum: 0, maximum: 99 };
22903
22958
  function validate75(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
22904
22959
  let vErrors = null;
22905
22960
  let errors = 0;
@@ -22977,7 +23032,7 @@ function validate75(data, { instancePath = "", parentData, parentDataProperty, r
22977
23032
  instancePath: instancePath + "/min",
22978
23033
  schemaPath: "#/$defs/setpointMinMax/type",
22979
23034
  keyword: "type",
22980
- params: { type: schema193.type },
23035
+ params: { type: schema194.type },
22981
23036
  message: "must be number,null"
22982
23037
  };
22983
23038
  if (vErrors === null) {
@@ -23027,7 +23082,7 @@ function validate75(data, { instancePath = "", parentData, parentDataProperty, r
23027
23082
  instancePath: instancePath + "/max",
23028
23083
  schemaPath: "#/$defs/setpointMinMax/type",
23029
23084
  keyword: "type",
23030
- params: { type: schema193.type },
23085
+ params: { type: schema194.type },
23031
23086
  message: "must be number,null"
23032
23087
  };
23033
23088
  if (vErrors === null) {
@@ -23565,7 +23620,7 @@ function validate72(data, { instancePath = "", parentData, parentDataProperty, r
23565
23620
  instancePath: instancePath + "/hvacMode",
23566
23621
  schemaPath: "#/properties/supportedHvacModes/items/enum",
23567
23622
  keyword: "enum",
23568
- params: { allowedValues: schema189.enum },
23623
+ params: { allowedValues: schema190.enum },
23569
23624
  message: "must be equal to one of the allowed values"
23570
23625
  };
23571
23626
  if (vErrors === null) {
@@ -23583,7 +23638,7 @@ function validate72(data, { instancePath = "", parentData, parentDataProperty, r
23583
23638
  instancePath: instancePath + "/hvacState",
23584
23639
  schemaPath: "#/properties/hvacState/type",
23585
23640
  keyword: "type",
23586
- params: { type: schema181.properties.hvacState.type },
23641
+ params: { type: schema182.properties.hvacState.type },
23587
23642
  message: "must be string,null"
23588
23643
  };
23589
23644
  if (vErrors === null) {
@@ -23598,7 +23653,7 @@ function validate72(data, { instancePath = "", parentData, parentDataProperty, r
23598
23653
  instancePath: instancePath + "/hvacState",
23599
23654
  schemaPath: "#/properties/hvacState/enum",
23600
23655
  keyword: "enum",
23601
- params: { allowedValues: schema181.properties.hvacState.enum },
23656
+ params: { allowedValues: schema182.properties.hvacState.enum },
23602
23657
  message: "must be equal to one of the allowed values"
23603
23658
  };
23604
23659
  if (vErrors === null) {
@@ -23631,7 +23686,7 @@ function validate72(data, { instancePath = "", parentData, parentDataProperty, r
23631
23686
  instancePath: instancePath + "/fanMode",
23632
23687
  schemaPath: "#/properties/supportedFanModes/items/enum",
23633
23688
  keyword: "enum",
23634
- params: { allowedValues: schema190.enum },
23689
+ params: { allowedValues: schema191.enum },
23635
23690
  message: "must be equal to one of the allowed values"
23636
23691
  };
23637
23692
  if (vErrors === null) {
@@ -23649,7 +23704,7 @@ function validate72(data, { instancePath = "", parentData, parentDataProperty, r
23649
23704
  instancePath: instancePath + "/fanState",
23650
23705
  schemaPath: "#/properties/fanState/type",
23651
23706
  keyword: "type",
23652
- params: { type: schema181.properties.fanState.type },
23707
+ params: { type: schema182.properties.fanState.type },
23653
23708
  message: "must be string,null"
23654
23709
  };
23655
23710
  if (vErrors === null) {
@@ -23664,7 +23719,7 @@ function validate72(data, { instancePath = "", parentData, parentDataProperty, r
23664
23719
  instancePath: instancePath + "/fanState",
23665
23720
  schemaPath: "#/properties/fanState/enum",
23666
23721
  keyword: "enum",
23667
- params: { allowedValues: schema181.properties.fanState.enum },
23722
+ params: { allowedValues: schema182.properties.fanState.enum },
23668
23723
  message: "must be equal to one of the allowed values"
23669
23724
  };
23670
23725
  if (vErrors === null) {
@@ -23696,7 +23751,7 @@ function validate72(data, { instancePath = "", parentData, parentDataProperty, r
23696
23751
  instancePath: instancePath + "/temperatureScale",
23697
23752
  schemaPath: "#/properties/temperatureScale/enum",
23698
23753
  keyword: "enum",
23699
- params: { allowedValues: schema181.properties.temperatureScale.enum },
23754
+ params: { allowedValues: schema182.properties.temperatureScale.enum },
23700
23755
  message: "must be equal to one of the allowed values"
23701
23756
  };
23702
23757
  if (vErrors === null) {
@@ -23713,7 +23768,7 @@ function validate72(data, { instancePath = "", parentData, parentDataProperty, r
23713
23768
  instancePath: instancePath + "/humidityScale",
23714
23769
  schemaPath: "#/properties/humidityScale/type",
23715
23770
  keyword: "type",
23716
- params: { type: schema181.properties.humidityScale.type },
23771
+ params: { type: schema182.properties.humidityScale.type },
23717
23772
  message: "must be string,null"
23718
23773
  };
23719
23774
  if (vErrors === null) {
@@ -23728,7 +23783,7 @@ function validate72(data, { instancePath = "", parentData, parentDataProperty, r
23728
23783
  instancePath: instancePath + "/humidityScale",
23729
23784
  schemaPath: "#/properties/humidityScale/enum",
23730
23785
  keyword: "enum",
23731
- params: { allowedValues: schema181.properties.humidityScale.enum },
23786
+ params: { allowedValues: schema182.properties.humidityScale.enum },
23732
23787
  message: "must be equal to one of the allowed values"
23733
23788
  };
23734
23789
  if (vErrors === null) {
@@ -23766,7 +23821,7 @@ function validate72(data, { instancePath = "", parentData, parentDataProperty, r
23766
23821
  schemaPath: "#/properties/supportedHvacModes/items/enum",
23767
23822
  keyword: "enum",
23768
23823
  params: {
23769
- allowedValues: schema181.properties.supportedHvacModes.items.enum
23824
+ allowedValues: schema182.properties.supportedHvacModes.items.enum
23770
23825
  },
23771
23826
  message: "must be equal to one of the allowed values"
23772
23827
  };
@@ -23830,7 +23885,7 @@ function validate72(data, { instancePath = "", parentData, parentDataProperty, r
23830
23885
  schemaPath: "#/properties/supportedFanModes/items/enum",
23831
23886
  keyword: "enum",
23832
23887
  params: {
23833
- allowedValues: schema181.properties.supportedFanModes.items.enum
23888
+ allowedValues: schema182.properties.supportedFanModes.items.enum
23834
23889
  },
23835
23890
  message: "must be equal to one of the allowed values"
23836
23891
  };
@@ -24170,7 +24225,7 @@ function validate72(data, { instancePath = "", parentData, parentDataProperty, r
24170
24225
  return errors === 0;
24171
24226
  }
24172
24227
  __name(validate72, "validate72");
24173
- var schema198 = {
24228
+ var schema199 = {
24174
24229
  $schema: "http://json-schema.org/draft-07/schema",
24175
24230
  $id: "windowCovering.json",
24176
24231
  title: "Window Covering",
@@ -24505,7 +24560,7 @@ function validate81(data, { instancePath = "", parentData, parentDataProperty, r
24505
24560
  instancePath: instancePath + "/discriminator",
24506
24561
  schemaPath: "#/properties/discriminator/enum",
24507
24562
  keyword: "enum",
24508
- params: { allowedValues: schema198.properties.discriminator.enum },
24563
+ params: { allowedValues: schema199.properties.discriminator.enum },
24509
24564
  message: "must be equal to one of the allowed values"
24510
24565
  };
24511
24566
  if (vErrors === null) {
@@ -24645,7 +24700,7 @@ function validate81(data, { instancePath = "", parentData, parentDataProperty, r
24645
24700
  instancePath: instancePath + "/position",
24646
24701
  schemaPath: "#/properties/position/type",
24647
24702
  keyword: "type",
24648
- params: { type: schema198.properties.position.type },
24703
+ params: { type: schema199.properties.position.type },
24649
24704
  message: "must be number,null"
24650
24705
  };
24651
24706
  if (vErrors === null) {
@@ -24894,7 +24949,7 @@ function validate66(data, { instancePath = "", parentData, parentDataProperty, r
24894
24949
  errors++;
24895
24950
  }
24896
24951
  for (const key0 in data) {
24897
- if (!func5.call(schema170.properties, key0)) {
24952
+ if (!func5.call(schema171.properties, key0)) {
24898
24953
  const err2 = {
24899
24954
  instancePath,
24900
24955
  schemaPath: "#/additionalProperties",
@@ -24985,7 +25040,7 @@ function validate66(data, { instancePath = "", parentData, parentDataProperty, r
24985
25040
  instancePath: instancePath + "/type",
24986
25041
  schemaPath: "#/properties/type/enum",
24987
25042
  keyword: "enum",
24988
- params: { allowedValues: schema170.properties.type.enum },
25043
+ params: { allowedValues: schema171.properties.type.enum },
24989
25044
  message: "must be equal to one of the allowed values"
24990
25045
  };
24991
25046
  if (vErrors === null) {
@@ -25396,7 +25451,7 @@ function validate66(data, { instancePath = "", parentData, parentDataProperty, r
25396
25451
  instancePath: instancePath + "/updatedAt",
25397
25452
  schemaPath: "definitions.json#/definitions/updatedAt/type",
25398
25453
  keyword: "type",
25399
- params: { type: schema150.type },
25454
+ params: { type: schema151.type },
25400
25455
  message: "must be string,object"
25401
25456
  };
25402
25457
  if (vErrors === null) {
@@ -25444,7 +25499,7 @@ function validate66(data, { instancePath = "", parentData, parentDataProperty, r
25444
25499
  }
25445
25500
  __name(validate66, "validate66");
25446
25501
  var validateScene = validate90;
25447
- var schema210 = {
25502
+ var schema211 = {
25448
25503
  $schema: "http://json-schema.org/draft-07/schema",
25449
25504
  $id: "scene.json",
25450
25505
  title: "Scene",
@@ -25536,14 +25591,14 @@ var schema210 = {
25536
25591
  required: ["id", "name", "type"],
25537
25592
  additionalProperties: false
25538
25593
  };
25539
- var schema213 = { type: "string", enum: ["on", "off"] };
25540
- var schema215 = { type: ["number", "null"], minimum: 0, maximum: 100 };
25541
- var schema217 = { type: ["number", "null"], minimum: 0, maximum: 100 };
25542
- var schema226 = {
25594
+ var schema214 = { type: "string", enum: ["on", "off"] };
25595
+ var schema216 = { type: ["number", "null"], minimum: 0, maximum: 100 };
25596
+ var schema218 = { type: ["number", "null"], minimum: 0, maximum: 100 };
25597
+ var schema227 = {
25543
25598
  type: ["string", "null"],
25544
25599
  enum: ["locked", "unlocked", null]
25545
25600
  };
25546
- var schema227 = {
25601
+ var schema228 = {
25547
25602
  type: ["string", "null"],
25548
25603
  enum: [
25549
25604
  "normal",
@@ -25580,7 +25635,7 @@ function validate91(data, { instancePath = "", parentData, parentDataProperty, r
25580
25635
  instancePath,
25581
25636
  schemaPath: "#/properties/supportedHvacModes/items/enum",
25582
25637
  keyword: "enum",
25583
- params: { allowedValues: schema189.enum },
25638
+ params: { allowedValues: schema190.enum },
25584
25639
  message: "must be equal to one of the allowed values"
25585
25640
  };
25586
25641
  if (vErrors === null) {
@@ -25690,7 +25745,7 @@ function validate98(data, { instancePath = "", parentData, parentDataProperty, r
25690
25745
  instancePath,
25691
25746
  schemaPath: "#/properties/supportedFanModes/items/enum",
25692
25747
  keyword: "enum",
25693
- params: { allowedValues: schema190.enum },
25748
+ params: { allowedValues: schema191.enum },
25694
25749
  message: "must be equal to one of the allowed values"
25695
25750
  };
25696
25751
  if (vErrors === null) {
@@ -25888,7 +25943,7 @@ function validate90(data, { instancePath = "", parentData, parentDataProperty, r
25888
25943
  instancePath: instancePath + "/type",
25889
25944
  schemaPath: "#/properties/type/enum",
25890
25945
  keyword: "enum",
25891
- params: { allowedValues: schema210.properties.type.enum },
25946
+ params: { allowedValues: schema211.properties.type.enum },
25892
25947
  message: "must be equal to one of the allowed values"
25893
25948
  };
25894
25949
  if (vErrors === null) {
@@ -26010,7 +26065,7 @@ function validate90(data, { instancePath = "", parentData, parentDataProperty, r
26010
26065
  instancePath: instancePath + "/devices/switches/" + i0 + "/state",
26011
26066
  schemaPath: "switch.json#/properties/state/enum",
26012
26067
  keyword: "enum",
26013
- params: { allowedValues: schema213.enum },
26068
+ params: { allowedValues: schema214.enum },
26014
26069
  message: "must be equal to one of the allowed values"
26015
26070
  };
26016
26071
  if (vErrors === null) {
@@ -26120,7 +26175,7 @@ function validate90(data, { instancePath = "", parentData, parentDataProperty, r
26120
26175
  instancePath: instancePath + "/devices/dimmers/" + i1 + "/level",
26121
26176
  schemaPath: "dimmer.json#/properties/level/type",
26122
26177
  keyword: "type",
26123
- params: { type: schema215.type },
26178
+ params: { type: schema216.type },
26124
26179
  message: "must be number,null"
26125
26180
  };
26126
26181
  if (vErrors === null) {
@@ -26261,7 +26316,7 @@ function validate90(data, { instancePath = "", parentData, parentDataProperty, r
26261
26316
  instancePath: instancePath + "/devices/windowCoverings/" + i2 + "/position",
26262
26317
  schemaPath: "windowCovering.json#/properties/position/type",
26263
26318
  keyword: "type",
26264
- params: { type: schema217.type },
26319
+ params: { type: schema218.type },
26265
26320
  message: "must be number,null"
26266
26321
  };
26267
26322
  if (vErrors === null) {
@@ -26723,7 +26778,7 @@ function validate90(data, { instancePath = "", parentData, parentDataProperty, r
26723
26778
  instancePath: instancePath + "/devices/locks/" + i6 + "/state",
26724
26779
  schemaPath: "lock.json#/properties/state/type",
26725
26780
  keyword: "type",
26726
- params: { type: schema226.type },
26781
+ params: { type: schema227.type },
26727
26782
  message: "must be string,null"
26728
26783
  };
26729
26784
  if (vErrors === null) {
@@ -26738,7 +26793,7 @@ function validate90(data, { instancePath = "", parentData, parentDataProperty, r
26738
26793
  instancePath: instancePath + "/devices/locks/" + i6 + "/state",
26739
26794
  schemaPath: "lock.json#/properties/state/enum",
26740
26795
  keyword: "enum",
26741
- params: { allowedValues: schema226.enum },
26796
+ params: { allowedValues: schema227.enum },
26742
26797
  message: "must be equal to one of the allowed values"
26743
26798
  };
26744
26799
  if (vErrors === null) {
@@ -26756,7 +26811,7 @@ function validate90(data, { instancePath = "", parentData, parentDataProperty, r
26756
26811
  instancePath: instancePath + "/devices/locks/" + i6 + "/mode",
26757
26812
  schemaPath: "lock.json#/properties/mode/type",
26758
26813
  keyword: "type",
26759
- params: { type: schema227.type },
26814
+ params: { type: schema228.type },
26760
26815
  message: "must be string,null"
26761
26816
  };
26762
26817
  if (vErrors === null) {
@@ -26771,7 +26826,7 @@ function validate90(data, { instancePath = "", parentData, parentDataProperty, r
26771
26826
  instancePath: instancePath + "/devices/locks/" + i6 + "/mode",
26772
26827
  schemaPath: "lock.json#/properties/mode/enum",
26773
26828
  keyword: "enum",
26774
- params: { allowedValues: schema227.enum },
26829
+ params: { allowedValues: schema228.enum },
26775
26830
  message: "must be equal to one of the allowed values"
26776
26831
  };
26777
26832
  if (vErrors === null) {
@@ -26880,7 +26935,7 @@ function validate90(data, { instancePath = "", parentData, parentDataProperty, r
26880
26935
  }
26881
26936
  __name(validate90, "validate90");
26882
26937
  var validateShortLink = validate100;
26883
- var schema228 = {
26938
+ var schema229 = {
26884
26939
  $schema: "http://json-schema.org/draft-07/schema",
26885
26940
  $id: "shortLink.json",
26886
26941
  title: "Short Link",
@@ -27007,7 +27062,7 @@ function validate100(data, { instancePath = "", parentData, parentDataProperty,
27007
27062
  instancePath: instancePath + "/type",
27008
27063
  schemaPath: "#/properties/type/enum",
27009
27064
  keyword: "enum",
27010
- params: { allowedValues: schema228.properties.type.enum },
27065
+ params: { allowedValues: schema229.properties.type.enum },
27011
27066
  message: "must be equal to one of the allowed values"
27012
27067
  };
27013
27068
  if (vErrors === null) {
@@ -27111,7 +27166,7 @@ function validate100(data, { instancePath = "", parentData, parentDataProperty,
27111
27166
  }
27112
27167
  __name(validate100, "validate100");
27113
27168
  var validateSmsMessage = validate101;
27114
- var schema231 = {
27169
+ var schema232 = {
27115
27170
  $schema: "http://json-schema.org/draft-07/schema",
27116
27171
  $id: "smsMessage.json",
27117
27172
  title: "Sms Message",
@@ -27274,7 +27329,7 @@ function validate101(data, { instancePath = "", parentData, parentDataProperty,
27274
27329
  instancePath: instancePath + "/type",
27275
27330
  schemaPath: "#/properties/type/enum",
27276
27331
  keyword: "enum",
27277
- params: { allowedValues: schema231.properties.type.enum },
27332
+ params: { allowedValues: schema232.properties.type.enum },
27278
27333
  message: "must be equal to one of the allowed values"
27279
27334
  };
27280
27335
  if (vErrors === null) {
@@ -27408,7 +27463,7 @@ function validate101(data, { instancePath = "", parentData, parentDataProperty,
27408
27463
  instancePath: instancePath + "/status",
27409
27464
  schemaPath: "#/properties/status/enum",
27410
27465
  keyword: "enum",
27411
- params: { allowedValues: schema231.properties.status.enum },
27466
+ params: { allowedValues: schema232.properties.status.enum },
27412
27467
  message: "must be equal to one of the allowed values"
27413
27468
  };
27414
27469
  if (vErrors === null) {
@@ -27578,7 +27633,7 @@ function validate101(data, { instancePath = "", parentData, parentDataProperty,
27578
27633
  }
27579
27634
  __name(validate101, "validate101");
27580
27635
  var validateSpace = validate102;
27581
- var schema236 = {
27636
+ var schema237 = {
27582
27637
  $schema: "http://json-schema.org/draft-07/schema",
27583
27638
  $id: "space.json",
27584
27639
  title: "Space",
@@ -28050,7 +28105,7 @@ function validate102(data, { instancePath = "", parentData, parentDataProperty,
28050
28105
  instancePath: instancePath + "/type",
28051
28106
  schemaPath: "#/properties/type/enum",
28052
28107
  keyword: "enum",
28053
- params: { allowedValues: schema236.properties.type.enum },
28108
+ params: { allowedValues: schema237.properties.type.enum },
28054
28109
  message: "must be equal to one of the allowed values"
28055
28110
  };
28056
28111
  if (vErrors === null) {
@@ -28082,7 +28137,7 @@ function validate102(data, { instancePath = "", parentData, parentDataProperty,
28082
28137
  instancePath: instancePath + "/discriminator",
28083
28138
  schemaPath: "#/properties/discriminator/enum",
28084
28139
  keyword: "enum",
28085
- params: { allowedValues: schema236.properties.discriminator.enum },
28140
+ params: { allowedValues: schema237.properties.discriminator.enum },
28086
28141
  message: "must be equal to one of the allowed values"
28087
28142
  };
28088
28143
  if (vErrors === null) {
@@ -28299,7 +28354,7 @@ function validate102(data, { instancePath = "", parentData, parentDataProperty,
28299
28354
  schemaPath: "#/properties/eco/properties/activatedAt/type",
28300
28355
  keyword: "type",
28301
28356
  params: {
28302
- type: schema236.properties.eco.properties.activatedAt.type
28357
+ type: schema237.properties.eco.properties.activatedAt.type
28303
28358
  },
28304
28359
  message: "must be string,object"
28305
28360
  };
@@ -28351,7 +28406,7 @@ function validate102(data, { instancePath = "", parentData, parentDataProperty,
28351
28406
  schemaPath: "#/properties/eco/properties/previousState/type",
28352
28407
  keyword: "type",
28353
28408
  params: {
28354
- type: schema236.properties.eco.properties.previousState.type
28409
+ type: schema237.properties.eco.properties.previousState.type
28355
28410
  },
28356
28411
  message: "must be object,null"
28357
28412
  };
@@ -28475,7 +28530,7 @@ function validate102(data, { instancePath = "", parentData, parentDataProperty,
28475
28530
  schemaPath: "#/properties/features/items/enum",
28476
28531
  keyword: "enum",
28477
28532
  params: {
28478
- allowedValues: schema236.properties.features.items.enum
28533
+ allowedValues: schema237.properties.features.items.enum
28479
28534
  },
28480
28535
  message: "must be equal to one of the allowed values"
28481
28536
  };
@@ -28560,7 +28615,7 @@ function validate102(data, { instancePath = "", parentData, parentDataProperty,
28560
28615
  schemaPath: "#/properties/housekeepingStatus/enum",
28561
28616
  keyword: "enum",
28562
28617
  params: {
28563
- allowedValues: schema236.properties.housekeepingStatus.enum
28618
+ allowedValues: schema237.properties.housekeepingStatus.enum
28564
28619
  },
28565
28620
  message: "must be equal to one of the allowed values"
28566
28621
  };
@@ -28594,7 +28649,7 @@ function validate102(data, { instancePath = "", parentData, parentDataProperty,
28594
28649
  instancePath: instancePath + "/serviceStatus",
28595
28650
  schemaPath: "#/properties/serviceStatus/enum",
28596
28651
  keyword: "enum",
28597
- params: { allowedValues: schema236.properties.serviceStatus.enum },
28652
+ params: { allowedValues: schema237.properties.serviceStatus.enum },
28598
28653
  message: "must be equal to one of the allowed values"
28599
28654
  };
28600
28655
  if (vErrors === null) {
@@ -28643,7 +28698,7 @@ function validate102(data, { instancePath = "", parentData, parentDataProperty,
28643
28698
  __name(validate102, "validate102");
28644
28699
  var validateSwitch = validate68;
28645
28700
  var validateSystemUser = validate108;
28646
- var schema241 = {
28701
+ var schema242 = {
28647
28702
  $schema: "http://json-schema.org/draft-07/schema",
28648
28703
  $id: "systemUser.json",
28649
28704
  title: "System User",
@@ -28826,7 +28881,7 @@ function validate112(data, { instancePath = "", parentData, parentDataProperty,
28826
28881
  instancePath: instancePath + "/" + i0 + "/tax",
28827
28882
  schemaPath: "#/items/properties/tax/type",
28828
28883
  keyword: "type",
28829
- params: { type: schema166.items.properties.tax.type },
28884
+ params: { type: schema167.items.properties.tax.type },
28830
28885
  message: "must be number,null"
28831
28886
  };
28832
28887
  if (vErrors === null) {
@@ -28984,7 +29039,7 @@ function validate108(data, { instancePath = "", parentData, parentDataProperty,
28984
29039
  instancePath: instancePath + "/type",
28985
29040
  schemaPath: "#/properties/type/enum",
28986
29041
  keyword: "enum",
28987
- params: { allowedValues: schema241.properties.type.enum },
29042
+ params: { allowedValues: schema242.properties.type.enum },
28988
29043
  message: "must be equal to one of the allowed values"
28989
29044
  };
28990
29045
  if (vErrors === null) {
@@ -29068,7 +29123,7 @@ function validate108(data, { instancePath = "", parentData, parentDataProperty,
29068
29123
  instancePath: instancePath + "/phone",
29069
29124
  schemaPath: "#/properties/phone/type",
29070
29125
  keyword: "type",
29071
- params: { type: schema241.properties.phone.type },
29126
+ params: { type: schema242.properties.phone.type },
29072
29127
  message: "must be string,null"
29073
29128
  };
29074
29129
  if (vErrors === null) {
@@ -29103,7 +29158,7 @@ function validate108(data, { instancePath = "", parentData, parentDataProperty,
29103
29158
  instancePath: instancePath + "/email",
29104
29159
  schemaPath: "#/properties/email/type",
29105
29160
  keyword: "type",
29106
- params: { type: schema241.properties.email.type },
29161
+ params: { type: schema242.properties.email.type },
29107
29162
  message: "must be string,null"
29108
29163
  };
29109
29164
  if (vErrors === null) {
@@ -29391,7 +29446,7 @@ function validate108(data, { instancePath = "", parentData, parentDataProperty,
29391
29446
  instancePath: instancePath + "/gender",
29392
29447
  schemaPath: "#/properties/gender/enum",
29393
29448
  keyword: "enum",
29394
- params: { allowedValues: schema241.properties.gender.enum },
29449
+ params: { allowedValues: schema242.properties.gender.enum },
29395
29450
  message: "must be equal to one of the allowed values"
29396
29451
  };
29397
29452
  if (vErrors === null) {
@@ -29428,7 +29483,7 @@ function validate108(data, { instancePath = "", parentData, parentDataProperty,
29428
29483
  instancePath: instancePath + "/roles/" + i0,
29429
29484
  schemaPath: "#/properties/roles/items/enum",
29430
29485
  keyword: "enum",
29431
- params: { allowedValues: schema241.properties.roles.items.enum },
29486
+ params: { allowedValues: schema242.properties.roles.items.enum },
29432
29487
  message: "must be equal to one of the allowed values"
29433
29488
  };
29434
29489
  if (vErrors === null) {
@@ -29687,7 +29742,7 @@ function validate108(data, { instancePath = "", parentData, parentDataProperty,
29687
29742
  instancePath: instancePath + "/updatedAt",
29688
29743
  schemaPath: "definitions.json#/definitions/updatedAt/type",
29689
29744
  keyword: "type",
29690
- params: { type: schema150.type },
29745
+ params: { type: schema151.type },
29691
29746
  message: "must be string,object"
29692
29747
  };
29693
29748
  if (vErrors === null) {
@@ -31753,7 +31808,7 @@ function validate39(data, { instancePath = "", parentData, parentDataProperty, r
31753
31808
  }
31754
31809
  __name(validate39, "validate39");
31755
31810
  var validateTimeSheet = validate114;
31756
- var schema250 = {
31811
+ var schema251 = {
31757
31812
  $schema: "http://json-schema.org/draft-07/schema",
31758
31813
  $id: "timeSheet.json",
31759
31814
  title: "Time Sheet",
@@ -31909,7 +31964,7 @@ function validate114(data, { instancePath = "", parentData, parentDataProperty,
31909
31964
  instancePath: instancePath + "/type",
31910
31965
  schemaPath: "#/properties/type/enum",
31911
31966
  keyword: "enum",
31912
- params: { allowedValues: schema250.properties.type.enum },
31967
+ params: { allowedValues: schema251.properties.type.enum },
31913
31968
  message: "must be equal to one of the allowed values"
31914
31969
  };
31915
31970
  if (vErrors === null) {
@@ -31980,7 +32035,7 @@ function validate114(data, { instancePath = "", parentData, parentDataProperty,
31980
32035
  instancePath: instancePath + "/day",
31981
32036
  schemaPath: "#/properties/day/type",
31982
32037
  keyword: "type",
31983
- params: { type: schema250.properties.day.type },
32038
+ params: { type: schema251.properties.day.type },
31984
32039
  message: "must be string,object"
31985
32040
  };
31986
32041
  if (vErrors === null) {
@@ -32153,7 +32208,7 @@ function validate114(data, { instancePath = "", parentData, parentDataProperty,
32153
32208
  schemaPath: "#/properties/timeEntries/items/properties/discriminator/enum",
32154
32209
  keyword: "enum",
32155
32210
  params: {
32156
- allowedValues: schema250.properties.timeEntries.items.properties.discriminator.enum
32211
+ allowedValues: schema251.properties.timeEntries.items.properties.discriminator.enum
32157
32212
  },
32158
32213
  message: "must be equal to one of the allowed values"
32159
32214
  };
@@ -32173,7 +32228,7 @@ function validate114(data, { instancePath = "", parentData, parentDataProperty,
32173
32228
  schemaPath: "#/properties/timeEntries/items/properties/start/type",
32174
32229
  keyword: "type",
32175
32230
  params: {
32176
- type: schema250.properties.timeEntries.items.properties.start.type
32231
+ type: schema251.properties.timeEntries.items.properties.start.type
32177
32232
  },
32178
32233
  message: "must be string,object"
32179
32234
  };
@@ -32210,7 +32265,7 @@ function validate114(data, { instancePath = "", parentData, parentDataProperty,
32210
32265
  schemaPath: "#/properties/timeEntries/items/properties/end/type",
32211
32266
  keyword: "type",
32212
32267
  params: {
32213
- type: schema250.properties.timeEntries.items.properties.end.type
32268
+ type: schema251.properties.timeEntries.items.properties.end.type
32214
32269
  },
32215
32270
  message: "must be string,object"
32216
32271
  };
@@ -32324,7 +32379,7 @@ function validate114(data, { instancePath = "", parentData, parentDataProperty,
32324
32379
  }
32325
32380
  __name(validate114, "validate114");
32326
32381
  var validateUser = validate115;
32327
- var schema254 = {
32382
+ var schema255 = {
32328
32383
  $schema: "http://json-schema.org/draft-07/schema",
32329
32384
  $id: "user.json",
32330
32385
  title: "User",
@@ -32567,7 +32622,7 @@ function validate122(data, { instancePath = "", parentData, parentDataProperty,
32567
32622
  instancePath: instancePath + "/" + i0 + "/tax",
32568
32623
  schemaPath: "#/items/properties/tax/type",
32569
32624
  keyword: "type",
32570
- params: { type: schema166.items.properties.tax.type },
32625
+ params: { type: schema167.items.properties.tax.type },
32571
32626
  message: "must be number,null"
32572
32627
  };
32573
32628
  if (vErrors === null) {
@@ -32766,7 +32821,7 @@ function validate115(data, { instancePath = "", parentData, parentDataProperty,
32766
32821
  instancePath: instancePath + "/phone",
32767
32822
  schemaPath: "#/properties/phone/type",
32768
32823
  keyword: "type",
32769
- params: { type: schema254.properties.phone.type },
32824
+ params: { type: schema255.properties.phone.type },
32770
32825
  message: "must be string,null"
32771
32826
  };
32772
32827
  if (vErrors === null) {
@@ -32818,7 +32873,7 @@ function validate115(data, { instancePath = "", parentData, parentDataProperty,
32818
32873
  instancePath: instancePath + "/email",
32819
32874
  schemaPath: "#/properties/email/type",
32820
32875
  keyword: "type",
32821
- params: { type: schema254.properties.email.type },
32876
+ params: { type: schema255.properties.email.type },
32822
32877
  message: "must be string,null"
32823
32878
  };
32824
32879
  if (vErrors === null) {
@@ -33134,7 +33189,7 @@ function validate115(data, { instancePath = "", parentData, parentDataProperty,
33134
33189
  instancePath: instancePath + "/gender",
33135
33190
  schemaPath: "#/properties/gender/enum",
33136
33191
  keyword: "enum",
33137
- params: { allowedValues: schema254.properties.gender.enum },
33192
+ params: { allowedValues: schema255.properties.gender.enum },
33138
33193
  message: "must be equal to one of the allowed values"
33139
33194
  };
33140
33195
  if (vErrors === null) {
@@ -33319,7 +33374,7 @@ function validate115(data, { instancePath = "", parentData, parentDataProperty,
33319
33374
  schemaPath: "#/properties/permissions/items/properties/role/enum",
33320
33375
  keyword: "enum",
33321
33376
  params: {
33322
- allowedValues: schema254.properties.permissions.items.properties.role.enum
33377
+ allowedValues: schema255.properties.permissions.items.properties.role.enum
33323
33378
  },
33324
33379
  message: "must be equal to one of the allowed values"
33325
33380
  };
@@ -33665,7 +33720,7 @@ function validate115(data, { instancePath = "", parentData, parentDataProperty,
33665
33720
  schemaPath: "#/properties/location/properties/accuracy/type",
33666
33721
  keyword: "type",
33667
33722
  params: {
33668
- type: schema254.properties.location.properties.accuracy.type
33723
+ type: schema255.properties.location.properties.accuracy.type
33669
33724
  },
33670
33725
  message: "must be number,null"
33671
33726
  };
@@ -33685,7 +33740,7 @@ function validate115(data, { instancePath = "", parentData, parentDataProperty,
33685
33740
  schemaPath: "#/properties/location/properties/latitude/type",
33686
33741
  keyword: "type",
33687
33742
  params: {
33688
- type: schema254.properties.location.properties.latitude.type
33743
+ type: schema255.properties.location.properties.latitude.type
33689
33744
  },
33690
33745
  message: "must be number,null"
33691
33746
  };
@@ -33705,7 +33760,7 @@ function validate115(data, { instancePath = "", parentData, parentDataProperty,
33705
33760
  schemaPath: "#/properties/location/properties/longitude/type",
33706
33761
  keyword: "type",
33707
33762
  params: {
33708
- type: schema254.properties.location.properties.longitude.type
33763
+ type: schema255.properties.location.properties.longitude.type
33709
33764
  },
33710
33765
  message: "must be number,null"
33711
33766
  };
@@ -33725,7 +33780,7 @@ function validate115(data, { instancePath = "", parentData, parentDataProperty,
33725
33780
  schemaPath: "#/properties/location/properties/timestamp/type",
33726
33781
  keyword: "type",
33727
33782
  params: {
33728
- type: schema254.properties.location.properties.timestamp.type
33783
+ type: schema255.properties.location.properties.timestamp.type
33729
33784
  },
33730
33785
  message: "must be number,null"
33731
33786
  };
@@ -33854,7 +33909,7 @@ function validate115(data, { instancePath = "", parentData, parentDataProperty,
33854
33909
  instancePath: instancePath + "/updatedAt",
33855
33910
  schemaPath: "definitions.json#/definitions/updatedAt/type",
33856
33911
  keyword: "type",
33857
- params: { type: schema150.type },
33912
+ params: { type: schema151.type },
33858
33913
  message: "must be string,object"
33859
33914
  };
33860
33915
  if (vErrors === null) {
@@ -34052,7 +34107,7 @@ function validate115(data, { instancePath = "", parentData, parentDataProperty,
34052
34107
  }
34053
34108
  __name(validate115, "validate115");
34054
34109
  var validateVendor = validate124;
34055
- var schema261 = {
34110
+ var schema262 = {
34056
34111
  $schema: "http://json-schema.org/draft-07/schema",
34057
34112
  $id: "vendor.json",
34058
34113
  title: "Vendor",
@@ -34182,7 +34237,7 @@ function validate124(data, { instancePath = "", parentData, parentDataProperty,
34182
34237
  instancePath: instancePath + "/type",
34183
34238
  schemaPath: "#/properties/type/enum",
34184
34239
  keyword: "enum",
34185
- params: { allowedValues: schema261.properties.type.enum },
34240
+ params: { allowedValues: schema262.properties.type.enum },
34186
34241
  message: "must be equal to one of the allowed values"
34187
34242
  };
34188
34243
  if (vErrors === null) {
@@ -34216,7 +34271,7 @@ function validate124(data, { instancePath = "", parentData, parentDataProperty,
34216
34271
  instancePath: instancePath + "/phone",
34217
34272
  schemaPath: "#/properties/phone/type",
34218
34273
  keyword: "type",
34219
- params: { type: schema261.properties.phone.type },
34274
+ params: { type: schema262.properties.phone.type },
34220
34275
  message: "must be string,null"
34221
34276
  };
34222
34277
  if (vErrors === null) {
@@ -34251,7 +34306,7 @@ function validate124(data, { instancePath = "", parentData, parentDataProperty,
34251
34306
  instancePath: instancePath + "/email",
34252
34307
  schemaPath: "#/properties/email/type",
34253
34308
  keyword: "type",
34254
- params: { type: schema261.properties.email.type },
34309
+ params: { type: schema262.properties.email.type },
34255
34310
  message: "must be string,null"
34256
34311
  };
34257
34312
  if (vErrors === null) {
@@ -34519,7 +34574,7 @@ function validate124(data, { instancePath = "", parentData, parentDataProperty,
34519
34574
  instancePath: instancePath + "/updatedAt",
34520
34575
  schemaPath: "definitions.json#/definitions/updatedAt/type",
34521
34576
  keyword: "type",
34522
- params: { type: schema150.type },
34577
+ params: { type: schema151.type },
34523
34578
  message: "must be string,object"
34524
34579
  };
34525
34580
  if (vErrors === null) {
@@ -35965,6 +36020,7 @@ var Log = class extends Entity {
35965
36020
  * @typedef {Object} LogData
35966
36021
  * @property {"log"} [type] - Default: "log"
35967
36022
  * @property {number} [timestamp]
36023
+ * @property {string} [id] - Identifier of the object.
35968
36024
  * @property {string} [name] - Event name
35969
36025
  * @property {{name: string, value: string}} [field1]
35970
36026
  * @property {string} field1.name
@@ -35993,6 +36049,7 @@ var Log = class extends Entity {
35993
36049
  super(data);
35994
36050
  if (data.type !== void 0) this.type = data.type;
35995
36051
  if (data.timestamp !== void 0) this.timestamp = data.timestamp;
36052
+ if (data.id !== void 0) this.id = data.id;
35996
36053
  if (data.name !== void 0) this.name = data.name;
35997
36054
  if (data.field1 !== void 0) this.field1 = data.field1;
35998
36055
  if (data.field2 !== void 0) this.field2 = data.field2;
@@ -36011,6 +36068,7 @@ Object.defineProperty(Log.prototype, "schema", {
36011
36068
  properties: {
36012
36069
  type: { type: "string", default: "log", enum: ["log"] },
36013
36070
  timestamp: { type: "number", minimum: 1655907956593 },
36071
+ id: { $ref: "definitions.json#/definitions/id" },
36014
36072
  name: { type: "string", description: "Event name" },
36015
36073
  field1: {
36016
36074
  type: "object",