2 exports["config.json"] = validate43;
5 "$schema": "http://json-schema.org/draft-07/schema#",
9 "$ref": "shared.json#/definitions/borders"
18 "$ref": "shared.json#/definitions/alignment"
33 "required": ["content"],
34 "additionalProperties": false
37 "$ref": "shared.json#/definitions/columns"
40 "$ref": "shared.json#/definitions/column"
45 "drawHorizontalLine": {
52 "additionalProperties": false
58 "$ref": "#/definitions/border"
61 "$ref": "#/definitions/border"
64 "$ref": "#/definitions/border"
67 "$ref": "#/definitions/border"
70 "$ref": "#/definitions/border"
73 "$ref": "#/definitions/border"
76 "$ref": "#/definitions/border"
79 "$ref": "#/definitions/border"
82 "$ref": "#/definitions/border"
85 "$ref": "#/definitions/border"
88 "$ref": "#/definitions/border"
91 "$ref": "#/definitions/border"
94 "$ref": "#/definitions/border"
97 "$ref": "#/definitions/border"
100 "$ref": "#/definitions/border"
103 "$ref": "#/definitions/border"
106 "additionalProperties": false
108 const func8 = Object.prototype.hasOwnProperty;
112 function validate46(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
115 if (typeof data !== "string") {
118 schemaPath: "#/type",
123 message: "must be string"
125 if (vErrors === null) {
133 validate46.errors = vErrors;
136 function validate45(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
139 if (data && typeof data == "object" && !Array.isArray(data)) {
140 for (const key0 in data) {
141 if (!(func8.call(schema15.properties, key0))) {
144 schemaPath: "#/additionalProperties",
145 keyword: "additionalProperties",
147 additionalProperty: key0
149 message: "must NOT have additional properties"
151 if (vErrors === null) {
160 if (data.topBody !== undefined) {
161 if (!(validate46(data.topBody, {
162 instancePath: instancePath + "/topBody",
164 parentDataProperty: "topBody",
167 vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
168 errors = vErrors.length;
171 if (data.topJoin !== undefined) {
172 if (!(validate46(data.topJoin, {
173 instancePath: instancePath + "/topJoin",
175 parentDataProperty: "topJoin",
178 vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
179 errors = vErrors.length;
182 if (data.topLeft !== undefined) {
183 if (!(validate46(data.topLeft, {
184 instancePath: instancePath + "/topLeft",
186 parentDataProperty: "topLeft",
189 vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
190 errors = vErrors.length;
193 if (data.topRight !== undefined) {
194 if (!(validate46(data.topRight, {
195 instancePath: instancePath + "/topRight",
197 parentDataProperty: "topRight",
200 vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
201 errors = vErrors.length;
204 if (data.bottomBody !== undefined) {
205 if (!(validate46(data.bottomBody, {
206 instancePath: instancePath + "/bottomBody",
208 parentDataProperty: "bottomBody",
211 vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
212 errors = vErrors.length;
215 if (data.bottomJoin !== undefined) {
216 if (!(validate46(data.bottomJoin, {
217 instancePath: instancePath + "/bottomJoin",
219 parentDataProperty: "bottomJoin",
222 vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
223 errors = vErrors.length;
226 if (data.bottomLeft !== undefined) {
227 if (!(validate46(data.bottomLeft, {
228 instancePath: instancePath + "/bottomLeft",
230 parentDataProperty: "bottomLeft",
233 vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
234 errors = vErrors.length;
237 if (data.bottomRight !== undefined) {
238 if (!(validate46(data.bottomRight, {
239 instancePath: instancePath + "/bottomRight",
241 parentDataProperty: "bottomRight",
244 vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
245 errors = vErrors.length;
248 if (data.bodyLeft !== undefined) {
249 if (!(validate46(data.bodyLeft, {
250 instancePath: instancePath + "/bodyLeft",
252 parentDataProperty: "bodyLeft",
255 vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
256 errors = vErrors.length;
259 if (data.bodyRight !== undefined) {
260 if (!(validate46(data.bodyRight, {
261 instancePath: instancePath + "/bodyRight",
263 parentDataProperty: "bodyRight",
266 vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
267 errors = vErrors.length;
270 if (data.bodyJoin !== undefined) {
271 if (!(validate46(data.bodyJoin, {
272 instancePath: instancePath + "/bodyJoin",
274 parentDataProperty: "bodyJoin",
277 vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
278 errors = vErrors.length;
281 if (data.headerJoin !== undefined) {
282 if (!(validate46(data.headerJoin, {
283 instancePath: instancePath + "/headerJoin",
285 parentDataProperty: "headerJoin",
288 vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
289 errors = vErrors.length;
292 if (data.joinBody !== undefined) {
293 if (!(validate46(data.joinBody, {
294 instancePath: instancePath + "/joinBody",
296 parentDataProperty: "joinBody",
299 vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
300 errors = vErrors.length;
303 if (data.joinLeft !== undefined) {
304 if (!(validate46(data.joinLeft, {
305 instancePath: instancePath + "/joinLeft",
307 parentDataProperty: "joinLeft",
310 vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
311 errors = vErrors.length;
314 if (data.joinRight !== undefined) {
315 if (!(validate46(data.joinRight, {
316 instancePath: instancePath + "/joinRight",
318 parentDataProperty: "joinRight",
321 vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
322 errors = vErrors.length;
325 if (data.joinJoin !== undefined) {
326 if (!(validate46(data.joinJoin, {
327 instancePath: instancePath + "/joinJoin",
329 parentDataProperty: "joinJoin",
332 vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
333 errors = vErrors.length;
340 schemaPath: "#/type",
345 message: "must be object"
347 if (vErrors === null) {
355 validate45.errors = vErrors;
360 "enum": ["left", "right", "center", "justify"]
362 const func0 = require("ajv/dist/runtime/equal").default;
363 function validate64(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
366 if (typeof data !== "string") {
369 schemaPath: "#/type",
374 message: "must be string"
376 if (vErrors === null) {
384 if (!((((data === "left") || (data === "right")) || (data === "center")) || (data === "justify"))) {
387 schemaPath: "#/enum",
390 allowedValues: schema17.enum
392 message: "must be equal to one of the allowed values"
394 if (vErrors === null) {
402 validate64.errors = vErrors;
408 "patternProperties": {
410 "$ref": "#/definitions/column"
413 "additionalProperties": false
417 "$ref": "#/definitions/column"
421 const pattern0 = new RegExp("^[0-9]+$", "u");
426 "$ref": "#/definitions/alignment"
428 "verticalAlignment": {
430 "enum": ["top", "middle", "bottom"]
449 "additionalProperties": false
451 function validate68(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
454 if (typeof data !== "string") {
457 schemaPath: "#/type",
462 message: "must be string"
464 if (vErrors === null) {
472 if (!((((data === "left") || (data === "right")) || (data === "center")) || (data === "justify"))) {
475 schemaPath: "#/enum",
478 allowedValues: schema17.enum
480 message: "must be equal to one of the allowed values"
482 if (vErrors === null) {
490 validate68.errors = vErrors;
493 function validate67(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
496 if (data && typeof data == "object" && !Array.isArray(data)) {
497 for (const key0 in data) {
498 if (!(((((((key0 === "alignment") || (key0 === "verticalAlignment")) || (key0 === "width")) || (key0 === "wrapWord")) || (key0 === "truncate")) || (key0 === "paddingLeft")) || (key0 === "paddingRight"))) {
501 schemaPath: "#/additionalProperties",
502 keyword: "additionalProperties",
504 additionalProperty: key0
506 message: "must NOT have additional properties"
508 if (vErrors === null) {
517 if (data.alignment !== undefined) {
518 if (!(validate68(data.alignment, {
519 instancePath: instancePath + "/alignment",
521 parentDataProperty: "alignment",
524 vErrors = vErrors === null ? validate68.errors : vErrors.concat(validate68.errors);
525 errors = vErrors.length;
528 if (data.verticalAlignment !== undefined) {
529 let data1 = data.verticalAlignment;
530 if (typeof data1 !== "string") {
532 instancePath: instancePath + "/verticalAlignment",
533 schemaPath: "#/properties/verticalAlignment/type",
538 message: "must be string"
540 if (vErrors === null) {
548 if (!(((data1 === "top") || (data1 === "middle")) || (data1 === "bottom"))) {
550 instancePath: instancePath + "/verticalAlignment",
551 schemaPath: "#/properties/verticalAlignment/enum",
554 allowedValues: schema19.properties.verticalAlignment.enum
556 message: "must be equal to one of the allowed values"
558 if (vErrors === null) {
567 if (data.width !== undefined) {
568 let data2 = data.width;
569 if (!(((typeof data2 == "number") && (!(data2 % 1) && !isNaN(data2))) && (isFinite(data2)))) {
571 instancePath: instancePath + "/width",
572 schemaPath: "#/properties/width/type",
577 message: "must be integer"
579 if (vErrors === null) {
587 if ((typeof data2 == "number") && (isFinite(data2))) {
588 if (data2 < 1 || isNaN(data2)) {
590 instancePath: instancePath + "/width",
591 schemaPath: "#/properties/width/minimum",
597 message: "must be >= 1"
599 if (vErrors === null) {
609 if (data.wrapWord !== undefined) {
610 if (typeof data.wrapWord !== "boolean") {
612 instancePath: instancePath + "/wrapWord",
613 schemaPath: "#/properties/wrapWord/type",
618 message: "must be boolean"
620 if (vErrors === null) {
629 if (data.truncate !== undefined) {
630 let data4 = data.truncate;
631 if (!(((typeof data4 == "number") && (!(data4 % 1) && !isNaN(data4))) && (isFinite(data4)))) {
633 instancePath: instancePath + "/truncate",
634 schemaPath: "#/properties/truncate/type",
639 message: "must be integer"
641 if (vErrors === null) {
650 if (data.paddingLeft !== undefined) {
651 let data5 = data.paddingLeft;
652 if (!(((typeof data5 == "number") && (!(data5 % 1) && !isNaN(data5))) && (isFinite(data5)))) {
654 instancePath: instancePath + "/paddingLeft",
655 schemaPath: "#/properties/paddingLeft/type",
660 message: "must be integer"
662 if (vErrors === null) {
671 if (data.paddingRight !== undefined) {
672 let data6 = data.paddingRight;
673 if (!(((typeof data6 == "number") && (!(data6 % 1) && !isNaN(data6))) && (isFinite(data6)))) {
675 instancePath: instancePath + "/paddingRight",
676 schemaPath: "#/properties/paddingRight/type",
681 message: "must be integer"
683 if (vErrors === null) {
696 schemaPath: "#/type",
701 message: "must be object"
703 if (vErrors === null) {
711 validate67.errors = vErrors;
714 function validate66(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
717 const _errs0 = errors;
720 const _errs1 = errors;
721 if (data && typeof data == "object" && !Array.isArray(data)) {
722 for (const key0 in data) {
723 if (!(pattern0.test(key0))) {
726 schemaPath: "#/oneOf/0/additionalProperties",
727 keyword: "additionalProperties",
729 additionalProperty: key0
731 message: "must NOT have additional properties"
733 if (vErrors === null) {
742 for (const key1 in data) {
743 if (pattern0.test(key1)) {
744 if (!(validate67(data[key1], {
745 instancePath: instancePath + "/" + key1.replace(/~/g, "~0").replace(/\//g, "~1"),
747 parentDataProperty: key1,
750 vErrors = vErrors === null ? validate67.errors : vErrors.concat(validate67.errors);
751 errors = vErrors.length;
759 schemaPath: "#/oneOf/0/type",
764 message: "must be object"
766 if (vErrors === null) {
774 var _valid0 = _errs1 === errors;
779 const _errs5 = errors;
780 if (Array.isArray(data)) {
781 const len0 = data.length;
782 for (let i0 = 0; i0 < len0; i0++) {
783 if (!(validate67(data[i0], {
784 instancePath: instancePath + "/" + i0,
786 parentDataProperty: i0,
789 vErrors = vErrors === null ? validate67.errors : vErrors.concat(validate67.errors);
790 errors = vErrors.length;
797 schemaPath: "#/oneOf/1/type",
802 message: "must be array"
804 if (vErrors === null) {
812 var _valid0 = _errs5 === errors;
813 if (_valid0 && valid0) {
815 passing0 = [passing0, 1];
826 schemaPath: "#/oneOf",
829 passingSchemas: passing0
831 message: "must match exactly one schema in oneOf"
833 if (vErrors === null) {
843 if (vErrors !== null) {
845 vErrors.length = _errs0;
852 validate66.errors = vErrors;
855 function validate73(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
858 if (data && typeof data == "object" && !Array.isArray(data)) {
859 for (const key0 in data) {
860 if (!(((((((key0 === "alignment") || (key0 === "verticalAlignment")) || (key0 === "width")) || (key0 === "wrapWord")) || (key0 === "truncate")) || (key0 === "paddingLeft")) || (key0 === "paddingRight"))) {
863 schemaPath: "#/additionalProperties",
864 keyword: "additionalProperties",
866 additionalProperty: key0
868 message: "must NOT have additional properties"
870 if (vErrors === null) {
879 if (data.alignment !== undefined) {
880 if (!(validate68(data.alignment, {
881 instancePath: instancePath + "/alignment",
883 parentDataProperty: "alignment",
886 vErrors = vErrors === null ? validate68.errors : vErrors.concat(validate68.errors);
887 errors = vErrors.length;
890 if (data.verticalAlignment !== undefined) {
891 let data1 = data.verticalAlignment;
892 if (typeof data1 !== "string") {
894 instancePath: instancePath + "/verticalAlignment",
895 schemaPath: "#/properties/verticalAlignment/type",
900 message: "must be string"
902 if (vErrors === null) {
910 if (!(((data1 === "top") || (data1 === "middle")) || (data1 === "bottom"))) {
912 instancePath: instancePath + "/verticalAlignment",
913 schemaPath: "#/properties/verticalAlignment/enum",
916 allowedValues: schema19.properties.verticalAlignment.enum
918 message: "must be equal to one of the allowed values"
920 if (vErrors === null) {
929 if (data.width !== undefined) {
930 let data2 = data.width;
931 if (!(((typeof data2 == "number") && (!(data2 % 1) && !isNaN(data2))) && (isFinite(data2)))) {
933 instancePath: instancePath + "/width",
934 schemaPath: "#/properties/width/type",
939 message: "must be integer"
941 if (vErrors === null) {
949 if ((typeof data2 == "number") && (isFinite(data2))) {
950 if (data2 < 1 || isNaN(data2)) {
952 instancePath: instancePath + "/width",
953 schemaPath: "#/properties/width/minimum",
959 message: "must be >= 1"
961 if (vErrors === null) {
971 if (data.wrapWord !== undefined) {
972 if (typeof data.wrapWord !== "boolean") {
974 instancePath: instancePath + "/wrapWord",
975 schemaPath: "#/properties/wrapWord/type",
980 message: "must be boolean"
982 if (vErrors === null) {
991 if (data.truncate !== undefined) {
992 let data4 = data.truncate;
993 if (!(((typeof data4 == "number") && (!(data4 % 1) && !isNaN(data4))) && (isFinite(data4)))) {
995 instancePath: instancePath + "/truncate",
996 schemaPath: "#/properties/truncate/type",
1001 message: "must be integer"
1003 if (vErrors === null) {
1012 if (data.paddingLeft !== undefined) {
1013 let data5 = data.paddingLeft;
1014 if (!(((typeof data5 == "number") && (!(data5 % 1) && !isNaN(data5))) && (isFinite(data5)))) {
1016 instancePath: instancePath + "/paddingLeft",
1017 schemaPath: "#/properties/paddingLeft/type",
1022 message: "must be integer"
1024 if (vErrors === null) {
1033 if (data.paddingRight !== undefined) {
1034 let data6 = data.paddingRight;
1035 if (!(((typeof data6 == "number") && (!(data6 % 1) && !isNaN(data6))) && (isFinite(data6)))) {
1037 instancePath: instancePath + "/paddingRight",
1038 schemaPath: "#/properties/paddingRight/type",
1043 message: "must be integer"
1045 if (vErrors === null) {
1058 schemaPath: "#/type",
1063 message: "must be object"
1065 if (vErrors === null) {
1073 validate73.errors = vErrors;
1074 return errors === 0;
1076 function validate43(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
1077 /*# sourceURL="config.json" */ ;
1080 if (data && typeof data == "object" && !Array.isArray(data)) {
1081 for (const key0 in data) {
1082 if (!(((((((key0 === "border") || (key0 === "header")) || (key0 === "columns")) || (key0 === "columnDefault")) || (key0 === "drawVerticalLine")) || (key0 === "drawHorizontalLine")) || (key0 === "singleLine"))) {
1085 schemaPath: "#/additionalProperties",
1086 keyword: "additionalProperties",
1088 additionalProperty: key0
1090 message: "must NOT have additional properties"
1092 if (vErrors === null) {
1101 if (data.border !== undefined) {
1102 if (!(validate45(data.border, {
1103 instancePath: instancePath + "/border",
1105 parentDataProperty: "border",
1108 vErrors = vErrors === null ? validate45.errors : vErrors.concat(validate45.errors);
1109 errors = vErrors.length;
1112 if (data.header !== undefined) {
1113 let data1 = data.header;
1114 if (data1 && typeof data1 == "object" && !Array.isArray(data1)) {
1115 if (data1.content === undefined) {
1117 instancePath: instancePath + "/header",
1118 schemaPath: "#/properties/header/required",
1119 keyword: "required",
1121 missingProperty: "content"
1123 message: "must have required property '" + "content" + "'"
1125 if (vErrors === null) {
1133 for (const key1 in data1) {
1134 if (!((((((key1 === "content") || (key1 === "alignment")) || (key1 === "wrapWord")) || (key1 === "truncate")) || (key1 === "paddingLeft")) || (key1 === "paddingRight"))) {
1136 instancePath: instancePath + "/header",
1137 schemaPath: "#/properties/header/additionalProperties",
1138 keyword: "additionalProperties",
1140 additionalProperty: key1
1142 message: "must NOT have additional properties"
1144 if (vErrors === null) {
1153 if (data1.content !== undefined) {
1154 if (typeof data1.content !== "string") {
1156 instancePath: instancePath + "/header/content",
1157 schemaPath: "#/properties/header/properties/content/type",
1162 message: "must be string"
1164 if (vErrors === null) {
1173 if (data1.alignment !== undefined) {
1174 if (!(validate64(data1.alignment, {
1175 instancePath: instancePath + "/header/alignment",
1177 parentDataProperty: "alignment",
1180 vErrors = vErrors === null ? validate64.errors : vErrors.concat(validate64.errors);
1181 errors = vErrors.length;
1184 if (data1.wrapWord !== undefined) {
1185 if (typeof data1.wrapWord !== "boolean") {
1187 instancePath: instancePath + "/header/wrapWord",
1188 schemaPath: "#/properties/header/properties/wrapWord/type",
1193 message: "must be boolean"
1195 if (vErrors === null) {
1204 if (data1.truncate !== undefined) {
1205 let data5 = data1.truncate;
1206 if (!(((typeof data5 == "number") && (!(data5 % 1) && !isNaN(data5))) && (isFinite(data5)))) {
1208 instancePath: instancePath + "/header/truncate",
1209 schemaPath: "#/properties/header/properties/truncate/type",
1214 message: "must be integer"
1216 if (vErrors === null) {
1225 if (data1.paddingLeft !== undefined) {
1226 let data6 = data1.paddingLeft;
1227 if (!(((typeof data6 == "number") && (!(data6 % 1) && !isNaN(data6))) && (isFinite(data6)))) {
1229 instancePath: instancePath + "/header/paddingLeft",
1230 schemaPath: "#/properties/header/properties/paddingLeft/type",
1235 message: "must be integer"
1237 if (vErrors === null) {
1246 if (data1.paddingRight !== undefined) {
1247 let data7 = data1.paddingRight;
1248 if (!(((typeof data7 == "number") && (!(data7 % 1) && !isNaN(data7))) && (isFinite(data7)))) {
1250 instancePath: instancePath + "/header/paddingRight",
1251 schemaPath: "#/properties/header/properties/paddingRight/type",
1256 message: "must be integer"
1258 if (vErrors === null) {
1270 instancePath: instancePath + "/header",
1271 schemaPath: "#/properties/header/type",
1276 message: "must be object"
1278 if (vErrors === null) {
1287 if (data.columns !== undefined) {
1288 if (!(validate66(data.columns, {
1289 instancePath: instancePath + "/columns",
1291 parentDataProperty: "columns",
1294 vErrors = vErrors === null ? validate66.errors : vErrors.concat(validate66.errors);
1295 errors = vErrors.length;
1298 if (data.columnDefault !== undefined) {
1299 if (!(validate73(data.columnDefault, {
1300 instancePath: instancePath + "/columnDefault",
1302 parentDataProperty: "columnDefault",
1305 vErrors = vErrors === null ? validate73.errors : vErrors.concat(validate73.errors);
1306 errors = vErrors.length;
1309 if (data.drawVerticalLine !== undefined) {
1310 if (typeof data.drawVerticalLine != "function") {
1312 instancePath: instancePath + "/drawVerticalLine",
1313 schemaPath: "#/properties/drawVerticalLine/typeof",
1316 message: "must pass \"typeof\" keyword validation"
1318 if (vErrors === null) {
1327 if (data.drawHorizontalLine !== undefined) {
1328 if (typeof data.drawHorizontalLine != "function") {
1330 instancePath: instancePath + "/drawHorizontalLine",
1331 schemaPath: "#/properties/drawHorizontalLine/typeof",
1334 message: "must pass \"typeof\" keyword validation"
1336 if (vErrors === null) {
1340 vErrors.push(err10);
1345 if (data.singleLine !== undefined) {
1346 if (typeof data.singleLine != "boolean") {
1348 instancePath: instancePath + "/singleLine",
1349 schemaPath: "#/properties/singleLine/typeof",
1352 message: "must pass \"typeof\" keyword validation"
1354 if (vErrors === null) {
1358 vErrors.push(err11);
1367 schemaPath: "#/type",
1372 message: "must be object"
1374 if (vErrors === null) {
1378 vErrors.push(err12);
1382 validate43.errors = vErrors;
1383 return errors === 0;
1385 exports["streamConfig.json"] = validate76;
1387 "$id": "streamConfig.json",
1388 "$schema": "http://json-schema.org/draft-07/schema#",
1392 "$ref": "shared.json#/definitions/borders"
1395 "$ref": "shared.json#/definitions/columns"
1398 "$ref": "shared.json#/definitions/column"
1404 "drawVerticalLine": {
1405 "typeof": "function"
1408 "required": ["columnDefault", "columnCount"],
1409 "additionalProperties": false
1411 function validate77(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
1414 if (data && typeof data == "object" && !Array.isArray(data)) {
1415 for (const key0 in data) {
1416 if (!(func8.call(schema15.properties, key0))) {
1419 schemaPath: "#/additionalProperties",
1420 keyword: "additionalProperties",
1422 additionalProperty: key0
1424 message: "must NOT have additional properties"
1426 if (vErrors === null) {
1435 if (data.topBody !== undefined) {
1436 if (!(validate46(data.topBody, {
1437 instancePath: instancePath + "/topBody",
1439 parentDataProperty: "topBody",
1442 vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
1443 errors = vErrors.length;
1446 if (data.topJoin !== undefined) {
1447 if (!(validate46(data.topJoin, {
1448 instancePath: instancePath + "/topJoin",
1450 parentDataProperty: "topJoin",
1453 vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
1454 errors = vErrors.length;
1457 if (data.topLeft !== undefined) {
1458 if (!(validate46(data.topLeft, {
1459 instancePath: instancePath + "/topLeft",
1461 parentDataProperty: "topLeft",
1464 vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
1465 errors = vErrors.length;
1468 if (data.topRight !== undefined) {
1469 if (!(validate46(data.topRight, {
1470 instancePath: instancePath + "/topRight",
1472 parentDataProperty: "topRight",
1475 vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
1476 errors = vErrors.length;
1479 if (data.bottomBody !== undefined) {
1480 if (!(validate46(data.bottomBody, {
1481 instancePath: instancePath + "/bottomBody",
1483 parentDataProperty: "bottomBody",
1486 vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
1487 errors = vErrors.length;
1490 if (data.bottomJoin !== undefined) {
1491 if (!(validate46(data.bottomJoin, {
1492 instancePath: instancePath + "/bottomJoin",
1494 parentDataProperty: "bottomJoin",
1497 vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
1498 errors = vErrors.length;
1501 if (data.bottomLeft !== undefined) {
1502 if (!(validate46(data.bottomLeft, {
1503 instancePath: instancePath + "/bottomLeft",
1505 parentDataProperty: "bottomLeft",
1508 vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
1509 errors = vErrors.length;
1512 if (data.bottomRight !== undefined) {
1513 if (!(validate46(data.bottomRight, {
1514 instancePath: instancePath + "/bottomRight",
1516 parentDataProperty: "bottomRight",
1519 vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
1520 errors = vErrors.length;
1523 if (data.bodyLeft !== undefined) {
1524 if (!(validate46(data.bodyLeft, {
1525 instancePath: instancePath + "/bodyLeft",
1527 parentDataProperty: "bodyLeft",
1530 vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
1531 errors = vErrors.length;
1534 if (data.bodyRight !== undefined) {
1535 if (!(validate46(data.bodyRight, {
1536 instancePath: instancePath + "/bodyRight",
1538 parentDataProperty: "bodyRight",
1541 vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
1542 errors = vErrors.length;
1545 if (data.bodyJoin !== undefined) {
1546 if (!(validate46(data.bodyJoin, {
1547 instancePath: instancePath + "/bodyJoin",
1549 parentDataProperty: "bodyJoin",
1552 vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
1553 errors = vErrors.length;
1556 if (data.headerJoin !== undefined) {
1557 if (!(validate46(data.headerJoin, {
1558 instancePath: instancePath + "/headerJoin",
1560 parentDataProperty: "headerJoin",
1563 vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
1564 errors = vErrors.length;
1567 if (data.joinBody !== undefined) {
1568 if (!(validate46(data.joinBody, {
1569 instancePath: instancePath + "/joinBody",
1571 parentDataProperty: "joinBody",
1574 vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
1575 errors = vErrors.length;
1578 if (data.joinLeft !== undefined) {
1579 if (!(validate46(data.joinLeft, {
1580 instancePath: instancePath + "/joinLeft",
1582 parentDataProperty: "joinLeft",
1585 vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
1586 errors = vErrors.length;
1589 if (data.joinRight !== undefined) {
1590 if (!(validate46(data.joinRight, {
1591 instancePath: instancePath + "/joinRight",
1593 parentDataProperty: "joinRight",
1596 vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
1597 errors = vErrors.length;
1600 if (data.joinJoin !== undefined) {
1601 if (!(validate46(data.joinJoin, {
1602 instancePath: instancePath + "/joinJoin",
1604 parentDataProperty: "joinJoin",
1607 vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
1608 errors = vErrors.length;
1615 schemaPath: "#/type",
1620 message: "must be object"
1622 if (vErrors === null) {
1630 validate77.errors = vErrors;
1631 return errors === 0;
1633 function validate95(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
1636 const _errs0 = errors;
1638 let passing0 = null;
1639 const _errs1 = errors;
1640 if (data && typeof data == "object" && !Array.isArray(data)) {
1641 for (const key0 in data) {
1642 if (!(pattern0.test(key0))) {
1645 schemaPath: "#/oneOf/0/additionalProperties",
1646 keyword: "additionalProperties",
1648 additionalProperty: key0
1650 message: "must NOT have additional properties"
1652 if (vErrors === null) {
1661 for (const key1 in data) {
1662 if (pattern0.test(key1)) {
1663 if (!(validate67(data[key1], {
1664 instancePath: instancePath + "/" + key1.replace(/~/g, "~0").replace(/\//g, "~1"),
1666 parentDataProperty: key1,
1669 vErrors = vErrors === null ? validate67.errors : vErrors.concat(validate67.errors);
1670 errors = vErrors.length;
1678 schemaPath: "#/oneOf/0/type",
1683 message: "must be object"
1685 if (vErrors === null) {
1693 var _valid0 = _errs1 === errors;
1698 const _errs5 = errors;
1699 if (Array.isArray(data)) {
1700 const len0 = data.length;
1701 for (let i0 = 0; i0 < len0; i0++) {
1702 if (!(validate67(data[i0], {
1703 instancePath: instancePath + "/" + i0,
1705 parentDataProperty: i0,
1708 vErrors = vErrors === null ? validate67.errors : vErrors.concat(validate67.errors);
1709 errors = vErrors.length;
1716 schemaPath: "#/oneOf/1/type",
1721 message: "must be array"
1723 if (vErrors === null) {
1731 var _valid0 = _errs5 === errors;
1732 if (_valid0 && valid0) {
1734 passing0 = [passing0, 1];
1745 schemaPath: "#/oneOf",
1748 passingSchemas: passing0
1750 message: "must match exactly one schema in oneOf"
1752 if (vErrors === null) {
1762 if (vErrors !== null) {
1764 vErrors.length = _errs0;
1771 validate95.errors = vErrors;
1772 return errors === 0;
1774 function validate99(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
1777 if (data && typeof data == "object" && !Array.isArray(data)) {
1778 for (const key0 in data) {
1779 if (!(((((((key0 === "alignment") || (key0 === "verticalAlignment")) || (key0 === "width")) || (key0 === "wrapWord")) || (key0 === "truncate")) || (key0 === "paddingLeft")) || (key0 === "paddingRight"))) {
1782 schemaPath: "#/additionalProperties",
1783 keyword: "additionalProperties",
1785 additionalProperty: key0
1787 message: "must NOT have additional properties"
1789 if (vErrors === null) {
1798 if (data.alignment !== undefined) {
1799 if (!(validate68(data.alignment, {
1800 instancePath: instancePath + "/alignment",
1802 parentDataProperty: "alignment",
1805 vErrors = vErrors === null ? validate68.errors : vErrors.concat(validate68.errors);
1806 errors = vErrors.length;
1809 if (data.verticalAlignment !== undefined) {
1810 let data1 = data.verticalAlignment;
1811 if (typeof data1 !== "string") {
1813 instancePath: instancePath + "/verticalAlignment",
1814 schemaPath: "#/properties/verticalAlignment/type",
1819 message: "must be string"
1821 if (vErrors === null) {
1829 if (!(((data1 === "top") || (data1 === "middle")) || (data1 === "bottom"))) {
1831 instancePath: instancePath + "/verticalAlignment",
1832 schemaPath: "#/properties/verticalAlignment/enum",
1835 allowedValues: schema19.properties.verticalAlignment.enum
1837 message: "must be equal to one of the allowed values"
1839 if (vErrors === null) {
1848 if (data.width !== undefined) {
1849 let data2 = data.width;
1850 if (!(((typeof data2 == "number") && (!(data2 % 1) && !isNaN(data2))) && (isFinite(data2)))) {
1852 instancePath: instancePath + "/width",
1853 schemaPath: "#/properties/width/type",
1858 message: "must be integer"
1860 if (vErrors === null) {
1868 if ((typeof data2 == "number") && (isFinite(data2))) {
1869 if (data2 < 1 || isNaN(data2)) {
1871 instancePath: instancePath + "/width",
1872 schemaPath: "#/properties/width/minimum",
1878 message: "must be >= 1"
1880 if (vErrors === null) {
1890 if (data.wrapWord !== undefined) {
1891 if (typeof data.wrapWord !== "boolean") {
1893 instancePath: instancePath + "/wrapWord",
1894 schemaPath: "#/properties/wrapWord/type",
1899 message: "must be boolean"
1901 if (vErrors === null) {
1910 if (data.truncate !== undefined) {
1911 let data4 = data.truncate;
1912 if (!(((typeof data4 == "number") && (!(data4 % 1) && !isNaN(data4))) && (isFinite(data4)))) {
1914 instancePath: instancePath + "/truncate",
1915 schemaPath: "#/properties/truncate/type",
1920 message: "must be integer"
1922 if (vErrors === null) {
1931 if (data.paddingLeft !== undefined) {
1932 let data5 = data.paddingLeft;
1933 if (!(((typeof data5 == "number") && (!(data5 % 1) && !isNaN(data5))) && (isFinite(data5)))) {
1935 instancePath: instancePath + "/paddingLeft",
1936 schemaPath: "#/properties/paddingLeft/type",
1941 message: "must be integer"
1943 if (vErrors === null) {
1952 if (data.paddingRight !== undefined) {
1953 let data6 = data.paddingRight;
1954 if (!(((typeof data6 == "number") && (!(data6 % 1) && !isNaN(data6))) && (isFinite(data6)))) {
1956 instancePath: instancePath + "/paddingRight",
1957 schemaPath: "#/properties/paddingRight/type",
1962 message: "must be integer"
1964 if (vErrors === null) {
1977 schemaPath: "#/type",
1982 message: "must be object"
1984 if (vErrors === null) {
1992 validate99.errors = vErrors;
1993 return errors === 0;
1995 function validate76(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
1996 /*# sourceURL="streamConfig.json" */ ;
1999 if (data && typeof data == "object" && !Array.isArray(data)) {
2000 if (data.columnDefault === undefined) {
2003 schemaPath: "#/required",
2004 keyword: "required",
2006 missingProperty: "columnDefault"
2008 message: "must have required property '" + "columnDefault" + "'"
2010 if (vErrors === null) {
2018 if (data.columnCount === undefined) {
2021 schemaPath: "#/required",
2022 keyword: "required",
2024 missingProperty: "columnCount"
2026 message: "must have required property '" + "columnCount" + "'"
2028 if (vErrors === null) {
2036 for (const key0 in data) {
2037 if (!(((((key0 === "border") || (key0 === "columns")) || (key0 === "columnDefault")) || (key0 === "columnCount")) || (key0 === "drawVerticalLine"))) {
2040 schemaPath: "#/additionalProperties",
2041 keyword: "additionalProperties",
2043 additionalProperty: key0
2045 message: "must NOT have additional properties"
2047 if (vErrors === null) {
2056 if (data.border !== undefined) {
2057 if (!(validate77(data.border, {
2058 instancePath: instancePath + "/border",
2060 parentDataProperty: "border",
2063 vErrors = vErrors === null ? validate77.errors : vErrors.concat(validate77.errors);
2064 errors = vErrors.length;
2067 if (data.columns !== undefined) {
2068 if (!(validate95(data.columns, {
2069 instancePath: instancePath + "/columns",
2071 parentDataProperty: "columns",
2074 vErrors = vErrors === null ? validate95.errors : vErrors.concat(validate95.errors);
2075 errors = vErrors.length;
2078 if (data.columnDefault !== undefined) {
2079 if (!(validate99(data.columnDefault, {
2080 instancePath: instancePath + "/columnDefault",
2082 parentDataProperty: "columnDefault",
2085 vErrors = vErrors === null ? validate99.errors : vErrors.concat(validate99.errors);
2086 errors = vErrors.length;
2089 if (data.columnCount !== undefined) {
2090 let data3 = data.columnCount;
2091 if (!(((typeof data3 == "number") && (!(data3 % 1) && !isNaN(data3))) && (isFinite(data3)))) {
2093 instancePath: instancePath + "/columnCount",
2094 schemaPath: "#/properties/columnCount/type",
2099 message: "must be integer"
2101 if (vErrors === null) {
2109 if ((typeof data3 == "number") && (isFinite(data3))) {
2110 if (data3 < 1 || isNaN(data3)) {
2112 instancePath: instancePath + "/columnCount",
2113 schemaPath: "#/properties/columnCount/minimum",
2119 message: "must be >= 1"
2121 if (vErrors === null) {
2131 if (data.drawVerticalLine !== undefined) {
2132 if (typeof data.drawVerticalLine != "function") {
2134 instancePath: instancePath + "/drawVerticalLine",
2135 schemaPath: "#/properties/drawVerticalLine/typeof",
2138 message: "must pass \"typeof\" keyword validation"
2140 if (vErrors === null) {
2153 schemaPath: "#/type",
2158 message: "must be object"
2160 if (vErrors === null) {
2168 validate76.errors = vErrors;
2169 return errors === 0;
2171 //# sourceMappingURL=validators.js.map