table 6.0.5 → 6.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. package/README.md +4 -4
  2. package/dist/alignString.js +6 -7
  3. package/dist/alignString.js.flow +5 -4
  4. package/dist/alignTableData.js +1 -2
  5. package/dist/calculateCellHeight.js +3 -4
  6. package/dist/calculateCellHeight.js.flow +2 -2
  7. package/dist/calculateCellWidthIndex.js +1 -2
  8. package/dist/calculateMaximumColumnWidthIndex.js +1 -2
  9. package/dist/calculateRowHeightIndex.js +6 -9
  10. package/dist/calculateRowHeightIndex.js.flow +5 -4
  11. package/dist/createStream.js +3 -6
  12. package/dist/createStream.js.flow +2 -3
  13. package/dist/drawBorder.js +1 -2
  14. package/dist/drawRow.js +1 -2
  15. package/dist/drawTable.js +1 -2
  16. package/dist/getBorderCharacters.js +1 -2
  17. package/dist/index.js +1 -2
  18. package/dist/makeConfig.js +9 -12
  19. package/dist/makeConfig.js.flow +6 -6
  20. package/dist/makeStreamConfig.js +8 -12
  21. package/dist/makeStreamConfig.js.flow +6 -6
  22. package/dist/mapDataUsingRowHeightIndex.js +4 -7
  23. package/dist/mapDataUsingRowHeightIndex.js.flow +3 -3
  24. package/dist/padTableData.js +1 -2
  25. package/dist/schemas/config.json +3 -0
  26. package/dist/stringifyTableData.js +1 -2
  27. package/dist/table.js +1 -2
  28. package/dist/truncateTableData.js +3 -4
  29. package/dist/truncateTableData.js.flow +2 -2
  30. package/dist/validateConfig.js +1 -4
  31. package/dist/validateConfig.js.flow +0 -1
  32. package/dist/validateTableData.js +1 -2
  33. package/dist/validators.js +201 -180
  34. package/dist/wrapCell.js +1 -2
  35. package/dist/wrapString.js +1 -2
  36. package/dist/wrapWord.js +1 -2
  37. package/package.json +27 -21
  38. package/dist/alignString.js.map +0 -1
  39. package/dist/alignTableData.js.map +0 -1
  40. package/dist/calculateCellHeight.js.map +0 -1
  41. package/dist/calculateCellWidthIndex.js.map +0 -1
  42. package/dist/calculateMaximumColumnWidthIndex.js.map +0 -1
  43. package/dist/calculateRowHeightIndex.js.map +0 -1
  44. package/dist/createStream.js.map +0 -1
  45. package/dist/drawBorder.js.map +0 -1
  46. package/dist/drawRow.js.map +0 -1
  47. package/dist/drawTable.js.map +0 -1
  48. package/dist/getBorderCharacters.js.map +0 -1
  49. package/dist/index.js.map +0 -1
  50. package/dist/makeConfig.js.map +0 -1
  51. package/dist/makeStreamConfig.js.map +0 -1
  52. package/dist/mapDataUsingRowHeightIndex.js.map +0 -1
  53. package/dist/padTableData.js.map +0 -1
  54. package/dist/stringifyTableData.js.map +0 -1
  55. package/dist/table.js.map +0 -1
  56. package/dist/truncateTableData.js.map +0 -1
  57. package/dist/validateConfig.js.map +0 -1
  58. package/dist/validateTableData.js.map +0 -1
  59. package/dist/wrapCell.js.map +0 -1
  60. package/dist/wrapString.js.map +0 -1
  61. package/dist/wrapWord.js.map +0 -1
@@ -16,6 +16,9 @@ const schema13 = {
16
16
  },
17
17
  "drawHorizontalLine": {
18
18
  "typeof": "function"
19
+ },
20
+ "singleLine": {
21
+ "typeof": "boolean"
19
22
  }
20
23
  },
21
24
  "additionalProperties": false
@@ -71,12 +74,13 @@ const schema15 = {
71
74
  },
72
75
  "additionalProperties": false
73
76
  };
77
+ const func8 = Object.prototype.hasOwnProperty;
74
78
  const schema16 = {
75
79
  "type": "string"
76
80
  };
77
81
 
