@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/{chunk-IJQVACF3.js → chunk-EFRZEJUC.js} +1 -1
- package/dist/{chunk-IJQVACF3.js.map → chunk-EFRZEJUC.js.map} +1 -1
- package/dist/chunk-J33AAZCQ.js +1 -0
- package/dist/chunk-J33AAZCQ.js.map +1 -0
- package/dist/commands.cjs.map +1 -1
- package/dist/errors.cjs.map +1 -1
- package/dist/events.cjs.map +1 -1
- package/dist/events.js +1 -1
- package/dist/index.cjs +348 -290
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +348 -290
- package/dist/index.js.map +1 -1
- package/dist/models.cjs +1 -1
- package/dist/models.cjs.map +1 -1
- package/dist/models.d.cts +2 -2
- package/dist/models.d.ts +2 -2
- package/dist/models.js +1 -1
- package/dist/useCases.cjs.map +1 -1
- package/dist/utils.cjs +1 -1
- package/dist/utils.cjs.map +1 -1
- package/dist/utils.d.cts +1 -1
- package/dist/utils.d.ts +1 -1
- package/dist/utils.js +1 -1
- package/dist/{windowCovering-CXcSOjuy.d.cts → windowCovering-DcMDarkr.d.cts} +9 -0
- package/dist/{windowCovering-CXcSOjuy.d.ts → windowCovering-DcMDarkr.d.ts} +9 -0
- package/package.json +1 -1
- package/dist/chunk-XZITDYVM.js +0 -1
- package/dist/chunk-XZITDYVM.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -12166,6 +12166,7 @@ var schema120 = {
|
|
|
12166
12166
|
properties: {
|
|
12167
12167
|
type: { type: "string", default: "log", enum: ["log"] },
|
|
12168
12168
|
timestamp: { type: "number", minimum: 1655907956593 },
|
|
12169
|
+
id: { $ref: "definitions.json#/definitions/id" },
|
|
12169
12170
|
name: { type: "string", description: "Event name" },
|
|
12170
12171
|
field1: {
|
|
12171
12172
|
type: "object",
|
|
@@ -12271,9 +12272,63 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
12271
12272
|
errors++;
|
|
12272
12273
|
}
|
|
12273
12274
|
}
|
|
12275
|
+
if (data.id !== void 0) {
|
|
12276
|
+
let data2 = data.id;
|
|
12277
|
+
if (typeof data2 !== "string") {
|
|
12278
|
+
const err4 = {
|
|
12279
|
+
instancePath: instancePath + "/id",
|
|
12280
|
+
schemaPath: "definitions.json#/definitions/id/type",
|
|
12281
|
+
keyword: "type",
|
|
12282
|
+
params: { type: "string" },
|
|
12283
|
+
message: "must be string"
|
|
12284
|
+
};
|
|
12285
|
+
if (vErrors === null) {
|
|
12286
|
+
vErrors = [err4];
|
|
12287
|
+
} else {
|
|
12288
|
+
vErrors.push(err4);
|
|
12289
|
+
}
|
|
12290
|
+
errors++;
|
|
12291
|
+
}
|
|
12292
|
+
const _errs8 = errors;
|
|
12293
|
+
const _errs9 = errors;
|
|
12294
|
+
if (!(data2 === "global" || data2 === "system")) {
|
|
12295
|
+
const err5 = {};
|
|
12296
|
+
if (vErrors === null) {
|
|
12297
|
+
vErrors = [err5];
|
|
12298
|
+
} else {
|
|
12299
|
+
vErrors.push(err5);
|
|
12300
|
+
}
|
|
12301
|
+
errors++;
|
|
12302
|
+
}
|
|
12303
|
+
var valid2 = _errs9 === errors;
|
|
12304
|
+
if (valid2) {
|
|
12305
|
+
const err6 = {
|
|
12306
|
+
instancePath: instancePath + "/id",
|
|
12307
|
+
schemaPath: "definitions.json#/definitions/id/not",
|
|
12308
|
+
keyword: "not",
|
|
12309
|
+
params: {},
|
|
12310
|
+
message: "must NOT be valid"
|
|
12311
|
+
};
|
|
12312
|
+
if (vErrors === null) {
|
|
12313
|
+
vErrors = [err6];
|
|
12314
|
+
} else {
|
|
12315
|
+
vErrors.push(err6);
|
|
12316
|
+
}
|
|
12317
|
+
errors++;
|
|
12318
|
+
} else {
|
|
12319
|
+
errors = _errs8;
|
|
12320
|
+
if (vErrors !== null) {
|
|
12321
|
+
if (_errs8) {
|
|
12322
|
+
vErrors.length = _errs8;
|
|
12323
|
+
} else {
|
|
12324
|
+
vErrors = null;
|
|
12325
|
+
}
|
|
12326
|
+
}
|
|
12327
|
+
}
|
|
12328
|
+
}
|
|
12274
12329
|
if (data.name !== void 0) {
|
|
12275
12330
|
if (typeof data.name !== "string") {
|
|
12276
|
-
const
|
|
12331
|
+
const err7 = {
|
|
12277
12332
|
instancePath: instancePath + "/name",
|
|
12278
12333
|
schemaPath: "#/properties/name/type",
|
|
12279
12334
|
keyword: "type",
|
|
@@ -12281,18 +12336,18 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
12281
12336
|
message: "must be string"
|
|
12282
12337
|
};
|
|
12283
12338
|
if (vErrors === null) {
|
|
12284
|
-
vErrors = [
|
|
12339
|
+
vErrors = [err7];
|
|
12285
12340
|
} else {
|
|
12286
|
-
vErrors.push(
|
|
12341
|
+
vErrors.push(err7);
|
|
12287
12342
|
}
|
|
12288
12343
|
errors++;
|
|
12289
12344
|
}
|
|
12290
12345
|
}
|
|
12291
12346
|
if (data.field1 !== void 0) {
|
|
12292
|
-
let
|
|
12293
|
-
if (
|
|
12294
|
-
if (
|
|
12295
|
-
const
|
|
12347
|
+
let data4 = data.field1;
|
|
12348
|
+
if (data4 && typeof data4 == "object" && !Array.isArray(data4)) {
|
|
12349
|
+
if (data4.name === void 0) {
|
|
12350
|
+
const err8 = {
|
|
12296
12351
|
instancePath: instancePath + "/field1",
|
|
12297
12352
|
schemaPath: "#/properties/field1/required",
|
|
12298
12353
|
keyword: "required",
|
|
@@ -12300,14 +12355,14 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
12300
12355
|
message: "must have required property 'name'"
|
|
12301
12356
|
};
|
|
12302
12357
|
if (vErrors === null) {
|
|
12303
|
-
vErrors = [
|
|
12358
|
+
vErrors = [err8];
|
|
12304
12359
|
} else {
|
|
12305
|
-
vErrors.push(
|
|
12360
|
+
vErrors.push(err8);
|
|
12306
12361
|
}
|
|
12307
12362
|
errors++;
|
|
12308
12363
|
}
|
|
12309
|
-
if (
|
|
12310
|
-
const
|
|
12364
|
+
if (data4.value === void 0) {
|
|
12365
|
+
const err9 = {
|
|
12311
12366
|
instancePath: instancePath + "/field1",
|
|
12312
12367
|
schemaPath: "#/properties/field1/required",
|
|
12313
12368
|
keyword: "required",
|
|
@@ -12315,15 +12370,15 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
12315
12370
|
message: "must have required property 'value'"
|
|
12316
12371
|
};
|
|
12317
12372
|
if (vErrors === null) {
|
|
12318
|
-
vErrors = [
|
|
12373
|
+
vErrors = [err9];
|
|
12319
12374
|
} else {
|
|
12320
|
-
vErrors.push(
|
|
12375
|
+
vErrors.push(err9);
|
|
12321
12376
|
}
|
|
12322
12377
|
errors++;
|
|
12323
12378
|
}
|
|
12324
|
-
if (
|
|
12325
|
-
if (typeof
|
|
12326
|
-
const
|
|
12379
|
+
if (data4.name !== void 0) {
|
|
12380
|
+
if (typeof data4.name !== "string") {
|
|
12381
|
+
const err10 = {
|
|
12327
12382
|
instancePath: instancePath + "/field1/name",
|
|
12328
12383
|
schemaPath: "#/properties/field1/properties/name/type",
|
|
12329
12384
|
keyword: "type",
|
|
@@ -12331,16 +12386,16 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
12331
12386
|
message: "must be string"
|
|
12332
12387
|
};
|
|
12333
12388
|
if (vErrors === null) {
|
|
12334
|
-
vErrors = [
|
|
12389
|
+
vErrors = [err10];
|
|
12335
12390
|
} else {
|
|
12336
|
-
vErrors.push(
|
|
12391
|
+
vErrors.push(err10);
|
|
12337
12392
|
}
|
|
12338
12393
|
errors++;
|
|
12339
12394
|
}
|
|
12340
12395
|
}
|
|
12341
|
-
if (
|
|
12342
|
-
if (typeof
|
|
12343
|
-
const
|
|
12396
|
+
if (data4.value !== void 0) {
|
|
12397
|
+
if (typeof data4.value !== "string") {
|
|
12398
|
+
const err11 = {
|
|
12344
12399
|
instancePath: instancePath + "/field1/value",
|
|
12345
12400
|
schemaPath: "#/properties/field1/properties/value/type",
|
|
12346
12401
|
keyword: "type",
|
|
@@ -12348,15 +12403,15 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
12348
12403
|
message: "must be string"
|
|
12349
12404
|
};
|
|
12350
12405
|
if (vErrors === null) {
|
|
12351
|
-
vErrors = [
|
|
12406
|
+
vErrors = [err11];
|
|
12352
12407
|
} else {
|
|
12353
|
-
vErrors.push(
|
|
12408
|
+
vErrors.push(err11);
|
|
12354
12409
|
}
|
|
12355
12410
|
errors++;
|
|
12356
12411
|
}
|
|
12357
12412
|
}
|
|
12358
12413
|
} else {
|
|
12359
|
-
const
|
|
12414
|
+
const err12 = {
|
|
12360
12415
|
instancePath: instancePath + "/field1",
|
|
12361
12416
|
schemaPath: "#/properties/field1/type",
|
|
12362
12417
|
keyword: "type",
|
|
@@ -12364,18 +12419,18 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
12364
12419
|
message: "must be object"
|
|
12365
12420
|
};
|
|
12366
12421
|
if (vErrors === null) {
|
|
12367
|
-
vErrors = [
|
|
12422
|
+
vErrors = [err12];
|
|
12368
12423
|
} else {
|
|
12369
|
-
vErrors.push(
|
|
12424
|
+
vErrors.push(err12);
|
|
12370
12425
|
}
|
|
12371
12426
|
errors++;
|
|
12372
12427
|
}
|
|
12373
12428
|
}
|
|
12374
12429
|
if (data.field2 !== void 0) {
|
|
12375
|
-
let
|
|
12376
|
-
if (
|
|
12377
|
-
if (
|
|
12378
|
-
const
|
|
12430
|
+
let data7 = data.field2;
|
|
12431
|
+
if (data7 && typeof data7 == "object" && !Array.isArray(data7)) {
|
|
12432
|
+
if (data7.name === void 0) {
|
|
12433
|
+
const err13 = {
|
|
12379
12434
|
instancePath: instancePath + "/field2",
|
|
12380
12435
|
schemaPath: "#/properties/field2/required",
|
|
12381
12436
|
keyword: "required",
|
|
@@ -12383,14 +12438,14 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
12383
12438
|
message: "must have required property 'name'"
|
|
12384
12439
|
};
|
|
12385
12440
|
if (vErrors === null) {
|
|
12386
|
-
vErrors = [
|
|
12441
|
+
vErrors = [err13];
|
|
12387
12442
|
} else {
|
|
12388
|
-
vErrors.push(
|
|
12443
|
+
vErrors.push(err13);
|
|
12389
12444
|
}
|
|
12390
12445
|
errors++;
|
|
12391
12446
|
}
|
|
12392
|
-
if (
|
|
12393
|
-
const
|
|
12447
|
+
if (data7.value === void 0) {
|
|
12448
|
+
const err14 = {
|
|
12394
12449
|
instancePath: instancePath + "/field2",
|
|
12395
12450
|
schemaPath: "#/properties/field2/required",
|
|
12396
12451
|
keyword: "required",
|
|
@@ -12398,15 +12453,15 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
12398
12453
|
message: "must have required property 'value'"
|
|
12399
12454
|
};
|
|
12400
12455
|
if (vErrors === null) {
|
|
12401
|
-
vErrors = [
|
|
12456
|
+
vErrors = [err14];
|
|
12402
12457
|
} else {
|
|
12403
|
-
vErrors.push(
|
|
12458
|
+
vErrors.push(err14);
|
|
12404
12459
|
}
|
|
12405
12460
|
errors++;
|
|
12406
12461
|
}
|
|
12407
|
-
if (
|
|
12408
|
-
if (typeof
|
|
12409
|
-
const
|
|
12462
|
+
if (data7.name !== void 0) {
|
|
12463
|
+
if (typeof data7.name !== "string") {
|
|
12464
|
+
const err15 = {
|
|
12410
12465
|
instancePath: instancePath + "/field2/name",
|
|
12411
12466
|
schemaPath: "#/properties/field2/properties/name/type",
|
|
12412
12467
|
keyword: "type",
|
|
@@ -12414,16 +12469,16 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
12414
12469
|
message: "must be string"
|
|
12415
12470
|
};
|
|
12416
12471
|
if (vErrors === null) {
|
|
12417
|
-
vErrors = [
|
|
12472
|
+
vErrors = [err15];
|
|
12418
12473
|
} else {
|
|
12419
|
-
vErrors.push(
|
|
12474
|
+
vErrors.push(err15);
|
|
12420
12475
|
}
|
|
12421
12476
|
errors++;
|
|
12422
12477
|
}
|
|
12423
12478
|
}
|
|
12424
|
-
if (
|
|
12425
|
-
if (typeof
|
|
12426
|
-
const
|
|
12479
|
+
if (data7.value !== void 0) {
|
|
12480
|
+
if (typeof data7.value !== "string") {
|
|
12481
|
+
const err16 = {
|
|
12427
12482
|
instancePath: instancePath + "/field2/value",
|
|
12428
12483
|
schemaPath: "#/properties/field2/properties/value/type",
|
|
12429
12484
|
keyword: "type",
|
|
@@ -12431,15 +12486,15 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
12431
12486
|
message: "must be string"
|
|
12432
12487
|
};
|
|
12433
12488
|
if (vErrors === null) {
|
|
12434
|
-
vErrors = [
|
|
12489
|
+
vErrors = [err16];
|
|
12435
12490
|
} else {
|
|
12436
|
-
vErrors.push(
|
|
12491
|
+
vErrors.push(err16);
|
|
12437
12492
|
}
|
|
12438
12493
|
errors++;
|
|
12439
12494
|
}
|
|
12440
12495
|
}
|
|
12441
12496
|
} else {
|
|
12442
|
-
const
|
|
12497
|
+
const err17 = {
|
|
12443
12498
|
instancePath: instancePath + "/field2",
|
|
12444
12499
|
schemaPath: "#/properties/field2/type",
|
|
12445
12500
|
keyword: "type",
|
|
@@ -12447,18 +12502,18 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
12447
12502
|
message: "must be object"
|
|
12448
12503
|
};
|
|
12449
12504
|
if (vErrors === null) {
|
|
12450
|
-
vErrors = [
|
|
12505
|
+
vErrors = [err17];
|
|
12451
12506
|
} else {
|
|
12452
|
-
vErrors.push(
|
|
12507
|
+
vErrors.push(err17);
|
|
12453
12508
|
}
|
|
12454
12509
|
errors++;
|
|
12455
12510
|
}
|
|
12456
12511
|
}
|
|
12457
12512
|
if (data.field3 !== void 0) {
|
|
12458
|
-
let
|
|
12459
|
-
if (
|
|
12460
|
-
if (
|
|
12461
|
-
const
|
|
12513
|
+
let data10 = data.field3;
|
|
12514
|
+
if (data10 && typeof data10 == "object" && !Array.isArray(data10)) {
|
|
12515
|
+
if (data10.name === void 0) {
|
|
12516
|
+
const err18 = {
|
|
12462
12517
|
instancePath: instancePath + "/field3",
|
|
12463
12518
|
schemaPath: "#/properties/field3/required",
|
|
12464
12519
|
keyword: "required",
|
|
@@ -12466,14 +12521,14 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
12466
12521
|
message: "must have required property 'name'"
|
|
12467
12522
|
};
|
|
12468
12523
|
if (vErrors === null) {
|
|
12469
|
-
vErrors = [
|
|
12524
|
+
vErrors = [err18];
|
|
12470
12525
|
} else {
|
|
12471
|
-
vErrors.push(
|
|
12526
|
+
vErrors.push(err18);
|
|
12472
12527
|
}
|
|
12473
12528
|
errors++;
|
|
12474
12529
|
}
|
|
12475
|
-
if (
|
|
12476
|
-
const
|
|
12530
|
+
if (data10.value === void 0) {
|
|
12531
|
+
const err19 = {
|
|
12477
12532
|
instancePath: instancePath + "/field3",
|
|
12478
12533
|
schemaPath: "#/properties/field3/required",
|
|
12479
12534
|
keyword: "required",
|
|
@@ -12481,15 +12536,15 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
12481
12536
|
message: "must have required property 'value'"
|
|
12482
12537
|
};
|
|
12483
12538
|
if (vErrors === null) {
|
|
12484
|
-
vErrors = [
|
|
12539
|
+
vErrors = [err19];
|
|
12485
12540
|
} else {
|
|
12486
|
-
vErrors.push(
|
|
12541
|
+
vErrors.push(err19);
|
|
12487
12542
|
}
|
|
12488
12543
|
errors++;
|
|
12489
12544
|
}
|
|
12490
|
-
if (
|
|
12491
|
-
if (typeof
|
|
12492
|
-
const
|
|
12545
|
+
if (data10.name !== void 0) {
|
|
12546
|
+
if (typeof data10.name !== "string") {
|
|
12547
|
+
const err20 = {
|
|
12493
12548
|
instancePath: instancePath + "/field3/name",
|
|
12494
12549
|
schemaPath: "#/properties/field3/properties/name/type",
|
|
12495
12550
|
keyword: "type",
|
|
@@ -12497,16 +12552,16 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
12497
12552
|
message: "must be string"
|
|
12498
12553
|
};
|
|
12499
12554
|
if (vErrors === null) {
|
|
12500
|
-
vErrors = [
|
|
12555
|
+
vErrors = [err20];
|
|
12501
12556
|
} else {
|
|
12502
|
-
vErrors.push(
|
|
12557
|
+
vErrors.push(err20);
|
|
12503
12558
|
}
|
|
12504
12559
|
errors++;
|
|
12505
12560
|
}
|
|
12506
12561
|
}
|
|
12507
|
-
if (
|
|
12508
|
-
if (typeof
|
|
12509
|
-
const
|
|
12562
|
+
if (data10.value !== void 0) {
|
|
12563
|
+
if (typeof data10.value !== "string") {
|
|
12564
|
+
const err21 = {
|
|
12510
12565
|
instancePath: instancePath + "/field3/value",
|
|
12511
12566
|
schemaPath: "#/properties/field3/properties/value/type",
|
|
12512
12567
|
keyword: "type",
|
|
@@ -12514,15 +12569,15 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
12514
12569
|
message: "must be string"
|
|
12515
12570
|
};
|
|
12516
12571
|
if (vErrors === null) {
|
|
12517
|
-
vErrors = [
|
|
12572
|
+
vErrors = [err21];
|
|
12518
12573
|
} else {
|
|
12519
|
-
vErrors.push(
|
|
12574
|
+
vErrors.push(err21);
|
|
12520
12575
|
}
|
|
12521
12576
|
errors++;
|
|
12522
12577
|
}
|
|
12523
12578
|
}
|
|
12524
12579
|
} else {
|
|
12525
|
-
const
|
|
12580
|
+
const err22 = {
|
|
12526
12581
|
instancePath: instancePath + "/field3",
|
|
12527
12582
|
schemaPath: "#/properties/field3/type",
|
|
12528
12583
|
keyword: "type",
|
|
@@ -12530,18 +12585,18 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
12530
12585
|
message: "must be object"
|
|
12531
12586
|
};
|
|
12532
12587
|
if (vErrors === null) {
|
|
12533
|
-
vErrors = [
|
|
12588
|
+
vErrors = [err22];
|
|
12534
12589
|
} else {
|
|
12535
|
-
vErrors.push(
|
|
12590
|
+
vErrors.push(err22);
|
|
12536
12591
|
}
|
|
12537
12592
|
errors++;
|
|
12538
12593
|
}
|
|
12539
12594
|
}
|
|
12540
12595
|
if (data.field4 !== void 0) {
|
|
12541
|
-
let
|
|
12542
|
-
if (
|
|
12543
|
-
if (
|
|
12544
|
-
const
|
|
12596
|
+
let data13 = data.field4;
|
|
12597
|
+
if (data13 && typeof data13 == "object" && !Array.isArray(data13)) {
|
|
12598
|
+
if (data13.name === void 0) {
|
|
12599
|
+
const err23 = {
|
|
12545
12600
|
instancePath: instancePath + "/field4",
|
|
12546
12601
|
schemaPath: "#/properties/field4/required",
|
|
12547
12602
|
keyword: "required",
|
|
@@ -12549,14 +12604,14 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
12549
12604
|
message: "must have required property 'name'"
|
|
12550
12605
|
};
|
|
12551
12606
|
if (vErrors === null) {
|
|
12552
|
-
vErrors = [
|
|
12607
|
+
vErrors = [err23];
|
|
12553
12608
|
} else {
|
|
12554
|
-
vErrors.push(
|
|
12609
|
+
vErrors.push(err23);
|
|
12555
12610
|
}
|
|
12556
12611
|
errors++;
|
|
12557
12612
|
}
|
|
12558
|
-
if (
|
|
12559
|
-
const
|
|
12613
|
+
if (data13.value === void 0) {
|
|
12614
|
+
const err24 = {
|
|
12560
12615
|
instancePath: instancePath + "/field4",
|
|
12561
12616
|
schemaPath: "#/properties/field4/required",
|
|
12562
12617
|
keyword: "required",
|
|
@@ -12564,15 +12619,15 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
12564
12619
|
message: "must have required property 'value'"
|
|
12565
12620
|
};
|
|
12566
12621
|
if (vErrors === null) {
|
|
12567
|
-
vErrors = [
|
|
12622
|
+
vErrors = [err24];
|
|
12568
12623
|
} else {
|
|
12569
|
-
vErrors.push(
|
|
12624
|
+
vErrors.push(err24);
|
|
12570
12625
|
}
|
|
12571
12626
|
errors++;
|
|
12572
12627
|
}
|
|
12573
|
-
if (
|
|
12574
|
-
if (typeof
|
|
12575
|
-
const
|
|
12628
|
+
if (data13.name !== void 0) {
|
|
12629
|
+
if (typeof data13.name !== "string") {
|
|
12630
|
+
const err25 = {
|
|
12576
12631
|
instancePath: instancePath + "/field4/name",
|
|
12577
12632
|
schemaPath: "#/properties/field4/properties/name/type",
|
|
12578
12633
|
keyword: "type",
|
|
@@ -12580,16 +12635,16 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
12580
12635
|
message: "must be string"
|
|
12581
12636
|
};
|
|
12582
12637
|
if (vErrors === null) {
|
|
12583
|
-
vErrors = [
|
|
12638
|
+
vErrors = [err25];
|
|
12584
12639
|
} else {
|
|
12585
|
-
vErrors.push(
|
|
12640
|
+
vErrors.push(err25);
|
|
12586
12641
|
}
|
|
12587
12642
|
errors++;
|
|
12588
12643
|
}
|
|
12589
12644
|
}
|
|
12590
|
-
if (
|
|
12591
|
-
if (typeof
|
|
12592
|
-
const
|
|
12645
|
+
if (data13.value !== void 0) {
|
|
12646
|
+
if (typeof data13.value !== "string") {
|
|
12647
|
+
const err26 = {
|
|
12593
12648
|
instancePath: instancePath + "/field4/value",
|
|
12594
12649
|
schemaPath: "#/properties/field4/properties/value/type",
|
|
12595
12650
|
keyword: "type",
|
|
@@ -12597,15 +12652,15 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
12597
12652
|
message: "must be string"
|
|
12598
12653
|
};
|
|
12599
12654
|
if (vErrors === null) {
|
|
12600
|
-
vErrors = [
|
|
12655
|
+
vErrors = [err26];
|
|
12601
12656
|
} else {
|
|
12602
|
-
vErrors.push(
|
|
12657
|
+
vErrors.push(err26);
|
|
12603
12658
|
}
|
|
12604
12659
|
errors++;
|
|
12605
12660
|
}
|
|
12606
12661
|
}
|
|
12607
12662
|
} else {
|
|
12608
|
-
const
|
|
12663
|
+
const err27 = {
|
|
12609
12664
|
instancePath: instancePath + "/field4",
|
|
12610
12665
|
schemaPath: "#/properties/field4/type",
|
|
12611
12666
|
keyword: "type",
|
|
@@ -12613,18 +12668,18 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
12613
12668
|
message: "must be object"
|
|
12614
12669
|
};
|
|
12615
12670
|
if (vErrors === null) {
|
|
12616
|
-
vErrors = [
|
|
12671
|
+
vErrors = [err27];
|
|
12617
12672
|
} else {
|
|
12618
|
-
vErrors.push(
|
|
12673
|
+
vErrors.push(err27);
|
|
12619
12674
|
}
|
|
12620
12675
|
errors++;
|
|
12621
12676
|
}
|
|
12622
12677
|
}
|
|
12623
12678
|
if (data.field5 !== void 0) {
|
|
12624
|
-
let
|
|
12625
|
-
if (
|
|
12626
|
-
if (
|
|
12627
|
-
const
|
|
12679
|
+
let data16 = data.field5;
|
|
12680
|
+
if (data16 && typeof data16 == "object" && !Array.isArray(data16)) {
|
|
12681
|
+
if (data16.name === void 0) {
|
|
12682
|
+
const err28 = {
|
|
12628
12683
|
instancePath: instancePath + "/field5",
|
|
12629
12684
|
schemaPath: "#/properties/field5/required",
|
|
12630
12685
|
keyword: "required",
|
|
@@ -12632,14 +12687,14 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
12632
12687
|
message: "must have required property 'name'"
|
|
12633
12688
|
};
|
|
12634
12689
|
if (vErrors === null) {
|
|
12635
|
-
vErrors = [
|
|
12690
|
+
vErrors = [err28];
|
|
12636
12691
|
} else {
|
|
12637
|
-
vErrors.push(
|
|
12692
|
+
vErrors.push(err28);
|
|
12638
12693
|
}
|
|
12639
12694
|
errors++;
|
|
12640
12695
|
}
|
|
12641
|
-
if (
|
|
12642
|
-
const
|
|
12696
|
+
if (data16.value === void 0) {
|
|
12697
|
+
const err29 = {
|
|
12643
12698
|
instancePath: instancePath + "/field5",
|
|
12644
12699
|
schemaPath: "#/properties/field5/required",
|
|
12645
12700
|
keyword: "required",
|
|
@@ -12647,15 +12702,15 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
12647
12702
|
message: "must have required property 'value'"
|
|
12648
12703
|
};
|
|
12649
12704
|
if (vErrors === null) {
|
|
12650
|
-
vErrors = [
|
|
12705
|
+
vErrors = [err29];
|
|
12651
12706
|
} else {
|
|
12652
|
-
vErrors.push(
|
|
12707
|
+
vErrors.push(err29);
|
|
12653
12708
|
}
|
|
12654
12709
|
errors++;
|
|
12655
12710
|
}
|
|
12656
|
-
if (
|
|
12657
|
-
if (typeof
|
|
12658
|
-
const
|
|
12711
|
+
if (data16.name !== void 0) {
|
|
12712
|
+
if (typeof data16.name !== "string") {
|
|
12713
|
+
const err30 = {
|
|
12659
12714
|
instancePath: instancePath + "/field5/name",
|
|
12660
12715
|
schemaPath: "#/properties/field5/properties/name/type",
|
|
12661
12716
|
keyword: "type",
|
|
@@ -12663,16 +12718,16 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
12663
12718
|
message: "must be string"
|
|
12664
12719
|
};
|
|
12665
12720
|
if (vErrors === null) {
|
|
12666
|
-
vErrors = [
|
|
12721
|
+
vErrors = [err30];
|
|
12667
12722
|
} else {
|
|
12668
|
-
vErrors.push(
|
|
12723
|
+
vErrors.push(err30);
|
|
12669
12724
|
}
|
|
12670
12725
|
errors++;
|
|
12671
12726
|
}
|
|
12672
12727
|
}
|
|
12673
|
-
if (
|
|
12674
|
-
if (typeof
|
|
12675
|
-
const
|
|
12728
|
+
if (data16.value !== void 0) {
|
|
12729
|
+
if (typeof data16.value !== "string") {
|
|
12730
|
+
const err31 = {
|
|
12676
12731
|
instancePath: instancePath + "/field5/value",
|
|
12677
12732
|
schemaPath: "#/properties/field5/properties/value/type",
|
|
12678
12733
|
keyword: "type",
|
|
@@ -12680,15 +12735,15 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
12680
12735
|
message: "must be string"
|
|
12681
12736
|
};
|
|
12682
12737
|
if (vErrors === null) {
|
|
12683
|
-
vErrors = [
|
|
12738
|
+
vErrors = [err31];
|
|
12684
12739
|
} else {
|
|
12685
|
-
vErrors.push(
|
|
12740
|
+
vErrors.push(err31);
|
|
12686
12741
|
}
|
|
12687
12742
|
errors++;
|
|
12688
12743
|
}
|
|
12689
12744
|
}
|
|
12690
12745
|
} else {
|
|
12691
|
-
const
|
|
12746
|
+
const err32 = {
|
|
12692
12747
|
instancePath: instancePath + "/field5",
|
|
12693
12748
|
schemaPath: "#/properties/field5/type",
|
|
12694
12749
|
keyword: "type",
|
|
@@ -12696,18 +12751,18 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
12696
12751
|
message: "must be object"
|
|
12697
12752
|
};
|
|
12698
12753
|
if (vErrors === null) {
|
|
12699
|
-
vErrors = [
|
|
12754
|
+
vErrors = [err32];
|
|
12700
12755
|
} else {
|
|
12701
|
-
vErrors.push(
|
|
12756
|
+
vErrors.push(err32);
|
|
12702
12757
|
}
|
|
12703
12758
|
errors++;
|
|
12704
12759
|
}
|
|
12705
12760
|
}
|
|
12706
12761
|
if (data.field6 !== void 0) {
|
|
12707
|
-
let
|
|
12708
|
-
if (
|
|
12709
|
-
if (
|
|
12710
|
-
const
|
|
12762
|
+
let data19 = data.field6;
|
|
12763
|
+
if (data19 && typeof data19 == "object" && !Array.isArray(data19)) {
|
|
12764
|
+
if (data19.name === void 0) {
|
|
12765
|
+
const err33 = {
|
|
12711
12766
|
instancePath: instancePath + "/field6",
|
|
12712
12767
|
schemaPath: "#/properties/field6/required",
|
|
12713
12768
|
keyword: "required",
|
|
@@ -12715,14 +12770,14 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
12715
12770
|
message: "must have required property 'name'"
|
|
12716
12771
|
};
|
|
12717
12772
|
if (vErrors === null) {
|
|
12718
|
-
vErrors = [
|
|
12773
|
+
vErrors = [err33];
|
|
12719
12774
|
} else {
|
|
12720
|
-
vErrors.push(
|
|
12775
|
+
vErrors.push(err33);
|
|
12721
12776
|
}
|
|
12722
12777
|
errors++;
|
|
12723
12778
|
}
|
|
12724
|
-
if (
|
|
12725
|
-
const
|
|
12779
|
+
if (data19.value === void 0) {
|
|
12780
|
+
const err34 = {
|
|
12726
12781
|
instancePath: instancePath + "/field6",
|
|
12727
12782
|
schemaPath: "#/properties/field6/required",
|
|
12728
12783
|
keyword: "required",
|
|
@@ -12730,15 +12785,15 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
12730
12785
|
message: "must have required property 'value'"
|
|
12731
12786
|
};
|
|
12732
12787
|
if (vErrors === null) {
|
|
12733
|
-
vErrors = [
|
|
12788
|
+
vErrors = [err34];
|
|
12734
12789
|
} else {
|
|
12735
|
-
vErrors.push(
|
|
12790
|
+
vErrors.push(err34);
|
|
12736
12791
|
}
|
|
12737
12792
|
errors++;
|
|
12738
12793
|
}
|
|
12739
|
-
if (
|
|
12740
|
-
if (typeof
|
|
12741
|
-
const
|
|
12794
|
+
if (data19.name !== void 0) {
|
|
12795
|
+
if (typeof data19.name !== "string") {
|
|
12796
|
+
const err35 = {
|
|
12742
12797
|
instancePath: instancePath + "/field6/name",
|
|
12743
12798
|
schemaPath: "#/properties/field6/properties/name/type",
|
|
12744
12799
|
keyword: "type",
|
|
@@ -12746,16 +12801,16 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
12746
12801
|
message: "must be string"
|
|
12747
12802
|
};
|
|
12748
12803
|
if (vErrors === null) {
|
|
12749
|
-
vErrors = [
|
|
12804
|
+
vErrors = [err35];
|
|
12750
12805
|
} else {
|
|
12751
|
-
vErrors.push(
|
|
12806
|
+
vErrors.push(err35);
|
|
12752
12807
|
}
|
|
12753
12808
|
errors++;
|
|
12754
12809
|
}
|
|
12755
12810
|
}
|
|
12756
|
-
if (
|
|
12757
|
-
if (typeof
|
|
12758
|
-
const
|
|
12811
|
+
if (data19.value !== void 0) {
|
|
12812
|
+
if (typeof data19.value !== "string") {
|
|
12813
|
+
const err36 = {
|
|
12759
12814
|
instancePath: instancePath + "/field6/value",
|
|
12760
12815
|
schemaPath: "#/properties/field6/properties/value/type",
|
|
12761
12816
|
keyword: "type",
|
|
@@ -12763,15 +12818,15 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
12763
12818
|
message: "must be string"
|
|
12764
12819
|
};
|
|
12765
12820
|
if (vErrors === null) {
|
|
12766
|
-
vErrors = [
|
|
12821
|
+
vErrors = [err36];
|
|
12767
12822
|
} else {
|
|
12768
|
-
vErrors.push(
|
|
12823
|
+
vErrors.push(err36);
|
|
12769
12824
|
}
|
|
12770
12825
|
errors++;
|
|
12771
12826
|
}
|
|
12772
12827
|
}
|
|
12773
12828
|
} else {
|
|
12774
|
-
const
|
|
12829
|
+
const err37 = {
|
|
12775
12830
|
instancePath: instancePath + "/field6",
|
|
12776
12831
|
schemaPath: "#/properties/field6/type",
|
|
12777
12832
|
keyword: "type",
|
|
@@ -12779,15 +12834,15 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
12779
12834
|
message: "must be object"
|
|
12780
12835
|
};
|
|
12781
12836
|
if (vErrors === null) {
|
|
12782
|
-
vErrors = [
|
|
12837
|
+
vErrors = [err37];
|
|
12783
12838
|
} else {
|
|
12784
|
-
vErrors.push(
|
|
12839
|
+
vErrors.push(err37);
|
|
12785
12840
|
}
|
|
12786
12841
|
errors++;
|
|
12787
12842
|
}
|
|
12788
12843
|
}
|
|
12789
12844
|
} else {
|
|
12790
|
-
const
|
|
12845
|
+
const err38 = {
|
|
12791
12846
|
instancePath,
|
|
12792
12847
|
schemaPath: "#/type",
|
|
12793
12848
|
keyword: "type",
|
|
@@ -12795,9 +12850,9 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
12795
12850
|
message: "must be object"
|
|
12796
12851
|
};
|
|
12797
12852
|
if (vErrors === null) {
|
|
12798
|
-
vErrors = [
|
|
12853
|
+
vErrors = [err38];
|
|
12799
12854
|
} else {
|
|
12800
|
-
vErrors.push(
|
|
12855
|
+
vErrors.push(err38);
|
|
12801
12856
|
}
|
|
12802
12857
|
errors++;
|
|
12803
12858
|
}
|
|
@@ -12807,7 +12862,7 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
12807
12862
|
__name(validate48, "validate48");
|
|
12808
12863
|
var validateMediaFile = validate15;
|
|
12809
12864
|
var validateMediaSource = validate49;
|
|
12810
|
-
var
|
|
12865
|
+
var schema122 = {
|
|
12811
12866
|
$schema: "http://json-schema.org/draft-07/schema",
|
|
12812
12867
|
$id: "mediaSource.json",
|
|
12813
12868
|
title: "Media Source",
|
|
@@ -13204,7 +13259,7 @@ function validate49(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
13204
13259
|
errors++;
|
|
13205
13260
|
}
|
|
13206
13261
|
for (const key0 in data) {
|
|
13207
|
-
if (!func5.call(
|
|
13262
|
+
if (!func5.call(schema122.properties, key0)) {
|
|
13208
13263
|
const err6 = {
|
|
13209
13264
|
instancePath,
|
|
13210
13265
|
schemaPath: "#/additionalProperties",
|
|
@@ -13295,7 +13350,7 @@ function validate49(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
13295
13350
|
instancePath: instancePath + "/type",
|
|
13296
13351
|
schemaPath: "#/properties/type/enum",
|
|
13297
13352
|
keyword: "enum",
|
|
13298
|
-
params: { allowedValues:
|
|
13353
|
+
params: { allowedValues: schema122.properties.type.enum },
|
|
13299
13354
|
message: "must be equal to one of the allowed values"
|
|
13300
13355
|
};
|
|
13301
13356
|
if (vErrors === null) {
|
|
@@ -13327,7 +13382,7 @@ function validate49(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
13327
13382
|
instancePath: instancePath + "/discriminator",
|
|
13328
13383
|
schemaPath: "#/properties/discriminator/enum",
|
|
13329
13384
|
keyword: "enum",
|
|
13330
|
-
params: { allowedValues:
|
|
13385
|
+
params: { allowedValues: schema122.properties.discriminator.enum },
|
|
13331
13386
|
message: "must be equal to one of the allowed values"
|
|
13332
13387
|
};
|
|
13333
13388
|
if (vErrors === null) {
|
|
@@ -13470,7 +13525,7 @@ function validate49(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
13470
13525
|
instancePath: instancePath + "/remote",
|
|
13471
13526
|
schemaPath: "#/properties/remote/enum",
|
|
13472
13527
|
keyword: "enum",
|
|
13473
|
-
params: { allowedValues:
|
|
13528
|
+
params: { allowedValues: schema122.properties.remote.enum },
|
|
13474
13529
|
message: "must be equal to one of the allowed values"
|
|
13475
13530
|
};
|
|
13476
13531
|
if (vErrors === null) {
|
|
@@ -13802,7 +13857,7 @@ function validate49(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
13802
13857
|
instancePath: instancePath + "/power",
|
|
13803
13858
|
schemaPath: "#/properties/power/enum",
|
|
13804
13859
|
keyword: "enum",
|
|
13805
|
-
params: { allowedValues:
|
|
13860
|
+
params: { allowedValues: schema122.properties.power.enum },
|
|
13806
13861
|
message: "must be equal to one of the allowed values"
|
|
13807
13862
|
};
|
|
13808
13863
|
if (vErrors === null) {
|
|
@@ -13911,7 +13966,7 @@ function validate49(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
13911
13966
|
instancePath: instancePath + "/command",
|
|
13912
13967
|
schemaPath: "#/properties/command/type",
|
|
13913
13968
|
keyword: "type",
|
|
13914
|
-
params: { type:
|
|
13969
|
+
params: { type: schema122.properties.command.type },
|
|
13915
13970
|
message: "must be string,null"
|
|
13916
13971
|
};
|
|
13917
13972
|
if (vErrors === null) {
|
|
@@ -13926,7 +13981,7 @@ function validate49(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
13926
13981
|
instancePath: instancePath + "/command",
|
|
13927
13982
|
schemaPath: "#/properties/command/enum",
|
|
13928
13983
|
keyword: "enum",
|
|
13929
|
-
params: { allowedValues:
|
|
13984
|
+
params: { allowedValues: schema122.properties.command.enum },
|
|
13930
13985
|
message: "must be equal to one of the allowed values"
|
|
13931
13986
|
};
|
|
13932
13987
|
if (vErrors === null) {
|
|
@@ -14149,7 +14204,7 @@ function validate49(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
14149
14204
|
}
|
|
14150
14205
|
__name(validate49, "validate49");
|
|
14151
14206
|
var validateMotionSensor = validate52;
|
|
14152
|
-
var
|
|
14207
|
+
var schema133 = {
|
|
14153
14208
|
$schema: "http://json-schema.org/draft-07/schema",
|
|
14154
14209
|
$id: "motionSensor.json",
|
|
14155
14210
|
title: "Motion Sensor",
|
|
@@ -14331,7 +14386,7 @@ function validate52(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
14331
14386
|
errors++;
|
|
14332
14387
|
}
|
|
14333
14388
|
for (const key0 in data) {
|
|
14334
|
-
if (!func5.call(
|
|
14389
|
+
if (!func5.call(schema133.properties, key0)) {
|
|
14335
14390
|
const err3 = {
|
|
14336
14391
|
instancePath,
|
|
14337
14392
|
schemaPath: "#/additionalProperties",
|
|
@@ -14679,7 +14734,7 @@ function validate52(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
14679
14734
|
}
|
|
14680
14735
|
__name(validate52, "validate52");
|
|
14681
14736
|
var validateOrder = validate55;
|
|
14682
|
-
var
|
|
14737
|
+
var schema142 = {
|
|
14683
14738
|
$schema: "http://json-schema.org/draft-07/schema",
|
|
14684
14739
|
$id: "order.json",
|
|
14685
14740
|
title: "Order",
|
|
@@ -14943,7 +14998,7 @@ function validate55(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
14943
14998
|
instancePath: instancePath + "/type",
|
|
14944
14999
|
schemaPath: "#/properties/type/enum",
|
|
14945
15000
|
keyword: "enum",
|
|
14946
|
-
params: { allowedValues:
|
|
15001
|
+
params: { allowedValues: schema142.properties.type.enum },
|
|
14947
15002
|
message: "must be equal to one of the allowed values"
|
|
14948
15003
|
};
|
|
14949
15004
|
if (vErrors === null) {
|
|
@@ -14992,7 +15047,7 @@ function validate55(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
14992
15047
|
instancePath: instancePath + "/status",
|
|
14993
15048
|
schemaPath: "#/properties/status/enum",
|
|
14994
15049
|
keyword: "enum",
|
|
14995
|
-
params: { allowedValues:
|
|
15050
|
+
params: { allowedValues: schema142.properties.status.enum },
|
|
14996
15051
|
message: "must be equal to one of the allowed values"
|
|
14997
15052
|
};
|
|
14998
15053
|
if (vErrors === null) {
|
|
@@ -15458,7 +15513,7 @@ function validate55(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
15458
15513
|
schemaPath: "#/properties/taxes/items/properties/rateType/enum",
|
|
15459
15514
|
keyword: "enum",
|
|
15460
15515
|
params: {
|
|
15461
|
-
allowedValues:
|
|
15516
|
+
allowedValues: schema142.properties.taxes.items.properties.rateType.enum
|
|
15462
15517
|
},
|
|
15463
15518
|
message: "must be equal to one of the allowed values"
|
|
15464
15519
|
};
|
|
@@ -15760,7 +15815,7 @@ function validate55(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
15760
15815
|
schemaPath: "#/properties/delivery/items/properties/rateType/enum",
|
|
15761
15816
|
keyword: "enum",
|
|
15762
15817
|
params: {
|
|
15763
|
-
allowedValues:
|
|
15818
|
+
allowedValues: schema142.properties.delivery.items.properties.rateType.enum
|
|
15764
15819
|
},
|
|
15765
15820
|
message: "must be equal to one of the allowed values"
|
|
15766
15821
|
};
|
|
@@ -15865,7 +15920,7 @@ function validate55(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
15865
15920
|
schemaPath: "#/properties/payments/items/properties/method/enum",
|
|
15866
15921
|
keyword: "enum",
|
|
15867
15922
|
params: {
|
|
15868
|
-
allowedValues:
|
|
15923
|
+
allowedValues: schema142.properties.payments.items.properties.method.enum
|
|
15869
15924
|
},
|
|
15870
15925
|
message: "must be equal to one of the allowed values"
|
|
15871
15926
|
};
|
|
@@ -16014,7 +16069,7 @@ function validate55(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
16014
16069
|
}
|
|
16015
16070
|
__name(validate55, "validate55");
|
|
16016
16071
|
var validateOrganization = validate56;
|
|
16017
|
-
var
|
|
16072
|
+
var schema148 = {
|
|
16018
16073
|
$schema: "http://json-schema.org/draft-07/schema",
|
|
16019
16074
|
$id: "organization.json",
|
|
16020
16075
|
title: "Organization",
|
|
@@ -16115,7 +16170,7 @@ var schema147 = {
|
|
|
16115
16170
|
}
|
|
16116
16171
|
};
|
|
16117
16172
|
var schema102 = { type: ["string", "object"], format: "date-time" };
|
|
16118
|
-
var
|
|
16173
|
+
var schema151 = { type: ["string", "object"], format: "date-time" };
|
|
16119
16174
|
function validate56(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
|
|
16120
16175
|
let vErrors = null;
|
|
16121
16176
|
let errors = 0;
|
|
@@ -16257,7 +16312,7 @@ function validate56(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
16257
16312
|
instancePath: instancePath + "/type",
|
|
16258
16313
|
schemaPath: "#/properties/type/enum",
|
|
16259
16314
|
keyword: "enum",
|
|
16260
|
-
params: { allowedValues:
|
|
16315
|
+
params: { allowedValues: schema148.properties.type.enum },
|
|
16261
16316
|
message: "must be equal to one of the allowed values"
|
|
16262
16317
|
};
|
|
16263
16318
|
if (vErrors === null) {
|
|
@@ -16274,7 +16329,7 @@ function validate56(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
16274
16329
|
instancePath: instancePath + "/accountNumber",
|
|
16275
16330
|
schemaPath: "#/properties/accountNumber/type",
|
|
16276
16331
|
keyword: "type",
|
|
16277
|
-
params: { type:
|
|
16332
|
+
params: { type: schema148.properties.accountNumber.type },
|
|
16278
16333
|
message: "must be number,null"
|
|
16279
16334
|
};
|
|
16280
16335
|
if (vErrors === null) {
|
|
@@ -16363,7 +16418,7 @@ function validate56(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
16363
16418
|
instancePath: instancePath + "/hostname",
|
|
16364
16419
|
schemaPath: "#/properties/hostname/type",
|
|
16365
16420
|
keyword: "type",
|
|
16366
|
-
params: { type:
|
|
16421
|
+
params: { type: schema148.properties.hostname.type },
|
|
16367
16422
|
message: "must be string,null"
|
|
16368
16423
|
};
|
|
16369
16424
|
if (vErrors === null) {
|
|
@@ -16506,7 +16561,7 @@ function validate56(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
16506
16561
|
schemaPath: "#/properties/appManifest/properties/display/enum",
|
|
16507
16562
|
keyword: "enum",
|
|
16508
16563
|
params: {
|
|
16509
|
-
allowedValues:
|
|
16564
|
+
allowedValues: schema148.properties.appManifest.properties.display.enum
|
|
16510
16565
|
},
|
|
16511
16566
|
message: "must be equal to one of the allowed values"
|
|
16512
16567
|
};
|
|
@@ -16539,7 +16594,7 @@ function validate56(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
16539
16594
|
schemaPath: "#/properties/appManifest/properties/orientation/enum",
|
|
16540
16595
|
keyword: "enum",
|
|
16541
16596
|
params: {
|
|
16542
|
-
allowedValues:
|
|
16597
|
+
allowedValues: schema148.properties.appManifest.properties.orientation.enum
|
|
16543
16598
|
},
|
|
16544
16599
|
message: "must be equal to one of the allowed values"
|
|
16545
16600
|
};
|
|
@@ -16808,7 +16863,7 @@ function validate56(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
16808
16863
|
schemaPath: "#/properties/tickets/properties/nextTicketNumber/type",
|
|
16809
16864
|
keyword: "type",
|
|
16810
16865
|
params: {
|
|
16811
|
-
type:
|
|
16866
|
+
type: schema148.properties.tickets.properties.nextTicketNumber.type
|
|
16812
16867
|
},
|
|
16813
16868
|
message: "must be string,integer"
|
|
16814
16869
|
};
|
|
@@ -16895,7 +16950,7 @@ function validate56(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
16895
16950
|
instancePath: instancePath + "/updatedAt",
|
|
16896
16951
|
schemaPath: "definitions.json#/definitions/updatedAt/type",
|
|
16897
16952
|
keyword: "type",
|
|
16898
|
-
params: { type:
|
|
16953
|
+
params: { type: schema151.type },
|
|
16899
16954
|
message: "must be string,object"
|
|
16900
16955
|
};
|
|
16901
16956
|
if (vErrors === null) {
|
|
@@ -16943,7 +16998,7 @@ function validate56(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
16943
16998
|
}
|
|
16944
16999
|
__name(validate56, "validate56");
|
|
16945
17000
|
var validatePayment = validate57;
|
|
16946
|
-
var
|
|
17001
|
+
var schema152 = {
|
|
16947
17002
|
$schema: "http://json-schema.org/draft-07/schema",
|
|
16948
17003
|
$id: "payment.json",
|
|
16949
17004
|
title: "Payment",
|
|
@@ -17103,7 +17158,7 @@ function validate57(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
17103
17158
|
instancePath: instancePath + "/type",
|
|
17104
17159
|
schemaPath: "#/properties/type/enum",
|
|
17105
17160
|
keyword: "enum",
|
|
17106
|
-
params: { allowedValues:
|
|
17161
|
+
params: { allowedValues: schema152.properties.type.enum },
|
|
17107
17162
|
message: "must be equal to one of the allowed values"
|
|
17108
17163
|
};
|
|
17109
17164
|
if (vErrors === null) {
|
|
@@ -17136,7 +17191,7 @@ function validate57(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
17136
17191
|
instancePath: instancePath + "/storageData",
|
|
17137
17192
|
schemaPath: "#/properties/storageData/type",
|
|
17138
17193
|
keyword: "type",
|
|
17139
|
-
params: { type:
|
|
17194
|
+
params: { type: schema152.properties.storageData.type },
|
|
17140
17195
|
message: "must be string,null"
|
|
17141
17196
|
};
|
|
17142
17197
|
if (vErrors === null) {
|
|
@@ -17154,7 +17209,7 @@ function validate57(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
17154
17209
|
instancePath: instancePath + "/issued",
|
|
17155
17210
|
schemaPath: "#/properties/issued/type",
|
|
17156
17211
|
keyword: "type",
|
|
17157
|
-
params: { type:
|
|
17212
|
+
params: { type: schema152.properties.issued.type },
|
|
17158
17213
|
message: "must be string,null"
|
|
17159
17214
|
};
|
|
17160
17215
|
if (vErrors === null) {
|
|
@@ -17202,7 +17257,7 @@ function validate57(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
17202
17257
|
}
|
|
17203
17258
|
__name(validate57, "validate57");
|
|
17204
17259
|
var validatePolicy = validate58;
|
|
17205
|
-
var
|
|
17260
|
+
var schema155 = {
|
|
17206
17261
|
$schema: "http://json-schema.org/draft-07/schema",
|
|
17207
17262
|
$id: "policy.json",
|
|
17208
17263
|
title: "Policy",
|
|
@@ -17413,7 +17468,7 @@ function validate58(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
17413
17468
|
instancePath: instancePath + "/type",
|
|
17414
17469
|
schemaPath: "#/properties/type/enum",
|
|
17415
17470
|
keyword: "enum",
|
|
17416
|
-
params: { allowedValues:
|
|
17471
|
+
params: { allowedValues: schema155.properties.type.enum },
|
|
17417
17472
|
message: "must be equal to one of the allowed values"
|
|
17418
17473
|
};
|
|
17419
17474
|
if (vErrors === null) {
|
|
@@ -17445,7 +17500,7 @@ function validate58(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
17445
17500
|
instancePath: instancePath + "/discriminator",
|
|
17446
17501
|
schemaPath: "#/properties/discriminator/enum",
|
|
17447
17502
|
keyword: "enum",
|
|
17448
|
-
params: { allowedValues:
|
|
17503
|
+
params: { allowedValues: schema155.properties.discriminator.enum },
|
|
17449
17504
|
message: "must be equal to one of the allowed values"
|
|
17450
17505
|
};
|
|
17451
17506
|
if (vErrors === null) {
|
|
@@ -17655,7 +17710,7 @@ function validate58(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
17655
17710
|
schemaPath: "#/properties/permissions/items/properties/effect/enum",
|
|
17656
17711
|
keyword: "enum",
|
|
17657
17712
|
params: {
|
|
17658
|
-
allowedValues:
|
|
17713
|
+
allowedValues: schema155.properties.permissions.items.properties.effect.enum
|
|
17659
17714
|
},
|
|
17660
17715
|
message: "must be equal to one of the allowed values"
|
|
17661
17716
|
};
|
|
@@ -17719,7 +17774,7 @@ function validate58(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
17719
17774
|
}
|
|
17720
17775
|
__name(validate58, "validate58");
|
|
17721
17776
|
var validateProduct = validate59;
|
|
17722
|
-
var
|
|
17777
|
+
var schema157 = {
|
|
17723
17778
|
$schema: "http://json-schema.org/draft-07/schema",
|
|
17724
17779
|
$id: "product.json",
|
|
17725
17780
|
title: "Product",
|
|
@@ -17867,7 +17922,7 @@ function validate59(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
17867
17922
|
instancePath: instancePath + "/type",
|
|
17868
17923
|
schemaPath: "#/properties/type/enum",
|
|
17869
17924
|
keyword: "enum",
|
|
17870
|
-
params: { allowedValues:
|
|
17925
|
+
params: { allowedValues: schema157.properties.type.enum },
|
|
17871
17926
|
message: "must be equal to one of the allowed values"
|
|
17872
17927
|
};
|
|
17873
17928
|
if (vErrors === null) {
|
|
@@ -17951,7 +18006,7 @@ function validate59(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
17951
18006
|
instancePath: instancePath + "/tax",
|
|
17952
18007
|
schemaPath: "#/properties/tax/type",
|
|
17953
18008
|
keyword: "type",
|
|
17954
|
-
params: { type:
|
|
18009
|
+
params: { type: schema157.properties.tax.type },
|
|
17955
18010
|
message: "must be number,null"
|
|
17956
18011
|
};
|
|
17957
18012
|
if (vErrors === null) {
|
|
@@ -18062,7 +18117,7 @@ function validate59(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
18062
18117
|
}
|
|
18063
18118
|
__name(validate59, "validate59");
|
|
18064
18119
|
var validateProperty = validate61;
|
|
18065
|
-
var
|
|
18120
|
+
var schema161 = {
|
|
18066
18121
|
$schema: "http://json-schema.org/draft-07/schema",
|
|
18067
18122
|
$id: "property.json",
|
|
18068
18123
|
title: "Property",
|
|
@@ -18552,7 +18607,7 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
18552
18607
|
instancePath: instancePath + "/type",
|
|
18553
18608
|
schemaPath: "#/properties/type/enum",
|
|
18554
18609
|
keyword: "enum",
|
|
18555
|
-
params: { allowedValues:
|
|
18610
|
+
params: { allowedValues: schema161.properties.type.enum },
|
|
18556
18611
|
message: "must be equal to one of the allowed values"
|
|
18557
18612
|
};
|
|
18558
18613
|
if (vErrors === null) {
|
|
@@ -18584,7 +18639,7 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
18584
18639
|
instancePath: instancePath + "/discriminator",
|
|
18585
18640
|
schemaPath: "#/properties/discriminator/enum",
|
|
18586
18641
|
keyword: "enum",
|
|
18587
|
-
params: { allowedValues:
|
|
18642
|
+
params: { allowedValues: schema161.properties.discriminator.enum },
|
|
18588
18643
|
message: "must be equal to one of the allowed values"
|
|
18589
18644
|
};
|
|
18590
18645
|
if (vErrors === null) {
|
|
@@ -18602,7 +18657,7 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
18602
18657
|
instancePath: instancePath + "/organization",
|
|
18603
18658
|
schemaPath: "#/properties/organization/type",
|
|
18604
18659
|
keyword: "type",
|
|
18605
|
-
params: { type:
|
|
18660
|
+
params: { type: schema161.properties.organization.type },
|
|
18606
18661
|
message: "must be string,null"
|
|
18607
18662
|
};
|
|
18608
18663
|
if (vErrors === null) {
|
|
@@ -19069,7 +19124,7 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
19069
19124
|
let data28 = data.appFeatures;
|
|
19070
19125
|
if (data28 && typeof data28 == "object" && !Array.isArray(data28)) {
|
|
19071
19126
|
for (const key0 in data28) {
|
|
19072
|
-
if (!func5.call(
|
|
19127
|
+
if (!func5.call(schema161.properties.appFeatures.properties, key0)) {
|
|
19073
19128
|
const err41 = {
|
|
19074
19129
|
instancePath: instancePath + "/appFeatures",
|
|
19075
19130
|
schemaPath: "#/properties/appFeatures/additionalProperties",
|
|
@@ -19135,7 +19190,7 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
19135
19190
|
schemaPath: "#/properties/appFeatures/properties/RoomControl/properties/disabledSystems/items/enum",
|
|
19136
19191
|
keyword: "enum",
|
|
19137
19192
|
params: {
|
|
19138
|
-
allowedValues:
|
|
19193
|
+
allowedValues: schema161.properties.appFeatures.properties.RoomControl.properties.disabledSystems.items.enum
|
|
19139
19194
|
},
|
|
19140
19195
|
message: "must be equal to one of the allowed values"
|
|
19141
19196
|
};
|
|
@@ -19690,7 +19745,7 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
19690
19745
|
schemaPath: "#/properties/appFeatures/properties/Concierge/properties/newMessageChannel/type",
|
|
19691
19746
|
keyword: "type",
|
|
19692
19747
|
params: {
|
|
19693
|
-
type:
|
|
19748
|
+
type: schema161.properties.appFeatures.properties.Concierge.properties.newMessageChannel.type
|
|
19694
19749
|
},
|
|
19695
19750
|
message: "must be string,null"
|
|
19696
19751
|
};
|
|
@@ -19707,7 +19762,7 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
19707
19762
|
schemaPath: "#/properties/appFeatures/properties/Concierge/properties/newMessageChannel/enum",
|
|
19708
19763
|
keyword: "enum",
|
|
19709
19764
|
params: {
|
|
19710
|
-
allowedValues:
|
|
19765
|
+
allowedValues: schema161.properties.appFeatures.properties.Concierge.properties.newMessageChannel.enum
|
|
19711
19766
|
},
|
|
19712
19767
|
message: "must be equal to one of the allowed values"
|
|
19713
19768
|
};
|
|
@@ -19948,7 +20003,7 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
19948
20003
|
schemaPath: "#/properties/appFeatures/properties/DigitalKey/properties/system/enum",
|
|
19949
20004
|
keyword: "enum",
|
|
19950
20005
|
params: {
|
|
19951
|
-
allowedValues:
|
|
20006
|
+
allowedValues: schema161.properties.appFeatures.properties.DigitalKey.properties.system.enum
|
|
19952
20007
|
},
|
|
19953
20008
|
message: "must be equal to one of the allowed values"
|
|
19954
20009
|
};
|
|
@@ -20412,7 +20467,7 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
20412
20467
|
schemaPath: "#/properties/appFeatures/properties/SOS/properties/activeEmergencies/items/enum",
|
|
20413
20468
|
keyword: "enum",
|
|
20414
20469
|
params: {
|
|
20415
|
-
allowedValues:
|
|
20470
|
+
allowedValues: schema161.properties.appFeatures.properties.SOS.properties.activeEmergencies.items.enum
|
|
20416
20471
|
},
|
|
20417
20472
|
message: "must be equal to one of the allowed values"
|
|
20418
20473
|
};
|
|
@@ -20482,7 +20537,7 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
20482
20537
|
schemaPath: "#/properties/appFeatures/properties/Dining/properties/system/enum",
|
|
20483
20538
|
keyword: "enum",
|
|
20484
20539
|
params: {
|
|
20485
|
-
allowedValues:
|
|
20540
|
+
allowedValues: schema161.properties.appFeatures.properties.Dining.properties.system.enum
|
|
20486
20541
|
},
|
|
20487
20542
|
message: "must be equal to one of the allowed values"
|
|
20488
20543
|
};
|
|
@@ -20843,7 +20898,7 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
20843
20898
|
}
|
|
20844
20899
|
__name(validate61, "validate61");
|
|
20845
20900
|
var validateReservation = validate63;
|
|
20846
|
-
var
|
|
20901
|
+
var schema164 = {
|
|
20847
20902
|
$schema: "http://json-schema.org/draft-07/schema",
|
|
20848
20903
|
$id: "reservation.json",
|
|
20849
20904
|
title: "Reservation",
|
|
@@ -20925,7 +20980,7 @@ var schema163 = {
|
|
|
20925
20980
|
updatedAt: { $ref: "definitions.json#/definitions/updatedAt" }
|
|
20926
20981
|
}
|
|
20927
20982
|
};
|
|
20928
|
-
var
|
|
20983
|
+
var schema167 = {
|
|
20929
20984
|
type: "array",
|
|
20930
20985
|
items: {
|
|
20931
20986
|
type: "object",
|
|
@@ -21075,7 +21130,7 @@ function validate64(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
21075
21130
|
instancePath: instancePath + "/" + i0 + "/tax",
|
|
21076
21131
|
schemaPath: "#/items/properties/tax/type",
|
|
21077
21132
|
keyword: "type",
|
|
21078
|
-
params: { type:
|
|
21133
|
+
params: { type: schema167.items.properties.tax.type },
|
|
21079
21134
|
message: "must be number,null"
|
|
21080
21135
|
};
|
|
21081
21136
|
if (vErrors === null) {
|
|
@@ -21322,7 +21377,7 @@ function validate63(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
21322
21377
|
instancePath: instancePath + "/type",
|
|
21323
21378
|
schemaPath: "#/properties/type/enum",
|
|
21324
21379
|
keyword: "enum",
|
|
21325
|
-
params: { allowedValues:
|
|
21380
|
+
params: { allowedValues: schema164.properties.type.enum },
|
|
21326
21381
|
message: "must be equal to one of the allowed values"
|
|
21327
21382
|
};
|
|
21328
21383
|
if (vErrors === null) {
|
|
@@ -21393,7 +21448,7 @@ function validate63(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
21393
21448
|
instancePath: instancePath + "/space",
|
|
21394
21449
|
schemaPath: "#/properties/space/type",
|
|
21395
21450
|
keyword: "type",
|
|
21396
|
-
params: { type:
|
|
21451
|
+
params: { type: schema164.properties.space.type },
|
|
21397
21452
|
message: "must be string,null"
|
|
21398
21453
|
};
|
|
21399
21454
|
if (vErrors === null) {
|
|
@@ -21410,7 +21465,7 @@ function validate63(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
21410
21465
|
instancePath: instancePath + "/previousSpace",
|
|
21411
21466
|
schemaPath: "#/properties/previousSpace/type",
|
|
21412
21467
|
keyword: "type",
|
|
21413
|
-
params: { type:
|
|
21468
|
+
params: { type: schema164.properties.previousSpace.type },
|
|
21414
21469
|
message: "must be string,null"
|
|
21415
21470
|
};
|
|
21416
21471
|
if (vErrors === null) {
|
|
@@ -21442,7 +21497,7 @@ function validate63(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
21442
21497
|
instancePath: instancePath + "/status",
|
|
21443
21498
|
schemaPath: "#/properties/status/enum",
|
|
21444
21499
|
keyword: "enum",
|
|
21445
|
-
params: { allowedValues:
|
|
21500
|
+
params: { allowedValues: schema164.properties.status.enum },
|
|
21446
21501
|
message: "must be equal to one of the allowed values"
|
|
21447
21502
|
};
|
|
21448
21503
|
if (vErrors === null) {
|
|
@@ -21510,7 +21565,7 @@ function validate63(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
21510
21565
|
schemaPath: "#/properties/mobileCheckInStatus/enum",
|
|
21511
21566
|
keyword: "enum",
|
|
21512
21567
|
params: {
|
|
21513
|
-
allowedValues:
|
|
21568
|
+
allowedValues: schema164.properties.mobileCheckInStatus.enum
|
|
21514
21569
|
},
|
|
21515
21570
|
message: "must be equal to one of the allowed values"
|
|
21516
21571
|
};
|
|
@@ -21563,7 +21618,7 @@ function validate63(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
21563
21618
|
instancePath: instancePath + "/expectedCheckInDateTime",
|
|
21564
21619
|
schemaPath: "#/properties/expectedCheckInDateTime/type",
|
|
21565
21620
|
keyword: "type",
|
|
21566
|
-
params: { type:
|
|
21621
|
+
params: { type: schema164.properties.expectedCheckInDateTime.type },
|
|
21567
21622
|
message: "must be string,object"
|
|
21568
21623
|
};
|
|
21569
21624
|
if (vErrors === null) {
|
|
@@ -21598,7 +21653,7 @@ function validate63(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
21598
21653
|
instancePath: instancePath + "/checkInDateTime",
|
|
21599
21654
|
schemaPath: "#/properties/checkInDateTime/type",
|
|
21600
21655
|
keyword: "type",
|
|
21601
|
-
params: { type:
|
|
21656
|
+
params: { type: schema164.properties.checkInDateTime.type },
|
|
21602
21657
|
message: "must be string,object"
|
|
21603
21658
|
};
|
|
21604
21659
|
if (vErrors === null) {
|
|
@@ -21633,7 +21688,7 @@ function validate63(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
21633
21688
|
instancePath: instancePath + "/checkOutDateTime",
|
|
21634
21689
|
schemaPath: "#/properties/checkOutDateTime/type",
|
|
21635
21690
|
keyword: "type",
|
|
21636
|
-
params: { type:
|
|
21691
|
+
params: { type: schema164.properties.checkOutDateTime.type },
|
|
21637
21692
|
message: "must be string,object"
|
|
21638
21693
|
};
|
|
21639
21694
|
if (vErrors === null) {
|
|
@@ -21772,7 +21827,7 @@ function validate63(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
21772
21827
|
schemaPath: "#/properties/spaceCategoryAvailabilites/items/properties/unit/enum",
|
|
21773
21828
|
keyword: "enum",
|
|
21774
21829
|
params: {
|
|
21775
|
-
allowedValues:
|
|
21830
|
+
allowedValues: schema164.properties.spaceCategoryAvailabilites.items.properties.unit.enum
|
|
21776
21831
|
},
|
|
21777
21832
|
message: "must be equal to one of the allowed values"
|
|
21778
21833
|
};
|
|
@@ -21936,7 +21991,7 @@ function validate63(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
21936
21991
|
instancePath: instancePath + "/updatedAt",
|
|
21937
21992
|
schemaPath: "definitions.json#/definitions/updatedAt/type",
|
|
21938
21993
|
keyword: "type",
|
|
21939
|
-
params: { type:
|
|
21994
|
+
params: { type: schema151.type },
|
|
21940
21995
|
message: "must be string,object"
|
|
21941
21996
|
};
|
|
21942
21997
|
if (vErrors === null) {
|
|
@@ -21984,7 +22039,7 @@ function validate63(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
21984
22039
|
}
|
|
21985
22040
|
__name(validate63, "validate63");
|
|
21986
22041
|
var validateRoom = validate66;
|
|
21987
|
-
var
|
|
22042
|
+
var schema171 = {
|
|
21988
22043
|
$schema: "http://json-schema.org/draft-07/schema",
|
|
21989
22044
|
$id: "room.json",
|
|
21990
22045
|
title: "Room",
|
|
@@ -22028,7 +22083,7 @@ var schema170 = {
|
|
|
22028
22083
|
},
|
|
22029
22084
|
additionalProperties: false
|
|
22030
22085
|
};
|
|
22031
|
-
var
|
|
22086
|
+
var schema173 = {
|
|
22032
22087
|
$schema: "http://json-schema.org/draft-07/schema",
|
|
22033
22088
|
$id: "switch.json",
|
|
22034
22089
|
title: "Switch",
|
|
@@ -22353,7 +22408,7 @@ function validate68(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
22353
22408
|
instancePath: instancePath + "/discriminator",
|
|
22354
22409
|
schemaPath: "#/properties/discriminator/enum",
|
|
22355
22410
|
keyword: "enum",
|
|
22356
|
-
params: { allowedValues:
|
|
22411
|
+
params: { allowedValues: schema173.properties.discriminator.enum },
|
|
22357
22412
|
message: "must be equal to one of the allowed values"
|
|
22358
22413
|
};
|
|
22359
22414
|
if (vErrors === null) {
|
|
@@ -22509,7 +22564,7 @@ function validate68(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
22509
22564
|
instancePath: instancePath + "/state",
|
|
22510
22565
|
schemaPath: "#/properties/state/enum",
|
|
22511
22566
|
keyword: "enum",
|
|
22512
|
-
params: { allowedValues:
|
|
22567
|
+
params: { allowedValues: schema173.properties.state.enum },
|
|
22513
22568
|
message: "must be equal to one of the allowed values"
|
|
22514
22569
|
};
|
|
22515
22570
|
if (vErrors === null) {
|
|
@@ -22658,7 +22713,7 @@ function validate68(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
22658
22713
|
return errors === 0;
|
|
22659
22714
|
}
|
|
22660
22715
|
__name(validate68, "validate68");
|
|
22661
|
-
var
|
|
22716
|
+
var schema182 = {
|
|
22662
22717
|
$schema: "http://json-schema.org/draft-07/schema",
|
|
22663
22718
|
$id: "thermostat.json",
|
|
22664
22719
|
title: "Thermostat",
|
|
@@ -22752,8 +22807,8 @@ var schema181 = {
|
|
|
22752
22807
|
"driver"
|
|
22753
22808
|
]
|
|
22754
22809
|
};
|
|
22755
|
-
var
|
|
22756
|
-
var
|
|
22810
|
+
var schema190 = { enum: ["cool", "heat", "auto", "off"] };
|
|
22811
|
+
var schema191 = { enum: ["auto", "low", "medium", "high", "off", "on"] };
|
|
22757
22812
|
function validate73(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
|
|
22758
22813
|
let vErrors = null;
|
|
22759
22814
|
let errors = 0;
|
|
@@ -22862,7 +22917,7 @@ function validate73(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
22862
22917
|
return errors === 0;
|
|
22863
22918
|
}
|
|
22864
22919
|
__name(validate73, "validate73");
|
|
22865
|
-
var
|
|
22920
|
+
var schema194 = { type: ["number", "null"], minimum: 0, maximum: 99 };
|
|
22866
22921
|
function validate75(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
|
|
22867
22922
|
let vErrors = null;
|
|
22868
22923
|
let errors = 0;
|
|
@@ -22940,7 +22995,7 @@ function validate75(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
22940
22995
|
instancePath: instancePath + "/min",
|
|
22941
22996
|
schemaPath: "#/$defs/setpointMinMax/type",
|
|
22942
22997
|
keyword: "type",
|
|
22943
|
-
params: { type:
|
|
22998
|
+
params: { type: schema194.type },
|
|
22944
22999
|
message: "must be number,null"
|
|
22945
23000
|
};
|
|
22946
23001
|
if (vErrors === null) {
|
|
@@ -22990,7 +23045,7 @@ function validate75(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
22990
23045
|
instancePath: instancePath + "/max",
|
|
22991
23046
|
schemaPath: "#/$defs/setpointMinMax/type",
|
|
22992
23047
|
keyword: "type",
|
|
22993
|
-
params: { type:
|
|
23048
|
+
params: { type: schema194.type },
|
|
22994
23049
|
message: "must be number,null"
|
|
22995
23050
|
};
|
|
22996
23051
|
if (vErrors === null) {
|
|
@@ -23528,7 +23583,7 @@ function validate72(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
23528
23583
|
instancePath: instancePath + "/hvacMode",
|
|
23529
23584
|
schemaPath: "#/properties/supportedHvacModes/items/enum",
|
|
23530
23585
|
keyword: "enum",
|
|
23531
|
-
params: { allowedValues:
|
|
23586
|
+
params: { allowedValues: schema190.enum },
|
|
23532
23587
|
message: "must be equal to one of the allowed values"
|
|
23533
23588
|
};
|
|
23534
23589
|
if (vErrors === null) {
|
|
@@ -23546,7 +23601,7 @@ function validate72(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
23546
23601
|
instancePath: instancePath + "/hvacState",
|
|
23547
23602
|
schemaPath: "#/properties/hvacState/type",
|
|
23548
23603
|
keyword: "type",
|
|
23549
|
-
params: { type:
|
|
23604
|
+
params: { type: schema182.properties.hvacState.type },
|
|
23550
23605
|
message: "must be string,null"
|
|
23551
23606
|
};
|
|
23552
23607
|
if (vErrors === null) {
|
|
@@ -23561,7 +23616,7 @@ function validate72(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
23561
23616
|
instancePath: instancePath + "/hvacState",
|
|
23562
23617
|
schemaPath: "#/properties/hvacState/enum",
|
|
23563
23618
|
keyword: "enum",
|
|
23564
|
-
params: { allowedValues:
|
|
23619
|
+
params: { allowedValues: schema182.properties.hvacState.enum },
|
|
23565
23620
|
message: "must be equal to one of the allowed values"
|
|
23566
23621
|
};
|
|
23567
23622
|
if (vErrors === null) {
|
|
@@ -23594,7 +23649,7 @@ function validate72(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
23594
23649
|
instancePath: instancePath + "/fanMode",
|
|
23595
23650
|
schemaPath: "#/properties/supportedFanModes/items/enum",
|
|
23596
23651
|
keyword: "enum",
|
|
23597
|
-
params: { allowedValues:
|
|
23652
|
+
params: { allowedValues: schema191.enum },
|
|
23598
23653
|
message: "must be equal to one of the allowed values"
|
|
23599
23654
|
};
|
|
23600
23655
|
if (vErrors === null) {
|
|
@@ -23612,7 +23667,7 @@ function validate72(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
23612
23667
|
instancePath: instancePath + "/fanState",
|
|
23613
23668
|
schemaPath: "#/properties/fanState/type",
|
|
23614
23669
|
keyword: "type",
|
|
23615
|
-
params: { type:
|
|
23670
|
+
params: { type: schema182.properties.fanState.type },
|
|
23616
23671
|
message: "must be string,null"
|
|
23617
23672
|
};
|
|
23618
23673
|
if (vErrors === null) {
|
|
@@ -23627,7 +23682,7 @@ function validate72(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
23627
23682
|
instancePath: instancePath + "/fanState",
|
|
23628
23683
|
schemaPath: "#/properties/fanState/enum",
|
|
23629
23684
|
keyword: "enum",
|
|
23630
|
-
params: { allowedValues:
|
|
23685
|
+
params: { allowedValues: schema182.properties.fanState.enum },
|
|
23631
23686
|
message: "must be equal to one of the allowed values"
|
|
23632
23687
|
};
|
|
23633
23688
|
if (vErrors === null) {
|
|
@@ -23659,7 +23714,7 @@ function validate72(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
23659
23714
|
instancePath: instancePath + "/temperatureScale",
|
|
23660
23715
|
schemaPath: "#/properties/temperatureScale/enum",
|
|
23661
23716
|
keyword: "enum",
|
|
23662
|
-
params: { allowedValues:
|
|
23717
|
+
params: { allowedValues: schema182.properties.temperatureScale.enum },
|
|
23663
23718
|
message: "must be equal to one of the allowed values"
|
|
23664
23719
|
};
|
|
23665
23720
|
if (vErrors === null) {
|
|
@@ -23676,7 +23731,7 @@ function validate72(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
23676
23731
|
instancePath: instancePath + "/humidityScale",
|
|
23677
23732
|
schemaPath: "#/properties/humidityScale/type",
|
|
23678
23733
|
keyword: "type",
|
|
23679
|
-
params: { type:
|
|
23734
|
+
params: { type: schema182.properties.humidityScale.type },
|
|
23680
23735
|
message: "must be string,null"
|
|
23681
23736
|
};
|
|
23682
23737
|
if (vErrors === null) {
|
|
@@ -23691,7 +23746,7 @@ function validate72(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
23691
23746
|
instancePath: instancePath + "/humidityScale",
|
|
23692
23747
|
schemaPath: "#/properties/humidityScale/enum",
|
|
23693
23748
|
keyword: "enum",
|
|
23694
|
-
params: { allowedValues:
|
|
23749
|
+
params: { allowedValues: schema182.properties.humidityScale.enum },
|
|
23695
23750
|
message: "must be equal to one of the allowed values"
|
|
23696
23751
|
};
|
|
23697
23752
|
if (vErrors === null) {
|
|
@@ -23729,7 +23784,7 @@ function validate72(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
23729
23784
|
schemaPath: "#/properties/supportedHvacModes/items/enum",
|
|
23730
23785
|
keyword: "enum",
|
|
23731
23786
|
params: {
|
|
23732
|
-
allowedValues:
|
|
23787
|
+
allowedValues: schema182.properties.supportedHvacModes.items.enum
|
|
23733
23788
|
},
|
|
23734
23789
|
message: "must be equal to one of the allowed values"
|
|
23735
23790
|
};
|
|
@@ -23793,7 +23848,7 @@ function validate72(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
23793
23848
|
schemaPath: "#/properties/supportedFanModes/items/enum",
|
|
23794
23849
|
keyword: "enum",
|
|
23795
23850
|
params: {
|
|
23796
|
-
allowedValues:
|
|
23851
|
+
allowedValues: schema182.properties.supportedFanModes.items.enum
|
|
23797
23852
|
},
|
|
23798
23853
|
message: "must be equal to one of the allowed values"
|
|
23799
23854
|
};
|
|
@@ -24133,7 +24188,7 @@ function validate72(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
24133
24188
|
return errors === 0;
|
|
24134
24189
|
}
|
|
24135
24190
|
__name(validate72, "validate72");
|
|
24136
|
-
var
|
|
24191
|
+
var schema199 = {
|
|
24137
24192
|
$schema: "http://json-schema.org/draft-07/schema",
|
|
24138
24193
|
$id: "windowCovering.json",
|
|
24139
24194
|
title: "Window Covering",
|
|
@@ -24468,7 +24523,7 @@ function validate81(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
24468
24523
|
instancePath: instancePath + "/discriminator",
|
|
24469
24524
|
schemaPath: "#/properties/discriminator/enum",
|
|
24470
24525
|
keyword: "enum",
|
|
24471
|
-
params: { allowedValues:
|
|
24526
|
+
params: { allowedValues: schema199.properties.discriminator.enum },
|
|
24472
24527
|
message: "must be equal to one of the allowed values"
|
|
24473
24528
|
};
|
|
24474
24529
|
if (vErrors === null) {
|
|
@@ -24608,7 +24663,7 @@ function validate81(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
24608
24663
|
instancePath: instancePath + "/position",
|
|
24609
24664
|
schemaPath: "#/properties/position/type",
|
|
24610
24665
|
keyword: "type",
|
|
24611
|
-
params: { type:
|
|
24666
|
+
params: { type: schema199.properties.position.type },
|
|
24612
24667
|
message: "must be number,null"
|
|
24613
24668
|
};
|
|
24614
24669
|
if (vErrors === null) {
|
|
@@ -24857,7 +24912,7 @@ function validate66(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
24857
24912
|
errors++;
|
|
24858
24913
|
}
|
|
24859
24914
|
for (const key0 in data) {
|
|
24860
|
-
if (!func5.call(
|
|
24915
|
+
if (!func5.call(schema171.properties, key0)) {
|
|
24861
24916
|
const err2 = {
|
|
24862
24917
|
instancePath,
|
|
24863
24918
|
schemaPath: "#/additionalProperties",
|
|
@@ -24948,7 +25003,7 @@ function validate66(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
24948
25003
|
instancePath: instancePath + "/type",
|
|
24949
25004
|
schemaPath: "#/properties/type/enum",
|
|
24950
25005
|
keyword: "enum",
|
|
24951
|
-
params: { allowedValues:
|
|
25006
|
+
params: { allowedValues: schema171.properties.type.enum },
|
|
24952
25007
|
message: "must be equal to one of the allowed values"
|
|
24953
25008
|
};
|
|
24954
25009
|
if (vErrors === null) {
|
|
@@ -25359,7 +25414,7 @@ function validate66(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
25359
25414
|
instancePath: instancePath + "/updatedAt",
|
|
25360
25415
|
schemaPath: "definitions.json#/definitions/updatedAt/type",
|
|
25361
25416
|
keyword: "type",
|
|
25362
|
-
params: { type:
|
|
25417
|
+
params: { type: schema151.type },
|
|
25363
25418
|
message: "must be string,object"
|
|
25364
25419
|
};
|
|
25365
25420
|
if (vErrors === null) {
|
|
@@ -25407,7 +25462,7 @@ function validate66(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
25407
25462
|
}
|
|
25408
25463
|
__name(validate66, "validate66");
|
|
25409
25464
|
var validateScene = validate90;
|
|
25410
|
-
var
|
|
25465
|
+
var schema211 = {
|
|
25411
25466
|
$schema: "http://json-schema.org/draft-07/schema",
|
|
25412
25467
|
$id: "scene.json",
|
|
25413
25468
|
title: "Scene",
|
|
@@ -25499,14 +25554,14 @@ var schema210 = {
|
|
|
25499
25554
|
required: ["id", "name", "type"],
|
|
25500
25555
|
additionalProperties: false
|
|
25501
25556
|
};
|
|
25502
|
-
var
|
|
25503
|
-
var
|
|
25504
|
-
var
|
|
25505
|
-
var
|
|
25557
|
+
var schema214 = { type: "string", enum: ["on", "off"] };
|
|
25558
|
+
var schema216 = { type: ["number", "null"], minimum: 0, maximum: 100 };
|
|
25559
|
+
var schema218 = { type: ["number", "null"], minimum: 0, maximum: 100 };
|
|
25560
|
+
var schema227 = {
|
|
25506
25561
|
type: ["string", "null"],
|
|
25507
25562
|
enum: ["locked", "unlocked", null]
|
|
25508
25563
|
};
|
|
25509
|
-
var
|
|
25564
|
+
var schema228 = {
|
|
25510
25565
|
type: ["string", "null"],
|
|
25511
25566
|
enum: [
|
|
25512
25567
|
"normal",
|
|
@@ -25543,7 +25598,7 @@ function validate91(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
25543
25598
|
instancePath,
|
|
25544
25599
|
schemaPath: "#/properties/supportedHvacModes/items/enum",
|
|
25545
25600
|
keyword: "enum",
|
|
25546
|
-
params: { allowedValues:
|
|
25601
|
+
params: { allowedValues: schema190.enum },
|
|
25547
25602
|
message: "must be equal to one of the allowed values"
|
|
25548
25603
|
};
|
|
25549
25604
|
if (vErrors === null) {
|
|
@@ -25653,7 +25708,7 @@ function validate98(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
25653
25708
|
instancePath,
|
|
25654
25709
|
schemaPath: "#/properties/supportedFanModes/items/enum",
|
|
25655
25710
|
keyword: "enum",
|
|
25656
|
-
params: { allowedValues:
|
|
25711
|
+
params: { allowedValues: schema191.enum },
|
|
25657
25712
|
message: "must be equal to one of the allowed values"
|
|
25658
25713
|
};
|
|
25659
25714
|
if (vErrors === null) {
|
|
@@ -25851,7 +25906,7 @@ function validate90(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
25851
25906
|
instancePath: instancePath + "/type",
|
|
25852
25907
|
schemaPath: "#/properties/type/enum",
|
|
25853
25908
|
keyword: "enum",
|
|
25854
|
-
params: { allowedValues:
|
|
25909
|
+
params: { allowedValues: schema211.properties.type.enum },
|
|
25855
25910
|
message: "must be equal to one of the allowed values"
|
|
25856
25911
|
};
|
|
25857
25912
|
if (vErrors === null) {
|
|
@@ -25973,7 +26028,7 @@ function validate90(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
25973
26028
|
instancePath: instancePath + "/devices/switches/" + i0 + "/state",
|
|
25974
26029
|
schemaPath: "switch.json#/properties/state/enum",
|
|
25975
26030
|
keyword: "enum",
|
|
25976
|
-
params: { allowedValues:
|
|
26031
|
+
params: { allowedValues: schema214.enum },
|
|
25977
26032
|
message: "must be equal to one of the allowed values"
|
|
25978
26033
|
};
|
|
25979
26034
|
if (vErrors === null) {
|
|
@@ -26083,7 +26138,7 @@ function validate90(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
26083
26138
|
instancePath: instancePath + "/devices/dimmers/" + i1 + "/level",
|
|
26084
26139
|
schemaPath: "dimmer.json#/properties/level/type",
|
|
26085
26140
|
keyword: "type",
|
|
26086
|
-
params: { type:
|
|
26141
|
+
params: { type: schema216.type },
|
|
26087
26142
|
message: "must be number,null"
|
|
26088
26143
|
};
|
|
26089
26144
|
if (vErrors === null) {
|
|
@@ -26224,7 +26279,7 @@ function validate90(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
26224
26279
|
instancePath: instancePath + "/devices/windowCoverings/" + i2 + "/position",
|
|
26225
26280
|
schemaPath: "windowCovering.json#/properties/position/type",
|
|
26226
26281
|
keyword: "type",
|
|
26227
|
-
params: { type:
|
|
26282
|
+
params: { type: schema218.type },
|
|
26228
26283
|
message: "must be number,null"
|
|
26229
26284
|
};
|
|
26230
26285
|
if (vErrors === null) {
|
|
@@ -26686,7 +26741,7 @@ function validate90(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
26686
26741
|
instancePath: instancePath + "/devices/locks/" + i6 + "/state",
|
|
26687
26742
|
schemaPath: "lock.json#/properties/state/type",
|
|
26688
26743
|
keyword: "type",
|
|
26689
|
-
params: { type:
|
|
26744
|
+
params: { type: schema227.type },
|
|
26690
26745
|
message: "must be string,null"
|
|
26691
26746
|
};
|
|
26692
26747
|
if (vErrors === null) {
|
|
@@ -26701,7 +26756,7 @@ function validate90(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
26701
26756
|
instancePath: instancePath + "/devices/locks/" + i6 + "/state",
|
|
26702
26757
|
schemaPath: "lock.json#/properties/state/enum",
|
|
26703
26758
|
keyword: "enum",
|
|
26704
|
-
params: { allowedValues:
|
|
26759
|
+
params: { allowedValues: schema227.enum },
|
|
26705
26760
|
message: "must be equal to one of the allowed values"
|
|
26706
26761
|
};
|
|
26707
26762
|
if (vErrors === null) {
|
|
@@ -26719,7 +26774,7 @@ function validate90(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
26719
26774
|
instancePath: instancePath + "/devices/locks/" + i6 + "/mode",
|
|
26720
26775
|
schemaPath: "lock.json#/properties/mode/type",
|
|
26721
26776
|
keyword: "type",
|
|
26722
|
-
params: { type:
|
|
26777
|
+
params: { type: schema228.type },
|
|
26723
26778
|
message: "must be string,null"
|
|
26724
26779
|
};
|
|
26725
26780
|
if (vErrors === null) {
|
|
@@ -26734,7 +26789,7 @@ function validate90(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
26734
26789
|
instancePath: instancePath + "/devices/locks/" + i6 + "/mode",
|
|
26735
26790
|
schemaPath: "lock.json#/properties/mode/enum",
|
|
26736
26791
|
keyword: "enum",
|
|
26737
|
-
params: { allowedValues:
|
|
26792
|
+
params: { allowedValues: schema228.enum },
|
|
26738
26793
|
message: "must be equal to one of the allowed values"
|
|
26739
26794
|
};
|
|
26740
26795
|
if (vErrors === null) {
|
|
@@ -26843,7 +26898,7 @@ function validate90(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
26843
26898
|
}
|
|
26844
26899
|
__name(validate90, "validate90");
|
|
26845
26900
|
var validateShortLink = validate100;
|
|
26846
|
-
var
|
|
26901
|
+
var schema229 = {
|
|
26847
26902
|
$schema: "http://json-schema.org/draft-07/schema",
|
|
26848
26903
|
$id: "shortLink.json",
|
|
26849
26904
|
title: "Short Link",
|
|
@@ -26970,7 +27025,7 @@ function validate100(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
26970
27025
|
instancePath: instancePath + "/type",
|
|
26971
27026
|
schemaPath: "#/properties/type/enum",
|
|
26972
27027
|
keyword: "enum",
|
|
26973
|
-
params: { allowedValues:
|
|
27028
|
+
params: { allowedValues: schema229.properties.type.enum },
|
|
26974
27029
|
message: "must be equal to one of the allowed values"
|
|
26975
27030
|
};
|
|
26976
27031
|
if (vErrors === null) {
|
|
@@ -27074,7 +27129,7 @@ function validate100(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
27074
27129
|
}
|
|
27075
27130
|
__name(validate100, "validate100");
|
|
27076
27131
|
var validateSmsMessage = validate101;
|
|
27077
|
-
var
|
|
27132
|
+
var schema232 = {
|
|
27078
27133
|
$schema: "http://json-schema.org/draft-07/schema",
|
|
27079
27134
|
$id: "smsMessage.json",
|
|
27080
27135
|
title: "Sms Message",
|
|
@@ -27237,7 +27292,7 @@ function validate101(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
27237
27292
|
instancePath: instancePath + "/type",
|
|
27238
27293
|
schemaPath: "#/properties/type/enum",
|
|
27239
27294
|
keyword: "enum",
|
|
27240
|
-
params: { allowedValues:
|
|
27295
|
+
params: { allowedValues: schema232.properties.type.enum },
|
|
27241
27296
|
message: "must be equal to one of the allowed values"
|
|
27242
27297
|
};
|
|
27243
27298
|
if (vErrors === null) {
|
|
@@ -27371,7 +27426,7 @@ function validate101(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
27371
27426
|
instancePath: instancePath + "/status",
|
|
27372
27427
|
schemaPath: "#/properties/status/enum",
|
|
27373
27428
|
keyword: "enum",
|
|
27374
|
-
params: { allowedValues:
|
|
27429
|
+
params: { allowedValues: schema232.properties.status.enum },
|
|
27375
27430
|
message: "must be equal to one of the allowed values"
|
|
27376
27431
|
};
|
|
27377
27432
|
if (vErrors === null) {
|
|
@@ -27541,7 +27596,7 @@ function validate101(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
27541
27596
|
}
|
|
27542
27597
|
__name(validate101, "validate101");
|
|
27543
27598
|
var validateSpace = validate102;
|
|
27544
|
-
var
|
|
27599
|
+
var schema237 = {
|
|
27545
27600
|
$schema: "http://json-schema.org/draft-07/schema",
|
|
27546
27601
|
$id: "space.json",
|
|
27547
27602
|
title: "Space",
|
|
@@ -28013,7 +28068,7 @@ function validate102(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
28013
28068
|
instancePath: instancePath + "/type",
|
|
28014
28069
|
schemaPath: "#/properties/type/enum",
|
|
28015
28070
|
keyword: "enum",
|
|
28016
|
-
params: { allowedValues:
|
|
28071
|
+
params: { allowedValues: schema237.properties.type.enum },
|
|
28017
28072
|
message: "must be equal to one of the allowed values"
|
|
28018
28073
|
};
|
|
28019
28074
|
if (vErrors === null) {
|
|
@@ -28045,7 +28100,7 @@ function validate102(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
28045
28100
|
instancePath: instancePath + "/discriminator",
|
|
28046
28101
|
schemaPath: "#/properties/discriminator/enum",
|
|
28047
28102
|
keyword: "enum",
|
|
28048
|
-
params: { allowedValues:
|
|
28103
|
+
params: { allowedValues: schema237.properties.discriminator.enum },
|
|
28049
28104
|
message: "must be equal to one of the allowed values"
|
|
28050
28105
|
};
|
|
28051
28106
|
if (vErrors === null) {
|
|
@@ -28262,7 +28317,7 @@ function validate102(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
28262
28317
|
schemaPath: "#/properties/eco/properties/activatedAt/type",
|
|
28263
28318
|
keyword: "type",
|
|
28264
28319
|
params: {
|
|
28265
|
-
type:
|
|
28320
|
+
type: schema237.properties.eco.properties.activatedAt.type
|
|
28266
28321
|
},
|
|
28267
28322
|
message: "must be string,object"
|
|
28268
28323
|
};
|
|
@@ -28314,7 +28369,7 @@ function validate102(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
28314
28369
|
schemaPath: "#/properties/eco/properties/previousState/type",
|
|
28315
28370
|
keyword: "type",
|
|
28316
28371
|
params: {
|
|
28317
|
-
type:
|
|
28372
|
+
type: schema237.properties.eco.properties.previousState.type
|
|
28318
28373
|
},
|
|
28319
28374
|
message: "must be object,null"
|
|
28320
28375
|
};
|
|
@@ -28438,7 +28493,7 @@ function validate102(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
28438
28493
|
schemaPath: "#/properties/features/items/enum",
|
|
28439
28494
|
keyword: "enum",
|
|
28440
28495
|
params: {
|
|
28441
|
-
allowedValues:
|
|
28496
|
+
allowedValues: schema237.properties.features.items.enum
|
|
28442
28497
|
},
|
|
28443
28498
|
message: "must be equal to one of the allowed values"
|
|
28444
28499
|
};
|
|
@@ -28523,7 +28578,7 @@ function validate102(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
28523
28578
|
schemaPath: "#/properties/housekeepingStatus/enum",
|
|
28524
28579
|
keyword: "enum",
|
|
28525
28580
|
params: {
|
|
28526
|
-
allowedValues:
|
|
28581
|
+
allowedValues: schema237.properties.housekeepingStatus.enum
|
|
28527
28582
|
},
|
|
28528
28583
|
message: "must be equal to one of the allowed values"
|
|
28529
28584
|
};
|
|
@@ -28557,7 +28612,7 @@ function validate102(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
28557
28612
|
instancePath: instancePath + "/serviceStatus",
|
|
28558
28613
|
schemaPath: "#/properties/serviceStatus/enum",
|
|
28559
28614
|
keyword: "enum",
|
|
28560
|
-
params: { allowedValues:
|
|
28615
|
+
params: { allowedValues: schema237.properties.serviceStatus.enum },
|
|
28561
28616
|
message: "must be equal to one of the allowed values"
|
|
28562
28617
|
};
|
|
28563
28618
|
if (vErrors === null) {
|
|
@@ -28606,7 +28661,7 @@ function validate102(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
28606
28661
|
__name(validate102, "validate102");
|
|
28607
28662
|
var validateSwitch = validate68;
|
|
28608
28663
|
var validateSystemUser = validate108;
|
|
28609
|
-
var
|
|
28664
|
+
var schema242 = {
|
|
28610
28665
|
$schema: "http://json-schema.org/draft-07/schema",
|
|
28611
28666
|
$id: "systemUser.json",
|
|
28612
28667
|
title: "System User",
|
|
@@ -28789,7 +28844,7 @@ function validate112(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
28789
28844
|
instancePath: instancePath + "/" + i0 + "/tax",
|
|
28790
28845
|
schemaPath: "#/items/properties/tax/type",
|
|
28791
28846
|
keyword: "type",
|
|
28792
|
-
params: { type:
|
|
28847
|
+
params: { type: schema167.items.properties.tax.type },
|
|
28793
28848
|
message: "must be number,null"
|
|
28794
28849
|
};
|
|
28795
28850
|
if (vErrors === null) {
|
|
@@ -28947,7 +29002,7 @@ function validate108(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
28947
29002
|
instancePath: instancePath + "/type",
|
|
28948
29003
|
schemaPath: "#/properties/type/enum",
|
|
28949
29004
|
keyword: "enum",
|
|
28950
|
-
params: { allowedValues:
|
|
29005
|
+
params: { allowedValues: schema242.properties.type.enum },
|
|
28951
29006
|
message: "must be equal to one of the allowed values"
|
|
28952
29007
|
};
|
|
28953
29008
|
if (vErrors === null) {
|
|
@@ -29031,7 +29086,7 @@ function validate108(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
29031
29086
|
instancePath: instancePath + "/phone",
|
|
29032
29087
|
schemaPath: "#/properties/phone/type",
|
|
29033
29088
|
keyword: "type",
|
|
29034
|
-
params: { type:
|
|
29089
|
+
params: { type: schema242.properties.phone.type },
|
|
29035
29090
|
message: "must be string,null"
|
|
29036
29091
|
};
|
|
29037
29092
|
if (vErrors === null) {
|
|
@@ -29066,7 +29121,7 @@ function validate108(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
29066
29121
|
instancePath: instancePath + "/email",
|
|
29067
29122
|
schemaPath: "#/properties/email/type",
|
|
29068
29123
|
keyword: "type",
|
|
29069
|
-
params: { type:
|
|
29124
|
+
params: { type: schema242.properties.email.type },
|
|
29070
29125
|
message: "must be string,null"
|
|
29071
29126
|
};
|
|
29072
29127
|
if (vErrors === null) {
|
|
@@ -29354,7 +29409,7 @@ function validate108(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
29354
29409
|
instancePath: instancePath + "/gender",
|
|
29355
29410
|
schemaPath: "#/properties/gender/enum",
|
|
29356
29411
|
keyword: "enum",
|
|
29357
|
-
params: { allowedValues:
|
|
29412
|
+
params: { allowedValues: schema242.properties.gender.enum },
|
|
29358
29413
|
message: "must be equal to one of the allowed values"
|
|
29359
29414
|
};
|
|
29360
29415
|
if (vErrors === null) {
|
|
@@ -29391,7 +29446,7 @@ function validate108(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
29391
29446
|
instancePath: instancePath + "/roles/" + i0,
|
|
29392
29447
|
schemaPath: "#/properties/roles/items/enum",
|
|
29393
29448
|
keyword: "enum",
|
|
29394
|
-
params: { allowedValues:
|
|
29449
|
+
params: { allowedValues: schema242.properties.roles.items.enum },
|
|
29395
29450
|
message: "must be equal to one of the allowed values"
|
|
29396
29451
|
};
|
|
29397
29452
|
if (vErrors === null) {
|
|
@@ -29650,7 +29705,7 @@ function validate108(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
29650
29705
|
instancePath: instancePath + "/updatedAt",
|
|
29651
29706
|
schemaPath: "definitions.json#/definitions/updatedAt/type",
|
|
29652
29707
|
keyword: "type",
|
|
29653
|
-
params: { type:
|
|
29708
|
+
params: { type: schema151.type },
|
|
29654
29709
|
message: "must be string,object"
|
|
29655
29710
|
};
|
|
29656
29711
|
if (vErrors === null) {
|
|
@@ -31716,7 +31771,7 @@ function validate39(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
31716
31771
|
}
|
|
31717
31772
|
__name(validate39, "validate39");
|
|
31718
31773
|
var validateTimeSheet = validate114;
|
|
31719
|
-
var
|
|
31774
|
+
var schema251 = {
|
|
31720
31775
|
$schema: "http://json-schema.org/draft-07/schema",
|
|
31721
31776
|
$id: "timeSheet.json",
|
|
31722
31777
|
title: "Time Sheet",
|
|
@@ -31872,7 +31927,7 @@ function validate114(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
31872
31927
|
instancePath: instancePath + "/type",
|
|
31873
31928
|
schemaPath: "#/properties/type/enum",
|
|
31874
31929
|
keyword: "enum",
|
|
31875
|
-
params: { allowedValues:
|
|
31930
|
+
params: { allowedValues: schema251.properties.type.enum },
|
|
31876
31931
|
message: "must be equal to one of the allowed values"
|
|
31877
31932
|
};
|
|
31878
31933
|
if (vErrors === null) {
|
|
@@ -31943,7 +31998,7 @@ function validate114(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
31943
31998
|
instancePath: instancePath + "/day",
|
|
31944
31999
|
schemaPath: "#/properties/day/type",
|
|
31945
32000
|
keyword: "type",
|
|
31946
|
-
params: { type:
|
|
32001
|
+
params: { type: schema251.properties.day.type },
|
|
31947
32002
|
message: "must be string,object"
|
|
31948
32003
|
};
|
|
31949
32004
|
if (vErrors === null) {
|
|
@@ -32116,7 +32171,7 @@ function validate114(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
32116
32171
|
schemaPath: "#/properties/timeEntries/items/properties/discriminator/enum",
|
|
32117
32172
|
keyword: "enum",
|
|
32118
32173
|
params: {
|
|
32119
|
-
allowedValues:
|
|
32174
|
+
allowedValues: schema251.properties.timeEntries.items.properties.discriminator.enum
|
|
32120
32175
|
},
|
|
32121
32176
|
message: "must be equal to one of the allowed values"
|
|
32122
32177
|
};
|
|
@@ -32136,7 +32191,7 @@ function validate114(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
32136
32191
|
schemaPath: "#/properties/timeEntries/items/properties/start/type",
|
|
32137
32192
|
keyword: "type",
|
|
32138
32193
|
params: {
|
|
32139
|
-
type:
|
|
32194
|
+
type: schema251.properties.timeEntries.items.properties.start.type
|
|
32140
32195
|
},
|
|
32141
32196
|
message: "must be string,object"
|
|
32142
32197
|
};
|
|
@@ -32173,7 +32228,7 @@ function validate114(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
32173
32228
|
schemaPath: "#/properties/timeEntries/items/properties/end/type",
|
|
32174
32229
|
keyword: "type",
|
|
32175
32230
|
params: {
|
|
32176
|
-
type:
|
|
32231
|
+
type: schema251.properties.timeEntries.items.properties.end.type
|
|
32177
32232
|
},
|
|
32178
32233
|
message: "must be string,object"
|
|
32179
32234
|
};
|
|
@@ -32287,7 +32342,7 @@ function validate114(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
32287
32342
|
}
|
|
32288
32343
|
__name(validate114, "validate114");
|
|
32289
32344
|
var validateUser = validate115;
|
|
32290
|
-
var
|
|
32345
|
+
var schema255 = {
|
|
32291
32346
|
$schema: "http://json-schema.org/draft-07/schema",
|
|
32292
32347
|
$id: "user.json",
|
|
32293
32348
|
title: "User",
|
|
@@ -32530,7 +32585,7 @@ function validate122(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
32530
32585
|
instancePath: instancePath + "/" + i0 + "/tax",
|
|
32531
32586
|
schemaPath: "#/items/properties/tax/type",
|
|
32532
32587
|
keyword: "type",
|
|
32533
|
-
params: { type:
|
|
32588
|
+
params: { type: schema167.items.properties.tax.type },
|
|
32534
32589
|
message: "must be number,null"
|
|
32535
32590
|
};
|
|
32536
32591
|
if (vErrors === null) {
|
|
@@ -32729,7 +32784,7 @@ function validate115(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
32729
32784
|
instancePath: instancePath + "/phone",
|
|
32730
32785
|
schemaPath: "#/properties/phone/type",
|
|
32731
32786
|
keyword: "type",
|
|
32732
|
-
params: { type:
|
|
32787
|
+
params: { type: schema255.properties.phone.type },
|
|
32733
32788
|
message: "must be string,null"
|
|
32734
32789
|
};
|
|
32735
32790
|
if (vErrors === null) {
|
|
@@ -32781,7 +32836,7 @@ function validate115(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
32781
32836
|
instancePath: instancePath + "/email",
|
|
32782
32837
|
schemaPath: "#/properties/email/type",
|
|
32783
32838
|
keyword: "type",
|
|
32784
|
-
params: { type:
|
|
32839
|
+
params: { type: schema255.properties.email.type },
|
|
32785
32840
|
message: "must be string,null"
|
|
32786
32841
|
};
|
|
32787
32842
|
if (vErrors === null) {
|
|
@@ -33097,7 +33152,7 @@ function validate115(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
33097
33152
|
instancePath: instancePath + "/gender",
|
|
33098
33153
|
schemaPath: "#/properties/gender/enum",
|
|
33099
33154
|
keyword: "enum",
|
|
33100
|
-
params: { allowedValues:
|
|
33155
|
+
params: { allowedValues: schema255.properties.gender.enum },
|
|
33101
33156
|
message: "must be equal to one of the allowed values"
|
|
33102
33157
|
};
|
|
33103
33158
|
if (vErrors === null) {
|
|
@@ -33282,7 +33337,7 @@ function validate115(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
33282
33337
|
schemaPath: "#/properties/permissions/items/properties/role/enum",
|
|
33283
33338
|
keyword: "enum",
|
|
33284
33339
|
params: {
|
|
33285
|
-
allowedValues:
|
|
33340
|
+
allowedValues: schema255.properties.permissions.items.properties.role.enum
|
|
33286
33341
|
},
|
|
33287
33342
|
message: "must be equal to one of the allowed values"
|
|
33288
33343
|
};
|
|
@@ -33628,7 +33683,7 @@ function validate115(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
33628
33683
|
schemaPath: "#/properties/location/properties/accuracy/type",
|
|
33629
33684
|
keyword: "type",
|
|
33630
33685
|
params: {
|
|
33631
|
-
type:
|
|
33686
|
+
type: schema255.properties.location.properties.accuracy.type
|
|
33632
33687
|
},
|
|
33633
33688
|
message: "must be number,null"
|
|
33634
33689
|
};
|
|
@@ -33648,7 +33703,7 @@ function validate115(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
33648
33703
|
schemaPath: "#/properties/location/properties/latitude/type",
|
|
33649
33704
|
keyword: "type",
|
|
33650
33705
|
params: {
|
|
33651
|
-
type:
|
|
33706
|
+
type: schema255.properties.location.properties.latitude.type
|
|
33652
33707
|
},
|
|
33653
33708
|
message: "must be number,null"
|
|
33654
33709
|
};
|
|
@@ -33668,7 +33723,7 @@ function validate115(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
33668
33723
|
schemaPath: "#/properties/location/properties/longitude/type",
|
|
33669
33724
|
keyword: "type",
|
|
33670
33725
|
params: {
|
|
33671
|
-
type:
|
|
33726
|
+
type: schema255.properties.location.properties.longitude.type
|
|
33672
33727
|
},
|
|
33673
33728
|
message: "must be number,null"
|
|
33674
33729
|
};
|
|
@@ -33688,7 +33743,7 @@ function validate115(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
33688
33743
|
schemaPath: "#/properties/location/properties/timestamp/type",
|
|
33689
33744
|
keyword: "type",
|
|
33690
33745
|
params: {
|
|
33691
|
-
type:
|
|
33746
|
+
type: schema255.properties.location.properties.timestamp.type
|
|
33692
33747
|
},
|
|
33693
33748
|
message: "must be number,null"
|
|
33694
33749
|
};
|
|
@@ -33817,7 +33872,7 @@ function validate115(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
33817
33872
|
instancePath: instancePath + "/updatedAt",
|
|
33818
33873
|
schemaPath: "definitions.json#/definitions/updatedAt/type",
|
|
33819
33874
|
keyword: "type",
|
|
33820
|
-
params: { type:
|
|
33875
|
+
params: { type: schema151.type },
|
|
33821
33876
|
message: "must be string,object"
|
|
33822
33877
|
};
|
|
33823
33878
|
if (vErrors === null) {
|
|
@@ -34015,7 +34070,7 @@ function validate115(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
34015
34070
|
}
|
|
34016
34071
|
__name(validate115, "validate115");
|
|
34017
34072
|
var validateVendor = validate124;
|
|
34018
|
-
var
|
|
34073
|
+
var schema262 = {
|
|
34019
34074
|
$schema: "http://json-schema.org/draft-07/schema",
|
|
34020
34075
|
$id: "vendor.json",
|
|
34021
34076
|
title: "Vendor",
|
|
@@ -34145,7 +34200,7 @@ function validate124(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
34145
34200
|
instancePath: instancePath + "/type",
|
|
34146
34201
|
schemaPath: "#/properties/type/enum",
|
|
34147
34202
|
keyword: "enum",
|
|
34148
|
-
params: { allowedValues:
|
|
34203
|
+
params: { allowedValues: schema262.properties.type.enum },
|
|
34149
34204
|
message: "must be equal to one of the allowed values"
|
|
34150
34205
|
};
|
|
34151
34206
|
if (vErrors === null) {
|
|
@@ -34179,7 +34234,7 @@ function validate124(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
34179
34234
|
instancePath: instancePath + "/phone",
|
|
34180
34235
|
schemaPath: "#/properties/phone/type",
|
|
34181
34236
|
keyword: "type",
|
|
34182
|
-
params: { type:
|
|
34237
|
+
params: { type: schema262.properties.phone.type },
|
|
34183
34238
|
message: "must be string,null"
|
|
34184
34239
|
};
|
|
34185
34240
|
if (vErrors === null) {
|
|
@@ -34214,7 +34269,7 @@ function validate124(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
34214
34269
|
instancePath: instancePath + "/email",
|
|
34215
34270
|
schemaPath: "#/properties/email/type",
|
|
34216
34271
|
keyword: "type",
|
|
34217
|
-
params: { type:
|
|
34272
|
+
params: { type: schema262.properties.email.type },
|
|
34218
34273
|
message: "must be string,null"
|
|
34219
34274
|
};
|
|
34220
34275
|
if (vErrors === null) {
|
|
@@ -34482,7 +34537,7 @@ function validate124(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
34482
34537
|
instancePath: instancePath + "/updatedAt",
|
|
34483
34538
|
schemaPath: "definitions.json#/definitions/updatedAt/type",
|
|
34484
34539
|
keyword: "type",
|
|
34485
|
-
params: { type:
|
|
34540
|
+
params: { type: schema151.type },
|
|
34486
34541
|
message: "must be string,object"
|
|
34487
34542
|
};
|
|
34488
34543
|
if (vErrors === null) {
|
|
@@ -35928,6 +35983,7 @@ var Log = class extends Entity {
|
|
|
35928
35983
|
* @typedef {Object} LogData
|
|
35929
35984
|
* @property {"log"} [type] - Default: "log"
|
|
35930
35985
|
* @property {number} [timestamp]
|
|
35986
|
+
* @property {string} [id] - Identifier of the object.
|
|
35931
35987
|
* @property {string} [name] - Event name
|
|
35932
35988
|
* @property {{name: string, value: string}} [field1]
|
|
35933
35989
|
* @property {string} field1.name
|
|
@@ -35956,6 +36012,7 @@ var Log = class extends Entity {
|
|
|
35956
36012
|
super(data);
|
|
35957
36013
|
if (data.type !== void 0) this.type = data.type;
|
|
35958
36014
|
if (data.timestamp !== void 0) this.timestamp = data.timestamp;
|
|
36015
|
+
if (data.id !== void 0) this.id = data.id;
|
|
35959
36016
|
if (data.name !== void 0) this.name = data.name;
|
|
35960
36017
|
if (data.field1 !== void 0) this.field1 = data.field1;
|
|
35961
36018
|
if (data.field2 !== void 0) this.field2 = data.field2;
|
|
@@ -35974,6 +36031,7 @@ Object.defineProperty(Log.prototype, "schema", {
|
|
|
35974
36031
|
properties: {
|
|
35975
36032
|
type: { type: "string", default: "log", enum: ["log"] },
|
|
35976
36033
|
timestamp: { type: "number", minimum: 1655907956593 },
|
|
36034
|
+
id: { $ref: "definitions.json#/definitions/id" },
|
|
35977
36035
|
name: { type: "string", description: "Event name" },
|
|
35978
36036
|
field1: {
|
|
35979
36037
|
type: "object",
|