78
82
  function validate46(data, {
79
- dataPath = "",
83
+ instancePath = "",
80
84
  parentData,
81
85
  parentDataProperty,
82
86
  rootData = data
@@ -85,13 +89,13 @@ function validate46(data, {
85
89
  let errors = 0;
86
90
  if (typeof data !== "string") {
87
91
  const err0 = {
88
- keyword: "type",
89
- dataPath,
92
+ instancePath,
90
93
  schemaPath: "#/type",
94
+ keyword: "type",
91
95
  params: {
92
96
  type: "string"
93
97
  },
94
- message: "should be string"
98
+ message: "must be string"
95
99
  };
96
100
  if (vErrors === null) {
97
101
  vErrors = [err0];
@@ -105,7 +109,7 @@ function validate46(data, {
105
109
  }
106
110
 
107
111
  function validate45(data, {
108
- dataPath = "",
112
+ instancePath = "",
109
113
  parentData,
110
114
  parentDataProperty,
111
115
  rootData = data
@@ -114,15 +118,15 @@ function validate45(data, {
114
118
  let errors = 0;
115
119
  if (data && typeof data == "object" && !Array.isArray(data)) {
116
120
  for (const key0 in data) {
117
- if (!(schema15.properties.hasOwnProperty(key0))) {
121
+ if (!(func8.call(schema15.properties, key0))) {
118
122
  const err0 = {
119
- keyword: "additionalProperties",
120
- dataPath,
123
+ instancePath,
121
124
  schemaPath: "#/additionalProperties",
125
+ keyword: "additionalProperties",
122
126
  params: {
123
127
  additionalProperty: key0
124
128
  },
125
- message: "should NOT have additional properties"
129
+ message: "must NOT have additional properties"
126
130
  };
127
131
  if (vErrors === null) {
128
132
  vErrors = [err0];
@@ -134,7 +138,7 @@ function validate45(data, {
134
138
  }
135
139
  if (data.topBody !== undefined) {
136
140
  if (!(validate46(data.topBody, {
137
- dataPath: dataPath + "/topBody",
141
+ instancePath: instancePath + "/topBody",
138
142
  parentData: data,
139
143
  parentDataProperty: "topBody",
140
144
  rootData
@@ -145,7 +149,7 @@ function validate45(data, {
145
149
  }
146
150
  if (data.topJoin !== undefined) {
147
151
  if (!(validate46(data.topJoin, {
148
- dataPath: dataPath + "/topJoin",
152
+ instancePath: instancePath + "/topJoin",
149
153
  parentData: data,
150
154
  parentDataProperty: "topJoin",
151
155
  rootData
@@ -156,7 +160,7 @@ function validate45(data, {
156
160
  }
157
161
  if (data.topLeft !== undefined) {
158
162
  if (!(validate46(data.topLeft, {
159
- dataPath: dataPath + "/topLeft",
163
+ instancePath: instancePath + "/topLeft",
160
164
  parentData: data,
161
165
  parentDataProperty: "topLeft",
162
166
  rootData
@@ -167,7 +171,7 @@ function validate45(data, {
167
171
  }
168
172
  if (data.topRight !== undefined) {
169
173
  if (!(validate46(data.topRight, {
170
- dataPath: dataPath + "/topRight",
174
+ instancePath: instancePath + "/topRight",
171
175
  parentData: data,
172
176
  parentDataProperty: "topRight",
173
177
  rootData
@@ -178,7 +182,7 @@ function validate45(data, {
178
182
  }
179
183
  if (data.bottomBody !== undefined) {
180
184
  if (!(validate46(data.bottomBody, {
181
- dataPath: dataPath + "/bottomBody",
185
+ instancePath: instancePath + "/bottomBody",
182
186
  parentData: data,
183
187
  parentDataProperty: "bottomBody",
184
188
  rootData
@@ -189,7 +193,7 @@ function validate45(data, {
189
193
  }
190
194
  if (data.bottomJoin !== undefined) {
191
195
  if (!(validate46(data.bottomJoin, {
192
- dataPath: dataPath + "/bottomJoin",
196
+ instancePath: instancePath + "/bottomJoin",
193
197
  parentData: data,
194
198
  parentDataProperty: "bottomJoin",
195
199
  rootData
@@ -200,7 +204,7 @@ function validate45(data, {
200
204
  }
201
205
  if (data.bottomLeft !== undefined) {
202
206
  if (!(validate46(data.bottomLeft, {
203
- dataPath: dataPath + "/bottomLeft",
207
+ instancePath: instancePath + "/bottomLeft",
204
208
  parentData: data,
205
209
  parentDataProperty: "bottomLeft",
206
210
  rootData
@@ -211,7 +215,7 @@ function validate45(data, {
211
215
  }
212
216
  if (data.bottomRight !== undefined) {
213
217
  if (!(validate46(data.bottomRight, {
214
- dataPath: dataPath + "/bottomRight",
218
+ instancePath: instancePath + "/bottomRight",
215
219
  parentData: data,
216
220
  parentDataProperty: "bottomRight",
217
221
  rootData
@@ -222,7 +226,7 @@ function validate45(data, {
222
226
  }
223
227
  if (data.bodyLeft !== undefined) {
224
228
  if (!(validate46(data.bodyLeft, {
225
- dataPath: dataPath + "/bodyLeft",
229
+ instancePath: instancePath + "/bodyLeft",
226
230
  parentData: data,
227
231
  parentDataProperty: "bodyLeft",
228
232
  rootData
@@ -233,7 +237,7 @@ function validate45(data, {
233
237
  }
234
238
  if (data.bodyRight !== undefined) {
235
239
  if (!(validate46(data.bodyRight, {
236
- dataPath: dataPath + "/bodyRight",
240
+ instancePath: instancePath + "/bodyRight",
237
241
  parentData: data,
238
242
  parentDataProperty: "bodyRight",
239
243
  rootData
@@ -244,7 +248,7 @@ function validate45(data, {
244
248
  }
245
249
  if (data.bodyJoin !== undefined) {
246
250
  if (!(validate46(data.bodyJoin, {
247
- dataPath: dataPath + "/bodyJoin",
251
+ instancePath: instancePath + "/bodyJoin",
248
252
  parentData: data,
249
253
  parentDataProperty: "bodyJoin",
250
254
  rootData
@@ -255,7 +259,7 @@ function validate45(data, {
255
259
  }
256
260
  if (data.joinBody !== undefined) {
257
261
  if (!(validate46(data.joinBody, {
258
- dataPath: dataPath + "/joinBody",
262
+ instancePath: instancePath + "/joinBody",
259
263
  parentData: data,
260
264
  parentDataProperty: "joinBody",
261
265
  rootData
@@ -266,7 +270,7 @@ function validate45(data, {
266
270
  }
267
271
  if (data.joinLeft !== undefined) {
268
272
  if (!(validate46(data.joinLeft, {
269
- dataPath: dataPath + "/joinLeft",
273
+ instancePath: instancePath + "/joinLeft",
270
274
  parentData: data,
271
275
  parentDataProperty: "joinLeft",
272
276
  rootData
@@ -277,7 +281,7 @@ function validate45(data, {
277
281
  }
278
282
  if (data.joinRight !== undefined) {
279
283
  if (!(validate46(data.joinRight, {
280
- dataPath: dataPath + "/joinRight",
284
+ instancePath: instancePath + "/joinRight",
281
285
  parentData: data,
282
286
  parentDataProperty: "joinRight",
283
287
  rootData
@@ -288,7 +292,7 @@ function validate45(data, {
288
292
  }
289
293
  if (data.joinJoin !== undefined) {
290
294
  if (!(validate46(data.joinJoin, {
291
- dataPath: dataPath + "/joinJoin",
295
+ instancePath: instancePath + "/joinJoin",
292
296
  parentData: data,
293
297
  parentDataProperty: "joinJoin",
294
298
  rootData
@@ -299,13 +303,13 @@ function validate45(data, {
299
303
  }
300
304
  } else {
301
305
  const err1 = {
302
- keyword: "type",
303
- dataPath,
306
+ instancePath,
304
307
  schemaPath: "#/type",
308
+ keyword: "type",
305
309
  params: {
306
310
  type: "object"
307
311
  },
308
- message: "should be object"
312
+ message: "must be object"
309
313
  };
310
314
  if (vErrors === null) {
311
315
  vErrors = [err1];
@@ -352,10 +356,10 @@ const schema18 = {
352
356
  },
353
357
  "additionalProperties": false
354
358
  };
355
- const func0 = require("ajv/dist/compile/equal");
359
+ const func0 = require("ajv/dist/runtime/equal").default;
356
360
 
357
361
  function validate64(data, {
358
- dataPath = "",
362
+ instancePath = "",
359
363
  parentData,
360
364
  parentDataProperty,
361
365
  rootData = data
@@ -366,13 +370,13 @@ function validate64(data, {
366
370
  for (const key0 in data) {
367
371
  if (!((((((key0 === "alignment") || (key0 === "width")) || (key0 === "wrapWord")) || (key0 === "truncate")) || (key0 === "paddingLeft")) || (key0 === "paddingRight"))) {
368
372
  const err0 = {
369
- keyword: "additionalProperties",
370
- dataPath,
373
+ instancePath,
371
374
  schemaPath: "#/additionalProperties",
375
+ keyword: "additionalProperties",
372
376
  params: {
373
377
  additionalProperty: key0
374
378
  },
375
- message: "should NOT have additional properties"
379
+ message: "must NOT have additional properties"
376
380
  };
377
381
  if (vErrors === null) {
378
382
  vErrors = [err0];
@@ -386,13 +390,13 @@ function validate64(data, {
386
390
  let data0 = data.alignment;
387
391
  if (typeof data0 !== "string") {
388
392
  const err1 = {
389
- keyword: "type",
390
- dataPath: dataPath + "/alignment",
393
+ instancePath: instancePath + "/alignment",
391
394
  schemaPath: "#/properties/alignment/type",
395
+ keyword: "type",
392
396
  params: {
393
397
  type: "string"
394
398
  },
395
- message: "should be string"
399
+ message: "must be string"
396
400
  };
397
401
  if (vErrors === null) {
398
402
  vErrors = [err1];
@@ -403,13 +407,13 @@ function validate64(data, {
403
407
  }
404
408
  if (!(((data0 === "left") || (data0 === "right")) || (data0 === "center"))) {
405
409
  const err2 = {
406
- keyword: "enum",
407
- dataPath: dataPath + "/alignment",
410
+ instancePath: instancePath + "/alignment",
408
411
  schemaPath: "#/properties/alignment/enum",
412
+ keyword: "enum",
409
413
  params: {
410
414
  allowedValues: schema18.properties.alignment.enum
411
415
  },
412
- message: "should be equal to one of the allowed values"
416
+ message: "must be equal to one of the allowed values"
413
417
  };
414
418
  if (vErrors === null) {
415
419
  vErrors = [err2];
@@ -423,13 +427,13 @@ function validate64(data, {
423
427
  let data1 = data.width;
424
428
  if (!((typeof data1 == "number") && (isFinite(data1)))) {
425
429
  const err3 = {
426
- keyword: "type",
427
- dataPath: dataPath + "/width",
430
+ instancePath: instancePath + "/width",
428
431
  schemaPath: "#/properties/width/type",
432
+ keyword: "type",
429
433
  params: {
430
434
  type: "number"
431
435
  },
432
- message: "should be number"
436
+ message: "must be number"
433
437
  };
434
438
  if (vErrors === null) {
435
439
  vErrors = [err3];
@@ -442,13 +446,13 @@ function validate64(data, {
442
446
  if (data.wrapWord !== undefined) {
443
447
  if (typeof data.wrapWord !== "boolean") {
444
448
  const err4 = {
445
- keyword: "type",
446
- dataPath: dataPath + "/wrapWord",
449
+ instancePath: instancePath + "/wrapWord",
447
450
  schemaPath: "#/properties/wrapWord/type",
451
+ keyword: "type",
448
452
  params: {
449
453
  type: "boolean"
450
454
  },
451
- message: "should be boolean"
455
+ message: "must be boolean"
452
456
  };
453
457
  if (vErrors === null) {
454
458
  vErrors = [err4];
@@ -462,13 +466,13 @@ function validate64(data, {
462
466
  let data3 = data.truncate;
463
467
  if (!((typeof data3 == "number") && (isFinite(data3)))) {
464
468
  const err5 = {
465
- keyword: "type",
466
- dataPath: dataPath + "/truncate",
469
+ instancePath: instancePath + "/truncate",
467
470
  schemaPath: "#/properties/truncate/type",
471
+ keyword: "type",
468
472
  params: {
469
473
  type: "number"
470
474
  },
471
- message: "should be number"
475
+ message: "must be number"
472
476
  };
473
477
  if (vErrors === null) {
474
478
  vErrors = [err5];
@@ -482,13 +486,13 @@ function validate64(data, {
482
486
  let data4 = data.paddingLeft;
483
487
  if (!((typeof data4 == "number") && (isFinite(data4)))) {
484
488
  const err6 = {
485
- keyword: "type",
486
- dataPath: dataPath + "/paddingLeft",
489
+ instancePath: instancePath + "/paddingLeft",
487
490
  schemaPath: "#/properties/paddingLeft/type",
491
+ keyword: "type",
488
492
  params: {
489
493
  type: "number"
490
494
  },
491
- message: "should be number"
495
+ message: "must be number"
492
496
  };
493
497
  if (vErrors === null) {
494
498
  vErrors = [err6];
@@ -502,13 +506,13 @@ function validate64(data, {
502
506
  let data5 = data.paddingRight;
503
507
  if (!((typeof data5 == "number") && (isFinite(data5)))) {
504
508
  const err7 = {
505
- keyword: "type",
506
- dataPath: dataPath + "/paddingRight",
509
+ instancePath: instancePath + "/paddingRight",
507
510
  schemaPath: "#/properties/paddingRight/type",
511
+ keyword: "type",
508
512
  params: {
509
513
  type: "number"
510
514
  },
511
- message: "should be number"
515
+ message: "must be number"
512
516
  };
513
517
  if (vErrors === null) {
514
518
  vErrors = [err7];
@@ -520,13 +524,13 @@ function validate64(data, {
520
524
  }
521
525
  } else {
522
526
  const err8 = {
523
- keyword: "type",
524
- dataPath,
527
+ instancePath,
525
528
  schemaPath: "#/type",
529
+ keyword: "type",
526
530
  params: {
527
531
  type: "object"
528
532
  },
529
- message: "should be object"
533
+ message: "must be object"
530
534
  };
531
535
  if (vErrors === null) {
532
536
  vErrors = [err8];
@@ -540,7 +544,7 @@ function validate64(data, {
540
544
  }
541
545
 
542
546
  function validate63(data, {
543
- dataPath = "",
547
+ instancePath = "",
544
548
  parentData,
545
549
  parentDataProperty,
546
550
  rootData = data
@@ -551,13 +555,13 @@ function validate63(data, {
551
555
  for (const key0 in data) {
552
556
  if (!(pattern0.test(key0))) {
553
557
  const err0 = {
554
- keyword: "additionalProperties",
555
- dataPath,
558
+ instancePath,
556
559
  schemaPath: "#/additionalProperties",
560
+ keyword: "additionalProperties",
557
561
  params: {
558
562
  additionalProperty: key0
559
563
  },
560
- message: "should NOT have additional properties"
564
+ message: "must NOT have additional properties"
561
565
  };
562
566
  if (vErrors === null) {
563
567
  vErrors = [err0];
@@ -570,7 +574,7 @@ function validate63(data, {
570
574
  for (const key1 in data) {
571
575
  if (pattern0.test(key1)) {
572
576
  if (!(validate64(data[key1], {
573
- dataPath: dataPath + "/" + key1.replace(/~/g, "~0").replace(/\//g, "~1"),
577
+ instancePath: instancePath + "/" + key1.replace(/~/g, "~0").replace(/\//g, "~1"),
574
578
  parentData: data,
575
579
  parentDataProperty: key1,
576
580
  rootData
@@ -582,13 +586,13 @@ function validate63(data, {
582
586
  }
583
587
  } else {
584
588
  const err1 = {
585
- keyword: "type",
586
- dataPath,
589
+ instancePath,
587
590
  schemaPath: "#/type",
591
+ keyword: "type",
588
592
  params: {
589
593
  type: "object"
590
594
  },
591
- message: "should be object"
595
+ message: "must be object"
592
596
  };
593
597
  if (vErrors === null) {
594
598
  vErrors = [err1];
@@ -602,7 +606,7 @@ function validate63(data, {
602
606
  }
603
607
 
604
608
  function validate67(data, {
605
- dataPath = "",
609
+ instancePath = "",
606
610
  parentData,
607
611
  parentDataProperty,
608
612
  rootData = data
@@ -613,13 +617,13 @@ function validate67(data, {
613
617
  for (const key0 in data) {
614
618
  if (!((((((key0 === "alignment") || (key0 === "width")) || (key0 === "wrapWord")) || (key0 === "truncate")) || (key0 === "paddingLeft")) || (key0 === "paddingRight"))) {
615
619
  const err0 = {
616
- keyword: "additionalProperties",
617
- dataPath,
620
+ instancePath,
618
621
  schemaPath: "#/additionalProperties",
622
+ keyword: "additionalProperties",
619
623
  params: {
620
624
  additionalProperty: key0
621
625
  },
622
- message: "should NOT have additional properties"
626
+ message: "must NOT have additional properties"
623
627
  };
624
628
  if (vErrors === null) {
625
629
  vErrors = [err0];
@@ -633,13 +637,13 @@ function validate67(data, {
633
637
  let data0 = data.alignment;
634
638
  if (typeof data0 !== "string") {
635
639
  const err1 = {
636
- keyword: "type",
637
- dataPath: dataPath + "/alignment",
640
+ instancePath: instancePath + "/alignment",
638
641
  schemaPath: "#/properties/alignment/type",
642
+ keyword: "type",
639
643
  params: {
640
644
  type: "string"
641
645
  },
642
- message: "should be string"
646
+ message: "must be string"
643
647
  };
644
648
  if (vErrors === null) {
645
649
  vErrors = [err1];
@@ -650,13 +654,13 @@ function validate67(data, {
650
654
  }
651
655
  if (!(((data0 === "left") || (data0 === "right")) || (data0 === "center"))) {
652
656
  const err2 = {
653
- keyword: "enum",
654
- dataPath: dataPath + "/alignment",
657
+ instancePath: instancePath + "/alignment",
655
658
  schemaPath: "#/properties/alignment/enum",
659
+ keyword: "enum",
656
660
  params: {
657
661
  allowedValues: schema18.properties.alignment.enum
658
662
  },
659
- message: "should be equal to one of the allowed values"
663
+ message: "must be equal to one of the allowed values"
660
664
  };
661
665
  if (vErrors === null) {
662
666
  vErrors = [err2];
@@ -670,13 +674,13 @@ function validate67(data, {
670
674
  let data1 = data.width;
671
675
  if (!((typeof data1 == "number") && (isFinite(data1)))) {
672
676
  const err3 = {
673
- keyword: "type",
674
- dataPath: dataPath + "/width",
677
+ instancePath: instancePath + "/width",
675
678
  schemaPath: "#/properties/width/type",
679
+ keyword: "type",
676
680
  params: {
677
681
  type: "number"
678
682
  },
679
- message: "should be number"
683
+ message: "must be number"
680
684
  };
681
685
  if (vErrors === null) {
682
686
  vErrors = [err3];
@@ -689,13 +693,13 @@ function validate67(data, {
689
693
  if (data.wrapWord !== undefined) {
690
694
  if (typeof data.wrapWord !== "boolean") {
691
695
  const err4 = {
692
- keyword: "type",
693
- dataPath: dataPath + "/wrapWord",
696
+ instancePath: instancePath + "/wrapWord",
694
697
  schemaPath: "#/properties/wrapWord/type",
698
+ keyword: "type",
695
699
  params: {
696
700
  type: "boolean"
697
701
  },
698
- message: "should be boolean"
702
+ message: "must be boolean"
699
703
  };
700
704
  if (vErrors === null) {
701
705
  vErrors = [err4];
@@ -709,13 +713,13 @@ function validate67(data, {
709
713
  let data3 = data.truncate;
710
714
  if (!((typeof data3 == "number") && (isFinite(data3)))) {
711
715
  const err5 = {
712
- keyword: "type",
713
- dataPath: dataPath + "/truncate",
716
+ instancePath: instancePath + "/truncate",
714
717
  schemaPath: "#/properties/truncate/type",
718
+ keyword: "type",
715
719
  params: {
716
720
  type: "number"
717
721
  },
718
- message: "should be number"
722
+ message: "must be number"
719
723
  };
720
724
  if (vErrors === null) {
721
725
  vErrors = [err5];
@@ -729,13 +733,13 @@ function validate67(data, {
729
733
  let data4 = data.paddingLeft;
730
734
  if (!((typeof data4 == "number") && (isFinite(data4)))) {
731
735
  const err6 = {
732
- keyword: "type",
733
- dataPath: dataPath + "/paddingLeft",
736
+ instancePath: instancePath + "/paddingLeft",
734
737
  schemaPath: "#/properties/paddingLeft/type",
738
+ keyword: "type",
735
739
  params: {
736
740
  type: "number"
737
741
  },
738
- message: "should be number"
742
+ message: "must be number"
739
743
  };
740
744
  if (vErrors === null) {
741
745
  vErrors = [err6];
@@ -749,13 +753,13 @@ function validate67(data, {
749
753
  let data5 = data.paddingRight;
750
754
  if (!((typeof data5 == "number") && (isFinite(data5)))) {
751
755
  const err7 = {
752
- keyword: "type",
753
- dataPath: dataPath + "/paddingRight",
756
+ instancePath: instancePath + "/paddingRight",
754
757
  schemaPath: "#/properties/paddingRight/type",
758
+ keyword: "type",
755
759
  params: {
756
760
  type: "number"
757
761
  },
758
- message: "should be number"
762
+ message: "must be number"
759
763
  };
760
764
  if (vErrors === null) {
761
765
  vErrors = [err7];
@@ -767,13 +771,13 @@ function validate67(data, {
767
771
  }
768
772
  } else {
769
773
  const err8 = {
770
- keyword: "type",
771
- dataPath,
774
+ instancePath,
772
775
  schemaPath: "#/type",
776
+ keyword: "type",
773
777
  params: {
774
778
  type: "object"
775
779
  },
776
- message: "should be object"
780
+ message: "must be object"
777
781
  };
778
782
  if (vErrors === null) {
779
783
  vErrors = [err8];
@@ -787,7 +791,7 @@ function validate67(data, {
787
791
  }
788
792
 
789
793
  function validate43(data, {
790
- dataPath = "",
794
+ instancePath = "",
791
795
  parentData,
792
796
  parentDataProperty,
793
797
  rootData = data
@@ -797,15 +801,15 @@ function validate43(data, {
797
801
  let errors = 0;
798
802
  if (data && typeof data == "object" && !Array.isArray(data)) {
799
803
  for (const key0 in data) {
800
- if (!((((key0 === "border") || (key0 === "columns")) || (key0 === "columnDefault")) || (key0 === "drawHorizontalLine"))) {
804
+ if (!(((((key0 === "border") || (key0 === "columns")) || (key0 === "columnDefault")) || (key0 === "drawHorizontalLine")) || (key0 === "singleLine"))) {
801
805
  const err0 = {
802
- keyword: "additionalProperties",
803
- dataPath,
806
+ instancePath,
804
807
  schemaPath: "#/additionalProperties",
808
+ keyword: "additionalProperties",
805
809
  params: {
806
810
  additionalProperty: key0
807
811
  },
808
- message: "should NOT have additional properties"
812
+ message: "must NOT have additional properties"
809
813
  };
810
814
  if (vErrors === null) {
811
815
  vErrors = [err0];
@@ -817,7 +821,7 @@ function validate43(data, {
817
821
  }
818
822
  if (data.border !== undefined) {
819
823
  if (!(validate45(data.border, {
820
- dataPath: dataPath + "/border",
824
+ instancePath: instancePath + "/border",
821
825
  parentData: data,
822
826
  parentDataProperty: "border",
823
827
  rootData
@@ -828,7 +832,7 @@ function validate43(data, {
828
832
  }
829
833
  if (data.columns !== undefined) {
830
834
  if (!(validate63(data.columns, {
831
- dataPath: dataPath + "/columns",
835
+ instancePath: instancePath + "/columns",
832
836
  parentData: data,
833
837
  parentDataProperty: "columns",
834
838
  rootData
@@ -839,7 +843,7 @@ function validate43(data, {
839
843
  }
840
844
  if (data.columnDefault !== undefined) {
841
845
  if (!(validate67(data.columnDefault, {
842
- dataPath: dataPath + "/columnDefault",
846
+ instancePath: instancePath + "/columnDefault",
843
847
  parentData: data,
844
848
  parentDataProperty: "columnDefault",
845
849
  rootData
@@ -851,9 +855,9 @@ function validate43(data, {
851
855
  if (data.drawHorizontalLine !== undefined) {
852
856
  if (typeof data.drawHorizontalLine != "function") {
853
857
  const err1 = {
854
- keyword: "typeof",
855
- dataPath: dataPath + "/drawHorizontalLine",
858
+ instancePath: instancePath + "/drawHorizontalLine",
856
859
  schemaPath: "#/properties/drawHorizontalLine/typeof",
860
+ keyword: "typeof",
857
861
  params: {},
858
862
  message: "should pass \"typeof\" keyword validation"
859
863
  };
@@ -865,20 +869,37 @@ function validate43(data, {
865
869
  errors++;
866
870
  }
867
871
  }
872
+ if (data.singleLine !== undefined) {
873
+ if (typeof data.singleLine != "boolean") {
874
+ const err2 = {
875
+ instancePath: instancePath + "/singleLine",
876
+ schemaPath: "#/properties/singleLine/typeof",
877
+ keyword: "typeof",
878
+ params: {},
879
+ message: "should pass \"typeof\" keyword validation"
880
+ };
881
+ if (vErrors === null) {
882
+ vErrors = [err2];
883
+ } else {
884
+ vErrors.push(err2);
885
+ }
886
+ errors++;
887
+ }
888
+ }
868
889
  } else {
869
- const err2 = {
870
- keyword: "type",
871
- dataPath,
890
+ const err3 = {
891
+ instancePath,
872
892
  schemaPath: "#/type",
893
+ keyword: "type",
873
894
  params: {
874
895
  type: "object"
875
896
  },
876
- message: "should be object"
897
+ message: "must be object"
877
898
  };
878
899
  if (vErrors === null) {
879
- vErrors = [err2];
900
+ vErrors = [err3];
880
901
  } else {
881
- vErrors.push(err2);
902
+ vErrors.push(err3);
882
903
  }
883
904
  errors++;
884
905
  }
@@ -908,7 +929,7 @@ const schema20 = {
908
929
  };
909
930
 
910
931
  function validate70(data, {
911
- dataPath = "",
932
+ instancePath = "",
912
933
  parentData,
913
934
  parentDataProperty,
914
935
  rootData = data
@@ -917,15 +938,15 @@ function validate70(data, {
917
938
  let errors = 0;
918
939
  if (data && typeof data == "object" && !Array.isArray(data)) {
919
940
  for (const key0 in data) {
920
- if (!(schema15.properties.hasOwnProperty(key0))) {
941
+ if (!(func8.call(schema15.properties, key0))) {
921
942
  const err0 = {
922
- keyword: "additionalProperties",
923
- dataPath,
943
+ instancePath,
924
944
  schemaPath: "#/additionalProperties",
945
+ keyword: "additionalProperties",
925
946
  params: {
926
947
  additionalProperty: key0
927
948
  },
928
- message: "should NOT have additional properties"
949
+ message: "must NOT have additional properties"
929
950
  };
930
951
  if (vErrors === null) {
931
952
  vErrors = [err0];
@@ -937,7 +958,7 @@ function validate70(data, {
937
958
  }
938
959
  if (data.topBody !== undefined) {
939
960
  if (!(validate46(data.topBody, {
940
- dataPath: dataPath + "/topBody",
961
+ instancePath: instancePath + "/topBody",
941
962
  parentData: data,
942
963
  parentDataProperty: "topBody",
943
964
  rootData
@@ -948,7 +969,7 @@ function validate70(data, {
948
969
  }
949
970
  if (data.topJoin !== undefined) {
950
971
  if (!(validate46(data.topJoin, {
951
- dataPath: dataPath + "/topJoin",
972
+ instancePath: instancePath + "/topJoin",
952
973
  parentData: data,
953
974
  parentDataProperty: "topJoin",
954
975
  rootData
@@ -959,7 +980,7 @@ function validate70(data, {
959
980
  }
960
981
  if (data.topLeft !== undefined) {
961
982
  if (!(validate46(data.topLeft, {
962
- dataPath: dataPath + "/topLeft",
983
+ instancePath: instancePath + "/topLeft",
963
984
  parentData: data,
964
985
  parentDataProperty: "topLeft",
965
986
  rootData
@@ -970,7 +991,7 @@ function validate70(data, {
970
991
  }
971
992
  if (data.topRight !== undefined) {
972
993
  if (!(validate46(data.topRight, {
973
- dataPath: dataPath + "/topRight",
994
+ instancePath: instancePath + "/topRight",
974
995
  parentData: data,
975
996
  parentDataProperty: "topRight",
976
997
  rootData
@@ -981,7 +1002,7 @@ function validate70(data, {
981
1002
  }
982
1003
  if (data.bottomBody !== undefined) {
983
1004
  if (!(validate46(data.bottomBody, {
984
- dataPath: dataPath + "/bottomBody",
1005
+ instancePath: instancePath + "/bottomBody",
985
1006
  parentData: data,
986
1007
  parentDataProperty: "bottomBody",
987
1008
  rootData
@@ -992,7 +1013,7 @@ function validate70(data, {
992
1013
  }
993
1014
  if (data.bottomJoin !== undefined) {
994
1015
  if (!(validate46(data.bottomJoin, {
995
- dataPath: dataPath + "/bottomJoin",
1016
+ instancePath: instancePath + "/bottomJoin",
996
1017
  parentData: data,
997
1018
  parentDataProperty: "bottomJoin",
998
1019
  rootData
@@ -1003,7 +1024,7 @@ function validate70(data, {
1003
1024
  }
1004
1025
  if (data.bottomLeft !== undefined) {
1005
1026
  if (!(validate46(data.bottomLeft, {
1006
- dataPath: dataPath + "/bottomLeft",
1027
+ instancePath: instancePath + "/bottomLeft",
1007
1028
  parentData: data,
1008
1029
  parentDataProperty: "bottomLeft",
1009
1030
  rootData
@@ -1014,7 +1035,7 @@ function validate70(data, {
1014
1035
  }
1015
1036
  if (data.bottomRight !== undefined) {
1016
1037
  if (!(validate46(data.bottomRight, {
1017
- dataPath: dataPath + "/bottomRight",
1038
+ instancePath: instancePath + "/bottomRight",
1018
1039
  parentData: data,
1019
1040
  parentDataProperty: "bottomRight",
1020
1041
  rootData
@@ -1025,7 +1046,7 @@ function validate70(data, {
1025
1046
  }
1026
1047
  if (data.bodyLeft !== undefined) {
1027
1048
  if (!(validate46(data.bodyLeft, {
1028
- dataPath: dataPath + "/bodyLeft",
1049
+ instancePath: instancePath + "/bodyLeft",
1029
1050
  parentData: data,
1030
1051
  parentDataProperty: "bodyLeft",
1031
1052
  rootData
@@ -1036,7 +1057,7 @@ function validate70(data, {
1036
1057
  }
1037
1058
  if (data.bodyRight !== undefined) {
1038
1059
  if (!(validate46(data.bodyRight, {
1039
- dataPath: dataPath + "/bodyRight",
1060
+ instancePath: instancePath + "/bodyRight",
1040
1061
  parentData: data,
1041
1062
  parentDataProperty: "bodyRight",
1042
1063
  rootData
@@ -1047,7 +1068,7 @@ function validate70(data, {
1047
1068
  }
1048
1069
  if (data.bodyJoin !== undefined) {
1049
1070
  if (!(validate46(data.bodyJoin, {
1050
- dataPath: dataPath + "/bodyJoin",
1071
+ instancePath: instancePath + "/bodyJoin",
1051
1072
  parentData: data,
1052
1073
  parentDataProperty: "bodyJoin",
1053
1074
  rootData
@@ -1058,7 +1079,7 @@ function validate70(data, {
1058
1079
  }
1059
1080
  if (data.joinBody !== undefined) {
1060
1081
  if (!(validate46(data.joinBody, {
1061
- dataPath: dataPath + "/joinBody",
1082
+ instancePath: instancePath + "/joinBody",
1062
1083
  parentData: data,
1063
1084
  parentDataProperty: "joinBody",
1064
1085
  rootData
@@ -1069,7 +1090,7 @@ function validate70(data, {
1069
1090
  }
1070
1091
  if (data.joinLeft !== undefined) {
1071
1092
  if (!(validate46(data.joinLeft, {
1072
- dataPath: dataPath + "/joinLeft",
1093
+ instancePath: instancePath + "/joinLeft",
1073
1094
  parentData: data,
1074
1095
  parentDataProperty: "joinLeft",
1075
1096
  rootData
@@ -1080,7 +1101,7 @@ function validate70(data, {
1080
1101
  }
1081
1102
  if (data.joinRight !== undefined) {
1082
1103
  if (!(validate46(data.joinRight, {
1083
- dataPath: dataPath + "/joinRight",
1104
+ instancePath: instancePath + "/joinRight",
1084
1105
  parentData: data,
1085
1106
  parentDataProperty: "joinRight",
1086
1107
  rootData
@@ -1091,7 +1112,7 @@ function validate70(data, {
1091
1112
  }
1092
1113
  if (data.joinJoin !== undefined) {
1093
1114
  if (!(validate46(data.joinJoin, {
1094
- dataPath: dataPath + "/joinJoin",
1115
+ instancePath: instancePath + "/joinJoin",
1095
1116
  parentData: data,
1096
1117
  parentDataProperty: "joinJoin",
1097
1118
  rootData
@@ -1102,13 +1123,13 @@ function validate70(data, {
1102
1123
  }
1103
1124
  } else {
1104
1125
  const err1 = {
1105
- keyword: "type",
1106
- dataPath,
1126
+ instancePath,
1107
1127
  schemaPath: "#/type",
1128
+ keyword: "type",
1108
1129
  params: {
1109
1130
  type: "object"
1110
1131
  },
1111
- message: "should be object"
1132
+ message: "must be object"
1112
1133
  };
1113
1134
  if (vErrors === null) {
1114
1135
  vErrors = [err1];
@@ -1122,7 +1143,7 @@ function validate70(data, {
1122
1143
  }
1123
1144
 
1124
1145
  function validate87(data, {
1125
- dataPath = "",
1146
+ instancePath = "",
1126
1147
  parentData,
1127
1148
  parentDataProperty,
1128
1149
  rootData = data
@@ -1133,13 +1154,13 @@ function validate87(data, {
1133
1154
  for (const key0 in data) {
1134
1155
  if (!(pattern0.test(key0))) {
1135
1156
  const err0 = {
1136
- keyword: "additionalProperties",
1137
- dataPath,
1157
+ instancePath,
1138
1158
  schemaPath: "#/additionalProperties",
1159
+ keyword: "additionalProperties",
1139
1160
  params: {
1140
1161
  additionalProperty: key0
1141
1162
  },
1142
- message: "should NOT have additional properties"
1163
+ message: "must NOT have additional properties"
1143
1164
  };
1144
1165
  if (vErrors === null) {
1145
1166
  vErrors = [err0];
@@ -1152,7 +1173,7 @@ function validate87(data, {
1152
1173
  for (const key1 in data) {
1153
1174
  if (pattern0.test(key1)) {
1154
1175
  if (!(validate64(data[key1], {
1155
- dataPath: dataPath + "/" + key1.replace(/~/g, "~0").replace(/\//g, "~1"),
1176
+ instancePath: instancePath + "/" + key1.replace(/~/g, "~0").replace(/\//g, "~1"),
1156
1177
  parentData: data,
1157
1178
  parentDataProperty: key1,
1158
1179
  rootData
@@ -1164,13 +1185,13 @@ function validate87(data, {
1164
1185
  }
1165
1186
  } else {
1166
1187
  const err1 = {
1167
- keyword: "type",
1168
- dataPath,
1188
+ instancePath,
1169
1189
  schemaPath: "#/type",
1190
+ keyword: "type",
1170
1191
  params: {
1171
1192
  type: "object"
1172
1193
  },
1173
- message: "should be object"
1194
+ message: "must be object"
1174
1195
  };
1175
1196
  if (vErrors === null) {
1176
1197
  vErrors = [err1];
@@ -1184,7 +1205,7 @@ function validate87(data, {
1184
1205
  }
1185
1206
 
1186
1207
  function validate90(data, {
1187
- dataPath = "",
1208
+ instancePath = "",
1188
1209
  parentData,
1189
1210
  parentDataProperty,
1190
1211
  rootData = data
@@ -1195,13 +1216,13 @@ function validate90(data, {
1195
1216
  for (const key0 in data) {
1196
1217
  if (!((((((key0 === "alignment") || (key0 === "width")) || (key0 === "wrapWord")) || (key0 === "truncate")) || (key0 === "paddingLeft")) || (key0 === "paddingRight"))) {
1197
1218
  const err0 = {
1198
- keyword: "additionalProperties",
1199
- dataPath,
1219
+ instancePath,
1200
1220
  schemaPath: "#/additionalProperties",
1221
+ keyword: "additionalProperties",
1201
1222
  params: {
1202
1223
  additionalProperty: key0
1203
1224
  },
1204
- message: "should NOT have additional properties"
1225
+ message: "must NOT have additional properties"
1205
1226
  };
1206
1227
  if (vErrors === null) {
1207
1228
  vErrors = [err0];
@@ -1215,13 +1236,13 @@ function validate90(data, {
1215
1236
  let data0 = data.alignment;
1216
1237
  if (typeof data0 !== "string") {
1217
1238
  const err1 = {
1218
- keyword: "type",
1219
- dataPath: dataPath + "/alignment",
1239
+ instancePath: instancePath + "/alignment",
1220
1240
  schemaPath: "#/properties/alignment/type",
1241
+ keyword: "type",
1221
1242
  params: {
1222
1243
  type: "string"
1223
1244
  },
1224
- message: "should be string"
1245
+ message: "must be string"
1225
1246
  };
1226
1247
  if (vErrors === null) {
1227
1248
  vErrors = [err1];
@@ -1232,13 +1253,13 @@ function validate90(data, {
1232
1253
  }
1233
1254
  if (!(((data0 === "left") || (data0 === "right")) || (data0 === "center"))) {
1234
1255
  const err2 = {
1235
- keyword: "enum",
1236
- dataPath: dataPath + "/alignment",
1256
+ instancePath: instancePath + "/alignment",
1237
1257
  schemaPath: "#/properties/alignment/enum",
1258
+ keyword: "enum",
1238
1259
  params: {
1239
1260
  allowedValues: schema18.properties.alignment.enum
1240
1261
  },
1241
- message: "should be equal to one of the allowed values"
1262
+ message: "must be equal to one of the allowed values"
1242
1263
  };
1243
1264
  if (vErrors === null) {
1244
1265
  vErrors = [err2];
@@ -1252,13 +1273,13 @@ function validate90(data, {
1252
1273
  let data1 = data.width;
1253
1274
  if (!((typeof data1 == "number") && (isFinite(data1)))) {
1254
1275
  const err3 = {
1255
- keyword: "type",
1256
- dataPath: dataPath + "/width",
1276
+ instancePath: instancePath + "/width",
1257
1277
  schemaPath: "#/properties/width/type",
1278
+ keyword: "type",
1258
1279
  params: {
1259
1280
  type: "number"
1260
1281
  },
1261
- message: "should be number"
1282
+ message: "must be number"
1262
1283
  };
1263
1284
  if (vErrors === null) {
1264
1285
  vErrors = [err3];
@@ -1271,13 +1292,13 @@ function validate90(data, {
1271
1292
  if (data.wrapWord !== undefined) {
1272
1293
  if (typeof data.wrapWord !== "boolean") {
1273
1294
  const err4 = {
1274
- keyword: "type",
1275
- dataPath: dataPath + "/wrapWord",
1295
+ instancePath: instancePath + "/wrapWord",
1276
1296
  schemaPath: "#/properties/wrapWord/type",
1297
+ keyword: "type",
1277
1298
  params: {
1278
1299
  type: "boolean"
1279
1300
  },
1280
- message: "should be boolean"
1301
+ message: "must be boolean"
1281
1302
  };
1282
1303
  if (vErrors === null) {
1283
1304
  vErrors = [err4];
@@ -1291,13 +1312,13 @@ function validate90(data, {
1291
1312
  let data3 = data.truncate;
1292
1313
  if (!((typeof data3 == "number") && (isFinite(data3)))) {
1293
1314
  const err5 = {
1294
- keyword: "type",
1295
- dataPath: dataPath + "/truncate",
1315
+ instancePath: instancePath + "/truncate",
1296
1316
  schemaPath: "#/properties/truncate/type",
1317
+ keyword: "type",
1297
1318
  params: {
1298
1319
  type: "number"
1299
1320
  },
1300
- message: "should be number"
1321
+ message: "must be number"
1301
1322
  };
1302
1323
  if (vErrors === null) {
1303
1324
  vErrors = [err5];
@@ -1311,13 +1332,13 @@ function validate90(data, {
1311
1332
  let data4 = data.paddingLeft;
1312
1333
  if (!((typeof data4 == "number") && (isFinite(data4)))) {
1313
1334
  const err6 = {
1314
- keyword: "type",
1315
- dataPath: dataPath + "/paddingLeft",
1335
+ instancePath: instancePath + "/paddingLeft",
1316
1336
  schemaPath: "#/properties/paddingLeft/type",
1337
+ keyword: "type",
1317
1338
  params: {
1318
1339
  type: "number"
1319
1340
  },
1320
- message: "should be number"
1341
+ message: "must be number"
1321
1342
  };
1322
1343
  if (vErrors === null) {
1323
1344
  vErrors = [err6];
@@ -1331,13 +1352,13 @@ function validate90(data, {
1331
1352
  let data5 = data.paddingRight;
1332
1353
  if (!((typeof data5 == "number") && (isFinite(data5)))) {
1333
1354
  const err7 = {
1334
- keyword: "type",
1335
- dataPath: dataPath + "/paddingRight",
1355
+ instancePath: instancePath + "/paddingRight",
1336
1356
  schemaPath: "#/properties/paddingRight/type",
1357
+ keyword: "type",
1337
1358
  params: {
1338
1359
  type: "number"
1339
1360
  },
1340
- message: "should be number"
1361
+ message: "must be number"
1341
1362
  };
1342
1363
  if (vErrors === null) {
1343
1364
  vErrors = [err7];
@@ -1349,13 +1370,13 @@ function validate90(data, {
1349
1370
  }
1350
1371
  } else {
1351
1372
  const err8 = {
1352
- keyword: "type",
1353
- dataPath,
1373
+ instancePath,
1354
1374
  schemaPath: "#/type",
1375
+ keyword: "type",
1355
1376
  params: {
1356
1377
  type: "object"
1357
1378
  },
1358
- message: "should be object"
1379
+ message: "must be object"
1359
1380
  };
1360
1381
  if (vErrors === null) {
1361
1382
  vErrors = [err8];
@@ -1369,7 +1390,7 @@ function validate90(data, {
1369
1390
  }
1370
1391
 
1371
1392
  function validate69(data, {
1372
- dataPath = "",
1393
+ instancePath = "",
1373
1394
  parentData,
1374
1395
  parentDataProperty,
1375
1396
  rootData = data
@@ -1381,13 +1402,13 @@ function validate69(data, {
1381
1402
  for (const key0 in data) {
1382
1403
  if (!((((key0 === "border") || (key0 === "columns")) || (key0 === "columnDefault")) || (key0 === "columnCount"))) {
1383
1404
  const err0 = {
1384
- keyword: "additionalProperties",
1385
- dataPath,
1405
+ instancePath,
1386
1406
  schemaPath: "#/additionalProperties",
1407
+ keyword: "additionalProperties",
1387
1408
  params: {
1388
1409
  additionalProperty: key0
1389
1410
  },
1390
- message: "should NOT have additional properties"
1411
+ message: "must NOT have additional properties"
1391
1412
  };
1392
1413
  if (vErrors === null) {
1393
1414
  vErrors = [err0];
@@ -1399,7 +1420,7 @@ function validate69(data, {
1399
1420
  }
1400
1421
  if (data.border !== undefined) {
1401
1422
  if (!(validate70(data.border, {
1402
- dataPath: dataPath + "/border",
1423
+ instancePath: instancePath + "/border",
1403
1424
  parentData: data,
1404
1425
  parentDataProperty: "border",
1405
1426
  rootData
@@ -1410,7 +1431,7 @@ function validate69(data, {
1410
1431
  }
1411
1432
  if (data.columns !== undefined) {
1412
1433
  if (!(validate87(data.columns, {
1413
- dataPath: dataPath + "/columns",
1434
+ instancePath: instancePath + "/columns",
1414
1435
  parentData: data,
1415
1436
  parentDataProperty: "columns",
1416
1437
  rootData
@@ -1421,7 +1442,7 @@ function validate69(data, {
1421
1442
  }
1422
1443
  if (data.columnDefault !== undefined) {
1423
1444
  if (!(validate90(data.columnDefault, {
1424
- dataPath: dataPath + "/columnDefault",
1445
+ instancePath: instancePath + "/columnDefault",
1425
1446
  parentData: data,
1426
1447
  parentDataProperty: "columnDefault",
1427
1448
  rootData
@@ -1434,13 +1455,13 @@ function validate69(data, {
1434
1455
  let data3 = data.columnCount;
1435
1456
  if (!((typeof data3 == "number") && (isFinite(data3)))) {
1436
1457
  const err1 = {
1437
- keyword: "type",
1438
- dataPath: dataPath + "/columnCount",
1458
+ instancePath: instancePath + "/columnCount",
1439
1459
  schemaPath: "#/properties/columnCount/type",
1460
+ keyword: "type",
1440
1461
  params: {
1441
1462
  type: "number"
1442
1463
  },
1443
- message: "should be number"
1464
+ message: "must be number"
1444
1465
  };
1445
1466
  if (vErrors === null) {
1446
1467
  vErrors = [err1];
@@ -1452,13 +1473,13 @@ function validate69(data, {
1452
1473
  }
1453
1474
  } else {
1454
1475
  const err2 = {
1455
- keyword: "type",
1456
- dataPath,
1476
+ instancePath,
1457
1477
  schemaPath: "#/type",
1478
+ keyword: "type",
1458
1479
  params: {
1459
1480
  type: "object"
1460
1481
  },
1461
- message: "should be object"
1482
+ message: "must be object"
1462
1483
  };
1463
1484
  if (vErrors === null) {
1464
1485
  vErrors = [err2];