.dotfiles/.config/chromium/Default/Extensions/likgccmbimhjbgkjambclfkhldnlhbnn/24.9.9.0_0/lib/validate-schemas.js
2024-09-21 15:05:15 -03:00

5 lines
400 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// @ts-nocheck
import {ucs2length} from './ucs2length.js';"use strict";export const customAudioList = validate10;const schema11 = {"$id":"customAudioList","$schema":"http://json-schema.org/draft-07/schema#","type":"object","required":["type","audioSources"],"additionalProperties":false,"properties":{"type":{"type":"string","const":"audioSourceList"},"audioSources":{"type":"array","items":{"type":"object","required":["url"],"additionalProperties":false,"properties":{"name":{"type":"string"},"url":{"type":"string"}}}}}};function validate10(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){/*# sourceURL="customAudioList" */;let vErrors = null;let errors = 0;if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){let missing0;if(((data.type === undefined) && (missing0 = "type")) || ((data.audioSources === undefined) && (missing0 = "audioSources"))){validate10.errors = [{instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: missing0},message:"must have required property '"+missing0+"'"}];return false;}else {const _errs1 = errors;for(const key0 in data){if(!((key0 === "type") || (key0 === "audioSources"))){validate10.errors = [{instancePath,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"}];return false;break;}}if(_errs1 === errors){if(data.type !== undefined){let data0 = data.type;const _errs2 = errors;if(typeof data0 !== "string"){validate10.errors = [{instancePath:instancePath+"/type",schemaPath:"#/properties/type/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if("audioSourceList" !== data0){validate10.errors = [{instancePath:instancePath+"/type",schemaPath:"#/properties/type/const",keyword:"const",params:{allowedValue: "audioSourceList"},message:"must be equal to constant"}];return false;}var valid0 = _errs2 === errors;}else {var valid0 = true;}if(valid0){if(data.audioSources !== undefined){let data1 = data.audioSources;const _errs4 = errors;if(errors === _errs4){if(Array.isArray(data1)){var valid1 = true;const len0 = data1.length;for(let i0=0; i0<len0; i0++){let data2 = data1[i0];const _errs6 = errors;if(errors === _errs6){if(data2 && typeof data2 == "object" && !Array.isArray(data2)){let missing1;if((data2.url === undefined) && (missing1 = "url")){validate10.errors = [{instancePath:instancePath+"/audioSources/" + i0,schemaPath:"#/properties/audioSources/items/required",keyword:"required",params:{missingProperty: missing1},message:"must have required property '"+missing1+"'"}];return false;}else {const _errs8 = errors;for(const key1 in data2){if(!((key1 === "name") || (key1 === "url"))){validate10.errors = [{instancePath:instancePath+"/audioSources/" + i0,schemaPath:"#/properties/audioSources/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key1},message:"must NOT have additional properties"}];return false;break;}}if(_errs8 === errors){if(data2.name !== undefined){const _errs9 = errors;if(typeof data2.name !== "string"){validate10.errors = [{instancePath:instancePath+"/audioSources/" + i0+"/name",schemaPath:"#/properties/audioSources/items/properties/name/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs9 === errors;}else {var valid2 = true;}if(valid2){if(data2.url !== undefined){const _errs11 = errors;if(typeof data2.url !== "string"){validate10.errors = [{instancePath:instancePath+"/audioSources/" + i0+"/url",schemaPath:"#/properties/audioSources/items/properties/url/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs11 === errors;}else {var valid2 = true;}}}}}else {validate10.errors = [{instancePath:instancePath+"/audioSources/" + i0,schemaPath:"#/properties/audioSources/items/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid1 = _errs6 === errors;if(!valid1){break;}}}else {validate10.errors = [{instancePath:instancePath+"/audioSources",schemaPath:"#/properties/audioSources/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid0 = _errs4 === errors;}else {var valid0 = true;}}}}}else {validate10.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate10.errors = vErrors;return errors === 0;}export const dictionaryIndex = validate11;const schema12 = {"$id":"dictionaryIndex","$schema":"http://json-schema.org/draft-07/schema#","definitions":{"isoLanguageCode":{"type":"string","description":"ISO language code (ISO 639-1 where possible, ISO 639-3 otherwise).","pattern":"^[a-z]{2,3}$"}},"type":"object","description":"Index file containing information about the data contained in the dictionary.","required":["title","revision"],"properties":{"title":{"type":"string","description":"Title of the dictionary."},"revision":{"type":"string","description":"Revision of the dictionary. This value is displayed, and used to check for dictionary updates."},"sequenced":{"type":"boolean","default":false,"description":"Whether or not this dictionary contains sequencing information for related terms."},"format":{"type":"integer","description":"Format of data found in the JSON data files.","enum":[1,2,3]},"version":{"type":"integer","description":"Alias for format.","enum":[1,2,3]},"author":{"type":"string","description":"Creator of the dictionary."},"isUpdatable":{"type":"boolean","const":true,"description":"Whether this dictionary contains links to its latest version."},"indexUrl":{"type":"string","description":"URL for the index file of the latest revision of the dictionary, used to check for updates."},"downloadUrl":{"type":"string","description":"URL for the download of the latest revision of the dictionary."},"url":{"type":"string","description":"URL for the source of the dictionary, displayed in the dictionary details."},"description":{"type":"string","description":"Description of the dictionary data."},"attribution":{"type":"string","description":"Attribution information for the dictionary data."},"sourceLanguage":{"$ref":"#/definitions/isoLanguageCode","description":"Language of the terms in the dictionary."},"targetLanguage":{"$ref":"#/definitions/isoLanguageCode","description":"Main language of the definitions in the dictionary."},"frequencyMode":{"type":"string","enum":["occurrence-based","rank-based"]},"tagMeta":{"type":"object","description":"Tag information for terms and kanji. This object is obsolete and individual tag files should be used instead.","additionalProperties":{"type":"object","description":"Information about a single tag. The object key is the name of the tag.","properties":{"category":{"type":"string","description":"Category for the tag."},"order":{"type":"number","description":"Sorting order for the tag."},"notes":{"type":"string","description":"Notes for the tag."},"score":{"type":"number","description":"Score used to determine popularity. Negative values are more rare and positive values are more frequent. This score is also used to sort search results."}},"additionalProperties":false}}},"anyOf":[{"required":["format"]},{"required":["version"]}],"dependencies":{"isUpdatable":["indexUrl","downloadUrl"]}};const schema13 = {"type":"string","description":"ISO language code (ISO 639-1 where possible, ISO 639-3 otherwise).","pattern":"^[a-z]{2,3}$"};const pattern0 = new RegExp("^[a-z]{2,3}$", "u");function validate11(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){/*# sourceURL="dictionaryIndex" */;let vErrors = null;let errors = 0;const _errs1 = errors;let valid0 = false;const _errs2 = errors;if(data && typeof data == "object" && !Array.isArray(data)){let missing0;if((data.format === undefined) && (missing0 = "format")){const err0 = {instancePath,schemaPath:"#/anyOf/0/required",keyword:"required",params:{missingProperty: missing0},message:"must have required property '"+missing0+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}}var _valid0 = _errs2 === errors;valid0 = valid0 || _valid0;if(!valid0){const _errs3 = errors;if(data && typeof data == "object" && !Array.isArray(data)){let missing1;if((data.version === undefined) && (missing1 = "version")){const err1 = {instancePath,schemaPath:"#/anyOf/1/required",keyword:"required",params:{missingProperty: missing1},message:"must have required property '"+missing1+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}}var _valid0 = _errs3 === errors;valid0 = valid0 || _valid0;}if(!valid0){const err2 = {instancePath,schemaPath:"#/anyOf",keyword:"anyOf",params:{},message:"must match a schema in anyOf"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;validate11.errors = vErrors;return false;}else {errors = _errs1;if(vErrors !== null){if(_errs1){vErrors.length = _errs1;}else {vErrors = null;}}}if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){let missing2;if(((data.title === undefined) && (missing2 = "title")) || ((data.revision === undefined) && (missing2 = "revision"))){validate11.errors = [{instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: missing2},message:"must have required property '"+missing2+"'"}];return false;}else {let missing3;if(data.isUpdatable !== undefined && (((data.indexUrl === undefined) && (missing3 = "indexUrl")) || ((data.downloadUrl === undefined) && (missing3 = "downloadUrl")))){validate11.errors = [{instancePath,schemaPath:"#/dependencies",keyword:"dependencies",params:{property: "isUpdatable",
missingProperty: missing3,
depsCount: 2,
deps: "indexUrl, downloadUrl"},message:"must have properties indexUrl, downloadUrl when property isUpdatable is present"}];return false;}else {if(data.title !== undefined){const _errs4 = errors;if(typeof data.title !== "string"){validate11.errors = [{instancePath:instancePath+"/title",schemaPath:"#/properties/title/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs4 === errors;}else {var valid2 = true;}if(valid2){if(data.revision !== undefined){const _errs6 = errors;if(typeof data.revision !== "string"){validate11.errors = [{instancePath:instancePath+"/revision",schemaPath:"#/properties/revision/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs6 === errors;}else {var valid2 = true;}if(valid2){if(data.sequenced !== undefined){const _errs8 = errors;if(typeof data.sequenced !== "boolean"){validate11.errors = [{instancePath:instancePath+"/sequenced",schemaPath:"#/properties/sequenced/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid2 = _errs8 === errors;}else {var valid2 = true;}if(valid2){if(data.format !== undefined){let data3 = data.format;const _errs10 = errors;if(!(((typeof data3 == "number") && (!(data3 % 1) && !isNaN(data3))) && (isFinite(data3)))){validate11.errors = [{instancePath:instancePath+"/format",schemaPath:"#/properties/format/type",keyword:"type",params:{type: "integer"},message:"must be integer"}];return false;}if(!(((data3 === 1) || (data3 === 2)) || (data3 === 3))){validate11.errors = [{instancePath:instancePath+"/format",schemaPath:"#/properties/format/enum",keyword:"enum",params:{allowedValues: schema12.properties.format.enum},message:"must be equal to one of the allowed values"}];return false;}var valid2 = _errs10 === errors;}else {var valid2 = true;}if(valid2){if(data.version !== undefined){let data4 = data.version;const _errs12 = errors;if(!(((typeof data4 == "number") && (!(data4 % 1) && !isNaN(data4))) && (isFinite(data4)))){validate11.errors = [{instancePath:instancePath+"/version",schemaPath:"#/properties/version/type",keyword:"type",params:{type: "integer"},message:"must be integer"}];return false;}if(!(((data4 === 1) || (data4 === 2)) || (data4 === 3))){validate11.errors = [{instancePath:instancePath+"/version",schemaPath:"#/properties/version/enum",keyword:"enum",params:{allowedValues: schema12.properties.version.enum},message:"must be equal to one of the allowed values"}];return false;}var valid2 = _errs12 === errors;}else {var valid2 = true;}if(valid2){if(data.author !== undefined){const _errs14 = errors;if(typeof data.author !== "string"){validate11.errors = [{instancePath:instancePath+"/author",schemaPath:"#/properties/author/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs14 === errors;}else {var valid2 = true;}if(valid2){if(data.isUpdatable !== undefined){let data6 = data.isUpdatable;const _errs16 = errors;if(typeof data6 !== "boolean"){validate11.errors = [{instancePath:instancePath+"/isUpdatable",schemaPath:"#/properties/isUpdatable/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}if(true !== data6){validate11.errors = [{instancePath:instancePath+"/isUpdatable",schemaPath:"#/properties/isUpdatable/const",keyword:"const",params:{allowedValue: true},message:"must be equal to constant"}];return false;}var valid2 = _errs16 === errors;}else {var valid2 = true;}if(valid2){if(data.indexUrl !== undefined){const _errs18 = errors;if(typeof data.indexUrl !== "string"){validate11.errors = [{instancePath:instancePath+"/indexUrl",schemaPath:"#/properties/indexUrl/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs18 === errors;}else {var valid2 = true;}if(valid2){if(data.downloadUrl !== undefined){const _errs20 = errors;if(typeof data.downloadUrl !== "string"){validate11.errors = [{instancePath:instancePath+"/downloadUrl",schemaPath:"#/properties/downloadUrl/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs20 === errors;}else {var valid2 = true;}if(valid2){if(data.url !== undefined){const _errs22 = errors;if(typeof data.url !== "string"){validate11.errors = [{instancePath:instancePath+"/url",schemaPath:"#/properties/url/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs22 === errors;}else {var valid2 = true;}if(valid2){if(data.description !== undefined){const _errs24 = errors;if(typeof data.description !== "string"){validate11.errors = [{instancePath:instancePath+"/description",schemaPath:"#/properties/description/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs24 === errors;}else {var valid2 = true;}if(valid2){if(data.attribution !== undefined){const _errs26 = errors;if(typeof data.attribution !== "string"){validate11.errors = [{instancePath:instancePath+"/attribution",schemaPath:"#/properties/attribution/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs26 === errors;}else {var valid2 = true;}if(valid2){if(data.sourceLanguage !== undefined){let data12 = data.sourceLanguage;const _errs28 = errors;const _errs29 = errors;if(errors === _errs29){if(typeof data12 === "string"){if(!pattern0.test(data12)){validate11.errors = [{instancePath:instancePath+"/sourceLanguage",schemaPath:"#/definitions/isoLanguageCode/pattern",keyword:"pattern",params:{pattern: "^[a-z]{2,3}$"},message:"must match pattern \""+"^[a-z]{2,3}$"+"\""}];return false;}}else {validate11.errors = [{instancePath:instancePath+"/sourceLanguage",schemaPath:"#/definitions/isoLanguageCode/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid2 = _errs28 === errors;}else {var valid2 = true;}if(valid2){if(data.targetLanguage !== undefined){let data13 = data.targetLanguage;const _errs31 = errors;const _errs32 = errors;if(errors === _errs32){if(typeof data13 === "string"){if(!pattern0.test(data13)){validate11.errors = [{instancePath:instancePath+"/targetLanguage",schemaPath:"#/definitions/isoLanguageCode/pattern",keyword:"pattern",params:{pattern: "^[a-z]{2,3}$"},message:"must match pattern \""+"^[a-z]{2,3}$"+"\""}];return false;}}else {validate11.errors = [{instancePath:instancePath+"/targetLanguage",schemaPath:"#/definitions/isoLanguageCode/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid2 = _errs31 === errors;}else {var valid2 = true;}if(valid2){if(data.frequencyMode !== undefined){let data14 = data.frequencyMode;const _errs34 = errors;if(typeof data14 !== "string"){validate11.errors = [{instancePath:instancePath+"/frequencyMode",schemaPath:"#/properties/frequencyMode/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((data14 === "occurrence-based") || (data14 === "rank-based"))){validate11.errors = [{instancePath:instancePath+"/frequencyMode",schemaPath:"#/properties/frequencyMode/enum",keyword:"enum",params:{allowedValues: schema12.properties.frequencyMode.enum},message:"must be equal to one of the allowed values"}];return false;}var valid2 = _errs34 === errors;}else {var valid2 = true;}if(valid2){if(data.tagMeta !== undefined){let data15 = data.tagMeta;const _errs36 = errors;if(errors === _errs36){if(data15 && typeof data15 == "object" && !Array.isArray(data15)){for(const key0 in data15){let data16 = data15[key0];const _errs39 = errors;if(errors === _errs39){if(data16 && typeof data16 == "object" && !Array.isArray(data16)){const _errs41 = errors;for(const key1 in data16){if(!((((key1 === "category") || (key1 === "order")) || (key1 === "notes")) || (key1 === "score"))){validate11.errors = [{instancePath:instancePath+"/tagMeta/" + key0.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/tagMeta/additionalProperties/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key1},message:"must NOT have additional properties"}];return false;break;}}if(_errs41 === errors){if(data16.category !== undefined){const _errs42 = errors;if(typeof data16.category !== "string"){validate11.errors = [{instancePath:instancePath+"/tagMeta/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/category",schemaPath:"#/properties/tagMeta/additionalProperties/properties/category/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid6 = _errs42 === errors;}else {var valid6 = true;}if(valid6){if(data16.order !== undefined){let data18 = data16.order;const _errs44 = errors;if(!((typeof data18 == "number") && (isFinite(data18)))){validate11.errors = [{instancePath:instancePath+"/tagMeta/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/order",schemaPath:"#/properties/tagMeta/additionalProperties/properties/order/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid6 = _errs44 === errors;}else {var valid6 = true;}if(valid6){if(data16.notes !== undefined){const _errs46 = errors;if(typeof data16.notes !== "string"){validate11.errors = [{instancePath:instancePath+"/tagMeta/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/notes",schemaPath:"#/properties/tagMeta/additionalProperties/properties/notes/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid6 = _errs46 === errors;}else {var valid6 = true;}if(valid6){if(data16.score !== undefined){let data20 = data16.score;const _errs48 = errors;if(!((typeof data20 == "number") && (isFinite(data20)))){validate11.errors = [{instancePath:instancePath+"/tagMeta/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/score",schemaPath:"#/properties/tagMeta/additionalProperties/properties/score/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid6 = _errs48 === errors;}else {var valid6 = true;}}}}}}else {validate11.errors = [{instancePath:instancePath+"/tagMeta/" + key0.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/tagMeta/additionalProperties/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid5 = _errs39 === errors;if(!valid5){break;}}}else {validate11.errors = [{instancePath:instancePath+"/tagMeta",schemaPath:"#/properties/tagMeta/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid2 = _errs36 === errors;}else {var valid2 = true;}}}}}}}}}}}}}}}}}}}else {validate11.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate11.errors = vErrors;return errors === 0;}export const dictionaryKanjiBankV1 = validate12;const schema15 = {"$id":"dictionaryKanjiBankV1","$schema":"http://json-schema.org/draft-07/schema#","type":"array","description":"Data file containing kanji information.","items":{"type":"array","description":"Information about a single kanji character.","minItems":4,"maxItems":4,"items":[{"type":"string","description":"Kanji character.","minLength":1},{"type":"string","description":"String of space-separated onyomi readings for the kanji character. An empty string is treated as no readings."},{"type":"string","description":"String of space-separated kunyomi readings for the kanji character. An empty string is treated as no readings."},{"type":"string","description":"String of space-separated tags for the kanji character. An empty string is treated as no tags."}],"additionalItems":{"type":"string","description":"A meaning for the kanji character."}}};const func2 = ucs2length;function validate12(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){/*# sourceURL="dictionaryKanjiBankV1" */;let vErrors = null;let errors = 0;if(errors === 0){if(Array.isArray(data)){var valid0 = true;const len0 = data.length;for(let i0=0; i0<len0; i0++){let data0 = data[i0];const _errs1 = errors;if(errors === _errs1){if(Array.isArray(data0)){if(data0.length > 4){validate12.errors = [{instancePath:instancePath+"/" + i0,schemaPath:"#/items/maxItems",keyword:"maxItems",params:{limit: 4},message:"must NOT have more than 4 items"}];return false;}else {if(data0.length < 4){validate12.errors = [{instancePath:instancePath+"/" + i0,schemaPath:"#/items/minItems",keyword:"minItems",params:{limit: 4},message:"must NOT have fewer than 4 items"}];return false;}else {const len1 = data0.length;var valid1 = len1 <= 4;if(!valid1){for(let i1=4; i1<len1; i1++){const _errs3 = errors;if(typeof data0[i1] !== "string"){validate12.errors = [{instancePath:instancePath+"/" + i0+"/" + i1,schemaPath:"#/items/additionalItems/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid1 = _errs3 === errors;if(!valid1){break;}}}if(valid1){const len2 = data0.length;if(len2 > 0){let data2 = data0[0];const _errs5 = errors;if(errors === _errs5){if(typeof data2 === "string"){if(func2(data2) < 1){validate12.errors = [{instancePath:instancePath+"/" + i0+"/0",schemaPath:"#/items/items/0/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}else {validate12.errors = [{instancePath:instancePath+"/" + i0+"/0",schemaPath:"#/items/items/0/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid2 = _errs5 === errors;}if(valid2){if(len2 > 1){const _errs7 = errors;if(typeof data0[1] !== "string"){validate12.errors = [{instancePath:instancePath+"/" + i0+"/1",schemaPath:"#/items/items/1/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs7 === errors;}if(valid2){if(len2 > 2){const _errs9 = errors;if(typeof data0[2] !== "string"){validate12.errors = [{instancePath:instancePath+"/" + i0+"/2",schemaPath:"#/items/items/2/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs9 === errors;}if(valid2){if(len2 > 3){const _errs11 = errors;if(typeof data0[3] !== "string"){validate12.errors = [{instancePath:instancePath+"/" + i0+"/3",schemaPath:"#/items/items/3/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs11 === errors;}}}}}}}}else {validate12.errors = [{instancePath:instancePath+"/" + i0,schemaPath:"#/items/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid0 = _errs1 === errors;if(!valid0){break;}}}else {validate12.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}validate12.errors = vErrors;return errors === 0;}export const dictionaryKanjiBankV3 = validate13;const schema16 = {"$id":"dictionaryKanjiBankV3","$schema":"http://json-schema.org/draft-07/schema#","type":"array","description":"Data file containing kanji information.","items":{"type":"array","description":"Information about a single kanji character.","minItems":6,"maxItems":6,"additionalItems":false,"items":[{"type":"string","description":"Kanji character.","minLength":1},{"type":"string","description":"String of space-separated onyomi readings for the kanji character. An empty string is treated as no readings."},{"type":"string","description":"String of space-separated kunyomi readings for the kanji character. An empty string is treated as no readings."},{"type":"string","description":"String of space-separated tags for the kanji character. An empty string is treated as no tags."},{"type":"array","description":"Array of meanings for the kanji character.","items":{"type":"string","description":"A meaning for the kanji character."}},{"type":"object","description":"Various stats for the kanji character.","additionalProperties":{"type":"string"}}]}};function validate13(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){/*# sourceURL="dictionaryKanjiBankV3" */;let vErrors = null;let errors = 0;if(errors === 0){if(Array.isArray(data)){var valid0 = true;const len0 = data.length;for(let i0=0; i0<len0; i0++){let data0 = data[i0];const _errs1 = errors;if(errors === _errs1){if(Array.isArray(data0)){if(data0.length > 6){validate13.errors = [{instancePath:instancePath+"/" + i0,schemaPath:"#/items/maxItems",keyword:"maxItems",params:{limit: 6},message:"must NOT have more than 6 items"}];return false;}else {if(data0.length < 6){validate13.errors = [{instancePath:instancePath+"/" + i0,schemaPath:"#/items/minItems",keyword:"minItems",params:{limit: 6},message:"must NOT have fewer than 6 items"}];return false;}else {const len1 = data0.length;if(!(len1 <= 6)){validate13.errors = [{instancePath:instancePath+"/" + i0,schemaPath:"#/items/additionalItems",keyword:"additionalItems",params:{limit: 6},message:"must NOT have more than 6 items"}];return false;}else {const len2 = data0.length;if(len2 > 0){let data1 = data0[0];const _errs3 = errors;if(errors === _errs3){if(typeof data1 === "string"){if(func2(data1) < 1){validate13.errors = [{instancePath:instancePath+"/" + i0+"/0",schemaPath:"#/items/items/0/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}else {validate13.errors = [{instancePath:instancePath+"/" + i0+"/0",schemaPath:"#/items/items/0/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid1 = _errs3 === errors;}if(valid1){if(len2 > 1){const _errs5 = errors;if(typeof data0[1] !== "string"){validate13.errors = [{instancePath:instancePath+"/" + i0+"/1",schemaPath:"#/items/items/1/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid1 = _errs5 === errors;}if(valid1){if(len2 > 2){const _errs7 = errors;if(typeof data0[2] !== "string"){validate13.errors = [{instancePath:instancePath+"/" + i0+"/2",schemaPath:"#/items/items/2/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid1 = _errs7 === errors;}if(valid1){if(len2 > 3){const _errs9 = errors;if(typeof data0[3] !== "string"){validate13.errors = [{instancePath:instancePath+"/" + i0+"/3",schemaPath:"#/items/items/3/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid1 = _errs9 === errors;}if(valid1){if(len2 > 4){let data5 = data0[4];const _errs11 = errors;if(errors === _errs11){if(Array.isArray(data5)){var valid2 = true;const len3 = data5.length;for(let i1=0; i1<len3; i1++){const _errs13 = errors;if(typeof data5[i1] !== "string"){validate13.errors = [{instancePath:instancePath+"/" + i0+"/4/" + i1,schemaPath:"#/items/items/4/items/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs13 === errors;if(!valid2){break;}}}else {validate13.errors = [{instancePath:instancePath+"/" + i0+"/4",schemaPath:"#/items/items/4/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid1 = _errs11 === errors;}if(valid1){if(len2 > 5){let data7 = data0[5];const _errs15 = errors;if(errors === _errs15){if(data7 && typeof data7 == "object" && !Array.isArray(data7)){for(const key0 in data7){const _errs18 = errors;if(typeof data7[key0] !== "string"){validate13.errors = [{instancePath:instancePath+"/" + i0+"/5/" + key0.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/items/items/5/additionalProperties/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid3 = _errs18 === errors;if(!valid3){break;}}}else {validate13.errors = [{instancePath:instancePath+"/" + i0+"/5",schemaPath:"#/items/items/5/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid1 = _errs15 === errors;}}}}}}}}}}else {validate13.errors = [{instancePath:instancePath+"/" + i0,schemaPath:"#/items/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid0 = _errs1 === errors;if(!valid0){break;}}}else {validate13.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}validate13.errors = vErrors;return errors === 0;}export const dictionaryKanjiMetaBankV3 = validate14;const schema17 = {"$id":"dictionaryKanjiMetaBankV3","$schema":"http://json-schema.org/draft-07/schema#","definitions":{"frequency":{"oneOf":[{"type":["string","number"]},{"type":"object","additionalProperties":false,"required":["value"],"properties":{"value":{"type":"number"},"displayValue":{"type":"string"}}}]}},"type":"array","description":"Custom metadata for kanji characters.","items":{"type":"array","description":"Metadata about a single kanji character.","minItems":3,"maxItems":3,"additionalItems":false,"items":[{"type":"string","minLength":1},{"type":"string","const":"freq","description":"Type of data. \"freq\" corresponds to frequency information."},{"$ref":"#/definitions/frequency","description":"Data for the character."}]}};const schema18 = {"oneOf":[{"type":["string","number"]},{"type":"object","additionalProperties":false,"required":["value"],"properties":{"value":{"type":"number"},"displayValue":{"type":"string"}}}]};function validate14(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){/*# sourceURL="dictionaryKanjiMetaBankV3" */;let vErrors = null;let errors = 0;if(errors === 0){if(Array.isArray(data)){var valid0 = true;const len0 = data.length;for(let i0=0; i0<len0; i0++){let data0 = data[i0];const _errs1 = errors;if(errors === _errs1){if(Array.isArray(data0)){if(data0.length > 3){validate14.errors = [{instancePath:instancePath+"/" + i0,schemaPath:"#/items/maxItems",keyword:"maxItems",params:{limit: 3},message:"must NOT have more than 3 items"}];return false;}else {if(data0.length < 3){validate14.errors = [{instancePath:instancePath+"/" + i0,schemaPath:"#/items/minItems",keyword:"minItems",params:{limit: 3},message:"must NOT have fewer than 3 items"}];return false;}else {const len1 = data0.length;if(!(len1 <= 3)){validate14.errors = [{instancePath:instancePath+"/" + i0,schemaPath:"#/items/additionalItems",keyword:"additionalItems",params:{limit: 3},message:"must NOT have more than 3 items"}];return false;}else {const len2 = data0.length;if(len2 > 0){let data1 = data0[0];const _errs3 = errors;if(errors === _errs3){if(typeof data1 === "string"){if(func2(data1) < 1){validate14.errors = [{instancePath:instancePath+"/" + i0+"/0",schemaPath:"#/items/items/0/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}else {validate14.errors = [{instancePath:instancePath+"/" + i0+"/0",schemaPath:"#/items/items/0/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid1 = _errs3 === errors;}if(valid1){if(len2 > 1){let data2 = data0[1];const _errs5 = errors;if(typeof data2 !== "string"){validate14.errors = [{instancePath:instancePath+"/" + i0+"/1",schemaPath:"#/items/items/1/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if("freq" !== data2){validate14.errors = [{instancePath:instancePath+"/" + i0+"/1",schemaPath:"#/items/items/1/const",keyword:"const",params:{allowedValue: "freq"},message:"must be equal to constant"}];return false;}var valid1 = _errs5 === errors;}if(valid1){if(len2 > 2){let data3 = data0[2];const _errs7 = errors;const _errs9 = errors;let valid3 = false;let passing0 = null;const _errs10 = errors;if((typeof data3 !== "string") && (!((typeof data3 == "number") && (isFinite(data3))))){const err0 = {instancePath:instancePath+"/" + i0+"/2",schemaPath:"#/definitions/frequency/oneOf/0/type",keyword:"type",params:{type: schema18.oneOf[0].type},message:"must be string,number"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}var _valid0 = _errs10 === errors;if(_valid0){valid3 = true;passing0 = 0;}const _errs12 = errors;if(errors === _errs12){if(data3 && typeof data3 == "object" && !Array.isArray(data3)){let missing0;if((data3.value === undefined) && (missing0 = "value")){const err1 = {instancePath:instancePath+"/" + i0+"/2",schemaPath:"#/definitions/frequency/oneOf/1/required",keyword:"required",params:{missingProperty: missing0},message:"must have required property '"+missing0+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}else {const _errs14 = errors;for(const key0 in data3){if(!((key0 === "value") || (key0 === "displayValue"))){const err2 = {instancePath:instancePath+"/" + i0+"/2",schemaPath:"#/definitions/frequency/oneOf/1/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;break;}}if(_errs14 === errors){if(data3.value !== undefined){let data4 = data3.value;const _errs15 = errors;if(!((typeof data4 == "number") && (isFinite(data4)))){const err3 = {instancePath:instancePath+"/" + i0+"/2/value",schemaPath:"#/definitions/frequency/oneOf/1/properties/value/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}var valid4 = _errs15 === errors;}else {var valid4 = true;}if(valid4){if(data3.displayValue !== undefined){const _errs17 = errors;if(typeof data3.displayValue !== "string"){const err4 = {instancePath:instancePath+"/" + i0+"/2/displayValue",schemaPath:"#/definitions/frequency/oneOf/1/properties/displayValue/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}var valid4 = _errs17 === errors;}else {var valid4 = true;}}}}}else {const err5 = {instancePath:instancePath+"/" + i0+"/2",schemaPath:"#/definitions/frequency/oneOf/1/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}}var _valid0 = _errs12 === errors;if(_valid0 && valid3){valid3 = false;passing0 = [passing0, 1];}else {if(_valid0){valid3 = true;passing0 = 1;}}if(!valid3){const err6 = {instancePath:instancePath+"/" + i0+"/2",schemaPath:"#/definitions/frequency/oneOf",keyword:"oneOf",params:{passingSchemas: passing0},message:"must match exactly one schema in oneOf"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;validate14.errors = vErrors;return false;}else {errors = _errs9;if(vErrors !== null){if(_errs9){vErrors.length = _errs9;}else {vErrors = null;}}}var valid1 = _errs7 === errors;}}}}}}}else {validate14.errors = [{instancePath:instancePath+"/" + i0,schemaPath:"#/items/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid0 = _errs1 === errors;if(!valid0){break;}}}else {validate14.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}validate14.errors = vErrors;return errors === 0;}export const dictionaryTagBankV3 = validate15;const schema19 = {"$id":"dictionaryTagBankV3","$schema":"http://json-schema.org/draft-07/schema#","type":"array","description":"Data file containing tag information for terms and kanji.","items":{"type":"array","description":"Information about a single tag.","minItems":5,"maxItems":5,"additionalItems":false,"items":[{"type":"string","description":"Tag name."},{"type":"string","description":"Category for the tag."},{"type":"number","description":"Sorting order for the tag."},{"type":"string","description":"Notes for the tag."},{"type":"number","description":"Score used to determine popularity. Negative values are more rare and positive values are more frequent. This score is also used to sort search results."}]}};function validate15(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){/*# sourceURL="dictionaryTagBankV3" */;let vErrors = null;let errors = 0;if(errors === 0){if(Array.isArray(data)){var valid0 = true;const len0 = data.length;for(let i0=0; i0<len0; i0++){let data0 = data[i0];const _errs1 = errors;if(errors === _errs1){if(Array.isArray(data0)){if(data0.length > 5){validate15.errors = [{instancePath:instancePath+"/" + i0,schemaPath:"#/items/maxItems",keyword:"maxItems",params:{limit: 5},message:"must NOT have more than 5 items"}];return false;}else {if(data0.length < 5){validate15.errors = [{instancePath:instancePath+"/" + i0,schemaPath:"#/items/minItems",keyword:"minItems",params:{limit: 5},message:"must NOT have fewer than 5 items"}];return false;}else {const len1 = data0.length;if(!(len1 <= 5)){validate15.errors = [{instancePath:instancePath+"/" + i0,schemaPath:"#/items/additionalItems",keyword:"additionalItems",params:{limit: 5},message:"must NOT have more than 5 items"}];return false;}else {const len2 = data0.length;if(len2 > 0){const _errs3 = errors;if(typeof data0[0] !== "string"){validate15.errors = [{instancePath:instancePath+"/" + i0+"/0",schemaPath:"#/items/items/0/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid1 = _errs3 === errors;}if(valid1){if(len2 > 1){const _errs5 = errors;if(typeof data0[1] !== "string"){validate15.errors = [{instancePath:instancePath+"/" + i0+"/1",schemaPath:"#/items/items/1/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid1 = _errs5 === errors;}if(valid1){if(len2 > 2){let data3 = data0[2];const _errs7 = errors;if(!((typeof data3 == "number") && (isFinite(data3)))){validate15.errors = [{instancePath:instancePath+"/" + i0+"/2",schemaPath:"#/items/items/2/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid1 = _errs7 === errors;}if(valid1){if(len2 > 3){const _errs9 = errors;if(typeof data0[3] !== "string"){validate15.errors = [{instancePath:instancePath+"/" + i0+"/3",schemaPath:"#/items/items/3/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid1 = _errs9 === errors;}if(valid1){if(len2 > 4){let data5 = data0[4];const _errs11 = errors;if(!((typeof data5 == "number") && (isFinite(data5)))){validate15.errors = [{instancePath:instancePath+"/" + i0+"/4",schemaPath:"#/items/items/4/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid1 = _errs11 === errors;}}}}}}}}}else {validate15.errors = [{instancePath:instancePath+"/" + i0,schemaPath:"#/items/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid0 = _errs1 === errors;if(!valid0){break;}}}else {validate15.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}validate15.errors = vErrors;return errors === 0;}export const dictionaryTermBankV1 = validate16;const schema20 = {"$id":"dictionaryTermBankV1","$schema":"http://json-schema.org/draft-07/schema#","type":"array","description":"Data file containing term information.","items":{"type":"array","description":"Information about a single term.","minItems":5,"maxItems":5,"items":[{"type":"string","description":"The text for the term."},{"type":"string","description":"Reading of the term, or an empty string if the reading is the same as the term."},{"type":["string","null"],"description":"String of space-separated tags for the definition. An empty string is treated as no tags."},{"type":"string","description":"String of space-separated rule identifiers for the definition which is used to validate delinflection. Valid rule identifiers are: v1: ichidan verb; v5: godan verb; vs: suru verb; vz: zuru verb; vk: kuru verb; adj-i: i-adjective. An empty string corresponds to words which aren't inflected, such as nouns."},{"type":"number","description":"Score used to determine popularity. Negative values are more rare and positive values are more frequent. This score is also used to sort search results."}],"additionalItems":{"type":"string","description":"Single definition for the term."}}};function validate16(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){/*# sourceURL="dictionaryTermBankV1" */;let vErrors = null;let errors = 0;if(errors === 0){if(Array.isArray(data)){var valid0 = true;const len0 = data.length;for(let i0=0; i0<len0; i0++){let data0 = data[i0];const _errs1 = errors;if(errors === _errs1){if(Array.isArray(data0)){if(data0.length > 5){validate16.errors = [{instancePath:instancePath+"/" + i0,schemaPath:"#/items/maxItems",keyword:"maxItems",params:{limit: 5},message:"must NOT have more than 5 items"}];return false;}else {if(data0.length < 5){validate16.errors = [{instancePath:instancePath+"/" + i0,schemaPath:"#/items/minItems",keyword:"minItems",params:{limit: 5},message:"must NOT have fewer than 5 items"}];return false;}else {const len1 = data0.length;var valid1 = len1 <= 5;if(!valid1){for(let i1=5; i1<len1; i1++){const _errs3 = errors;if(typeof data0[i1] !== "string"){validate16.errors = [{instancePath:instancePath+"/" + i0+"/" + i1,schemaPath:"#/items/additionalItems/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid1 = _errs3 === errors;if(!valid1){break;}}}if(valid1){const len2 = data0.length;if(len2 > 0){const _errs5 = errors;if(typeof data0[0] !== "string"){validate16.errors = [{instancePath:instancePath+"/" + i0+"/0",schemaPath:"#/items/items/0/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs5 === errors;}if(valid2){if(len2 > 1){const _errs7 = errors;if(typeof data0[1] !== "string"){validate16.errors = [{instancePath:instancePath+"/" + i0+"/1",schemaPath:"#/items/items/1/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs7 === errors;}if(valid2){if(len2 > 2){let data4 = data0[2];const _errs9 = errors;if((typeof data4 !== "string") && (data4 !== null)){validate16.errors = [{instancePath:instancePath+"/" + i0+"/2",schemaPath:"#/items/items/2/type",keyword:"type",params:{type: schema20.items.items[2].type},message:"must be string,null"}];return false;}var valid2 = _errs9 === errors;}if(valid2){if(len2 > 3){const _errs11 = errors;if(typeof data0[3] !== "string"){validate16.errors = [{instancePath:instancePath+"/" + i0+"/3",schemaPath:"#/items/items/3/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs11 === errors;}if(valid2){if(len2 > 4){let data6 = data0[4];const _errs13 = errors;if(!((typeof data6 == "number") && (isFinite(data6)))){validate16.errors = [{instancePath:instancePath+"/" + i0+"/4",schemaPath:"#/items/items/4/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid2 = _errs13 === errors;}}}}}}}}}else {validate16.errors = [{instancePath:instancePath+"/" + i0,schemaPath:"#/items/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid0 = _errs1 === errors;if(!valid0){break;}}}else {validate16.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}validate16.errors = vErrors;return errors === 0;}export const dictionaryTermBankV3 = validate17;const schema21 = {"$id":"dictionaryTermBankV3","$schema":"http://json-schema.org/draft-07/schema#","definitions":{"structuredContent":{"oneOf":[{"type":"string","description":"Represents a text node."},{"type":"array","items":{"$ref":"#/definitions/structuredContent","description":"An array of child content."}},{"type":"object","oneOf":[{"type":"object","description":"Empty tags.","required":["tag"],"additionalProperties":false,"properties":{"tag":{"type":"string","const":"br"},"data":{"$ref":"#/definitions/structuredContentData"}}},{"type":"object","description":"Generic container tags.","required":["tag"],"additionalProperties":false,"properties":{"tag":{"type":"string","enum":["ruby","rt","rp","table","thead","tbody","tfoot","tr"]},"content":{"$ref":"#/definitions/structuredContent"},"data":{"$ref":"#/definitions/structuredContentData"},"lang":{"type":"string","description":"Defines the language of an element in the format defined by RFC 5646."}}},{"type":"object","description":"Table tags.","required":["tag"],"additionalProperties":false,"properties":{"tag":{"type":"string","enum":["td","th"]},"content":{"$ref":"#/definitions/structuredContent"},"data":{"$ref":"#/definitions/structuredContentData"},"colSpan":{"type":"integer","minimum":1},"rowSpan":{"type":"integer","minimum":1},"style":{"$ref":"#/definitions/structuredContentStyle"},"lang":{"type":"string","description":"Defines the language of an element in the format defined by RFC 5646."}}},{"type":"object","description":"Container tags supporting configurable styles.","required":["tag"],"additionalProperties":false,"properties":{"tag":{"type":"string","enum":["span","div","ol","ul","li","details","summary"]},"content":{"$ref":"#/definitions/structuredContent"},"data":{"$ref":"#/definitions/structuredContentData"},"style":{"$ref":"#/definitions/structuredContentStyle"},"title":{"type":"string","description":"Hover text for the element."},"lang":{"type":"string","description":"Defines the language of an element in the format defined by RFC 5646."}}},{"type":"object","description":"Image tag.","required":["tag","path"],"additionalProperties":false,"properties":{"tag":{"type":"string","const":"img"},"data":{"$ref":"#/definitions/structuredContentData"},"path":{"type":"string","description":"Path to the image file in the archive."},"width":{"type":"number","description":"Preferred width of the image.","minimum":0},"height":{"type":"number","description":"Preferred height of the image.","minimum":0},"title":{"type":"string","description":"Hover text for the image."},"alt":{"type":"string","description":"Alt text for the image."},"description":{"type":"string","description":"Description of the image."},"pixelated":{"type":"boolean","description":"Whether or not the image should appear pixelated at sizes larger than the image's native resolution.","default":false},"imageRendering":{"type":"string","description":"Controls how the image is rendered. The value of this field supersedes the pixelated field.","enum":["auto","pixelated","crisp-edges"],"default":"auto"},"appearance":{"type":"string","description":"Controls the appearance of the image. The \"monochrome\" value will mask the opaque parts of the image using the current text color.","enum":["auto","monochrome"],"default":"auto"},"background":{"type":"boolean","description":"Whether or not a background color is displayed behind the image.","default":true},"collapsed":{"type":"boolean","description":"Whether or not the image is collapsed by default.","default":false},"collapsible":{"type":"boolean","description":"Whether or not the image can be collapsed.","default":false},"verticalAlign":{"type":"string","description":"The vertical alignment of the image.","enum":["baseline","sub","super","text-top","text-bottom","middle","top","bottom"]},"border":{"type":"string","description":"Shorthand for border width, style, and color."},"borderRadius":{"type":"string","description":"Roundness of the corners of the image's outer border edge."},"sizeUnits":{"type":"string","description":"The units for the width and height.","enum":["px","em"]}}},{"type":"object","description":"Link tag.","required":["tag","href"],"additionalProperties":false,"properties":{"tag":{"type":"string","const":"a"},"content":{"$ref":"#/definitions/structuredContent"},"href":{"type":"string","description":"The URL for the link. URLs starting with a ? are treated as internal links to other dictionary content.","pattern":"^(?:https?:|\\?)[\\w\\W]*"},"lang":{"type":"string","description":"Defines the language of an element in the format defined by RFC 5646."}}}]}]},"structuredContentData":{"type":"object","description":"Generic data attributes that should be added to the element.","additionalProperties":{"type":"string"}},"structuredContentStyle":{"type":"object","additionalProperties":false,"properties":{"fontStyle":{"type":"string","enum":["normal","italic"],"default":"normal"},"fontWeight":{"type":"string","enum":["normal","bold"],"default":"normal"},"fontSize":{"type":"string","default":"medium"},"color":{"type":"string"},"background":{"type":"string"},"backgroundColor":{"type":"string"},"textDecorationLine":{"oneOf":[{"type":"string","enum":["none","underline","overline","line-through"],"default":"none"},{"type":"array","items":{"type":"string","enum":["underline","overline","line-through"],"default":"none"}}]},"textDecorationStyle":{"type":"string","enum":["solid","double","dotted","dashed","wavy"],"default":"solid"},"textDecorationColor":{"type":"string"},"borderColor":{"type":"string"},"borderStyle":{"type":"string"},"borderRadius":{"type":"string"},"borderWidth":{"type":"string"},"clipPath":{"type":"string"},"verticalAlign":{"type":"string","enum":["baseline","sub","super","text-top","text-bottom","middle","top","bottom"],"default":"baseline"},"textAlign":{"type":"string","enum":["start","end","left","right","center","justify","justify-all","match-parent"],"default":"start"},"textEmphasis":{"type":"string"},"textShadow":{"type":"string"},"margin":{"type":"string"},"marginTop":{"type":["number","string"],"default":0},"marginLeft":{"type":["number","string"],"default":0},"marginRight":{"type":["number","string"],"default":0},"marginBottom":{"type":["number","string"],"default":0},"padding":{"type":"string"},"paddingTop":{"type":"string"},"paddingLeft":{"type":"string"},"paddingRight":{"type":"string"},"paddingBottom":{"type":"string"},"wordBreak":{"type":"string","enum":["normal","break-all","keep-all"],"default":"normal"},"whiteSpace":{"type":"string","default":"normal"},"cursor":{"type":"string","default":"auto"},"listStyleType":{"type":"string","default":"disc"}}}},"type":"array","description":"Data file containing term information.","items":{"type":"array","description":"Information about a single term.","minItems":8,"maxItems":8,"additionalItems":false,"items":[{"type":"string","description":"The text for the term."},{"type":"string","description":"Reading of the term, or an empty string if the reading is the same as the term."},{"type":["string","null"],"description":"String of space-separated tags for the definition. An empty string is treated as no tags."},{"type":"string","description":"String of space-separated rule identifiers for the definition which is used to validate deinflection. An empty string should be used for words which aren't inflected."},{"type":"number","description":"Score used to determine popularity. Negative values are more rare and positive values are more frequent. This score is also used to sort search results."},{"type":"array","description":"Array of definitions for the term.","items":{"oneOf":[{"type":"string","description":"Single definition for the term."},{"type":"object","description":"Single detailed definition for the term.","required":["type"],"properties":{"type":{"type":"string","description":"The type of the data for this definition.","enum":["text","image","structured-content"]}},"oneOf":[{"required":["type","text"],"additionalProperties":false,"properties":{"type":{"type":"string","const":"text"},"text":{"type":"string","description":"Single definition for the term."}}},{"required":["type","content"],"additionalProperties":false,"properties":{"type":{"type":"string","const":"structured-content"},"content":{"$ref":"#/definitions/structuredContent","description":"Single definition for the term using a structured content object."}}},{"required":["type","path"],"additionalProperties":false,"properties":{"type":{"type":"string","const":"image"},"path":{"type":"string","description":"Path to the image file in the archive."},"width":{"type":"integer","description":"Preferred width of the image.","minimum":1},"height":{"type":"integer","description":"Preferred height of the image.","minimum":1},"title":{"type":"string","description":"Hover text for the image."},"alt":{"type":"string","description":"Alt text for the image."},"description":{"type":"string","description":"Description of the image."},"pixelated":{"type":"boolean","description":"Whether or not the image should appear pixelated at sizes larger than the image's native resolution.","default":false},"imageRendering":{"type":"string","description":"Controls how the image is rendered. The value of this field supersedes the pixelated field.","enum":["auto","pixelated","crisp-edges"],"default":"auto"},"appearance":{"type":"string","description":"Controls the appearance of the image. The \"monochrome\" value will mask the opaque parts of the image using the current text color.","enum":["auto","monochrome"],"default":"auto"},"background":{"type":"boolean","description":"Whether or not a background color is displayed behind the image.","default":true},"collapsed":{"type":"boolean","description":"Whether or not the image is collapsed by default.","default":false},"collapsible":{"type":"boolean","description":"Whether or not the image can be collapsed.","default":true}}}]},{"type":"array","description":"Deinflection of the term to an uninflected term.","minItems":2,"maxItems":2,"items":[{"type":"string","description":"The uninflected term."},{"type":"array","description":"A chain of inflection rules that produced the inflected term","items":{"type":"string","description":"A single inflection rule."}}]}]}},{"type":"integer","description":"Sequence number for the term. Terms with the same sequence number can be shown together when the \"resultOutputMode\" option is set to \"merge\"."},{"type":"string","description":"String of space-separated tags for the term. An empty string is treated as no tags."}]}};const schema22 = {"oneOf":[{"type":"string","description":"Represents a text node."},{"type":"array","items":{"$ref":"#/definitions/structuredContent","description":"An array of child content."}},{"type":"object","oneOf":[{"type":"object","description":"Empty tags.","required":["tag"],"additionalProperties":false,"properties":{"tag":{"type":"string","const":"br"},"data":{"$ref":"#/definitions/structuredContentData"}}},{"type":"object","description":"Generic container tags.","required":["tag"],"additionalProperties":false,"properties":{"tag":{"type":"string","enum":["ruby","rt","rp","table","thead","tbody","tfoot","tr"]},"content":{"$ref":"#/definitions/structuredContent"},"data":{"$ref":"#/definitions/structuredContentData"},"lang":{"type":"string","description":"Defines the language of an element in the format defined by RFC 5646."}}},{"type":"object","description":"Table tags.","required":["tag"],"additionalProperties":false,"properties":{"tag":{"type":"string","enum":["td","th"]},"content":{"$ref":"#/definitions/structuredContent"},"data":{"$ref":"#/definitions/structuredContentData"},"colSpan":{"type":"integer","minimum":1},"rowSpan":{"type":"integer","minimum":1},"style":{"$ref":"#/definitions/structuredContentStyle"},"lang":{"type":"string","description":"Defines the language of an element in the format defined by RFC 5646."}}},{"type":"object","description":"Container tags supporting configurable styles.","required":["tag"],"additionalProperties":false,"properties":{"tag":{"type":"string","enum":["span","div","ol","ul","li","details","summary"]},"content":{"$ref":"#/definitions/structuredContent"},"data":{"$ref":"#/definitions/structuredContentData"},"style":{"$ref":"#/definitions/structuredContentStyle"},"title":{"type":"string","description":"Hover text for the element."},"lang":{"type":"string","description":"Defines the language of an element in the format defined by RFC 5646."}}},{"type":"object","description":"Image tag.","required":["tag","path"],"additionalProperties":false,"properties":{"tag":{"type":"string","const":"img"},"data":{"$ref":"#/definitions/structuredContentData"},"path":{"type":"string","description":"Path to the image file in the archive."},"width":{"type":"number","description":"Preferred width of the image.","minimum":0},"height":{"type":"number","description":"Preferred height of the image.","minimum":0},"title":{"type":"string","description":"Hover text for the image."},"alt":{"type":"string","description":"Alt text for the image."},"description":{"type":"string","description":"Description of the image."},"pixelated":{"type":"boolean","description":"Whether or not the image should appear pixelated at sizes larger than the image's native resolution.","default":false},"imageRendering":{"type":"string","description":"Controls how the image is rendered. The value of this field supersedes the pixelated field.","enum":["auto","pixelated","crisp-edges"],"default":"auto"},"appearance":{"type":"string","description":"Controls the appearance of the image. The \"monochrome\" value will mask the opaque parts of the image using the current text color.","enum":["auto","monochrome"],"default":"auto"},"background":{"type":"boolean","description":"Whether or not a background color is displayed behind the image.","default":true},"collapsed":{"type":"boolean","description":"Whether or not the image is collapsed by default.","default":false},"collapsible":{"type":"boolean","description":"Whether or not the image can be collapsed.","default":false},"verticalAlign":{"type":"string","description":"The vertical alignment of the image.","enum":["baseline","sub","super","text-top","text-bottom","middle","top","bottom"]},"border":{"type":"string","description":"Shorthand for border width, style, and color."},"borderRadius":{"type":"string","description":"Roundness of the corners of the image's outer border edge."},"sizeUnits":{"type":"string","description":"The units for the width and height.","enum":["px","em"]}}},{"type":"object","description":"Link tag.","required":["tag","href"],"additionalProperties":false,"properties":{"tag":{"type":"string","const":"a"},"content":{"$ref":"#/definitions/structuredContent"},"href":{"type":"string","description":"The URL for the link. URLs starting with a ? are treated as internal links to other dictionary content.","pattern":"^(?:https?:|\\?)[\\w\\W]*"},"lang":{"type":"string","description":"Defines the language of an element in the format defined by RFC 5646."}}}]}]};const schema23 = {"type":"object","description":"Generic data attributes that should be added to the element.","additionalProperties":{"type":"string"}};const schema26 = {"type":"object","additionalProperties":false,"properties":{"fontStyle":{"type":"string","enum":["normal","italic"],"default":"normal"},"fontWeight":{"type":"string","enum":["normal","bold"],"default":"normal"},"fontSize":{"type":"string","default":"medium"},"color":{"type":"string"},"background":{"type":"string"},"backgroundColor":{"type":"string"},"textDecorationLine":{"oneOf":[{"type":"string","enum":["none","underline","overline","line-through"],"default":"none"},{"type":"array","items":{"type":"string","enum":["underline","overline","line-through"],"default":"none"}}]},"textDecorationStyle":{"type":"string","enum":["solid","double","dotted","dashed","wavy"],"default":"solid"},"textDecorationColor":{"type":"string"},"borderColor":{"type":"string"},"borderStyle":{"type":"string"},"borderRadius":{"type":"string"},"borderWidth":{"type":"string"},"clipPath":{"type":"string"},"verticalAlign":{"type":"string","enum":["baseline","sub","super","text-top","text-bottom","middle","top","bottom"],"default":"baseline"},"textAlign":{"type":"string","enum":["start","end","left","right","center","justify","justify-all","match-parent"],"default":"start"},"textEmphasis":{"type":"string"},"textShadow":{"type":"string"},"margin":{"type":"string"},"marginTop":{"type":["number","string"],"default":0},"marginLeft":{"type":["number","string"],"default":0},"marginRight":{"type":["number","string"],"default":0},"marginBottom":{"type":["number","string"],"default":0},"padding":{"type":"string"},"paddingTop":{"type":"string"},"paddingLeft":{"type":"string"},"paddingRight":{"type":"string"},"paddingBottom":{"type":"string"},"wordBreak":{"type":"string","enum":["normal","break-all","keep-all"],"default":"normal"},"whiteSpace":{"type":"string","default":"normal"},"cursor":{"type":"string","default":"auto"},"listStyleType":{"type":"string","default":"disc"}}};const wrapper0 = {validate: validate18};const func5 = Object.prototype.hasOwnProperty;const pattern2 = new RegExp("^(?:https?:|\\?)[\\w\\W]*", "u");function validate18(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;const _errs0 = errors;let valid0 = false;let passing0 = null;const _errs1 = errors;if(typeof data !== "string"){const err0 = {instancePath,schemaPath:"#/oneOf/0/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}var _valid0 = _errs1 === errors;if(_valid0){valid0 = true;passing0 = 0;}const _errs3 = errors;if(errors === _errs3){if(Array.isArray(data)){var valid1 = true;const len0 = data.length;for(let i0=0; i0<len0; i0++){const _errs5 = errors;if(!(wrapper0.validate(data[i0], {instancePath:instancePath+"/" + i0,parentData:data,parentDataProperty:i0,rootData}))){vErrors = vErrors === null ? wrapper0.validate.errors : vErrors.concat(wrapper0.validate.errors);errors = vErrors.length;}var valid1 = _errs5 === errors;if(!valid1){break;}}}else {const err1 = {instancePath,schemaPath:"#/oneOf/1/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}}var _valid0 = _errs3 === errors;if(_valid0 && valid0){valid0 = false;passing0 = [passing0, 1];}else {if(_valid0){valid0 = true;passing0 = 1;}const _errs6 = errors;if(!(data && typeof data == "object" && !Array.isArray(data))){const err2 = {instancePath,schemaPath:"#/oneOf/2/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}const _errs8 = errors;let valid2 = false;let passing1 = null;const _errs9 = errors;if(errors === _errs9){if(data && typeof data == "object" && !Array.isArray(data)){let missing0;if((data.tag === undefined) && (missing0 = "tag")){const err3 = {instancePath,schemaPath:"#/oneOf/2/oneOf/0/required",keyword:"required",params:{missingProperty: missing0},message:"must have required property '"+missing0+"'"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}else {const _errs11 = errors;for(const key0 in data){if(!((key0 === "tag") || (key0 === "data"))){const err4 = {instancePath,schemaPath:"#/oneOf/2/oneOf/0/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;break;}}if(_errs11 === errors){if(data.tag !== undefined){let data1 = data.tag;const _errs12 = errors;if(typeof data1 !== "string"){const err5 = {instancePath:instancePath+"/tag",schemaPath:"#/oneOf/2/oneOf/0/properties/tag/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}if("br" !== data1){const err6 = {instancePath:instancePath+"/tag",schemaPath:"#/oneOf/2/oneOf/0/properties/tag/const",keyword:"const",params:{allowedValue: "br"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}var valid3 = _errs12 === errors;}else {var valid3 = true;}if(valid3){if(data.data !== undefined){let data2 = data.data;const _errs14 = errors;const _errs15 = errors;if(errors === _errs15){if(data2 && typeof data2 == "object" && !Array.isArray(data2)){for(const key1 in data2){const _errs18 = errors;if(typeof data2[key1] !== "string"){const err7 = {instancePath:instancePath+"/data/" + key1.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/definitions/structuredContentData/additionalProperties/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}var valid5 = _errs18 === errors;if(!valid5){break;}}}else {const err8 = {instancePath:instancePath+"/data",schemaPath:"#/definitions/structuredContentData/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}}var valid3 = _errs14 === errors;}else {var valid3 = true;}}}}}else {const err9 = {instancePath,schemaPath:"#/oneOf/2/oneOf/0/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}}var _valid1 = _errs9 === errors;if(_valid1){valid2 = true;passing1 = 0;}const _errs20 = errors;if(errors === _errs20){if(data && typeof data == "object" && !Array.isArray(data)){let missing1;if((data.tag === undefined) && (missing1 = "tag")){const err10 = {instancePath,schemaPath:"#/oneOf/2/oneOf/1/required",keyword:"required",params:{missingProperty: missing1},message:"must have required property '"+missing1+"'"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}else {const _errs22 = errors;for(const key2 in data){if(!((((key2 === "tag") || (key2 === "content")) || (key2 === "data")) || (key2 === "lang"))){const err11 = {instancePath,schemaPath:"#/oneOf/2/oneOf/1/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key2},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err11];}else {vErrors.push(err11);}errors++;break;}}if(_errs22 === errors){if(data.tag !== undefined){let data4 = data.tag;const _errs23 = errors;if(typeof data4 !== "string"){const err12 = {instancePath:instancePath+"/tag",schemaPath:"#/oneOf/2/oneOf/1/properties/tag/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err12];}else {vErrors.push(err12);}errors++;}if(!((((((((data4 === "ruby") || (data4 === "rt")) || (data4 === "rp")) || (data4 === "table")) || (data4 === "thead")) || (data4 === "tbody")) || (data4 === "tfoot")) || (data4 === "tr"))){const err13 = {instancePath:instancePath+"/tag",schemaPath:"#/oneOf/2/oneOf/1/properties/tag/enum",keyword:"enum",params:{allowedValues: schema22.oneOf[2].oneOf[1].properties.tag.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err13];}else {vErrors.push(err13);}errors++;}var valid6 = _errs23 === errors;}else {var valid6 = true;}if(valid6){if(data.content !== undefined){const _errs25 = errors;if(!(wrapper0.validate(data.content, {instancePath:instancePath+"/content",parentData:data,parentDataProperty:"content",rootData}))){vErrors = vErrors === null ? wrapper0.validate.errors : vErrors.concat(wrapper0.validate.errors);errors = vErrors.length;}var valid6 = _errs25 === errors;}else {var valid6 = true;}if(valid6){if(data.data !== undefined){let data6 = data.data;const _errs26 = errors;const _errs27 = errors;if(errors === _errs27){if(data6 && typeof data6 == "object" && !Array.isArray(data6)){for(const key3 in data6){const _errs30 = errors;if(typeof data6[key3] !== "string"){const err14 = {instancePath:instancePath+"/data/" + key3.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/definitions/structuredContentData/additionalProperties/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err14];}else {vErrors.push(err14);}errors++;}var valid8 = _errs30 === errors;if(!valid8){break;}}}else {const err15 = {instancePath:instancePath+"/data",schemaPath:"#/definitions/structuredContentData/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err15];}else {vErrors.push(err15);}errors++;}}var valid6 = _errs26 === errors;}else {var valid6 = true;}if(valid6){if(data.lang !== undefined){const _errs32 = errors;if(typeof data.lang !== "string"){const err16 = {instancePath:instancePath+"/lang",schemaPath:"#/oneOf/2/oneOf/1/properties/lang/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err16];}else {vErrors.push(err16);}errors++;}var valid6 = _errs32 === errors;}else {var valid6 = true;}}}}}}}else {const err17 = {instancePath,schemaPath:"#/oneOf/2/oneOf/1/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err17];}else {vErrors.push(err17);}errors++;}}var _valid1 = _errs20 === errors;if(_valid1 && valid2){valid2 = false;passing1 = [passing1, 1];}else {if(_valid1){valid2 = true;passing1 = 1;}const _errs34 = errors;if(errors === _errs34){if(data && typeof data == "object" && !Array.isArray(data)){let missing2;if((data.tag === undefined) && (missing2 = "tag")){const err18 = {instancePath,schemaPath:"#/oneOf/2/oneOf/2/required",keyword:"required",params:{missingProperty: missing2},message:"must have required property '"+missing2+"'"};if(vErrors === null){vErrors = [err18];}else {vErrors.push(err18);}errors++;}else {const _errs36 = errors;for(const key4 in data){if(!(((((((key4 === "tag") || (key4 === "content")) || (key4 === "data")) || (key4 === "colSpan")) || (key4 === "rowSpan")) || (key4 === "style")) || (key4 === "lang"))){const err19 = {instancePath,schemaPath:"#/oneOf/2/oneOf/2/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key4},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err19];}else {vErrors.push(err19);}errors++;break;}}if(_errs36 === errors){if(data.tag !== undefined){let data9 = data.tag;const _errs37 = errors;if(typeof data9 !== "string"){const err20 = {instancePath:instancePath+"/tag",schemaPath:"#/oneOf/2/oneOf/2/properties/tag/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err20];}else {vErrors.push(err20);}errors++;}if(!((data9 === "td") || (data9 === "th"))){const err21 = {instancePath:instancePath+"/tag",schemaPath:"#/oneOf/2/oneOf/2/properties/tag/enum",keyword:"enum",params:{allowedValues: schema22.oneOf[2].oneOf[2].properties.tag.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err21];}else {vErrors.push(err21);}errors++;}var valid9 = _errs37 === errors;}else {var valid9 = true;}if(valid9){if(data.content !== undefined){const _errs39 = errors;if(!(wrapper0.validate(data.content, {instancePath:instancePath+"/content",parentData:data,parentDataProperty:"content",rootData}))){vErrors = vErrors === null ? wrapper0.validate.errors : vErrors.concat(wrapper0.validate.errors);errors = vErrors.length;}var valid9 = _errs39 === errors;}else {var valid9 = true;}if(valid9){if(data.data !== undefined){let data11 = data.data;const _errs40 = errors;const _errs41 = errors;if(errors === _errs41){if(data11 && typeof data11 == "object" && !Array.isArray(data11)){for(const key5 in data11){const _errs44 = errors;if(typeof data11[key5] !== "string"){const err22 = {instancePath:instancePath+"/data/" + key5.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/definitions/structuredContentData/additionalProperties/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err22];}else {vErrors.push(err22);}errors++;}var valid11 = _errs44 === errors;if(!valid11){break;}}}else {const err23 = {instancePath:instancePath+"/data",schemaPath:"#/definitions/structuredContentData/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err23];}else {vErrors.push(err23);}errors++;}}var valid9 = _errs40 === errors;}else {var valid9 = true;}if(valid9){if(data.colSpan !== undefined){let data13 = data.colSpan;const _errs46 = errors;if(!(((typeof data13 == "number") && (!(data13 % 1) && !isNaN(data13))) && (isFinite(data13)))){const err24 = {instancePath:instancePath+"/colSpan",schemaPath:"#/oneOf/2/oneOf/2/properties/colSpan/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err24];}else {vErrors.push(err24);}errors++;}if(errors === _errs46){if((typeof data13 == "number") && (isFinite(data13))){if(data13 < 1 || isNaN(data13)){const err25 = {instancePath:instancePath+"/colSpan",schemaPath:"#/oneOf/2/oneOf/2/properties/colSpan/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"};if(vErrors === null){vErrors = [err25];}else {vErrors.push(err25);}errors++;}}}var valid9 = _errs46 === errors;}else {var valid9 = true;}if(valid9){if(data.rowSpan !== undefined){let data14 = data.rowSpan;const _errs48 = errors;if(!(((typeof data14 == "number") && (!(data14 % 1) && !isNaN(data14))) && (isFinite(data14)))){const err26 = {instancePath:instancePath+"/rowSpan",schemaPath:"#/oneOf/2/oneOf/2/properties/rowSpan/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err26];}else {vErrors.push(err26);}errors++;}if(errors === _errs48){if((typeof data14 == "number") && (isFinite(data14))){if(data14 < 1 || isNaN(data14)){const err27 = {instancePath:instancePath+"/rowSpan",schemaPath:"#/oneOf/2/oneOf/2/properties/rowSpan/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"};if(vErrors === null){vErrors = [err27];}else {vErrors.push(err27);}errors++;}}}var valid9 = _errs48 === errors;}else {var valid9 = true;}if(valid9){if(data.style !== undefined){let data15 = data.style;const _errs50 = errors;const _errs51 = errors;if(errors === _errs51){if(data15 && typeof data15 == "object" && !Array.isArray(data15)){const _errs53 = errors;for(const key6 in data15){if(!(func5.call(schema26.properties, key6))){const err28 = {instancePath:instancePath+"/style",schemaPath:"#/definitions/structuredContentStyle/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key6},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err28];}else {vErrors.push(err28);}errors++;break;}}if(_errs53 === errors){if(data15.fontStyle !== undefined){let data16 = data15.fontStyle;const _errs54 = errors;if(typeof data16 !== "string"){const err29 = {instancePath:instancePath+"/style/fontStyle",schemaPath:"#/definitions/structuredContentStyle/properties/fontStyle/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err29];}else {vErrors.push(err29);}errors++;}if(!((data16 === "normal") || (data16 === "italic"))){const err30 = {instancePath:instancePath+"/style/fontStyle",schemaPath:"#/definitions/structuredContentStyle/properties/fontStyle/enum",keyword:"enum",params:{allowedValues: schema26.properties.fontStyle.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err30];}else {vErrors.push(err30);}errors++;}var valid13 = _errs54 === errors;}else {var valid13 = true;}if(valid13){if(data15.fontWeight !== undefined){let data17 = data15.fontWeight;const _errs56 = errors;if(typeof data17 !== "string"){const err31 = {instancePath:instancePath+"/style/fontWeight",schemaPath:"#/definitions/structuredContentStyle/properties/fontWeight/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err31];}else {vErrors.push(err31);}errors++;}if(!((data17 === "normal") || (data17 === "bold"))){const err32 = {instancePath:instancePath+"/style/fontWeight",schemaPath:"#/definitions/structuredContentStyle/properties/fontWeight/enum",keyword:"enum",params:{allowedValues: schema26.properties.fontWeight.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err32];}else {vErrors.push(err32);}errors++;}var valid13 = _errs56 === errors;}else {var valid13 = true;}if(valid13){if(data15.fontSize !== undefined){const _errs58 = errors;if(typeof data15.fontSize !== "string"){const err33 = {instancePath:instancePath+"/style/fontSize",schemaPath:"#/definitions/structuredContentStyle/properties/fontSize/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err33];}else {vErrors.push(err33);}errors++;}var valid13 = _errs58 === errors;}else {var valid13 = true;}if(valid13){if(data15.color !== undefined){const _errs60 = errors;if(typeof data15.color !== "string"){const err34 = {instancePath:instancePath+"/style/color",schemaPath:"#/definitions/structuredContentStyle/properties/color/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err34];}else {vErrors.push(err34);}errors++;}var valid13 = _errs60 === errors;}else {var valid13 = true;}if(valid13){if(data15.background !== undefined){const _errs62 = errors;if(typeof data15.background !== "string"){const err35 = {instancePath:instancePath+"/style/background",schemaPath:"#/definitions/structuredContentStyle/properties/background/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err35];}else {vErrors.push(err35);}errors++;}var valid13 = _errs62 === errors;}else {var valid13 = true;}if(valid13){if(data15.backgroundColor !== undefined){const _errs64 = errors;if(typeof data15.backgroundColor !== "string"){const err36 = {instancePath:instancePath+"/style/backgroundColor",schemaPath:"#/definitions/structuredContentStyle/properties/backgroundColor/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err36];}else {vErrors.push(err36);}errors++;}var valid13 = _errs64 === errors;}else {var valid13 = true;}if(valid13){if(data15.textDecorationLine !== undefined){let data22 = data15.textDecorationLine;const _errs66 = errors;const _errs67 = errors;let valid14 = false;let passing2 = null;const _errs68 = errors;if(typeof data22 !== "string"){const err37 = {instancePath:instancePath+"/style/textDecorationLine",schemaPath:"#/definitions/structuredContentStyle/properties/textDecorationLine/oneOf/0/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err37];}else {vErrors.push(err37);}errors++;}if(!((((data22 === "none") || (data22 === "underline")) || (data22 === "overline")) || (data22 === "line-through"))){const err38 = {instancePath:instancePath+"/style/textDecorationLine",schemaPath:"#/definitions/structuredContentStyle/properties/textDecorationLine/oneOf/0/enum",keyword:"enum",params:{allowedValues: schema26.properties.textDecorationLine.oneOf[0].enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err38];}else {vErrors.push(err38);}errors++;}var _valid2 = _errs68 === errors;if(_valid2){valid14 = true;passing2 = 0;}const _errs70 = errors;if(errors === _errs70){if(Array.isArray(data22)){var valid15 = true;const len1 = data22.length;for(let i1=0; i1<len1; i1++){let data23 = data22[i1];const _errs72 = errors;if(typeof data23 !== "string"){const err39 = {instancePath:instancePath+"/style/textDecorationLine/" + i1,schemaPath:"#/definitions/structuredContentStyle/properties/textDecorationLine/oneOf/1/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err39];}else {vErrors.push(err39);}errors++;}if(!(((data23 === "underline") || (data23 === "overline")) || (data23 === "line-through"))){const err40 = {instancePath:instancePath+"/style/textDecorationLine/" + i1,schemaPath:"#/definitions/structuredContentStyle/properties/textDecorationLine/oneOf/1/items/enum",keyword:"enum",params:{allowedValues: schema26.properties.textDecorationLine.oneOf[1].items.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err40];}else {vErrors.push(err40);}errors++;}var valid15 = _errs72 === errors;if(!valid15){break;}}}else {const err41 = {instancePath:instancePath+"/style/textDecorationLine",schemaPath:"#/definitions/structuredContentStyle/properties/textDecorationLine/oneOf/1/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err41];}else {vErrors.push(err41);}errors++;}}var _valid2 = _errs70 === errors;if(_valid2 && valid14){valid14 = false;passing2 = [passing2, 1];}else {if(_valid2){valid14 = true;passing2 = 1;}}if(!valid14){const err42 = {instancePath:instancePath+"/style/textDecorationLine",schemaPath:"#/definitions/structuredContentStyle/properties/textDecorationLine/oneOf",keyword:"oneOf",params:{passingSchemas: passing2},message:"must match exactly one schema in oneOf"};if(vErrors === null){vErrors = [err42];}else {vErrors.push(err42);}errors++;}else {errors = _errs67;if(vErrors !== null){if(_errs67){vErrors.length = _errs67;}else {vErrors = null;}}}var valid13 = _errs66 === errors;}else {var valid13 = true;}if(valid13){if(data15.textDecorationStyle !== undefined){let data24 = data15.textDecorationStyle;const _errs74 = errors;if(typeof data24 !== "string"){const err43 = {instancePath:instancePath+"/style/textDecorationStyle",schemaPath:"#/definitions/structuredContentStyle/properties/textDecorationStyle/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err43];}else {vErrors.push(err43);}errors++;}if(!(((((data24 === "solid") || (data24 === "double")) || (data24 === "dotted")) || (data24 === "dashed")) || (data24 === "wavy"))){const err44 = {instancePath:instancePath+"/style/textDecorationStyle",schemaPath:"#/definitions/structuredContentStyle/properties/textDecorationStyle/enum",keyword:"enum",params:{allowedValues: schema26.properties.textDecorationStyle.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err44];}else {vErrors.push(err44);}errors++;}var valid13 = _errs74 === errors;}else {var valid13 = true;}if(valid13){if(data15.textDecorationColor !== undefined){const _errs76 = errors;if(typeof data15.textDecorationColor !== "string"){const err45 = {instancePath:instancePath+"/style/textDecorationColor",schemaPath:"#/definitions/structuredContentStyle/properties/textDecorationColor/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err45];}else {vErrors.push(err45);}errors++;}var valid13 = _errs76 === errors;}else {var valid13 = true;}if(valid13){if(data15.borderColor !== undefined){const _errs78 = errors;if(typeof data15.borderColor !== "string"){const err46 = {instancePath:instancePath+"/style/borderColor",schemaPath:"#/definitions/structuredContentStyle/properties/borderColor/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err46];}else {vErrors.push(err46);}errors++;}var valid13 = _errs78 === errors;}else {var valid13 = true;}if(valid13){if(data15.borderStyle !== undefined){const _errs80 = errors;if(typeof data15.borderStyle !== "string"){const err47 = {instancePath:instancePath+"/style/borderStyle",schemaPath:"#/definitions/structuredContentStyle/properties/borderStyle/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err47];}else {vErrors.push(err47);}errors++;}var valid13 = _errs80 === errors;}else {var valid13 = true;}if(valid13){if(data15.borderRadius !== undefined){const _errs82 = errors;if(typeof data15.borderRadius !== "string"){const err48 = {instancePath:instancePath+"/style/borderRadius",schemaPath:"#/definitions/structuredContentStyle/properties/borderRadius/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err48];}else {vErrors.push(err48);}errors++;}var valid13 = _errs82 === errors;}else {var valid13 = true;}if(valid13){if(data15.borderWidth !== undefined){const _errs84 = errors;if(typeof data15.borderWidth !== "string"){const err49 = {instancePath:instancePath+"/style/borderWidth",schemaPath:"#/definitions/structuredContentStyle/properties/borderWidth/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err49];}else {vErrors.push(err49);}errors++;}var valid13 = _errs84 === errors;}else {var valid13 = true;}if(valid13){if(data15.clipPath !== undefined){const _errs86 = errors;if(typeof data15.clipPath !== "string"){const err50 = {instancePath:instancePath+"/style/clipPath",schemaPath:"#/definitions/structuredContentStyle/properties/clipPath/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err50];}else {vErrors.push(err50);}errors++;}var valid13 = _errs86 === errors;}else {var valid13 = true;}if(valid13){if(data15.verticalAlign !== undefined){let data31 = data15.verticalAlign;const _errs88 = errors;if(typeof data31 !== "string"){const err51 = {instancePath:instancePath+"/style/verticalAlign",schemaPath:"#/definitions/structuredContentStyle/properties/verticalAlign/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err51];}else {vErrors.push(err51);}errors++;}if(!((((((((data31 === "baseline") || (data31 === "sub")) || (data31 === "super")) || (data31 === "text-top")) || (data31 === "text-bottom")) || (data31 === "middle")) || (data31 === "top")) || (data31 === "bottom"))){const err52 = {instancePath:instancePath+"/style/verticalAlign",schemaPath:"#/definitions/structuredContentStyle/properties/verticalAlign/enum",keyword:"enum",params:{allowedValues: schema26.properties.verticalAlign.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err52];}else {vErrors.push(err52);}errors++;}var valid13 = _errs88 === errors;}else {var valid13 = true;}if(valid13){if(data15.textAlign !== undefined){let data32 = data15.textAlign;const _errs90 = errors;if(typeof data32 !== "string"){const err53 = {instancePath:instancePath+"/style/textAlign",schemaPath:"#/definitions/structuredContentStyle/properties/textAlign/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err53];}else {vErrors.push(err53);}errors++;}if(!((((((((data32 === "start") || (data32 === "end")) || (data32 === "left")) || (data32 === "right")) || (data32 === "center")) || (data32 === "justify")) || (data32 === "justify-all")) || (data32 === "match-parent"))){const err54 = {instancePath:instancePath+"/style/textAlign",schemaPath:"#/definitions/structuredContentStyle/properties/textAlign/enum",keyword:"enum",params:{allowedValues: schema26.properties.textAlign.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err54];}else {vErrors.push(err54);}errors++;}var valid13 = _errs90 === errors;}else {var valid13 = true;}if(valid13){if(data15.textEmphasis !== undefined){const _errs92 = errors;if(typeof data15.textEmphasis !== "string"){const err55 = {instancePath:instancePath+"/style/textEmphasis",schemaPath:"#/definitions/structuredContentStyle/properties/textEmphasis/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err55];}else {vErrors.push(err55);}errors++;}var valid13 = _errs92 === errors;}else {var valid13 = true;}if(valid13){if(data15.textShadow !== undefined){const _errs94 = errors;if(typeof data15.textShadow !== "string"){const err56 = {instancePath:instancePath+"/style/textShadow",schemaPath:"#/definitions/structuredContentStyle/properties/textShadow/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err56];}else {vErrors.push(err56);}errors++;}var valid13 = _errs94 === errors;}else {var valid13 = true;}if(valid13){if(data15.margin !== undefined){const _errs96 = errors;if(typeof data15.margin !== "string"){const err57 = {instancePath:instancePath+"/style/margin",schemaPath:"#/definitions/structuredContentStyle/properties/margin/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err57];}else {vErrors.push(err57);}errors++;}var valid13 = _errs96 === errors;}else {var valid13 = true;}if(valid13){if(data15.marginTop !== undefined){let data36 = data15.marginTop;const _errs98 = errors;if((!((typeof data36 == "number") && (isFinite(data36)))) && (typeof data36 !== "string")){const err58 = {instancePath:instancePath+"/style/marginTop",schemaPath:"#/definitions/structuredContentStyle/properties/marginTop/type",keyword:"type",params:{type: schema26.properties.marginTop.type},message:"must be number,string"};if(vErrors === null){vErrors = [err58];}else {vErrors.push(err58);}errors++;}var valid13 = _errs98 === errors;}else {var valid13 = true;}if(valid13){if(data15.marginLeft !== undefined){let data37 = data15.marginLeft;const _errs100 = errors;if((!((typeof data37 == "number") && (isFinite(data37)))) && (typeof data37 !== "string")){const err59 = {instancePath:instancePath+"/style/marginLeft",schemaPath:"#/definitions/structuredContentStyle/properties/marginLeft/type",keyword:"type",params:{type: schema26.properties.marginLeft.type},message:"must be number,string"};if(vErrors === null){vErrors = [err59];}else {vErrors.push(err59);}errors++;}var valid13 = _errs100 === errors;}else {var valid13 = true;}if(valid13){if(data15.marginRight !== undefined){let data38 = data15.marginRight;const _errs102 = errors;if((!((typeof data38 == "number") && (isFinite(data38)))) && (typeof data38 !== "string")){const err60 = {instancePath:instancePath+"/style/marginRight",schemaPath:"#/definitions/structuredContentStyle/properties/marginRight/type",keyword:"type",params:{type: schema26.properties.marginRight.type},message:"must be number,string"};if(vErrors === null){vErrors = [err60];}else {vErrors.push(err60);}errors++;}var valid13 = _errs102 === errors;}else {var valid13 = true;}if(valid13){if(data15.marginBottom !== undefined){let data39 = data15.marginBottom;const _errs104 = errors;if((!((typeof data39 == "number") && (isFinite(data39)))) && (typeof data39 !== "string")){const err61 = {instancePath:instancePath+"/style/marginBottom",schemaPath:"#/definitions/structuredContentStyle/properties/marginBottom/type",keyword:"type",params:{type: schema26.properties.marginBottom.type},message:"must be number,string"};if(vErrors === null){vErrors = [err61];}else {vErrors.push(err61);}errors++;}var valid13 = _errs104 === errors;}else {var valid13 = true;}if(valid13){if(data15.padding !== undefined){const _errs106 = errors;if(typeof data15.padding !== "string"){const err62 = {instancePath:instancePath+"/style/padding",schemaPath:"#/definitions/structuredContentStyle/properties/padding/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err62];}else {vErrors.push(err62);}errors++;}var valid13 = _errs106 === errors;}else {var valid13 = true;}if(valid13){if(data15.paddingTop !== undefined){const _errs108 = errors;if(typeof data15.paddingTop !== "string"){const err63 = {instancePath:instancePath+"/style/paddingTop",schemaPath:"#/definitions/structuredContentStyle/properties/paddingTop/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err63];}else {vErrors.push(err63);}errors++;}var valid13 = _errs108 === errors;}else {var valid13 = true;}if(valid13){if(data15.paddingLeft !== undefined){const _errs110 = errors;if(typeof data15.paddingLeft !== "string"){const err64 = {instancePath:instancePath+"/style/paddingLeft",schemaPath:"#/definitions/structuredContentStyle/properties/paddingLeft/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err64];}else {vErrors.push(err64);}errors++;}var valid13 = _errs110 === errors;}else {var valid13 = true;}if(valid13){if(data15.paddingRight !== undefined){const _errs112 = errors;if(typeof data15.paddingRight !== "string"){const err65 = {instancePath:instancePath+"/style/paddingRight",schemaPath:"#/definitions/structuredContentStyle/properties/paddingRight/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err65];}else {vErrors.push(err65);}errors++;}var valid13 = _errs112 === errors;}else {var valid13 = true;}if(valid13){if(data15.paddingBottom !== undefined){const _errs114 = errors;if(typeof data15.paddingBottom !== "string"){const err66 = {instancePath:instancePath+"/style/paddingBottom",schemaPath:"#/definitions/structuredContentStyle/properties/paddingBottom/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err66];}else {vErrors.push(err66);}errors++;}var valid13 = _errs114 === errors;}else {var valid13 = true;}if(valid13){if(data15.wordBreak !== undefined){let data45 = data15.wordBreak;const _errs116 = errors;if(typeof data45 !== "string"){const err67 = {instancePath:instancePath+"/style/wordBreak",schemaPath:"#/definitions/structuredContentStyle/properties/wordBreak/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err67];}else {vErrors.push(err67);}errors++;}if(!(((data45 === "normal") || (data45 === "break-all")) || (data45 === "keep-all"))){const err68 = {instancePath:instancePath+"/style/wordBreak",schemaPath:"#/definitions/structuredContentStyle/properties/wordBreak/enum",keyword:"enum",params:{allowedValues: schema26.properties.wordBreak.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err68];}else {vErrors.push(err68);}errors++;}var valid13 = _errs116 === errors;}else {var valid13 = true;}if(valid13){if(data15.whiteSpace !== undefined){const _errs118 = errors;if(typeof data15.whiteSpace !== "string"){const err69 = {instancePath:instancePath+"/style/whiteSpace",schemaPath:"#/definitions/structuredContentStyle/properties/whiteSpace/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err69];}else {vErrors.push(err69);}errors++;}var valid13 = _errs118 === errors;}else {var valid13 = true;}if(valid13){if(data15.cursor !== undefined){const _errs120 = errors;if(typeof data15.cursor !== "string"){const err70 = {instancePath:instancePath+"/style/cursor",schemaPath:"#/definitions/structuredContentStyle/properties/cursor/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err70];}else {vErrors.push(err70);}errors++;}var valid13 = _errs120 === errors;}else {var valid13 = true;}if(valid13){if(data15.listStyleType !== undefined){const _errs122 = errors;if(typeof data15.listStyleType !== "string"){const err71 = {instancePath:instancePath+"/style/listStyleType",schemaPath:"#/definitions/structuredContentStyle/properties/listStyleType/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err71];}else {vErrors.push(err71);}errors++;}var valid13 = _errs122 === errors;}else {var valid13 = true;}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}else {const err72 = {instancePath:instancePath+"/style",schemaPath:"#/definitions/structuredContentStyle/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err72];}else {vErrors.push(err72);}errors++;}}var valid9 = _errs50 === errors;}else {var valid9 = true;}if(valid9){if(data.lang !== undefined){const _errs124 = errors;if(typeof data.lang !== "string"){const err73 = {instancePath:instancePath+"/lang",schemaPath:"#/oneOf/2/oneOf/2/properties/lang/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err73];}else {vErrors.push(err73);}errors++;}var valid9 = _errs124 === errors;}else {var valid9 = true;}}}}}}}}}}else {const err74 = {instancePath,schemaPath:"#/oneOf/2/oneOf/2/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err74];}else {vErrors.push(err74);}errors++;}}var _valid1 = _errs34 === errors;if(_valid1 && valid2){valid2 = false;passing1 = [passing1, 2];}else {if(_valid1){valid2 = true;passing1 = 2;}const _errs126 = errors;if(errors === _errs126){if(data && typeof data == "object" && !Array.isArray(data)){let missing3;if((data.tag === undefined) && (missing3 = "tag")){const err75 = {instancePath,schemaPath:"#/oneOf/2/oneOf/3/required",keyword:"required",params:{missingProperty: missing3},message:"must have required property '"+missing3+"'"};if(vErrors === null){vErrors = [err75];}else {vErrors.push(err75);}errors++;}else {const _errs128 = errors;for(const key7 in data){if(!((((((key7 === "tag") || (key7 === "content")) || (key7 === "data")) || (key7 === "style")) || (key7 === "title")) || (key7 === "lang"))){const err76 = {instancePath,schemaPath:"#/oneOf/2/oneOf/3/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key7},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err76];}else {vErrors.push(err76);}errors++;break;}}if(_errs128 === errors){if(data.tag !== undefined){let data50 = data.tag;const _errs129 = errors;if(typeof data50 !== "string"){const err77 = {instancePath:instancePath+"/tag",schemaPath:"#/oneOf/2/oneOf/3/properties/tag/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err77];}else {vErrors.push(err77);}errors++;}if(!(((((((data50 === "span") || (data50 === "div")) || (data50 === "ol")) || (data50 === "ul")) || (data50 === "li")) || (data50 === "details")) || (data50 === "summary"))){const err78 = {instancePath:instancePath+"/tag",schemaPath:"#/oneOf/2/oneOf/3/properties/tag/enum",keyword:"enum",params:{allowedValues: schema22.oneOf[2].oneOf[3].properties.tag.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err78];}else {vErrors.push(err78);}errors++;}var valid16 = _errs129 === errors;}else {var valid16 = true;}if(valid16){if(data.content !== undefined){const _errs131 = errors;if(!(wrapper0.validate(data.content, {instancePath:instancePath+"/content",parentData:data,parentDataProperty:"content",rootData}))){vErrors = vErrors === null ? wrapper0.validate.errors : vErrors.concat(wrapper0.validate.errors);errors = vErrors.length;}var valid16 = _errs131 === errors;}else {var valid16 = true;}if(valid16){if(data.data !== undefined){let data52 = data.data;const _errs132 = errors;const _errs133 = errors;if(errors === _errs133){if(data52 && typeof data52 == "object" && !Array.isArray(data52)){for(const key8 in data52){const _errs136 = errors;if(typeof data52[key8] !== "string"){const err79 = {instancePath:instancePath+"/data/" + key8.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/definitions/structuredContentData/additionalProperties/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err79];}else {vErrors.push(err79);}errors++;}var valid18 = _errs136 === errors;if(!valid18){break;}}}else {const err80 = {instancePath:instancePath+"/data",schemaPath:"#/definitions/structuredContentData/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err80];}else {vErrors.push(err80);}errors++;}}var valid16 = _errs132 === errors;}else {var valid16 = true;}if(valid16){if(data.style !== undefined){let data54 = data.style;const _errs138 = errors;const _errs139 = errors;if(errors === _errs139){if(data54 && typeof data54 == "object" && !Array.isArray(data54)){const _errs141 = errors;for(const key9 in data54){if(!(func5.call(schema26.properties, key9))){const err81 = {instancePath:instancePath+"/style",schemaPath:"#/definitions/structuredContentStyle/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key9},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err81];}else {vErrors.push(err81);}errors++;break;}}if(_errs141 === errors){if(data54.fontStyle !== undefined){let data55 = data54.fontStyle;const _errs142 = errors;if(typeof data55 !== "string"){const err82 = {instancePath:instancePath+"/style/fontStyle",schemaPath:"#/definitions/structuredContentStyle/properties/fontStyle/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err82];}else {vErrors.push(err82);}errors++;}if(!((data55 === "normal") || (data55 === "italic"))){const err83 = {instancePath:instancePath+"/style/fontStyle",schemaPath:"#/definitions/structuredContentStyle/properties/fontStyle/enum",keyword:"enum",params:{allowedValues: schema26.properties.fontStyle.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err83];}else {vErrors.push(err83);}errors++;}var valid20 = _errs142 === errors;}else {var valid20 = true;}if(valid20){if(data54.fontWeight !== undefined){let data56 = data54.fontWeight;const _errs144 = errors;if(typeof data56 !== "string"){const err84 = {instancePath:instancePath+"/style/fontWeight",schemaPath:"#/definitions/structuredContentStyle/properties/fontWeight/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err84];}else {vErrors.push(err84);}errors++;}if(!((data56 === "normal") || (data56 === "bold"))){const err85 = {instancePath:instancePath+"/style/fontWeight",schemaPath:"#/definitions/structuredContentStyle/properties/fontWeight/enum",keyword:"enum",params:{allowedValues: schema26.properties.fontWeight.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err85];}else {vErrors.push(err85);}errors++;}var valid20 = _errs144 === errors;}else {var valid20 = true;}if(valid20){if(data54.fontSize !== undefined){const _errs146 = errors;if(typeof data54.fontSize !== "string"){const err86 = {instancePath:instancePath+"/style/fontSize",schemaPath:"#/definitions/structuredContentStyle/properties/fontSize/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err86];}else {vErrors.push(err86);}errors++;}var valid20 = _errs146 === errors;}else {var valid20 = true;}if(valid20){if(data54.color !== undefined){const _errs148 = errors;if(typeof data54.color !== "string"){const err87 = {instancePath:instancePath+"/style/color",schemaPath:"#/definitions/structuredContentStyle/properties/color/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err87];}else {vErrors.push(err87);}errors++;}var valid20 = _errs148 === errors;}else {var valid20 = true;}if(valid20){if(data54.background !== undefined){const _errs150 = errors;if(typeof data54.background !== "string"){const err88 = {instancePath:instancePath+"/style/background",schemaPath:"#/definitions/structuredContentStyle/properties/background/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err88];}else {vErrors.push(err88);}errors++;}var valid20 = _errs150 === errors;}else {var valid20 = true;}if(valid20){if(data54.backgroundColor !== undefined){const _errs152 = errors;if(typeof data54.backgroundColor !== "string"){const err89 = {instancePath:instancePath+"/style/backgroundColor",schemaPath:"#/definitions/structuredContentStyle/properties/backgroundColor/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err89];}else {vErrors.push(err89);}errors++;}var valid20 = _errs152 === errors;}else {var valid20 = true;}if(valid20){if(data54.textDecorationLine !== undefined){let data61 = data54.textDecorationLine;const _errs154 = errors;const _errs155 = errors;let valid21 = false;let passing3 = null;const _errs156 = errors;if(typeof data61 !== "string"){const err90 = {instancePath:instancePath+"/style/textDecorationLine",schemaPath:"#/definitions/structuredContentStyle/properties/textDecorationLine/oneOf/0/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err90];}else {vErrors.push(err90);}errors++;}if(!((((data61 === "none") || (data61 === "underline")) || (data61 === "overline")) || (data61 === "line-through"))){const err91 = {instancePath:instancePath+"/style/textDecorationLine",schemaPath:"#/definitions/structuredContentStyle/properties/textDecorationLine/oneOf/0/enum",keyword:"enum",params:{allowedValues: schema26.properties.textDecorationLine.oneOf[0].enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err91];}else {vErrors.push(err91);}errors++;}var _valid3 = _errs156 === errors;if(_valid3){valid21 = true;passing3 = 0;}const _errs158 = errors;if(errors === _errs158){if(Array.isArray(data61)){var valid22 = true;const len2 = data61.length;for(let i2=0; i2<len2; i2++){let data62 = data61[i2];const _errs160 = errors;if(typeof data62 !== "string"){const err92 = {instancePath:instancePath+"/style/textDecorationLine/" + i2,schemaPath:"#/definitions/structuredContentStyle/properties/textDecorationLine/oneOf/1/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err92];}else {vErrors.push(err92);}errors++;}if(!(((data62 === "underline") || (data62 === "overline")) || (data62 === "line-through"))){const err93 = {instancePath:instancePath+"/style/textDecorationLine/" + i2,schemaPath:"#/definitions/structuredContentStyle/properties/textDecorationLine/oneOf/1/items/enum",keyword:"enum",params:{allowedValues: schema26.properties.textDecorationLine.oneOf[1].items.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err93];}else {vErrors.push(err93);}errors++;}var valid22 = _errs160 === errors;if(!valid22){break;}}}else {const err94 = {instancePath:instancePath+"/style/textDecorationLine",schemaPath:"#/definitions/structuredContentStyle/properties/textDecorationLine/oneOf/1/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err94];}else {vErrors.push(err94);}errors++;}}var _valid3 = _errs158 === errors;if(_valid3 && valid21){valid21 = false;passing3 = [passing3, 1];}else {if(_valid3){valid21 = true;passing3 = 1;}}if(!valid21){const err95 = {instancePath:instancePath+"/style/textDecorationLine",schemaPath:"#/definitions/structuredContentStyle/properties/textDecorationLine/oneOf",keyword:"oneOf",params:{passingSchemas: passing3},message:"must match exactly one schema in oneOf"};if(vErrors === null){vErrors = [err95];}else {vErrors.push(err95);}errors++;}else {errors = _errs155;if(vErrors !== null){if(_errs155){vErrors.length = _errs155;}else {vErrors = null;}}}var valid20 = _errs154 === errors;}else {var valid20 = true;}if(valid20){if(data54.textDecorationStyle !== undefined){let data63 = data54.textDecorationStyle;const _errs162 = errors;if(typeof data63 !== "string"){const err96 = {instancePath:instancePath+"/style/textDecorationStyle",schemaPath:"#/definitions/structuredContentStyle/properties/textDecorationStyle/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err96];}else {vErrors.push(err96);}errors++;}if(!(((((data63 === "solid") || (data63 === "double")) || (data63 === "dotted")) || (data63 === "dashed")) || (data63 === "wavy"))){const err97 = {instancePath:instancePath+"/style/textDecorationStyle",schemaPath:"#/definitions/structuredContentStyle/properties/textDecorationStyle/enum",keyword:"enum",params:{allowedValues: schema26.properties.textDecorationStyle.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err97];}else {vErrors.push(err97);}errors++;}var valid20 = _errs162 === errors;}else {var valid20 = true;}if(valid20){if(data54.textDecorationColor !== undefined){const _errs164 = errors;if(typeof data54.textDecorationColor !== "string"){const err98 = {instancePath:instancePath+"/style/textDecorationColor",schemaPath:"#/definitions/structuredContentStyle/properties/textDecorationColor/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err98];}else {vErrors.push(err98);}errors++;}var valid20 = _errs164 === errors;}else {var valid20 = true;}if(valid20){if(data54.borderColor !== undefined){const _errs166 = errors;if(typeof data54.borderColor !== "string"){const err99 = {instancePath:instancePath+"/style/borderColor",schemaPath:"#/definitions/structuredContentStyle/properties/borderColor/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err99];}else {vErrors.push(err99);}errors++;}var valid20 = _errs166 === errors;}else {var valid20 = true;}if(valid20){if(data54.borderStyle !== undefined){const _errs168 = errors;if(typeof data54.borderStyle !== "string"){const err100 = {instancePath:instancePath+"/style/borderStyle",schemaPath:"#/definitions/structuredContentStyle/properties/borderStyle/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err100];}else {vErrors.push(err100);}errors++;}var valid20 = _errs168 === errors;}else {var valid20 = true;}if(valid20){if(data54.borderRadius !== undefined){const _errs170 = errors;if(typeof data54.borderRadius !== "string"){const err101 = {instancePath:instancePath+"/style/borderRadius",schemaPath:"#/definitions/structuredContentStyle/properties/borderRadius/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err101];}else {vErrors.push(err101);}errors++;}var valid20 = _errs170 === errors;}else {var valid20 = true;}if(valid20){if(data54.borderWidth !== undefined){const _errs172 = errors;if(typeof data54.borderWidth !== "string"){const err102 = {instancePath:instancePath+"/style/borderWidth",schemaPath:"#/definitions/structuredContentStyle/properties/borderWidth/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err102];}else {vErrors.push(err102);}errors++;}var valid20 = _errs172 === errors;}else {var valid20 = true;}if(valid20){if(data54.clipPath !== undefined){const _errs174 = errors;if(typeof data54.clipPath !== "string"){const err103 = {instancePath:instancePath+"/style/clipPath",schemaPath:"#/definitions/structuredContentStyle/properties/clipPath/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err103];}else {vErrors.push(err103);}errors++;}var valid20 = _errs174 === errors;}else {var valid20 = true;}if(valid20){if(data54.verticalAlign !== undefined){let data70 = data54.verticalAlign;const _errs176 = errors;if(typeof data70 !== "string"){const err104 = {instancePath:instancePath+"/style/verticalAlign",schemaPath:"#/definitions/structuredContentStyle/properties/verticalAlign/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err104];}else {vErrors.push(err104);}errors++;}if(!((((((((data70 === "baseline") || (data70 === "sub")) || (data70 === "super")) || (data70 === "text-top")) || (data70 === "text-bottom")) || (data70 === "middle")) || (data70 === "top")) || (data70 === "bottom"))){const err105 = {instancePath:instancePath+"/style/verticalAlign",schemaPath:"#/definitions/structuredContentStyle/properties/verticalAlign/enum",keyword:"enum",params:{allowedValues: schema26.properties.verticalAlign.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err105];}else {vErrors.push(err105);}errors++;}var valid20 = _errs176 === errors;}else {var valid20 = true;}if(valid20){if(data54.textAlign !== undefined){let data71 = data54.textAlign;const _errs178 = errors;if(typeof data71 !== "string"){const err106 = {instancePath:instancePath+"/style/textAlign",schemaPath:"#/definitions/structuredContentStyle/properties/textAlign/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err106];}else {vErrors.push(err106);}errors++;}if(!((((((((data71 === "start") || (data71 === "end")) || (data71 === "left")) || (data71 === "right")) || (data71 === "center")) || (data71 === "justify")) || (data71 === "justify-all")) || (data71 === "match-parent"))){const err107 = {instancePath:instancePath+"/style/textAlign",schemaPath:"#/definitions/structuredContentStyle/properties/textAlign/enum",keyword:"enum",params:{allowedValues: schema26.properties.textAlign.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err107];}else {vErrors.push(err107);}errors++;}var valid20 = _errs178 === errors;}else {var valid20 = true;}if(valid20){if(data54.textEmphasis !== undefined){const _errs180 = errors;if(typeof data54.textEmphasis !== "string"){const err108 = {instancePath:instancePath+"/style/textEmphasis",schemaPath:"#/definitions/structuredContentStyle/properties/textEmphasis/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err108];}else {vErrors.push(err108);}errors++;}var valid20 = _errs180 === errors;}else {var valid20 = true;}if(valid20){if(data54.textShadow !== undefined){const _errs182 = errors;if(typeof data54.textShadow !== "string"){const err109 = {instancePath:instancePath+"/style/textShadow",schemaPath:"#/definitions/structuredContentStyle/properties/textShadow/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err109];}else {vErrors.push(err109);}errors++;}var valid20 = _errs182 === errors;}else {var valid20 = true;}if(valid20){if(data54.margin !== undefined){const _errs184 = errors;if(typeof data54.margin !== "string"){const err110 = {instancePath:instancePath+"/style/margin",schemaPath:"#/definitions/structuredContentStyle/properties/margin/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err110];}else {vErrors.push(err110);}errors++;}var valid20 = _errs184 === errors;}else {var valid20 = true;}if(valid20){if(data54.marginTop !== undefined){let data75 = data54.marginTop;const _errs186 = errors;if((!((typeof data75 == "number") && (isFinite(data75)))) && (typeof data75 !== "string")){const err111 = {instancePath:instancePath+"/style/marginTop",schemaPath:"#/definitions/structuredContentStyle/properties/marginTop/type",keyword:"type",params:{type: schema26.properties.marginTop.type},message:"must be number,string"};if(vErrors === null){vErrors = [err111];}else {vErrors.push(err111);}errors++;}var valid20 = _errs186 === errors;}else {var valid20 = true;}if(valid20){if(data54.marginLeft !== undefined){let data76 = data54.marginLeft;const _errs188 = errors;if((!((typeof data76 == "number") && (isFinite(data76)))) && (typeof data76 !== "string")){const err112 = {instancePath:instancePath+"/style/marginLeft",schemaPath:"#/definitions/structuredContentStyle/properties/marginLeft/type",keyword:"type",params:{type: schema26.properties.marginLeft.type},message:"must be number,string"};if(vErrors === null){vErrors = [err112];}else {vErrors.push(err112);}errors++;}var valid20 = _errs188 === errors;}else {var valid20 = true;}if(valid20){if(data54.marginRight !== undefined){let data77 = data54.marginRight;const _errs190 = errors;if((!((typeof data77 == "number") && (isFinite(data77)))) && (typeof data77 !== "string")){const err113 = {instancePath:instancePath+"/style/marginRight",schemaPath:"#/definitions/structuredContentStyle/properties/marginRight/type",keyword:"type",params:{type: schema26.properties.marginRight.type},message:"must be number,string"};if(vErrors === null){vErrors = [err113];}else {vErrors.push(err113);}errors++;}var valid20 = _errs190 === errors;}else {var valid20 = true;}if(valid20){if(data54.marginBottom !== undefined){let data78 = data54.marginBottom;const _errs192 = errors;if((!((typeof data78 == "number") && (isFinite(data78)))) && (typeof data78 !== "string")){const err114 = {instancePath:instancePath+"/style/marginBottom",schemaPath:"#/definitions/structuredContentStyle/properties/marginBottom/type",keyword:"type",params:{type: schema26.properties.marginBottom.type},message:"must be number,string"};if(vErrors === null){vErrors = [err114];}else {vErrors.push(err114);}errors++;}var valid20 = _errs192 === errors;}else {var valid20 = true;}if(valid20){if(data54.padding !== undefined){const _errs194 = errors;if(typeof data54.padding !== "string"){const err115 = {instancePath:instancePath+"/style/padding",schemaPath:"#/definitions/structuredContentStyle/properties/padding/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err115];}else {vErrors.push(err115);}errors++;}var valid20 = _errs194 === errors;}else {var valid20 = true;}if(valid20){if(data54.paddingTop !== undefined){const _errs196 = errors;if(typeof data54.paddingTop !== "string"){const err116 = {instancePath:instancePath+"/style/paddingTop",schemaPath:"#/definitions/structuredContentStyle/properties/paddingTop/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err116];}else {vErrors.push(err116);}errors++;}var valid20 = _errs196 === errors;}else {var valid20 = true;}if(valid20){if(data54.paddingLeft !== undefined){const _errs198 = errors;if(typeof data54.paddingLeft !== "string"){const err117 = {instancePath:instancePath+"/style/paddingLeft",schemaPath:"#/definitions/structuredContentStyle/properties/paddingLeft/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err117];}else {vErrors.push(err117);}errors++;}var valid20 = _errs198 === errors;}else {var valid20 = true;}if(valid20){if(data54.paddingRight !== undefined){const _errs200 = errors;if(typeof data54.paddingRight !== "string"){const err118 = {instancePath:instancePath+"/style/paddingRight",schemaPath:"#/definitions/structuredContentStyle/properties/paddingRight/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err118];}else {vErrors.push(err118);}errors++;}var valid20 = _errs200 === errors;}else {var valid20 = true;}if(valid20){if(data54.paddingBottom !== undefined){const _errs202 = errors;if(typeof data54.paddingBottom !== "string"){const err119 = {instancePath:instancePath+"/style/paddingBottom",schemaPath:"#/definitions/structuredContentStyle/properties/paddingBottom/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err119];}else {vErrors.push(err119);}errors++;}var valid20 = _errs202 === errors;}else {var valid20 = true;}if(valid20){if(data54.wordBreak !== undefined){let data84 = data54.wordBreak;const _errs204 = errors;if(typeof data84 !== "string"){const err120 = {instancePath:instancePath+"/style/wordBreak",schemaPath:"#/definitions/structuredContentStyle/properties/wordBreak/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err120];}else {vErrors.push(err120);}errors++;}if(!(((data84 === "normal") || (data84 === "break-all")) || (data84 === "keep-all"))){const err121 = {instancePath:instancePath+"/style/wordBreak",schemaPath:"#/definitions/structuredContentStyle/properties/wordBreak/enum",keyword:"enum",params:{allowedValues: schema26.properties.wordBreak.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err121];}else {vErrors.push(err121);}errors++;}var valid20 = _errs204 === errors;}else {var valid20 = true;}if(valid20){if(data54.whiteSpace !== undefined){const _errs206 = errors;if(typeof data54.whiteSpace !== "string"){const err122 = {instancePath:instancePath+"/style/whiteSpace",schemaPath:"#/definitions/structuredContentStyle/properties/whiteSpace/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err122];}else {vErrors.push(err122);}errors++;}var valid20 = _errs206 === errors;}else {var valid20 = true;}if(valid20){if(data54.cursor !== undefined){const _errs208 = errors;if(typeof data54.cursor !== "string"){const err123 = {instancePath:instancePath+"/style/cursor",schemaPath:"#/definitions/structuredContentStyle/properties/cursor/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err123];}else {vErrors.push(err123);}errors++;}var valid20 = _errs208 === errors;}else {var valid20 = true;}if(valid20){if(data54.listStyleType !== undefined){const _errs210 = errors;if(typeof data54.listStyleType !== "string"){const err124 = {instancePath:instancePath+"/style/listStyleType",schemaPath:"#/definitions/structuredContentStyle/properties/listStyleType/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err124];}else {vErrors.push(err124);}errors++;}var valid20 = _errs210 === errors;}else {var valid20 = true;}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}else {const err125 = {instancePath:instancePath+"/style",schemaPath:"#/definitions/structuredContentStyle/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err125];}else {vErrors.push(err125);}errors++;}}var valid16 = _errs138 === errors;}else {var valid16 = true;}if(valid16){if(data.title !== undefined){const _errs212 = errors;if(typeof data.title !== "string"){const err126 = {instancePath:instancePath+"/title",schemaPath:"#/oneOf/2/oneOf/3/properties/title/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err126];}else {vErrors.push(err126);}errors++;}var valid16 = _errs212 === errors;}else {var valid16 = true;}if(valid16){if(data.lang !== undefined){const _errs214 = errors;if(typeof data.lang !== "string"){const err127 = {instancePath:instancePath+"/lang",schemaPath:"#/oneOf/2/oneOf/3/properties/lang/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err127];}else {vErrors.push(err127);}errors++;}var valid16 = _errs214 === errors;}else {var valid16 = true;}}}}}}}}}else {const err128 = {instancePath,schemaPath:"#/oneOf/2/oneOf/3/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err128];}else {vErrors.push(err128);}errors++;}}var _valid1 = _errs126 === errors;if(_valid1 && valid2){valid2 = false;passing1 = [passing1, 3];}else {if(_valid1){valid2 = true;passing1 = 3;}const _errs216 = errors;if(errors === _errs216){if(data && typeof data == "object" && !Array.isArray(data)){let missing4;if(((data.tag === undefined) && (missing4 = "tag")) || ((data.path === undefined) && (missing4 = "path"))){const err129 = {instancePath,schemaPath:"#/oneOf/2/oneOf/4/required",keyword:"required",params:{missingProperty: missing4},message:"must have required property '"+missing4+"'"};if(vErrors === null){vErrors = [err129];}else {vErrors.push(err129);}errors++;}else {const _errs218 = errors;for(const key10 in data){if(!(func5.call(schema22.oneOf[2].oneOf[4].properties, key10))){const err130 = {instancePath,schemaPath:"#/oneOf/2/oneOf/4/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key10},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err130];}else {vErrors.push(err130);}errors++;break;}}if(_errs218 === errors){if(data.tag !== undefined){let data90 = data.tag;const _errs219 = errors;if(typeof data90 !== "string"){const err131 = {instancePath:instancePath+"/tag",schemaPath:"#/oneOf/2/oneOf/4/properties/tag/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err131];}else {vErrors.push(err131);}errors++;}if("img" !== data90){const err132 = {instancePath:instancePath+"/tag",schemaPath:"#/oneOf/2/oneOf/4/properties/tag/const",keyword:"const",params:{allowedValue: "img"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err132];}else {vErrors.push(err132);}errors++;}var valid23 = _errs219 === errors;}else {var valid23 = true;}if(valid23){if(data.data !== undefined){let data91 = data.data;const _errs221 = errors;const _errs222 = errors;if(errors === _errs222){if(data91 && typeof data91 == "object" && !Array.isArray(data91)){for(const key11 in data91){const _errs225 = errors;if(typeof data91[key11] !== "string"){const err133 = {instancePath:instancePath+"/data/" + key11.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/definitions/structuredContentData/additionalProperties/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err133];}else {vErrors.push(err133);}errors++;}var valid25 = _errs225 === errors;if(!valid25){break;}}}else {const err134 = {instancePath:instancePath+"/data",schemaPath:"#/definitions/structuredContentData/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err134];}else {vErrors.push(err134);}errors++;}}var valid23 = _errs221 === errors;}else {var valid23 = true;}if(valid23){if(data.path !== undefined){const _errs227 = errors;if(typeof data.path !== "string"){const err135 = {instancePath:instancePath+"/path",schemaPath:"#/oneOf/2/oneOf/4/properties/path/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err135];}else {vErrors.push(err135);}errors++;}var valid23 = _errs227 === errors;}else {var valid23 = true;}if(valid23){if(data.width !== undefined){let data94 = data.width;const _errs229 = errors;if(errors === _errs229){if((typeof data94 == "number") && (isFinite(data94))){if(data94 < 0 || isNaN(data94)){const err136 = {instancePath:instancePath+"/width",schemaPath:"#/oneOf/2/oneOf/4/properties/width/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err136];}else {vErrors.push(err136);}errors++;}}else {const err137 = {instancePath:instancePath+"/width",schemaPath:"#/oneOf/2/oneOf/4/properties/width/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err137];}else {vErrors.push(err137);}errors++;}}var valid23 = _errs229 === errors;}else {var valid23 = true;}if(valid23){if(data.height !== undefined){let data95 = data.height;const _errs231 = errors;if(errors === _errs231){if((typeof data95 == "number") && (isFinite(data95))){if(data95 < 0 || isNaN(data95)){const err138 = {instancePath:instancePath+"/height",schemaPath:"#/oneOf/2/oneOf/4/properties/height/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err138];}else {vErrors.push(err138);}errors++;}}else {const err139 = {instancePath:instancePath+"/height",schemaPath:"#/oneOf/2/oneOf/4/properties/height/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err139];}else {vErrors.push(err139);}errors++;}}var valid23 = _errs231 === errors;}else {var valid23 = true;}if(valid23){if(data.title !== undefined){const _errs233 = errors;if(typeof data.title !== "string"){const err140 = {instancePath:instancePath+"/title",schemaPath:"#/oneOf/2/oneOf/4/properties/title/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err140];}else {vErrors.push(err140);}errors++;}var valid23 = _errs233 === errors;}else {var valid23 = true;}if(valid23){if(data.alt !== undefined){const _errs235 = errors;if(typeof data.alt !== "string"){const err141 = {instancePath:instancePath+"/alt",schemaPath:"#/oneOf/2/oneOf/4/properties/alt/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err141];}else {vErrors.push(err141);}errors++;}var valid23 = _errs235 === errors;}else {var valid23 = true;}if(valid23){if(data.description !== undefined){const _errs237 = errors;if(typeof data.description !== "string"){const err142 = {instancePath:instancePath+"/description",schemaPath:"#/oneOf/2/oneOf/4/properties/description/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err142];}else {vErrors.push(err142);}errors++;}var valid23 = _errs237 === errors;}else {var valid23 = true;}if(valid23){if(data.pixelated !== undefined){const _errs239 = errors;if(typeof data.pixelated !== "boolean"){const err143 = {instancePath:instancePath+"/pixelated",schemaPath:"#/oneOf/2/oneOf/4/properties/pixelated/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err143];}else {vErrors.push(err143);}errors++;}var valid23 = _errs239 === errors;}else {var valid23 = true;}if(valid23){if(data.imageRendering !== undefined){let data100 = data.imageRendering;const _errs241 = errors;if(typeof data100 !== "string"){const err144 = {instancePath:instancePath+"/imageRendering",schemaPath:"#/oneOf/2/oneOf/4/properties/imageRendering/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err144];}else {vErrors.push(err144);}errors++;}if(!(((data100 === "auto") || (data100 === "pixelated")) || (data100 === "crisp-edges"))){const err145 = {instancePath:instancePath+"/imageRendering",schemaPath:"#/oneOf/2/oneOf/4/properties/imageRendering/enum",keyword:"enum",params:{allowedValues: schema22.oneOf[2].oneOf[4].properties.imageRendering.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err145];}else {vErrors.push(err145);}errors++;}var valid23 = _errs241 === errors;}else {var valid23 = true;}if(valid23){if(data.appearance !== undefined){let data101 = data.appearance;const _errs243 = errors;if(typeof data101 !== "string"){const err146 = {instancePath:instancePath+"/appearance",schemaPath:"#/oneOf/2/oneOf/4/properties/appearance/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err146];}else {vErrors.push(err146);}errors++;}if(!((data101 === "auto") || (data101 === "monochrome"))){const err147 = {instancePath:instancePath+"/appearance",schemaPath:"#/oneOf/2/oneOf/4/properties/appearance/enum",keyword:"enum",params:{allowedValues: schema22.oneOf[2].oneOf[4].properties.appearance.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err147];}else {vErrors.push(err147);}errors++;}var valid23 = _errs243 === errors;}else {var valid23 = true;}if(valid23){if(data.background !== undefined){const _errs245 = errors;if(typeof data.background !== "boolean"){const err148 = {instancePath:instancePath+"/background",schemaPath:"#/oneOf/2/oneOf/4/properties/background/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err148];}else {vErrors.push(err148);}errors++;}var valid23 = _errs245 === errors;}else {var valid23 = true;}if(valid23){if(data.collapsed !== undefined){const _errs247 = errors;if(typeof data.collapsed !== "boolean"){const err149 = {instancePath:instancePath+"/collapsed",schemaPath:"#/oneOf/2/oneOf/4/properties/collapsed/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err149];}else {vErrors.push(err149);}errors++;}var valid23 = _errs247 === errors;}else {var valid23 = true;}if(valid23){if(data.collapsible !== undefined){const _errs249 = errors;if(typeof data.collapsible !== "boolean"){const err150 = {instancePath:instancePath+"/collapsible",schemaPath:"#/oneOf/2/oneOf/4/properties/collapsible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err150];}else {vErrors.push(err150);}errors++;}var valid23 = _errs249 === errors;}else {var valid23 = true;}if(valid23){if(data.verticalAlign !== undefined){let data105 = data.verticalAlign;const _errs251 = errors;if(typeof data105 !== "string"){const err151 = {instancePath:instancePath+"/verticalAlign",schemaPath:"#/oneOf/2/oneOf/4/properties/verticalAlign/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err151];}else {vErrors.push(err151);}errors++;}if(!((((((((data105 === "baseline") || (data105 === "sub")) || (data105 === "super")) || (data105 === "text-top")) || (data105 === "text-bottom")) || (data105 === "middle")) || (data105 === "top")) || (data105 === "bottom"))){const err152 = {instancePath:instancePath+"/verticalAlign",schemaPath:"#/oneOf/2/oneOf/4/properties/verticalAlign/enum",keyword:"enum",params:{allowedValues: schema22.oneOf[2].oneOf[4].properties.verticalAlign.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err152];}else {vErrors.push(err152);}errors++;}var valid23 = _errs251 === errors;}else {var valid23 = true;}if(valid23){if(data.border !== undefined){const _errs253 = errors;if(typeof data.border !== "string"){const err153 = {instancePath:instancePath+"/border",schemaPath:"#/oneOf/2/oneOf/4/properties/border/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err153];}else {vErrors.push(err153);}errors++;}var valid23 = _errs253 === errors;}else {var valid23 = true;}if(valid23){if(data.borderRadius !== undefined){const _errs255 = errors;if(typeof data.borderRadius !== "string"){const err154 = {instancePath:instancePath+"/borderRadius",schemaPath:"#/oneOf/2/oneOf/4/properties/borderRadius/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err154];}else {vErrors.push(err154);}errors++;}var valid23 = _errs255 === errors;}else {var valid23 = true;}if(valid23){if(data.sizeUnits !== undefined){let data108 = data.sizeUnits;const _errs257 = errors;if(typeof data108 !== "string"){const err155 = {instancePath:instancePath+"/sizeUnits",schemaPath:"#/oneOf/2/oneOf/4/properties/sizeUnits/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err155];}else {vErrors.push(err155);}errors++;}if(!((data108 === "px") || (data108 === "em"))){const err156 = {instancePath:instancePath+"/sizeUnits",schemaPath:"#/oneOf/2/oneOf/4/properties/sizeUnits/enum",keyword:"enum",params:{allowedValues: schema22.oneOf[2].oneOf[4].properties.sizeUnits.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err156];}else {vErrors.push(err156);}errors++;}var valid23 = _errs257 === errors;}else {var valid23 = true;}}}}}}}}}}}}}}}}}}}}}else {const err157 = {instancePath,schemaPath:"#/oneOf/2/oneOf/4/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err157];}else {vErrors.push(err157);}errors++;}}var _valid1 = _errs216 === errors;if(_valid1 && valid2){valid2 = false;passing1 = [passing1, 4];}else {if(_valid1){valid2 = true;passing1 = 4;}const _errs259 = errors;if(errors === _errs259){if(data && typeof data == "object" && !Array.isArray(data)){let missing5;if(((data.tag === undefined) && (missing5 = "tag")) || ((data.href === undefined) && (missing5 = "href"))){const err158 = {instancePath,schemaPath:"#/oneOf/2/oneOf/5/required",keyword:"required",params:{missingProperty: missing5},message:"must have required property '"+missing5+"'"};if(vErrors === null){vErrors = [err158];}else {vErrors.push(err158);}errors++;}else {const _errs261 = errors;for(const key12 in data){if(!((((key12 === "tag") || (key12 === "content")) || (key12 === "href")) || (key12 === "lang"))){const err159 = {instancePath,schemaPath:"#/oneOf/2/oneOf/5/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key12},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err159];}else {vErrors.push(err159);}errors++;break;}}if(_errs261 === errors){if(data.tag !== undefined){let data109 = data.tag;const _errs262 = errors;if(typeof data109 !== "string"){const err160 = {instancePath:instancePath+"/tag",schemaPath:"#/oneOf/2/oneOf/5/properties/tag/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err160];}else {vErrors.push(err160);}errors++;}if("a" !== data109){const err161 = {instancePath:instancePath+"/tag",schemaPath:"#/oneOf/2/oneOf/5/properties/tag/const",keyword:"const",params:{allowedValue: "a"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err161];}else {vErrors.push(err161);}errors++;}var valid26 = _errs262 === errors;}else {var valid26 = true;}if(valid26){if(data.content !== undefined){const _errs264 = errors;if(!(wrapper0.validate(data.content, {instancePath:instancePath+"/content",parentData:data,parentDataProperty:"content",rootData}))){vErrors = vErrors === null ? wrapper0.validate.errors : vErrors.concat(wrapper0.validate.errors);errors = vErrors.length;}var valid26 = _errs264 === errors;}else {var valid26 = true;}if(valid26){if(data.href !== undefined){let data111 = data.href;const _errs265 = errors;if(errors === _errs265){if(typeof data111 === "string"){if(!pattern2.test(data111)){const err162 = {instancePath:instancePath+"/href",schemaPath:"#/oneOf/2/oneOf/5/properties/href/pattern",keyword:"pattern",params:{pattern: "^(?:https?:|\\?)[\\w\\W]*"},message:"must match pattern \""+"^(?:https?:|\\?)[\\w\\W]*"+"\""};if(vErrors === null){vErrors = [err162];}else {vErrors.push(err162);}errors++;}}else {const err163 = {instancePath:instancePath+"/href",schemaPath:"#/oneOf/2/oneOf/5/properties/href/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err163];}else {vErrors.push(err163);}errors++;}}var valid26 = _errs265 === errors;}else {var valid26 = true;}if(valid26){if(data.lang !== undefined){const _errs267 = errors;if(typeof data.lang !== "string"){const err164 = {instancePath:instancePath+"/lang",schemaPath:"#/oneOf/2/oneOf/5/properties/lang/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err164];}else {vErrors.push(err164);}errors++;}var valid26 = _errs267 === errors;}else {var valid26 = true;}}}}}}}else {const err165 = {instancePath,schemaPath:"#/oneOf/2/oneOf/5/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err165];}else {vErrors.push(err165);}errors++;}}var _valid1 = _errs259 === errors;if(_valid1 && valid2){valid2 = false;passing1 = [passing1, 5];}else {if(_valid1){valid2 = true;passing1 = 5;}}}}}}if(!valid2){const err166 = {instancePath,schemaPath:"#/oneOf/2/oneOf",keyword:"oneOf",params:{passingSchemas: passing1},message:"must match exactly one schema in oneOf"};if(vErrors === null){vErrors = [err166];}else {vErrors.push(err166);}errors++;}else {errors = _errs8;if(vErrors !== null){if(_errs8){vErrors.length = _errs8;}else {vErrors = null;}}}var _valid0 = _errs6 === errors;if(_valid0 && valid0){valid0 = false;passing0 = [passing0, 2];}else {if(_valid0){valid0 = true;passing0 = 2;}}}if(!valid0){const err167 = {instancePath,schemaPath:"#/oneOf",keyword:"oneOf",params:{passingSchemas: passing0},message:"must match exactly one schema in oneOf"};if(vErrors === null){vErrors = [err167];}else {vErrors.push(err167);}errors++;validate18.errors = vErrors;return false;}else {errors = _errs0;if(vErrors !== null){if(_errs0){vErrors.length = _errs0;}else {vErrors = null;}}}validate18.errors = vErrors;return errors === 0;}function validate17(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){/*# sourceURL="dictionaryTermBankV3" */;let vErrors = null;let errors = 0;if(errors === 0){if(Array.isArray(data)){var valid0 = true;const len0 = data.length;for(let i0=0; i0<len0; i0++){let data0 = data[i0];const _errs1 = errors;if(errors === _errs1){if(Array.isArray(data0)){if(data0.length > 8){validate17.errors = [{instancePath:instancePath+"/" + i0,schemaPath:"#/items/maxItems",keyword:"maxItems",params:{limit: 8},message:"must NOT have more than 8 items"}];return false;}else {if(data0.length < 8){validate17.errors = [{instancePath:instancePath+"/" + i0,schemaPath:"#/items/minItems",keyword:"minItems",params:{limit: 8},message:"must NOT have fewer than 8 items"}];return false;}else {const len1 = data0.length;if(!(len1 <= 8)){validate17.errors = [{instancePath:instancePath+"/" + i0,schemaPath:"#/items/additionalItems",keyword:"additionalItems",params:{limit: 8},message:"must NOT have more than 8 items"}];return false;}else {const len2 = data0.length;if(len2 > 0){const _errs3 = errors;if(typeof data0[0] !== "string"){validate17.errors = [{instancePath:instancePath+"/" + i0+"/0",schemaPath:"#/items/items/0/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid1 = _errs3 === errors;}if(valid1){if(len2 > 1){const _errs5 = errors;if(typeof data0[1] !== "string"){validate17.errors = [{instancePath:instancePath+"/" + i0+"/1",schemaPath:"#/items/items/1/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid1 = _errs5 === errors;}if(valid1){if(len2 > 2){let data3 = data0[2];const _errs7 = errors;if((typeof data3 !== "string") && (data3 !== null)){validate17.errors = [{instancePath:instancePath+"/" + i0+"/2",schemaPath:"#/items/items/2/type",keyword:"type",params:{type: schema21.items.items[2].type},message:"must be string,null"}];return false;}var valid1 = _errs7 === errors;}if(valid1){if(len2 > 3){const _errs9 = errors;if(typeof data0[3] !== "string"){validate17.errors = [{instancePath:instancePath+"/" + i0+"/3",schemaPath:"#/items/items/3/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid1 = _errs9 === errors;}if(valid1){if(len2 > 4){let data5 = data0[4];const _errs11 = errors;if(!((typeof data5 == "number") && (isFinite(data5)))){validate17.errors = [{instancePath:instancePath+"/" + i0+"/4",schemaPath:"#/items/items/4/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid1 = _errs11 === errors;}if(valid1){if(len2 > 5){let data6 = data0[5];const _errs13 = errors;if(errors === _errs13){if(Array.isArray(data6)){var valid2 = true;const len3 = data6.length;for(let i1=0; i1<len3; i1++){let data7 = data6[i1];const _errs15 = errors;const _errs16 = errors;let valid3 = false;let passing0 = null;const _errs17 = errors;if(typeof data7 !== "string"){const err0 = {instancePath:instancePath+"/" + i0+"/5/" + i1,schemaPath:"#/items/items/5/items/oneOf/0/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}var _valid0 = _errs17 === errors;if(_valid0){valid3 = true;passing0 = 0;}const _errs19 = errors;const _errs21 = errors;let valid4 = false;let passing1 = null;const _errs22 = errors;if(data7 && typeof data7 == "object" && !Array.isArray(data7)){let missing0;if(((data7.type === undefined) && (missing0 = "type")) || ((data7.text === undefined) && (missing0 = "text"))){const err1 = {instancePath:instancePath+"/" + i0+"/5/" + i1,schemaPath:"#/items/items/5/items/oneOf/1/oneOf/0/required",keyword:"required",params:{missingProperty: missing0},message:"must have required property '"+missing0+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}else {const _errs23 = errors;for(const key0 in data7){if(!((key0 === "type") || (key0 === "text"))){const err2 = {instancePath:instancePath+"/" + i0+"/5/" + i1,schemaPath:"#/items/items/5/items/oneOf/1/oneOf/0/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;break;}}if(_errs23 === errors){if(data7.type !== undefined){let data8 = data7.type;const _errs24 = errors;if(typeof data8 !== "string"){const err3 = {instancePath:instancePath+"/" + i0+"/5/" + i1+"/type",schemaPath:"#/items/items/5/items/oneOf/1/oneOf/0/properties/type/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}if("text" !== data8){const err4 = {instancePath:instancePath+"/" + i0+"/5/" + i1+"/type",schemaPath:"#/items/items/5/items/oneOf/1/oneOf/0/properties/type/const",keyword:"const",params:{allowedValue: "text"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}var valid5 = _errs24 === errors;}else {var valid5 = true;}if(valid5){if(data7.text !== undefined){const _errs26 = errors;if(typeof data7.text !== "string"){const err5 = {instancePath:instancePath+"/" + i0+"/5/" + i1+"/text",schemaPath:"#/items/items/5/items/oneOf/1/oneOf/0/properties/text/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}var valid5 = _errs26 === errors;}else {var valid5 = true;}}}}}var _valid1 = _errs22 === errors;if(_valid1){valid4 = true;passing1 = 0;}const _errs28 = errors;if(data7 && typeof data7 == "object" && !Array.isArray(data7)){let missing1;if(((data7.type === undefined) && (missing1 = "type")) || ((data7.content === undefined) && (missing1 = "content"))){const err6 = {instancePath:instancePath+"/" + i0+"/5/" + i1,schemaPath:"#/items/items/5/items/oneOf/1/oneOf/1/required",keyword:"required",params:{missingProperty: missing1},message:"must have required property '"+missing1+"'"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}else {const _errs29 = errors;for(const key1 in data7){if(!((key1 === "type") || (key1 === "content"))){const err7 = {instancePath:instancePath+"/" + i0+"/5/" + i1,schemaPath:"#/items/items/5/items/oneOf/1/oneOf/1/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key1},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;break;}}if(_errs29 === errors){if(data7.type !== undefined){let data10 = data7.type;const _errs30 = errors;if(typeof data10 !== "string"){const err8 = {instancePath:instancePath+"/" + i0+"/5/" + i1+"/type",schemaPath:"#/items/items/5/items/oneOf/1/oneOf/1/properties/type/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}if("structured-content" !== data10){const err9 = {instancePath:instancePath+"/" + i0+"/5/" + i1+"/type",schemaPath:"#/items/items/5/items/oneOf/1/oneOf/1/properties/type/const",keyword:"const",params:{allowedValue: "structured-content"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}var valid6 = _errs30 === errors;}else {var valid6 = true;}if(valid6){if(data7.content !== undefined){const _errs32 = errors;if(!(validate18(data7.content, {instancePath:instancePath+"/" + i0+"/5/" + i1+"/content",parentData:data7,parentDataProperty:"content",rootData}))){vErrors = vErrors === null ? validate18.errors : vErrors.concat(validate18.errors);errors = vErrors.length;}var valid6 = _errs32 === errors;}else {var valid6 = true;}}}}}var _valid1 = _errs28 === errors;if(_valid1 && valid4){valid4 = false;passing1 = [passing1, 1];}else {if(_valid1){valid4 = true;passing1 = 1;}const _errs33 = errors;if(data7 && typeof data7 == "object" && !Array.isArray(data7)){let missing2;if(((data7.type === undefined) && (missing2 = "type")) || ((data7.path === undefined) && (missing2 = "path"))){const err10 = {instancePath:instancePath+"/" + i0+"/5/" + i1,schemaPath:"#/items/items/5/items/oneOf/1/oneOf/2/required",keyword:"required",params:{missingProperty: missing2},message:"must have required property '"+missing2+"'"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}else {const _errs34 = errors;for(const key2 in data7){if(!(func5.call(schema21.items.items[5].items.oneOf[1].oneOf[2].properties, key2))){const err11 = {instancePath:instancePath+"/" + i0+"/5/" + i1,schemaPath:"#/items/items/5/items/oneOf/1/oneOf/2/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key2},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err11];}else {vErrors.push(err11);}errors++;break;}}if(_errs34 === errors){if(data7.type !== undefined){let data12 = data7.type;const _errs35 = errors;if(typeof data12 !== "string"){const err12 = {instancePath:instancePath+"/" + i0+"/5/" + i1+"/type",schemaPath:"#/items/items/5/items/oneOf/1/oneOf/2/properties/type/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err12];}else {vErrors.push(err12);}errors++;}if("image" !== data12){const err13 = {instancePath:instancePath+"/" + i0+"/5/" + i1+"/type",schemaPath:"#/items/items/5/items/oneOf/1/oneOf/2/properties/type/const",keyword:"const",params:{allowedValue: "image"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err13];}else {vErrors.push(err13);}errors++;}var valid7 = _errs35 === errors;}else {var valid7 = true;}if(valid7){if(data7.path !== undefined){const _errs37 = errors;if(typeof data7.path !== "string"){const err14 = {instancePath:instancePath+"/" + i0+"/5/" + i1+"/path",schemaPath:"#/items/items/5/items/oneOf/1/oneOf/2/properties/path/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err14];}else {vErrors.push(err14);}errors++;}var valid7 = _errs37 === errors;}else {var valid7 = true;}if(valid7){if(data7.width !== undefined){let data14 = data7.width;const _errs39 = errors;if(!(((typeof data14 == "number") && (!(data14 % 1) && !isNaN(data14))) && (isFinite(data14)))){const err15 = {instancePath:instancePath+"/" + i0+"/5/" + i1+"/width",schemaPath:"#/items/items/5/items/oneOf/1/oneOf/2/properties/width/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err15];}else {vErrors.push(err15);}errors++;}if(errors === _errs39){if((typeof data14 == "number") && (isFinite(data14))){if(data14 < 1 || isNaN(data14)){const err16 = {instancePath:instancePath+"/" + i0+"/5/" + i1+"/width",schemaPath:"#/items/items/5/items/oneOf/1/oneOf/2/properties/width/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"};if(vErrors === null){vErrors = [err16];}else {vErrors.push(err16);}errors++;}}}var valid7 = _errs39 === errors;}else {var valid7 = true;}if(valid7){if(data7.height !== undefined){let data15 = data7.height;const _errs41 = errors;if(!(((typeof data15 == "number") && (!(data15 % 1) && !isNaN(data15))) && (isFinite(data15)))){const err17 = {instancePath:instancePath+"/" + i0+"/5/" + i1+"/height",schemaPath:"#/items/items/5/items/oneOf/1/oneOf/2/properties/height/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err17];}else {vErrors.push(err17);}errors++;}if(errors === _errs41){if((typeof data15 == "number") && (isFinite(data15))){if(data15 < 1 || isNaN(data15)){const err18 = {instancePath:instancePath+"/" + i0+"/5/" + i1+"/height",schemaPath:"#/items/items/5/items/oneOf/1/oneOf/2/properties/height/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"};if(vErrors === null){vErrors = [err18];}else {vErrors.push(err18);}errors++;}}}var valid7 = _errs41 === errors;}else {var valid7 = true;}if(valid7){if(data7.title !== undefined){const _errs43 = errors;if(typeof data7.title !== "string"){const err19 = {instancePath:instancePath+"/" + i0+"/5/" + i1+"/title",schemaPath:"#/items/items/5/items/oneOf/1/oneOf/2/properties/title/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err19];}else {vErrors.push(err19);}errors++;}var valid7 = _errs43 === errors;}else {var valid7 = true;}if(valid7){if(data7.alt !== undefined){const _errs45 = errors;if(typeof data7.alt !== "string"){const err20 = {instancePath:instancePath+"/" + i0+"/5/" + i1+"/alt",schemaPath:"#/items/items/5/items/oneOf/1/oneOf/2/properties/alt/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err20];}else {vErrors.push(err20);}errors++;}var valid7 = _errs45 === errors;}else {var valid7 = true;}if(valid7){if(data7.description !== undefined){const _errs47 = errors;if(typeof data7.description !== "string"){const err21 = {instancePath:instancePath+"/" + i0+"/5/" + i1+"/description",schemaPath:"#/items/items/5/items/oneOf/1/oneOf/2/properties/description/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err21];}else {vErrors.push(err21);}errors++;}var valid7 = _errs47 === errors;}else {var valid7 = true;}if(valid7){if(data7.pixelated !== undefined){const _errs49 = errors;if(typeof data7.pixelated !== "boolean"){const err22 = {instancePath:instancePath+"/" + i0+"/5/" + i1+"/pixelated",schemaPath:"#/items/items/5/items/oneOf/1/oneOf/2/properties/pixelated/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err22];}else {vErrors.push(err22);}errors++;}var valid7 = _errs49 === errors;}else {var valid7 = true;}if(valid7){if(data7.imageRendering !== undefined){let data20 = data7.imageRendering;const _errs51 = errors;if(typeof data20 !== "string"){const err23 = {instancePath:instancePath+"/" + i0+"/5/" + i1+"/imageRendering",schemaPath:"#/items/items/5/items/oneOf/1/oneOf/2/properties/imageRendering/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err23];}else {vErrors.push(err23);}errors++;}if(!(((data20 === "auto") || (data20 === "pixelated")) || (data20 === "crisp-edges"))){const err24 = {instancePath:instancePath+"/" + i0+"/5/" + i1+"/imageRendering",schemaPath:"#/items/items/5/items/oneOf/1/oneOf/2/properties/imageRendering/enum",keyword:"enum",params:{allowedValues: schema21.items.items[5].items.oneOf[1].oneOf[2].properties.imageRendering.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err24];}else {vErrors.push(err24);}errors++;}var valid7 = _errs51 === errors;}else {var valid7 = true;}if(valid7){if(data7.appearance !== undefined){let data21 = data7.appearance;const _errs53 = errors;if(typeof data21 !== "string"){const err25 = {instancePath:instancePath+"/" + i0+"/5/" + i1+"/appearance",schemaPath:"#/items/items/5/items/oneOf/1/oneOf/2/properties/appearance/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err25];}else {vErrors.push(err25);}errors++;}if(!((data21 === "auto") || (data21 === "monochrome"))){const err26 = {instancePath:instancePath+"/" + i0+"/5/" + i1+"/appearance",schemaPath:"#/items/items/5/items/oneOf/1/oneOf/2/properties/appearance/enum",keyword:"enum",params:{allowedValues: schema21.items.items[5].items.oneOf[1].oneOf[2].properties.appearance.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err26];}else {vErrors.push(err26);}errors++;}var valid7 = _errs53 === errors;}else {var valid7 = true;}if(valid7){if(data7.background !== undefined){const _errs55 = errors;if(typeof data7.background !== "boolean"){const err27 = {instancePath:instancePath+"/" + i0+"/5/" + i1+"/background",schemaPath:"#/items/items/5/items/oneOf/1/oneOf/2/properties/background/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err27];}else {vErrors.push(err27);}errors++;}var valid7 = _errs55 === errors;}else {var valid7 = true;}if(valid7){if(data7.collapsed !== undefined){const _errs57 = errors;if(typeof data7.collapsed !== "boolean"){const err28 = {instancePath:instancePath+"/" + i0+"/5/" + i1+"/collapsed",schemaPath:"#/items/items/5/items/oneOf/1/oneOf/2/properties/collapsed/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err28];}else {vErrors.push(err28);}errors++;}var valid7 = _errs57 === errors;}else {var valid7 = true;}if(valid7){if(data7.collapsible !== undefined){const _errs59 = errors;if(typeof data7.collapsible !== "boolean"){const err29 = {instancePath:instancePath+"/" + i0+"/5/" + i1+"/collapsible",schemaPath:"#/items/items/5/items/oneOf/1/oneOf/2/properties/collapsible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err29];}else {vErrors.push(err29);}errors++;}var valid7 = _errs59 === errors;}else {var valid7 = true;}}}}}}}}}}}}}}}}var _valid1 = _errs33 === errors;if(_valid1 && valid4){valid4 = false;passing1 = [passing1, 2];}else {if(_valid1){valid4 = true;passing1 = 2;}}}if(!valid4){const err30 = {instancePath:instancePath+"/" + i0+"/5/" + i1,schemaPath:"#/items/items/5/items/oneOf/1/oneOf",keyword:"oneOf",params:{passingSchemas: passing1},message:"must match exactly one schema in oneOf"};if(vErrors === null){vErrors = [err30];}else {vErrors.push(err30);}errors++;}else {errors = _errs21;if(vErrors !== null){if(_errs21){vErrors.length = _errs21;}else {vErrors = null;}}}if(errors === _errs19){if(data7 && typeof data7 == "object" && !Array.isArray(data7)){let missing3;if((data7.type === undefined) && (missing3 = "type")){const err31 = {instancePath:instancePath+"/" + i0+"/5/" + i1,schemaPath:"#/items/items/5/items/oneOf/1/required",keyword:"required",params:{missingProperty: missing3},message:"must have required property '"+missing3+"'"};if(vErrors === null){vErrors = [err31];}else {vErrors.push(err31);}errors++;}else {if(data7.type !== undefined){let data25 = data7.type;if(typeof data25 !== "string"){const err32 = {instancePath:instancePath+"/" + i0+"/5/" + i1+"/type",schemaPath:"#/items/items/5/items/oneOf/1/properties/type/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err32];}else {vErrors.push(err32);}errors++;}if(!(((data25 === "text") || (data25 === "image")) || (data25 === "structured-content"))){const err33 = {instancePath:instancePath+"/" + i0+"/5/" + i1+"/type",schemaPath:"#/items/items/5/items/oneOf/1/properties/type/enum",keyword:"enum",params:{allowedValues: schema21.items.items[5].items.oneOf[1].properties.type.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err33];}else {vErrors.push(err33);}errors++;}}}}else {const err34 = {instancePath:instancePath+"/" + i0+"/5/" + i1,schemaPath:"#/items/items/5/items/oneOf/1/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err34];}else {vErrors.push(err34);}errors++;}}var _valid0 = _errs19 === errors;if(_valid0 && valid3){valid3 = false;passing0 = [passing0, 1];}else {if(_valid0){valid3 = true;passing0 = 1;}const _errs63 = errors;if(errors === _errs63){if(Array.isArray(data7)){if(data7.length > 2){const err35 = {instancePath:instancePath+"/" + i0+"/5/" + i1,schemaPath:"#/items/items/5/items/oneOf/2/maxItems",keyword:"maxItems",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err35];}else {vErrors.push(err35);}errors++;}else {if(data7.length < 2){const err36 = {instancePath:instancePath+"/" + i0+"/5/" + i1,schemaPath:"#/items/items/5/items/oneOf/2/minItems",keyword:"minItems",params:{limit: 2},message:"must NOT have fewer than 2 items"};if(vErrors === null){vErrors = [err36];}else {vErrors.push(err36);}errors++;}else {const len4 = data7.length;if(len4 > 0){const _errs65 = errors;if(typeof data7[0] !== "string"){const err37 = {instancePath:instancePath+"/" + i0+"/5/" + i1+"/0",schemaPath:"#/items/items/5/items/oneOf/2/items/0/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err37];}else {vErrors.push(err37);}errors++;}var valid9 = _errs65 === errors;}if(valid9){if(len4 > 1){let data27 = data7[1];const _errs67 = errors;if(errors === _errs67){if(Array.isArray(data27)){var valid10 = true;const len5 = data27.length;for(let i2=0; i2<len5; i2++){const _errs69 = errors;if(typeof data27[i2] !== "string"){const err38 = {instancePath:instancePath+"/" + i0+"/5/" + i1+"/1/" + i2,schemaPath:"#/items/items/5/items/oneOf/2/items/1/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err38];}else {vErrors.push(err38);}errors++;}var valid10 = _errs69 === errors;if(!valid10){break;}}}else {const err39 = {instancePath:instancePath+"/" + i0+"/5/" + i1+"/1",schemaPath:"#/items/items/5/items/oneOf/2/items/1/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err39];}else {vErrors.push(err39);}errors++;}}var valid9 = _errs67 === errors;}}}}}else {const err40 = {instancePath:instancePath+"/" + i0+"/5/" + i1,schemaPath:"#/items/items/5/items/oneOf/2/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err40];}else {vErrors.push(err40);}errors++;}}var _valid0 = _errs63 === errors;if(_valid0 && valid3){valid3 = false;passing0 = [passing0, 2];}else {if(_valid0){valid3 = true;passing0 = 2;}}}if(!valid3){const err41 = {instancePath:instancePath+"/" + i0+"/5/" + i1,schemaPath:"#/items/items/5/items/oneOf",keyword:"oneOf",params:{passingSchemas: passing0},message:"must match exactly one schema in oneOf"};if(vErrors === null){vErrors = [err41];}else {vErrors.push(err41);}errors++;validate17.errors = vErrors;return false;}else {errors = _errs16;if(vErrors !== null){if(_errs16){vErrors.length = _errs16;}else {vErrors = null;}}}var valid2 = _errs15 === errors;if(!valid2){break;}}}else {validate17.errors = [{instancePath:instancePath+"/" + i0+"/5",schemaPath:"#/items/items/5/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid1 = _errs13 === errors;}if(valid1){if(len2 > 6){let data29 = data0[6];const _errs71 = errors;if(!(((typeof data29 == "number") && (!(data29 % 1) && !isNaN(data29))) && (isFinite(data29)))){validate17.errors = [{instancePath:instancePath+"/" + i0+"/6",schemaPath:"#/items/items/6/type",keyword:"type",params:{type: "integer"},message:"must be integer"}];return false;}var valid1 = _errs71 === errors;}if(valid1){if(len2 > 7){const _errs73 = errors;if(typeof data0[7] !== "string"){validate17.errors = [{instancePath:instancePath+"/" + i0+"/7",schemaPath:"#/items/items/7/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid1 = _errs73 === errors;}}}}}}}}}}}}else {validate17.errors = [{instancePath:instancePath+"/" + i0,schemaPath:"#/items/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid0 = _errs1 === errors;if(!valid0){break;}}}else {validate17.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}validate17.errors = vErrors;return errors === 0;}export const dictionaryTermMetaBankV3 = validate20;const schema30 = {"$id":"dictionaryTermMetaBankV3","$schema":"http://json-schema.org/draft-07/schema#","definitions":{"frequency":{"oneOf":[{"type":["string","number"]},{"type":"object","additionalProperties":false,"required":["value"],"properties":{"value":{"type":"number"},"displayValue":{"type":"string"}}}]}},"type":"array","description":"Custom metadata for terms.","items":{"type":"array","description":"Metadata about a single term.","minItems":3,"maxItems":3,"additionalItems":false,"items":[{"type":"string","description":"The text for the term."},{"type":"string","enum":["freq","pitch","ipa"],"description":"Type of data. \"freq\" corresponds to frequency information; \"pitch\" corresponds to pitch information. \"ipa\" corresponds to IPA transcription."},{"description":"Data for the term."}],"oneOf":[{"minItems":3,"maxItems":3,"items":[{},{"const":"freq"},{"oneOf":[{"$ref":"#/definitions/frequency","description":"Frequency information for the term."},{"type":"object","required":["reading","frequency"],"additionalProperties":false,"properties":{"reading":{"type":"string","description":"Reading for the term."},"frequency":{"$ref":"#/definitions/frequency","description":"Frequency information for the term."}}}]}]},{"minItems":3,"maxItems":3,"items":[{},{"const":"pitch"},{"type":"object","description":"Pitch accent information for the term.","required":["reading","pitches"],"additionalProperties":false,"properties":{"reading":{"type":"string","description":"Reading for the term."},"pitches":{"type":"array","description":"List of different pitch accent information for the term and reading combination.","items":{"type":"object","required":["position"],"additionalProperties":false,"properties":{"position":{"type":"integer","description":"Mora position of the pitch accent downstep. A value of 0 indicates that the word does not have a downstep (heiban).","minimum":0},"nasal":{"oneOf":[{"type":"integer","description":"Position of a mora with nasal sound.","minimum":0},{"type":"array","description":"Positions of morae with nasal sound.","items":{"type":"integer","minimum":0}}]},"devoice":{"oneOf":[{"type":"integer","description":"Position of a mora with devoiced sound.","minimum":0},{"type":"array","description":"Positions of morae with devoiced sound.","items":{"type":"integer","minimum":0}}]},"tags":{"type":"array","description":"List of tags for this pitch accent.","items":{"type":"string","description":"Tag for this pitch accent. This typically corresponds to a certain type of part of speech."}}}}}}}]},{"minItems":3,"maxItems":3,"items":[{},{"const":"ipa"},{"type":["object"],"description":"IPA transcription information for the term.","required":["reading","transcriptions"],"additionalProperties":false,"properties":{"reading":{"type":"string","description":"Reading for the term."},"transcriptions":{"type":"array","description":"List of different IPA transcription information for the term and reading combination.","items":{"type":"object","required":["ipa"],"additionalProperties":false,"properties":{"ipa":{"type":"string","description":"IPA transcription for the term."},"tags":{"type":"array","description":"List of tags for this IPA transcription.","items":{"type":"string","description":"Tag for this IPA transcription."}}}}}}}]}]}};const schema31 = {"oneOf":[{"type":["string","number"]},{"type":"object","additionalProperties":false,"required":["value"],"properties":{"value":{"type":"number"},"displayValue":{"type":"string"}}}]};function validate20(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){/*# sourceURL="dictionaryTermMetaBankV3" */;let vErrors = null;let errors = 0;if(errors === 0){if(Array.isArray(data)){var valid0 = true;const len0 = data.length;for(let i0=0; i0<len0; i0++){let data0 = data[i0];const _errs1 = errors;const _errs3 = errors;let valid1 = false;let passing0 = null;const _errs4 = errors;if(Array.isArray(data0)){if(data0.length > 3){const err0 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/oneOf/0/maxItems",keyword:"maxItems",params:{limit: 3},message:"must NOT have more than 3 items"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}else {if(data0.length < 3){const err1 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/oneOf/0/minItems",keyword:"minItems",params:{limit: 3},message:"must NOT have fewer than 3 items"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}else {const len1 = data0.length;if(len1 > 1){const _errs5 = errors;if("freq" !== data0[1]){const err2 = {instancePath:instancePath+"/" + i0+"/1",schemaPath:"#/items/oneOf/0/items/1/const",keyword:"const",params:{allowedValue: "freq"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}var valid2 = _errs5 === errors;}if(valid2){if(len1 > 2){let data2 = data0[2];const _errs6 = errors;const _errs7 = errors;let valid3 = false;let passing1 = null;const _errs8 = errors;const _errs10 = errors;let valid5 = false;let passing2 = null;const _errs11 = errors;if((typeof data2 !== "string") && (!((typeof data2 == "number") && (isFinite(data2))))){const err3 = {instancePath:instancePath+"/" + i0+"/2",schemaPath:"#/definitions/frequency/oneOf/0/type",keyword:"type",params:{type: schema31.oneOf[0].type},message:"must be string,number"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}var _valid2 = _errs11 === errors;if(_valid2){valid5 = true;passing2 = 0;}const _errs13 = errors;if(errors === _errs13){if(data2 && typeof data2 == "object" && !Array.isArray(data2)){let missing0;if((data2.value === undefined) && (missing0 = "value")){const err4 = {instancePath:instancePath+"/" + i0+"/2",schemaPath:"#/definitions/frequency/oneOf/1/required",keyword:"required",params:{missingProperty: missing0},message:"must have required property '"+missing0+"'"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}else {const _errs15 = errors;for(const key0 in data2){if(!((key0 === "value") || (key0 === "displayValue"))){const err5 = {instancePath:instancePath+"/" + i0+"/2",schemaPath:"#/definitions/frequency/oneOf/1/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;break;}}if(_errs15 === errors){if(data2.value !== undefined){let data3 = data2.value;const _errs16 = errors;if(!((typeof data3 == "number") && (isFinite(data3)))){const err6 = {instancePath:instancePath+"/" + i0+"/2/value",schemaPath:"#/definitions/frequency/oneOf/1/properties/value/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}var valid6 = _errs16 === errors;}else {var valid6 = true;}if(valid6){if(data2.displayValue !== undefined){const _errs18 = errors;if(typeof data2.displayValue !== "string"){const err7 = {instancePath:instancePath+"/" + i0+"/2/displayValue",schemaPath:"#/definitions/frequency/oneOf/1/properties/displayValue/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}var valid6 = _errs18 === errors;}else {var valid6 = true;}}}}}else {const err8 = {instancePath:instancePath+"/" + i0+"/2",schemaPath:"#/definitions/frequency/oneOf/1/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}}var _valid2 = _errs13 === errors;if(_valid2 && valid5){valid5 = false;passing2 = [passing2, 1];}else {if(_valid2){valid5 = true;passing2 = 1;}}if(!valid5){const err9 = {instancePath:instancePath+"/" + i0+"/2",schemaPath:"#/definitions/frequency/oneOf",keyword:"oneOf",params:{passingSchemas: passing2},message:"must match exactly one schema in oneOf"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}else {errors = _errs10;if(vErrors !== null){if(_errs10){vErrors.length = _errs10;}else {vErrors = null;}}}var _valid1 = _errs8 === errors;if(_valid1){valid3 = true;passing1 = 0;}const _errs20 = errors;if(errors === _errs20){if(data2 && typeof data2 == "object" && !Array.isArray(data2)){let missing1;if(((data2.reading === undefined) && (missing1 = "reading")) || ((data2.frequency === undefined) && (missing1 = "frequency"))){const err10 = {instancePath:instancePath+"/" + i0+"/2",schemaPath:"#/items/oneOf/0/items/2/oneOf/1/required",keyword:"required",params:{missingProperty: missing1},message:"must have required property '"+missing1+"'"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}else {const _errs22 = errors;for(const key1 in data2){if(!((key1 === "reading") || (key1 === "frequency"))){const err11 = {instancePath:instancePath+"/" + i0+"/2",schemaPath:"#/items/oneOf/0/items/2/oneOf/1/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key1},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err11];}else {vErrors.push(err11);}errors++;break;}}if(_errs22 === errors){if(data2.reading !== undefined){const _errs23 = errors;if(typeof data2.reading !== "string"){const err12 = {instancePath:instancePath+"/" + i0+"/2/reading",schemaPath:"#/items/oneOf/0/items/2/oneOf/1/properties/reading/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err12];}else {vErrors.push(err12);}errors++;}var valid7 = _errs23 === errors;}else {var valid7 = true;}if(valid7){if(data2.frequency !== undefined){let data6 = data2.frequency;const _errs25 = errors;const _errs27 = errors;let valid9 = false;let passing3 = null;const _errs28 = errors;if((typeof data6 !== "string") && (!((typeof data6 == "number") && (isFinite(data6))))){const err13 = {instancePath:instancePath+"/" + i0+"/2/frequency",schemaPath:"#/definitions/frequency/oneOf/0/type",keyword:"type",params:{type: schema31.oneOf[0].type},message:"must be string,number"};if(vErrors === null){vErrors = [err13];}else {vErrors.push(err13);}errors++;}var _valid3 = _errs28 === errors;if(_valid3){valid9 = true;passing3 = 0;}const _errs30 = errors;if(errors === _errs30){if(data6 && typeof data6 == "object" && !Array.isArray(data6)){let missing2;if((data6.value === undefined) && (missing2 = "value")){const err14 = {instancePath:instancePath+"/" + i0+"/2/frequency",schemaPath:"#/definitions/frequency/oneOf/1/required",keyword:"required",params:{missingProperty: missing2},message:"must have required property '"+missing2+"'"};if(vErrors === null){vErrors = [err14];}else {vErrors.push(err14);}errors++;}else {const _errs32 = errors;for(const key2 in data6){if(!((key2 === "value") || (key2 === "displayValue"))){const err15 = {instancePath:instancePath+"/" + i0+"/2/frequency",schemaPath:"#/definitions/frequency/oneOf/1/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key2},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err15];}else {vErrors.push(err15);}errors++;break;}}if(_errs32 === errors){if(data6.value !== undefined){let data7 = data6.value;const _errs33 = errors;if(!((typeof data7 == "number") && (isFinite(data7)))){const err16 = {instancePath:instancePath+"/" + i0+"/2/frequency/value",schemaPath:"#/definitions/frequency/oneOf/1/properties/value/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err16];}else {vErrors.push(err16);}errors++;}var valid10 = _errs33 === errors;}else {var valid10 = true;}if(valid10){if(data6.displayValue !== undefined){const _errs35 = errors;if(typeof data6.displayValue !== "string"){const err17 = {instancePath:instancePath+"/" + i0+"/2/frequency/displayValue",schemaPath:"#/definitions/frequency/oneOf/1/properties/displayValue/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err17];}else {vErrors.push(err17);}errors++;}var valid10 = _errs35 === errors;}else {var valid10 = true;}}}}}else {const err18 = {instancePath:instancePath+"/" + i0+"/2/frequency",schemaPath:"#/definitions/frequency/oneOf/1/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err18];}else {vErrors.push(err18);}errors++;}}var _valid3 = _errs30 === errors;if(_valid3 && valid9){valid9 = false;passing3 = [passing3, 1];}else {if(_valid3){valid9 = true;passing3 = 1;}}if(!valid9){const err19 = {instancePath:instancePath+"/" + i0+"/2/frequency",schemaPath:"#/definitions/frequency/oneOf",keyword:"oneOf",params:{passingSchemas: passing3},message:"must match exactly one schema in oneOf"};if(vErrors === null){vErrors = [err19];}else {vErrors.push(err19);}errors++;}else {errors = _errs27;if(vErrors !== null){if(_errs27){vErrors.length = _errs27;}else {vErrors = null;}}}var valid7 = _errs25 === errors;}else {var valid7 = true;}}}}}else {const err20 = {instancePath:instancePath+"/" + i0+"/2",schemaPath:"#/items/oneOf/0/items/2/oneOf/1/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err20];}else {vErrors.push(err20);}errors++;}}var _valid1 = _errs20 === errors;if(_valid1 && valid3){valid3 = false;passing1 = [passing1, 1];}else {if(_valid1){valid3 = true;passing1 = 1;}}if(!valid3){const err21 = {instancePath:instancePath+"/" + i0+"/2",schemaPath:"#/items/oneOf/0/items/2/oneOf",keyword:"oneOf",params:{passingSchemas: passing1},message:"must match exactly one schema in oneOf"};if(vErrors === null){vErrors = [err21];}else {vErrors.push(err21);}errors++;}else {errors = _errs7;if(vErrors !== null){if(_errs7){vErrors.length = _errs7;}else {vErrors = null;}}}var valid2 = _errs6 === errors;}}}}}var _valid0 = _errs4 === errors;if(_valid0){valid1 = true;passing0 = 0;}const _errs37 = errors;if(Array.isArray(data0)){if(data0.length > 3){const err22 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/oneOf/1/maxItems",keyword:"maxItems",params:{limit: 3},message:"must NOT have more than 3 items"};if(vErrors === null){vErrors = [err22];}else {vErrors.push(err22);}errors++;}else {if(data0.length < 3){const err23 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/oneOf/1/minItems",keyword:"minItems",params:{limit: 3},message:"must NOT have fewer than 3 items"};if(vErrors === null){vErrors = [err23];}else {vErrors.push(err23);}errors++;}else {const len2 = data0.length;if(len2 > 1){const _errs38 = errors;if("pitch" !== data0[1]){const err24 = {instancePath:instancePath+"/" + i0+"/1",schemaPath:"#/items/oneOf/1/items/1/const",keyword:"const",params:{allowedValue: "pitch"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err24];}else {vErrors.push(err24);}errors++;}var valid11 = _errs38 === errors;}if(valid11){if(len2 > 2){let data10 = data0[2];const _errs39 = errors;if(errors === _errs39){if(data10 && typeof data10 == "object" && !Array.isArray(data10)){let missing3;if(((data10.reading === undefined) && (missing3 = "reading")) || ((data10.pitches === undefined) && (missing3 = "pitches"))){const err25 = {instancePath:instancePath+"/" + i0+"/2",schemaPath:"#/items/oneOf/1/items/2/required",keyword:"required",params:{missingProperty: missing3},message:"must have required property '"+missing3+"'"};if(vErrors === null){vErrors = [err25];}else {vErrors.push(err25);}errors++;}else {const _errs41 = errors;for(const key3 in data10){if(!((key3 === "reading") || (key3 === "pitches"))){const err26 = {instancePath:instancePath+"/" + i0+"/2",schemaPath:"#/items/oneOf/1/items/2/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key3},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err26];}else {vErrors.push(err26);}errors++;break;}}if(_errs41 === errors){if(data10.reading !== undefined){const _errs42 = errors;if(typeof data10.reading !== "string"){const err27 = {instancePath:instancePath+"/" + i0+"/2/reading",schemaPath:"#/items/oneOf/1/items/2/properties/reading/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err27];}else {vErrors.push(err27);}errors++;}var valid12 = _errs42 === errors;}else {var valid12 = true;}if(valid12){if(data10.pitches !== undefined){let data12 = data10.pitches;const _errs44 = errors;if(errors === _errs44){if(Array.isArray(data12)){var valid13 = true;const len3 = data12.length;for(let i1=0; i1<len3; i1++){let data13 = data12[i1];const _errs46 = errors;if(errors === _errs46){if(data13 && typeof data13 == "object" && !Array.isArray(data13)){let missing4;if((data13.position === undefined) && (missing4 = "position")){const err28 = {instancePath:instancePath+"/" + i0+"/2/pitches/" + i1,schemaPath:"#/items/oneOf/1/items/2/properties/pitches/items/required",keyword:"required",params:{missingProperty: missing4},message:"must have required property '"+missing4+"'"};if(vErrors === null){vErrors = [err28];}else {vErrors.push(err28);}errors++;}else {const _errs48 = errors;for(const key4 in data13){if(!((((key4 === "position") || (key4 === "nasal")) || (key4 === "devoice")) || (key4 === "tags"))){const err29 = {instancePath:instancePath+"/" + i0+"/2/pitches/" + i1,schemaPath:"#/items/oneOf/1/items/2/properties/pitches/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key4},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err29];}else {vErrors.push(err29);}errors++;break;}}if(_errs48 === errors){if(data13.position !== undefined){let data14 = data13.position;const _errs49 = errors;if(!(((typeof data14 == "number") && (!(data14 % 1) && !isNaN(data14))) && (isFinite(data14)))){const err30 = {instancePath:instancePath+"/" + i0+"/2/pitches/" + i1+"/position",schemaPath:"#/items/oneOf/1/items/2/properties/pitches/items/properties/position/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err30];}else {vErrors.push(err30);}errors++;}if(errors === _errs49){if((typeof data14 == "number") && (isFinite(data14))){if(data14 < 0 || isNaN(data14)){const err31 = {instancePath:instancePath+"/" + i0+"/2/pitches/" + i1+"/position",schemaPath:"#/items/oneOf/1/items/2/properties/pitches/items/properties/position/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err31];}else {vErrors.push(err31);}errors++;}}}var valid14 = _errs49 === errors;}else {var valid14 = true;}if(valid14){if(data13.nasal !== undefined){let data15 = data13.nasal;const _errs51 = errors;const _errs52 = errors;let valid15 = false;let passing4 = null;const _errs53 = errors;if(!(((typeof data15 == "number") && (!(data15 % 1) && !isNaN(data15))) && (isFinite(data15)))){const err32 = {instancePath:instancePath+"/" + i0+"/2/pitches/" + i1+"/nasal",schemaPath:"#/items/oneOf/1/items/2/properties/pitches/items/properties/nasal/oneOf/0/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err32];}else {vErrors.push(err32);}errors++;}if(errors === _errs53){if((typeof data15 == "number") && (isFinite(data15))){if(data15 < 0 || isNaN(data15)){const err33 = {instancePath:instancePath+"/" + i0+"/2/pitches/" + i1+"/nasal",schemaPath:"#/items/oneOf/1/items/2/properties/pitches/items/properties/nasal/oneOf/0/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err33];}else {vErrors.push(err33);}errors++;}}}var _valid4 = _errs53 === errors;if(_valid4){valid15 = true;passing4 = 0;}const _errs55 = errors;if(errors === _errs55){if(Array.isArray(data15)){var valid16 = true;const len4 = data15.length;for(let i2=0; i2<len4; i2++){let data16 = data15[i2];const _errs57 = errors;if(!(((typeof data16 == "number") && (!(data16 % 1) && !isNaN(data16))) && (isFinite(data16)))){const err34 = {instancePath:instancePath+"/" + i0+"/2/pitches/" + i1+"/nasal/" + i2,schemaPath:"#/items/oneOf/1/items/2/properties/pitches/items/properties/nasal/oneOf/1/items/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err34];}else {vErrors.push(err34);}errors++;}if(errors === _errs57){if((typeof data16 == "number") && (isFinite(data16))){if(data16 < 0 || isNaN(data16)){const err35 = {instancePath:instancePath+"/" + i0+"/2/pitches/" + i1+"/nasal/" + i2,schemaPath:"#/items/oneOf/1/items/2/properties/pitches/items/properties/nasal/oneOf/1/items/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err35];}else {vErrors.push(err35);}errors++;}}}var valid16 = _errs57 === errors;if(!valid16){break;}}}else {const err36 = {instancePath:instancePath+"/" + i0+"/2/pitches/" + i1+"/nasal",schemaPath:"#/items/oneOf/1/items/2/properties/pitches/items/properties/nasal/oneOf/1/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err36];}else {vErrors.push(err36);}errors++;}}var _valid4 = _errs55 === errors;if(_valid4 && valid15){valid15 = false;passing4 = [passing4, 1];}else {if(_valid4){valid15 = true;passing4 = 1;}}if(!valid15){const err37 = {instancePath:instancePath+"/" + i0+"/2/pitches/" + i1+"/nasal",schemaPath:"#/items/oneOf/1/items/2/properties/pitches/items/properties/nasal/oneOf",keyword:"oneOf",params:{passingSchemas: passing4},message:"must match exactly one schema in oneOf"};if(vErrors === null){vErrors = [err37];}else {vErrors.push(err37);}errors++;}else {errors = _errs52;if(vErrors !== null){if(_errs52){vErrors.length = _errs52;}else {vErrors = null;}}}var valid14 = _errs51 === errors;}else {var valid14 = true;}if(valid14){if(data13.devoice !== undefined){let data17 = data13.devoice;const _errs59 = errors;const _errs60 = errors;let valid17 = false;let passing5 = null;const _errs61 = errors;if(!(((typeof data17 == "number") && (!(data17 % 1) && !isNaN(data17))) && (isFinite(data17)))){const err38 = {instancePath:instancePath+"/" + i0+"/2/pitches/" + i1+"/devoice",schemaPath:"#/items/oneOf/1/items/2/properties/pitches/items/properties/devoice/oneOf/0/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err38];}else {vErrors.push(err38);}errors++;}if(errors === _errs61){if((typeof data17 == "number") && (isFinite(data17))){if(data17 < 0 || isNaN(data17)){const err39 = {instancePath:instancePath+"/" + i0+"/2/pitches/" + i1+"/devoice",schemaPath:"#/items/oneOf/1/items/2/properties/pitches/items/properties/devoice/oneOf/0/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err39];}else {vErrors.push(err39);}errors++;}}}var _valid5 = _errs61 === errors;if(_valid5){valid17 = true;passing5 = 0;}const _errs63 = errors;if(errors === _errs63){if(Array.isArray(data17)){var valid18 = true;const len5 = data17.length;for(let i3=0; i3<len5; i3++){let data18 = data17[i3];const _errs65 = errors;if(!(((typeof data18 == "number") && (!(data18 % 1) && !isNaN(data18))) && (isFinite(data18)))){const err40 = {instancePath:instancePath+"/" + i0+"/2/pitches/" + i1+"/devoice/" + i3,schemaPath:"#/items/oneOf/1/items/2/properties/pitches/items/properties/devoice/oneOf/1/items/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err40];}else {vErrors.push(err40);}errors++;}if(errors === _errs65){if((typeof data18 == "number") && (isFinite(data18))){if(data18 < 0 || isNaN(data18)){const err41 = {instancePath:instancePath+"/" + i0+"/2/pitches/" + i1+"/devoice/" + i3,schemaPath:"#/items/oneOf/1/items/2/properties/pitches/items/properties/devoice/oneOf/1/items/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err41];}else {vErrors.push(err41);}errors++;}}}var valid18 = _errs65 === errors;if(!valid18){break;}}}else {const err42 = {instancePath:instancePath+"/" + i0+"/2/pitches/" + i1+"/devoice",schemaPath:"#/items/oneOf/1/items/2/properties/pitches/items/properties/devoice/oneOf/1/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err42];}else {vErrors.push(err42);}errors++;}}var _valid5 = _errs63 === errors;if(_valid5 && valid17){valid17 = false;passing5 = [passing5, 1];}else {if(_valid5){valid17 = true;passing5 = 1;}}if(!valid17){const err43 = {instancePath:instancePath+"/" + i0+"/2/pitches/" + i1+"/devoice",schemaPath:"#/items/oneOf/1/items/2/properties/pitches/items/properties/devoice/oneOf",keyword:"oneOf",params:{passingSchemas: passing5},message:"must match exactly one schema in oneOf"};if(vErrors === null){vErrors = [err43];}else {vErrors.push(err43);}errors++;}else {errors = _errs60;if(vErrors !== null){if(_errs60){vErrors.length = _errs60;}else {vErrors = null;}}}var valid14 = _errs59 === errors;}else {var valid14 = true;}if(valid14){if(data13.tags !== undefined){let data19 = data13.tags;const _errs67 = errors;if(errors === _errs67){if(Array.isArray(data19)){var valid19 = true;const len6 = data19.length;for(let i4=0; i4<len6; i4++){const _errs69 = errors;if(typeof data19[i4] !== "string"){const err44 = {instancePath:instancePath+"/" + i0+"/2/pitches/" + i1+"/tags/" + i4,schemaPath:"#/items/oneOf/1/items/2/properties/pitches/items/properties/tags/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err44];}else {vErrors.push(err44);}errors++;}var valid19 = _errs69 === errors;if(!valid19){break;}}}else {const err45 = {instancePath:instancePath+"/" + i0+"/2/pitches/" + i1+"/tags",schemaPath:"#/items/oneOf/1/items/2/properties/pitches/items/properties/tags/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err45];}else {vErrors.push(err45);}errors++;}}var valid14 = _errs67 === errors;}else {var valid14 = true;}}}}}}}else {const err46 = {instancePath:instancePath+"/" + i0+"/2/pitches/" + i1,schemaPath:"#/items/oneOf/1/items/2/properties/pitches/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err46];}else {vErrors.push(err46);}errors++;}}var valid13 = _errs46 === errors;if(!valid13){break;}}}else {const err47 = {instancePath:instancePath+"/" + i0+"/2/pitches",schemaPath:"#/items/oneOf/1/items/2/properties/pitches/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err47];}else {vErrors.push(err47);}errors++;}}var valid12 = _errs44 === errors;}else {var valid12 = true;}}}}}else {const err48 = {instancePath:instancePath+"/" + i0+"/2",schemaPath:"#/items/oneOf/1/items/2/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err48];}else {vErrors.push(err48);}errors++;}}var valid11 = _errs39 === errors;}}}}}var _valid0 = _errs37 === errors;if(_valid0 && valid1){valid1 = false;passing0 = [passing0, 1];}else {if(_valid0){valid1 = true;passing0 = 1;}const _errs71 = errors;if(Array.isArray(data0)){if(data0.length > 3){const err49 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/oneOf/2/maxItems",keyword:"maxItems",params:{limit: 3},message:"must NOT have more than 3 items"};if(vErrors === null){vErrors = [err49];}else {vErrors.push(err49);}errors++;}else {if(data0.length < 3){const err50 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/oneOf/2/minItems",keyword:"minItems",params:{limit: 3},message:"must NOT have fewer than 3 items"};if(vErrors === null){vErrors = [err50];}else {vErrors.push(err50);}errors++;}else {const len7 = data0.length;if(len7 > 1){const _errs72 = errors;if("ipa" !== data0[1]){const err51 = {instancePath:instancePath+"/" + i0+"/1",schemaPath:"#/items/oneOf/2/items/1/const",keyword:"const",params:{allowedValue: "ipa"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err51];}else {vErrors.push(err51);}errors++;}var valid20 = _errs72 === errors;}if(valid20){if(len7 > 2){let data22 = data0[2];const _errs73 = errors;if(errors === _errs73){if(data22 && typeof data22 == "object" && !Array.isArray(data22)){let missing5;if(((data22.reading === undefined) && (missing5 = "reading")) || ((data22.transcriptions === undefined) && (missing5 = "transcriptions"))){const err52 = {instancePath:instancePath+"/" + i0+"/2",schemaPath:"#/items/oneOf/2/items/2/required",keyword:"required",params:{missingProperty: missing5},message:"must have required property '"+missing5+"'"};if(vErrors === null){vErrors = [err52];}else {vErrors.push(err52);}errors++;}else {const _errs75 = errors;for(const key5 in data22){if(!((key5 === "reading") || (key5 === "transcriptions"))){const err53 = {instancePath:instancePath+"/" + i0+"/2",schemaPath:"#/items/oneOf/2/items/2/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key5},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err53];}else {vErrors.push(err53);}errors++;break;}}if(_errs75 === errors){if(data22.reading !== undefined){const _errs76 = errors;if(typeof data22.reading !== "string"){const err54 = {instancePath:instancePath+"/" + i0+"/2/reading",schemaPath:"#/items/oneOf/2/items/2/properties/reading/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err54];}else {vErrors.push(err54);}errors++;}var valid21 = _errs76 === errors;}else {var valid21 = true;}if(valid21){if(data22.transcriptions !== undefined){let data24 = data22.transcriptions;const _errs78 = errors;if(errors === _errs78){if(Array.isArray(data24)){var valid22 = true;const len8 = data24.length;for(let i5=0; i5<len8; i5++){let data25 = data24[i5];const _errs80 = errors;if(errors === _errs80){if(data25 && typeof data25 == "object" && !Array.isArray(data25)){let missing6;if((data25.ipa === undefined) && (missing6 = "ipa")){const err55 = {instancePath:instancePath+"/" + i0+"/2/transcriptions/" + i5,schemaPath:"#/items/oneOf/2/items/2/properties/transcriptions/items/required",keyword:"required",params:{missingProperty: missing6},message:"must have required property '"+missing6+"'"};if(vErrors === null){vErrors = [err55];}else {vErrors.push(err55);}errors++;}else {const _errs82 = errors;for(const key6 in data25){if(!((key6 === "ipa") || (key6 === "tags"))){const err56 = {instancePath:instancePath+"/" + i0+"/2/transcriptions/" + i5,schemaPath:"#/items/oneOf/2/items/2/properties/transcriptions/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key6},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err56];}else {vErrors.push(err56);}errors++;break;}}if(_errs82 === errors){if(data25.ipa !== undefined){const _errs83 = errors;if(typeof data25.ipa !== "string"){const err57 = {instancePath:instancePath+"/" + i0+"/2/transcriptions/" + i5+"/ipa",schemaPath:"#/items/oneOf/2/items/2/properties/transcriptions/items/properties/ipa/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err57];}else {vErrors.push(err57);}errors++;}var valid23 = _errs83 === errors;}else {var valid23 = true;}if(valid23){if(data25.tags !== undefined){let data27 = data25.tags;const _errs85 = errors;if(errors === _errs85){if(Array.isArray(data27)){var valid24 = true;const len9 = data27.length;for(let i6=0; i6<len9; i6++){const _errs87 = errors;if(typeof data27[i6] !== "string"){const err58 = {instancePath:instancePath+"/" + i0+"/2/transcriptions/" + i5+"/tags/" + i6,schemaPath:"#/items/oneOf/2/items/2/properties/transcriptions/items/properties/tags/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err58];}else {vErrors.push(err58);}errors++;}var valid24 = _errs87 === errors;if(!valid24){break;}}}else {const err59 = {instancePath:instancePath+"/" + i0+"/2/transcriptions/" + i5+"/tags",schemaPath:"#/items/oneOf/2/items/2/properties/transcriptions/items/properties/tags/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err59];}else {vErrors.push(err59);}errors++;}}var valid23 = _errs85 === errors;}else {var valid23 = true;}}}}}else {const err60 = {instancePath:instancePath+"/" + i0+"/2/transcriptions/" + i5,schemaPath:"#/items/oneOf/2/items/2/properties/transcriptions/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err60];}else {vErrors.push(err60);}errors++;}}var valid22 = _errs80 === errors;if(!valid22){break;}}}else {const err61 = {instancePath:instancePath+"/" + i0+"/2/transcriptions",schemaPath:"#/items/oneOf/2/items/2/properties/transcriptions/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err61];}else {vErrors.push(err61);}errors++;}}var valid21 = _errs78 === errors;}else {var valid21 = true;}}}}}else {const err62 = {instancePath:instancePath+"/" + i0+"/2",schemaPath:"#/items/oneOf/2/items/2/type",keyword:"type",params:{type: schema30.items.oneOf[2].items[2].type},message:"must be object"};if(vErrors === null){vErrors = [err62];}else {vErrors.push(err62);}errors++;}}var valid20 = _errs73 === errors;}}}}}var _valid0 = _errs71 === errors;if(_valid0 && valid1){valid1 = false;passing0 = [passing0, 2];}else {if(_valid0){valid1 = true;passing0 = 2;}}}if(!valid1){const err63 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/oneOf",keyword:"oneOf",params:{passingSchemas: passing0},message:"must match exactly one schema in oneOf"};if(vErrors === null){vErrors = [err63];}else {vErrors.push(err63);}errors++;validate20.errors = vErrors;return false;}else {errors = _errs3;if(vErrors !== null){if(_errs3){vErrors.length = _errs3;}else {vErrors = null;}}}if(errors === _errs1){if(Array.isArray(data0)){if(data0.length > 3){validate20.errors = [{instancePath:instancePath+"/" + i0,schemaPath:"#/items/maxItems",keyword:"maxItems",params:{limit: 3},message:"must NOT have more than 3 items"}];return false;}else {if(data0.length < 3){validate20.errors = [{instancePath:instancePath+"/" + i0,schemaPath:"#/items/minItems",keyword:"minItems",params:{limit: 3},message:"must NOT have fewer than 3 items"}];return false;}else {const len10 = data0.length;if(!(len10 <= 3)){validate20.errors = [{instancePath:instancePath+"/" + i0,schemaPath:"#/items/additionalItems",keyword:"additionalItems",params:{limit: 3},message:"must NOT have more than 3 items"}];return false;}else {const len11 = data0.length;if(len11 > 0){const _errs89 = errors;if(typeof data0[0] !== "string"){validate20.errors = [{instancePath:instancePath+"/" + i0+"/0",schemaPath:"#/items/items/0/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid25 = _errs89 === errors;}if(valid25){if(len11 > 1){let data30 = data0[1];const _errs91 = errors;if(typeof data30 !== "string"){validate20.errors = [{instancePath:instancePath+"/" + i0+"/1",schemaPath:"#/items/items/1/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data30 === "freq") || (data30 === "pitch")) || (data30 === "ipa"))){validate20.errors = [{instancePath:instancePath+"/" + i0+"/1",schemaPath:"#/items/items/1/enum",keyword:"enum",params:{allowedValues: schema30.items.items[1].enum},message:"must be equal to one of the allowed values"}];return false;}var valid25 = _errs91 === errors;}}}}}}else {validate20.errors = [{instancePath:instancePath+"/" + i0,schemaPath:"#/items/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid0 = _errs1 === errors;if(!valid0){break;}}}else {validate20.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}validate20.errors = vErrors;return errors === 0;}export const options = validate21;const schema33 = {"$id":"options","$schema":"http://json-schema.org/draft-07/schema#","type":"object","required":["version","profiles","profileCurrent","global"],"properties":{"version":{"type":"integer","minimum":0,"default":0},"profiles":{"type":"array","minItems":1,"items":{"type":"object","required":["name","conditionGroups","options"],"properties":{"name":{"type":"string","default":"Default"},"conditionGroups":{"type":"array","items":{"type":"object","required":["conditions"],"properties":{"conditions":{"type":"array","items":{"type":"object","required":["type","operator","value"],"properties":{"type":{"type":"string"},"operator":{"type":"string"},"value":{}}}}}}},"options":{"type":"object","required":["general","popupWindow","audio","scanning","translation","dictionaries","parsing","anki","sentenceParsing","inputs","clipboard","accessibility"],"properties":{"general":{"type":"object","required":["enable","language","resultOutputMode","debugInfo","maxResults","showAdvanced","showDebug","popupDisplayMode","popupWidth","popupHeight","popupHorizontalOffset","popupVerticalOffset","popupHorizontalOffset2","popupVerticalOffset2","popupHorizontalTextPosition","popupVerticalTextPosition","popupScalingFactor","popupScaleRelativeToPageZoom","popupScaleRelativeToVisualViewport","showGuide","enableContextMenuScanSelected","compactTags","glossaryLayoutMode","mainDictionary","popupTheme","popupOuterTheme","customPopupCss","customPopupOuterCss","enableWanakana","showPitchAccentDownstepNotation","showPitchAccentPositionNotation","showPitchAccentGraph","showIframePopupsInRootFrame","useSecurePopupFrameUrl","usePopupShadowDom","usePopupWindow","popupCurrentIndicatorMode","popupActionBarVisibility","popupActionBarLocation","frequencyDisplayMode","termDisplayMode","sortFrequencyDictionary","sortFrequencyDictionaryOrder","stickySearchHeader","fontFamily","fontSize","lineHeight"],"properties":{"enable":{"type":"boolean","default":true},"language":{"type":"string","default":"ja"},"resultOutputMode":{"type":"string","enum":["group","merge","split"],"default":"group"},"fontFamily":{"type":"string","default":""},"fontSize":{"type":"number","default":14},"lineHeight":{"type":"string","default":"1.5"},"debugInfo":{"type":"boolean","default":false},"maxResults":{"type":"integer","minimum":1,"default":32},"showAdvanced":{"type":"boolean","default":false},"showDebug":{"type":"boolean","default":false},"popupDisplayMode":{"type":"string","enum":["default","full-width"],"default":"default"},"popupWidth":{"type":"number","minimum":0,"default":400},"popupHeight":{"type":"number","minimum":0,"default":250},"popupHorizontalOffset":{"type":"number","default":0},"popupVerticalOffset":{"type":"number","default":10},"popupHorizontalOffset2":{"type":"number","default":10},"popupVerticalOffset2":{"type":"number","default":0},"popupHorizontalTextPosition":{"type":"string","enum":["below","above"],"default":"below"},"popupVerticalTextPosition":{"type":"string","enum":["default","before","after","left","right"],"default":"before"},"popupScalingFactor":{"type":"number","default":1},"popupScaleRelativeToPageZoom":{"type":"boolean","default":false},"popupScaleRelativeToVisualViewport":{"type":"boolean","default":true},"showGuide":{"type":"boolean","default":true},"enableContextMenuScanSelected":{"type":"boolean","default":true},"compactTags":{"type":"boolean","default":false},"glossaryLayoutMode":{"type":"string","enum":["default","compact"],"default":"default"},"mainDictionary":{"type":"string"},"popupTheme":{"type":"string","enum":["light","dark","browser","site"],"default":"site"},"popupOuterTheme":{"type":"string","enum":["light","dark","browser","site"],"default":"site"},"customPopupCss":{"type":"string","default":""},"customPopupOuterCss":{"type":"string","default":""},"enableWanakana":{"type":"boolean","default":true},"showPitchAccentDownstepNotation":{"type":"boolean","default":true},"showPitchAccentPositionNotation":{"type":"boolean","default":true},"showPitchAccentGraph":{"type":"boolean","default":false},"showIframePopupsInRootFrame":{"type":"boolean","default":true},"useSecurePopupFrameUrl":{"type":"boolean","default":true},"usePopupShadowDom":{"type":"boolean","default":true},"usePopupWindow":{"type":"boolean","default":false},"popupCurrentIndicatorMode":{"type":"string","enum":["none","asterisk","triangle","bar-left","bar-right","dot-left","dot-right"],"default":"triangle"},"popupActionBarVisibility":{"type":"string","enum":["auto","always"],"default":"auto"},"popupActionBarLocation":{"type":"string","enum":["left","right","top","bottom"],"default":"top"},"frequencyDisplayMode":{"type":"string","enum":["tags","tags-grouped","split-tags","split-tags-grouped","inline-list","list"],"default":"split-tags-grouped"},"termDisplayMode":{"type":"string","enum":["ruby","ruby-and-reading","term-and-reading","term-only"],"default":"ruby"},"sortFrequencyDictionary":{"type":["string","null"],"default":null},"sortFrequencyDictionaryOrder":{"type":"string","enum":["ascending","descending"],"default":"descending"},"stickySearchHeader":{"type":"boolean","default":false}}},"popupWindow":{"type":"object","required":["width","height","left","top","useLeft","useTop","windowType","windowState"],"properties":{"width":{"type":"integer","minimum":0,"default":400},"height":{"type":"integer","minimum":0,"default":250},"left":{"type":"integer","default":0},"top":{"type":"integer","default":0},"useLeft":{"type":"boolean","default":false},"useTop":{"type":"boolean","default":false},"windowType":{"type":"string","enum":["normal","popup"],"default":"popup"},"windowState":{"type":"string","enum":["normal","maximized","fullscreen"],"default":"normal"}}},"audio":{"type":"object","required":["enabled","volume","autoPlay","sources"],"properties":{"enabled":{"type":"boolean","default":true},"volume":{"type":"number","minimum":0,"maximum":100,"default":100},"autoPlay":{"type":"boolean","default":false},"sources":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["type","url","voice"],"properties":{"type":{"type":"string","enum":["jpod101","language-pod-101","jisho","lingua-libre","wiktionary","text-to-speech","text-to-speech-reading","custom","custom-json"],"default":"jpod101"},"url":{"type":"string","default":""},"voice":{"type":"string","default":""}}},"default":[]}}},"scanning":{"type":"object","required":["inputs","preventMiddleMouse","touchInputEnabled","pointerEventsEnabled","selectText","alphanumeric","autoHideResults","delay","hideDelay","length","deepDomScan","scanAltText","popupNestingMaxDepth","enablePopupSearch","enableOnPopupExpressions","enableOnSearchPage","enableSearchTags","layoutAwareScan","matchTypePrefix","hidePopupOnCursorExit","hidePopupOnCursorExitDelay","normalizeCssZoom","scanWithoutMousemove","scanResolution"],"properties":{"inputs":{"type":"array","default":[{"include":"shift","exclude":"mouse0","types":{"mouse":true,"touch":false,"pen":false},"options":{"showAdvanced":false,"searchTerms":true,"searchKanji":true,"scanOnTouchTap":true,"scanOnTouchMove":false,"scanOnTouchPress":false,"scanOnTouchRelease":false,"scanOnPenMove":true,"scanOnPenHover":true,"scanOnPenReleaseHover":false,"scanOnPenPress":true,"scanOnPenRelease":false,"preventTouchScrolling":false,"preventPenScrolling":false}},{"include":"","exclude":"","types":{"mouse":false,"touch":true,"pen":true},"options":{"showAdvanced":false,"searchTerms":true,"searchKanji":true,"scanOnTouchTap":true,"scanOnTouchMove":false,"scanOnTouchPress":false,"scanOnTouchRelease":false,"scanOnPenMove":true,"scanOnPenHover":true,"scanOnPenReleaseHover":false,"scanOnPenPress":true,"scanOnPenRelease":false,"preventTouchScrolling":true,"preventPenScrolling":true}}],"items":{"type":"object","required":["include","exclude","types","options"],"properties":{"include":{"type":"string","default":"shift"},"exclude":{"type":"string","default":""},"types":{"type":"object","required":["mouse","touch","pen"],"properties":{"mouse":{"type":"boolean","default":true},"touch":{"type":"boolean","default":true},"pen":{"type":"boolean","default":true}}},"options":{"type":"object","required":["showAdvanced","searchTerms","searchKanji","scanOnTouchTap","scanOnTouchMove","scanOnTouchPress","scanOnTouchRelease","scanOnPenMove","scanOnPenHover","scanOnPenReleaseHover","scanOnPenPress","scanOnPenRelease","preventTouchScrolling","preventPenScrolling"],"properties":{"showAdvanced":{"type":"boolean","default":false},"searchTerms":{"type":"boolean","default":true},"searchKanji":{"type":"boolean","default":true},"scanOnTouchTap":{"type":"boolean","default":true},"scanOnTouchMove":{"type":"boolean","default":false},"scanOnTouchPress":{"type":"boolean","default":false},"scanOnTouchRelease":{"type":"boolean","default":false},"scanOnPenMove":{"type":"boolean","default":true},"scanOnPenHover":{"type":"boolean","default":true},"scanOnPenReleaseHover":{"type":"boolean","default":false},"scanOnPenPress":{"type":"boolean","default":true},"scanOnPenRelease":{"type":"boolean","default":false},"preventTouchScrolling":{"type":"boolean","default":true},"preventPenScrolling":{"type":"boolean","default":true}}}}}},"preventMiddleMouse":{"type":"object","required":["onWebPages","onPopupPages","onSearchPages","onSearchQuery"],"properties":{"onWebPages":{"type":"boolean","default":false},"onPopupPages":{"type":"boolean","default":false},"onSearchPages":{"type":"boolean","default":false},"onSearchQuery":{"type":"boolean","default":false}}},"touchInputEnabled":{"type":"boolean","default":true},"pointerEventsEnabled":{"type":"boolean","default":false},"selectText":{"type":"boolean","default":true},"alphanumeric":{"type":"boolean","default":true},"autoHideResults":{"type":"boolean","default":false},"delay":{"type":"number","minimum":0,"default":20},"hideDelay":{"type":"number","minimum":0,"default":0},"length":{"type":"integer","minimum":1,"default":16},"deepDomScan":{"type":"boolean","default":false},"scanAltText":{"type":"boolean","default":true},"popupNestingMaxDepth":{"type":"integer","minimum":0,"default":0},"enablePopupSearch":{"type":"boolean","default":false},"enableOnPopupExpressions":{"type":"boolean","default":false},"enableOnSearchPage":{"type":"boolean","default":true},"enableSearchTags":{"type":"boolean","default":false},"layoutAwareScan":{"type":"boolean","default":false},"matchTypePrefix":{"type":"boolean","default":false},"hidePopupOnCursorExit":{"type":"boolean","default":false},"hidePopupOnCursorExitDelay":{"type":"number","minimum":0,"default":0},"normalizeCssZoom":{"type":"boolean","default":true},"scanWithoutMousemove":{"type":"boolean","default":true},"scanResolution":{"type":"string","enum":["character","word"],"default":"character"}}},"translation":{"type":"object","required":["textReplacements","searchResolution"],"properties":{"searchResolution":{"type":"string","enum":["letter","word"],"default":"letter"},"textReplacements":{"type":"object","required":["searchOriginal","groups"],"properties":{"searchOriginal":{"type":"boolean","default":true},"groups":{"type":"array","items":{"type":"array","items":{"type":"object","required":["pattern","ignoreCase","replacement"],"properties":{"pattern":{"type":"string","default":""},"ignoreCase":{"type":"boolean","default":false},"replacement":{"type":"string","default":""}}}}}}}}},"dictionaries":{"type":"array","items":{"type":"object","required":["name","alias","priority","enabled","allowSecondarySearches","definitionsCollapsible","partsOfSpeechFilter","useDeinflections"],"properties":{"name":{"type":"string","default":""},"alias":{"type":"string","default":""},"priority":{"type":"number","default":0},"enabled":{"type":"boolean","default":true},"allowSecondarySearches":{"type":"boolean","default":false},"definitionsCollapsible":{"type":"string","enum":["not-collapsible","expanded","collapsed","force-collapsed","force-expanded"],"default":"not-collapsible"},"partsOfSpeechFilter":{"type":"boolean","default":true},"useDeinflections":{"type":"boolean","default":true}}}},"parsing":{"type":"object","required":["enableScanningParser","enableMecabParser","selectedParser","termSpacing","readingMode"],"properties":{"enableScanningParser":{"type":"boolean","default":true},"enableMecabParser":{"type":"boolean","default":false},"selectedParser":{"type":["string","null"],"default":null},"termSpacing":{"type":"boolean","default":true},"readingMode":{"type":"string","enum":["hiragana","katakana","romaji","dictionary-reading","none"],"default":"hiragana"}}},"anki":{"type":"object","required":["enable","server","tags","screenshot","terms","kanji","duplicateScope","duplicateScopeCheckAllModels","checkForDuplicates","fieldTemplates","suspendNewCards","displayTags","noteGuiMode","apiKey","downloadTimeout"],"properties":{"enable":{"type":"boolean","default":false},"server":{"type":"string","default":"http://127.0.0.1:8765"},"tags":{"type":"array","items":{"type":"string"},"default":["yomitan"]},"screenshot":{"type":"object","required":["format","quality"],"properties":{"format":{"type":"string","enum":["png","jpeg"],"default":"png"},"quality":{"type":"integer","minimum":0,"maximum":100,"default":92}}},"terms":{"type":"object","required":["deck","model","fields"],"properties":{"deck":{"type":"string","default":""},"model":{"type":"string","default":""},"fields":{"type":"object","additionalProperties":{"type":"string","default":""}}}},"kanji":{"type":"object","required":["deck","model","fields"],"properties":{"deck":{"type":"string","default":""},"model":{"type":"string","default":""},"fields":{"type":"object","additionalProperties":{"type":"string","default":""}}}},"duplicateScope":{"type":"string","default":"collection","enum":["collection","deck","deck-root"]},"duplicateScopeCheckAllModels":{"type":"boolean","default":false},"checkForDuplicates":{"type":"boolean","default":true},"duplicateBehavior":{"type":"string","enum":["prevent","overwrite","new"],"default":"prevent"},"fieldTemplates":{"type":["string","null"],"default":null},"suspendNewCards":{"type":"boolean","default":false},"displayTags":{"type":"string","enum":["never","always","non-standard"],"default":"never"},"noteGuiMode":{"type":"string","enum":["browse","edit"],"default":"browse"},"apiKey":{"type":"string","default":""},"downloadTimeout":{"type":"number","default":0,"minimum":0}}},"sentenceParsing":{"type":"object","required":["scanExtent","terminationCharacterMode","terminationCharacters"],"properties":{"scanExtent":{"type":"integer","minimum":0,"default":200},"terminationCharacterMode":{"type":"string","enum":["custom","custom-no-newlines","newlines","none"],"default":"custom"},"terminationCharacters":{"type":"array","items":{"type":"object","required":["enabled","character1","character2","includeCharacterAtStart","includeCharacterAtEnd"],"properties":{"enabled":{"type":"boolean","default":true},"character1":{"type":"string","default":"\"","minLength":1,"maxLength":1},"character2":{"type":["string","null"],"default":"\"","minLength":1,"maxLength":1},"includeCharacterAtStart":{"type":"boolean","default":false},"includeCharacterAtEnd":{"type":"boolean","default":false}}},"default":[{"enabled":true,"character1":"「","character2":"」","includeCharacterAtStart":false,"includeCharacterAtEnd":false},{"enabled":true,"character1":"『","character2":"』","includeCharacterAtStart":false,"includeCharacterAtEnd":false},{"enabled":true,"character1":"\"","character2":"\"","includeCharacterAtStart":false,"includeCharacterAtEnd":false},{"enabled":true,"character1":"'","character2":"'","includeCharacterAtStart":false,"includeCharacterAtEnd":false},{"enabled":true,"character1":".","character2":null,"includeCharacterAtStart":false,"includeCharacterAtEnd":true},{"enabled":true,"character1":"!","character2":null,"includeCharacterAtStart":false,"includeCharacterAtEnd":true},{"enabled":true,"character1":"?","character2":null,"includeCharacterAtStart":false,"includeCharacterAtEnd":true},{"enabled":true,"character1":"","character2":null,"includeCharacterAtStart":false,"includeCharacterAtEnd":true},{"enabled":true,"character1":"。","character2":null,"includeCharacterAtStart":false,"includeCharacterAtEnd":true},{"enabled":true,"character1":"","character2":null,"includeCharacterAtStart":false,"includeCharacterAtEnd":true},{"enabled":true,"character1":"","character2":null,"includeCharacterAtStart":false,"includeCharacterAtEnd":true},{"enabled":true,"character1":"…","character2":null,"includeCharacterAtStart":false,"includeCharacterAtEnd":true},{"enabled":true,"character1":"︒","character2":null,"includeCharacterAtStart":false,"includeCharacterAtEnd":true},{"enabled":true,"character1":"︕","character2":null,"includeCharacterAtStart":false,"includeCharacterAtEnd":true},{"enabled":true,"character1":"︖","character2":null,"includeCharacterAtStart":false,"includeCharacterAtEnd":true},{"enabled":true,"character1":"︙","character2":null,"includeCharacterAtStart":false,"includeCharacterAtEnd":true}]}}},"inputs":{"type":"object","required":["hotkeys"],"properties":{"hotkeys":{"type":"array","items":{"type":"object","required":["action","argument","key","modifiers","scopes","enabled"],"properties":{"action":{"type":"string","default":""},"argument":{"type":"string","default":""},"key":{"type":["string","null"],"default":null},"modifiers":{"type":"array","items":{"type":"string","enum":["alt","ctrl","shift","meta"],"default":"alt"}},"scopes":{"type":"array","items":{"type":"string","enum":["popup","search","web"],"default":"popup"},"default":["popup","search"]},"enabled":{"type":"boolean","default":true}}},"default":[{"action":"close","argument":"","key":"Escape","modifiers":[],"scopes":["popup"],"enabled":true},{"action":"focusSearchBox","argument":"","key":"Escape","modifiers":[],"scopes":["search"],"enabled":true},{"action":"previousEntry","argument":"3","key":"PageUp","modifiers":["alt"],"scopes":["popup","search"],"enabled":true},{"action":"nextEntry","argument":"3","key":"PageDown","modifiers":["alt"],"scopes":["popup","search"],"enabled":true},{"action":"lastEntry","argument":"","key":"End","modifiers":["alt"],"scopes":["popup","search"],"enabled":true},{"action":"firstEntry","argument":"","key":"Home","modifiers":["alt"],"scopes":["popup","search"],"enabled":true},{"action":"previousEntry","argument":"1","key":"ArrowUp","modifiers":["alt"],"scopes":["popup","search"],"enabled":true},{"action":"nextEntry","argument":"1","key":"ArrowDown","modifiers":["alt"],"scopes":["popup","search"],"enabled":true},{"action":"historyBackward","argument":"","key":"KeyB","modifiers":["alt"],"scopes":["popup","search"],"enabled":true},{"action":"historyForward","argument":"","key":"KeyF","modifiers":["alt"],"scopes":["popup","search"],"enabled":true},{"action":"profilePrevious","argument":"","key":"Minus","modifiers":["alt"],"scopes":["popup","search","web"],"enabled":true},{"action":"profileNext","argument":"","key":"Equal","modifiers":["alt"],"scopes":["popup","search","web"],"enabled":true},{"action":"addNoteKanji","argument":"","key":"KeyK","modifiers":["alt"],"scopes":["popup","search"],"enabled":true},{"action":"addNoteTermKanji","argument":"","key":"KeyE","modifiers":["alt"],"scopes":["popup","search"],"enabled":true},{"action":"addNoteTermKana","argument":"","key":"KeyR","modifiers":["alt"],"scopes":["popup","search"],"enabled":true},{"action":"playAudio","argument":"","key":"KeyP","modifiers":["alt"],"scopes":["popup","search"],"enabled":true},{"action":"viewNotes","argument":"","key":"KeyV","modifiers":["alt"],"scopes":["popup","search"],"enabled":true},{"action":"copyHostSelection","argument":"","key":"KeyC","modifiers":["ctrl"],"scopes":["popup"],"enabled":true}]}}},"clipboard":{"type":"object","required":["enableBackgroundMonitor","enableSearchPageMonitor","autoSearchContent","maximumSearchLength"],"properties":{"enableBackgroundMonitor":{"type":"boolean","default":false},"enableSearchPageMonitor":{"type":"boolean","default":false},"autoSearchContent":{"type":"boolean","default":true},"maximumSearchLength":{"type":"integer","default":1000,"minimum":0}}},"accessibility":{"type":"object","required":["forceGoogleDocsHtmlRendering"],"properties":{"forceGoogleDocsHtmlRendering":{"type":"boolean","default":false}}}}}}}},"profileCurrent":{"type":"integer","minimum":0,"default":0},"global":{"type":"object","required":["database"],"properties":{"database":{"type":"object","required":["prefixWildcardsSupported"],"properties":{"prefixWildcardsSupported":{"type":"boolean","default":false}}}}}}};function validate21(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){/*# sourceURL="options" */;let vErrors = null;let errors = 0;if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){let missing0;if(((((data.version === undefined) && (missing0 = "version")) || ((data.profiles === undefined) && (missing0 = "profiles"))) || ((data.profileCurrent === undefined) && (missing0 = "profileCurrent"))) || ((data.global === undefined) && (missing0 = "global"))){validate21.errors = [{instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: missing0},message:"must have required property '"+missing0+"'"}];return false;}else {if(data.version !== undefined){let data0 = data.version;const _errs1 = errors;if(!(((typeof data0 == "number") && (!(data0 % 1) && !isNaN(data0))) && (isFinite(data0)))){validate21.errors = [{instancePath:instancePath+"/version",schemaPath:"#/properties/version/type",keyword:"type",params:{type: "integer"},message:"must be integer"}];return false;}if(errors === _errs1){if((typeof data0 == "number") && (isFinite(data0))){if(data0 < 0 || isNaN(data0)){validate21.errors = [{instancePath:instancePath+"/version",schemaPath:"#/properties/version/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"}];return false;}}}var valid0 = _errs1 === errors;}else {var valid0 = true;}if(valid0){if(data.profiles !== undefined){let data1 = data.profiles;const _errs3 = errors;if(errors === _errs3){if(Array.isArray(data1)){if(data1.length < 1){validate21.errors = [{instancePath:instancePath+"/profiles",schemaPath:"#/properties/profiles/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"}];return false;}else {var valid1 = true;const len0 = data1.length;for(let i0=0; i0<len0; i0++){let data2 = data1[i0];const _errs5 = errors;if(errors === _errs5){if(data2 && typeof data2 == "object" && !Array.isArray(data2)){let missing1;if((((data2.name === undefined) && (missing1 = "name")) || ((data2.conditionGroups === undefined) && (missing1 = "conditionGroups"))) || ((data2.options === undefined) && (missing1 = "options"))){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0,schemaPath:"#/properties/profiles/items/required",keyword:"required",params:{missingProperty: missing1},message:"must have required property '"+missing1+"'"}];return false;}else {if(data2.name !== undefined){const _errs7 = errors;if(typeof data2.name !== "string"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/name",schemaPath:"#/properties/profiles/items/properties/name/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs7 === errors;}else {var valid2 = true;}if(valid2){if(data2.conditionGroups !== undefined){let data4 = data2.conditionGroups;const _errs9 = errors;if(errors === _errs9){if(Array.isArray(data4)){var valid3 = true;const len1 = data4.length;for(let i1=0; i1<len1; i1++){let data5 = data4[i1];const _errs11 = errors;if(errors === _errs11){if(data5 && typeof data5 == "object" && !Array.isArray(data5)){let missing2;if((data5.conditions === undefined) && (missing2 = "conditions")){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/conditionGroups/" + i1,schemaPath:"#/properties/profiles/items/properties/conditionGroups/items/required",keyword:"required",params:{missingProperty: missing2},message:"must have required property '"+missing2+"'"}];return false;}else {if(data5.conditions !== undefined){let data6 = data5.conditions;const _errs13 = errors;if(errors === _errs13){if(Array.isArray(data6)){var valid5 = true;const len2 = data6.length;for(let i2=0; i2<len2; i2++){let data7 = data6[i2];const _errs15 = errors;if(errors === _errs15){if(data7 && typeof data7 == "object" && !Array.isArray(data7)){let missing3;if((((data7.type === undefined) && (missing3 = "type")) || ((data7.operator === undefined) && (missing3 = "operator"))) || ((data7.value === undefined) && (missing3 = "value"))){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/conditionGroups/" + i1+"/conditions/" + i2,schemaPath:"#/properties/profiles/items/properties/conditionGroups/items/properties/conditions/items/required",keyword:"required",params:{missingProperty: missing3},message:"must have required property '"+missing3+"'"}];return false;}else {if(data7.type !== undefined){const _errs17 = errors;if(typeof data7.type !== "string"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/conditionGroups/" + i1+"/conditions/" + i2+"/type",schemaPath:"#/properties/profiles/items/properties/conditionGroups/items/properties/conditions/items/properties/type/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid6 = _errs17 === errors;}else {var valid6 = true;}if(valid6){if(data7.operator !== undefined){const _errs19 = errors;if(typeof data7.operator !== "string"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/conditionGroups/" + i1+"/conditions/" + i2+"/operator",schemaPath:"#/properties/profiles/items/properties/conditionGroups/items/properties/conditions/items/properties/operator/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid6 = _errs19 === errors;}else {var valid6 = true;}}}}else {validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/conditionGroups/" + i1+"/conditions/" + i2,schemaPath:"#/properties/profiles/items/properties/conditionGroups/items/properties/conditions/items/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid5 = _errs15 === errors;if(!valid5){break;}}}else {validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/conditionGroups/" + i1+"/conditions",schemaPath:"#/properties/profiles/items/properties/conditionGroups/items/properties/conditions/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}}}}else {validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/conditionGroups/" + i1,schemaPath:"#/properties/profiles/items/properties/conditionGroups/items/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid3 = _errs11 === errors;if(!valid3){break;}}}else {validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/conditionGroups",schemaPath:"#/properties/profiles/items/properties/conditionGroups/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid2 = _errs9 === errors;}else {var valid2 = true;}if(valid2){if(data2.options !== undefined){let data10 = data2.options;const _errs21 = errors;if(errors === _errs21){if(data10 && typeof data10 == "object" && !Array.isArray(data10)){let missing4;if(((((((((((((data10.general === undefined) && (missing4 = "general")) || ((data10.popupWindow === undefined) && (missing4 = "popupWindow"))) || ((data10.audio === undefined) && (missing4 = "audio"))) || ((data10.scanning === undefined) && (missing4 = "scanning"))) || ((data10.translation === undefined) && (missing4 = "translation"))) || ((data10.dictionaries === undefined) && (missing4 = "dictionaries"))) || ((data10.parsing === undefined) && (missing4 = "parsing"))) || ((data10.anki === undefined) && (missing4 = "anki"))) || ((data10.sentenceParsing === undefined) && (missing4 = "sentenceParsing"))) || ((data10.inputs === undefined) && (missing4 = "inputs"))) || ((data10.clipboard === undefined) && (missing4 = "clipboard"))) || ((data10.accessibility === undefined) && (missing4 = "accessibility"))){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options",schemaPath:"#/properties/profiles/items/properties/options/required",keyword:"required",params:{missingProperty: missing4},message:"must have required property '"+missing4+"'"}];return false;}else {if(data10.general !== undefined){let data11 = data10.general;const _errs23 = errors;if(errors === _errs23){if(data11 && typeof data11 == "object" && !Array.isArray(data11)){let missing5;if((((((((((((((((((((((((((((((((((((((((((((((((data11.enable === undefined) && (missing5 = "enable")) || ((data11.language === undefined) && (missing5 = "language"))) || ((data11.resultOutputMode === undefined) && (missing5 = "resultOutputMode"))) || ((data11.debugInfo === undefined) && (missing5 = "debugInfo"))) || ((data11.maxResults === undefined) && (missing5 = "maxResults"))) || ((data11.showAdvanced === undefined) && (missing5 = "showAdvanced"))) || ((data11.showDebug === undefined) && (missing5 = "showDebug"))) || ((data11.popupDisplayMode === undefined) && (missing5 = "popupDisplayMode"))) || ((data11.popupWidth === undefined) && (missing5 = "popupWidth"))) || ((data11.popupHeight === undefined) && (missing5 = "popupHeight"))) || ((data11.popupHorizontalOffset === undefined) && (missing5 = "popupHorizontalOffset"))) || ((data11.popupVerticalOffset === undefined) && (missing5 = "popupVerticalOffset"))) || ((data11.popupHorizontalOffset2 === undefined) && (missing5 = "popupHorizontalOffset2"))) || ((data11.popupVerticalOffset2 === undefined) && (missing5 = "popupVerticalOffset2"))) || ((data11.popupHorizontalTextPosition === undefined) && (missing5 = "popupHorizontalTextPosition"))) || ((data11.popupVerticalTextPosition === undefined) && (missing5 = "popupVerticalTextPosition"))) || ((data11.popupScalingFactor === undefined) && (missing5 = "popupScalingFactor"))) || ((data11.popupScaleRelativeToPageZoom === undefined) && (missing5 = "popupScaleRelativeToPageZoom"))) || ((data11.popupScaleRelativeToVisualViewport === undefined) && (missing5 = "popupScaleRelativeToVisualViewport"))) || ((data11.showGuide === undefined) && (missing5 = "showGuide"))) || ((data11.enableContextMenuScanSelected === undefined) && (missing5 = "enableContextMenuScanSelected"))) || ((data11.compactTags === undefined) && (missing5 = "compactTags"))) || ((data11.glossaryLayoutMode === undefined) && (missing5 = "glossaryLayoutMode"))) || ((data11.mainDictionary === undefined) && (missing5 = "mainDictionary"))) || ((data11.popupTheme === undefined) && (missing5 = "popupTheme"))) || ((data11.popupOuterTheme === undefined) && (missing5 = "popupOuterTheme"))) || ((data11.customPopupCss === undefined) && (missing5 = "customPopupCss"))) || ((data11.customPopupOuterCss === undefined) && (missing5 = "customPopupOuterCss"))) || ((data11.enableWanakana === undefined) && (missing5 = "enableWanakana"))) || ((data11.showPitchAccentDownstepNotation === undefined) && (missing5 = "showPitchAccentDownstepNotation"))) || ((data11.showPitchAccentPositionNotation === undefined) && (missing5 = "showPitchAccentPositionNotation"))) || ((data11.showPitchAccentGraph === undefined) && (missing5 = "showPitchAccentGraph"))) || ((data11.showIframePopupsInRootFrame === undefined) && (missing5 = "showIframePopupsInRootFrame"))) || ((data11.useSecurePopupFrameUrl === undefined) && (missing5 = "useSecurePopupFrameUrl"))) || ((data11.usePopupShadowDom === undefined) && (missing5 = "usePopupShadowDom"))) || ((data11.usePopupWindow === undefined) && (missing5 = "usePopupWindow"))) || ((data11.popupCurrentIndicatorMode === undefined) && (missing5 = "popupCurrentIndicatorMode"))) || ((data11.popupActionBarVisibility === undefined) && (missing5 = "popupActionBarVisibility"))) || ((data11.popupActionBarLocation === undefined) && (missing5 = "popupActionBarLocation"))) || ((data11.frequencyDisplayMode === undefined) && (missing5 = "frequencyDisplayMode"))) || ((data11.termDisplayMode === undefined) && (missing5 = "termDisplayMode"))) || ((data11.sortFrequencyDictionary === undefined) && (missing5 = "sortFrequencyDictionary"))) || ((data11.sortFrequencyDictionaryOrder === undefined) && (missing5 = "sortFrequencyDictionaryOrder"))) || ((data11.stickySearchHeader === undefined) && (missing5 = "stickySearchHeader"))) || ((data11.fontFamily === undefined) && (missing5 = "fontFamily"))) || ((data11.fontSize === undefined) && (missing5 = "fontSize"))) || ((data11.lineHeight === undefined) && (missing5 = "lineHeight"))){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/general",schemaPath:"#/properties/profiles/items/properties/options/properties/general/required",keyword:"required",params:{missingProperty: missing5},message:"must have required property '"+missing5+"'"}];return false;}else {if(data11.enable !== undefined){const _errs25 = errors;if(typeof data11.enable !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/general/enable",schemaPath:"#/properties/profiles/items/properties/options/properties/general/properties/enable/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid8 = _errs25 === errors;}else {var valid8 = true;}if(valid8){if(data11.language !== undefined){const _errs27 = errors;if(typeof data11.language !== "string"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/general/language",schemaPath:"#/properties/profiles/items/properties/options/properties/general/properties/language/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid8 = _errs27 === errors;}else {var valid8 = true;}if(valid8){if(data11.resultOutputMode !== undefined){let data14 = data11.resultOutputMode;const _errs29 = errors;if(typeof data14 !== "string"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/general/resultOutputMode",schemaPath:"#/properties/profiles/items/properties/options/properties/general/properties/resultOutputMode/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data14 === "group") || (data14 === "merge")) || (data14 === "split"))){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/general/resultOutputMode",schemaPath:"#/properties/profiles/items/properties/options/properties/general/properties/resultOutputMode/enum",keyword:"enum",params:{allowedValues: schema33.properties.profiles.items.properties.options.properties.general.properties.resultOutputMode.enum},message:"must be equal to one of the allowed values"}];return false;}var valid8 = _errs29 === errors;}else {var valid8 = true;}if(valid8){if(data11.fontFamily !== undefined){const _errs31 = errors;if(typeof data11.fontFamily !== "string"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/general/fontFamily",schemaPath:"#/properties/profiles/items/properties/options/properties/general/properties/fontFamily/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid8 = _errs31 === errors;}else {var valid8 = true;}if(valid8){if(data11.fontSize !== undefined){let data16 = data11.fontSize;const _errs33 = errors;if(!((typeof data16 == "number") && (isFinite(data16)))){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/general/fontSize",schemaPath:"#/properties/profiles/items/properties/options/properties/general/properties/fontSize/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid8 = _errs33 === errors;}else {var valid8 = true;}if(valid8){if(data11.lineHeight !== undefined){const _errs35 = errors;if(typeof data11.lineHeight !== "string"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/general/lineHeight",schemaPath:"#/properties/profiles/items/properties/options/properties/general/properties/lineHeight/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid8 = _errs35 === errors;}else {var valid8 = true;}if(valid8){if(data11.debugInfo !== undefined){const _errs37 = errors;if(typeof data11.debugInfo !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/general/debugInfo",schemaPath:"#/properties/profiles/items/properties/options/properties/general/properties/debugInfo/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid8 = _errs37 === errors;}else {var valid8 = true;}if(valid8){if(data11.maxResults !== undefined){let data19 = data11.maxResults;const _errs39 = errors;if(!(((typeof data19 == "number") && (!(data19 % 1) && !isNaN(data19))) && (isFinite(data19)))){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/general/maxResults",schemaPath:"#/properties/profiles/items/properties/options/properties/general/properties/maxResults/type",keyword:"type",params:{type: "integer"},message:"must be integer"}];return false;}if(errors === _errs39){if((typeof data19 == "number") && (isFinite(data19))){if(data19 < 1 || isNaN(data19)){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/general/maxResults",schemaPath:"#/properties/profiles/items/properties/options/properties/general/properties/maxResults/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"}];return false;}}}var valid8 = _errs39 === errors;}else {var valid8 = true;}if(valid8){if(data11.showAdvanced !== undefined){const _errs41 = errors;if(typeof data11.showAdvanced !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/general/showAdvanced",schemaPath:"#/properties/profiles/items/properties/options/properties/general/properties/showAdvanced/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid8 = _errs41 === errors;}else {var valid8 = true;}if(valid8){if(data11.showDebug !== undefined){const _errs43 = errors;if(typeof data11.showDebug !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/general/showDebug",schemaPath:"#/properties/profiles/items/properties/options/properties/general/properties/showDebug/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid8 = _errs43 === errors;}else {var valid8 = true;}if(valid8){if(data11.popupDisplayMode !== undefined){let data22 = data11.popupDisplayMode;const _errs45 = errors;if(typeof data22 !== "string"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/general/popupDisplayMode",schemaPath:"#/properties/profiles/items/properties/options/properties/general/properties/popupDisplayMode/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((data22 === "default") || (data22 === "full-width"))){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/general/popupDisplayMode",schemaPath:"#/properties/profiles/items/properties/options/properties/general/properties/popupDisplayMode/enum",keyword:"enum",params:{allowedValues: schema33.properties.profiles.items.properties.options.properties.general.properties.popupDisplayMode.enum},message:"must be equal to one of the allowed values"}];return false;}var valid8 = _errs45 === errors;}else {var valid8 = true;}if(valid8){if(data11.popupWidth !== undefined){let data23 = data11.popupWidth;const _errs47 = errors;if(errors === _errs47){if((typeof data23 == "number") && (isFinite(data23))){if(data23 < 0 || isNaN(data23)){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/general/popupWidth",schemaPath:"#/properties/profiles/items/properties/options/properties/general/properties/popupWidth/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"}];return false;}}else {validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/general/popupWidth",schemaPath:"#/properties/profiles/items/properties/options/properties/general/properties/popupWidth/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}}var valid8 = _errs47 === errors;}else {var valid8 = true;}if(valid8){if(data11.popupHeight !== undefined){let data24 = data11.popupHeight;const _errs49 = errors;if(errors === _errs49){if((typeof data24 == "number") && (isFinite(data24))){if(data24 < 0 || isNaN(data24)){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/general/popupHeight",schemaPath:"#/properties/profiles/items/properties/options/properties/general/properties/popupHeight/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"}];return false;}}else {validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/general/popupHeight",schemaPath:"#/properties/profiles/items/properties/options/properties/general/properties/popupHeight/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}}var valid8 = _errs49 === errors;}else {var valid8 = true;}if(valid8){if(data11.popupHorizontalOffset !== undefined){let data25 = data11.popupHorizontalOffset;const _errs51 = errors;if(!((typeof data25 == "number") && (isFinite(data25)))){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/general/popupHorizontalOffset",schemaPath:"#/properties/profiles/items/properties/options/properties/general/properties/popupHorizontalOffset/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid8 = _errs51 === errors;}else {var valid8 = true;}if(valid8){if(data11.popupVerticalOffset !== undefined){let data26 = data11.popupVerticalOffset;const _errs53 = errors;if(!((typeof data26 == "number") && (isFinite(data26)))){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/general/popupVerticalOffset",schemaPath:"#/properties/profiles/items/properties/options/properties/general/properties/popupVerticalOffset/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid8 = _errs53 === errors;}else {var valid8 = true;}if(valid8){if(data11.popupHorizontalOffset2 !== undefined){let data27 = data11.popupHorizontalOffset2;const _errs55 = errors;if(!((typeof data27 == "number") && (isFinite(data27)))){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/general/popupHorizontalOffset2",schemaPath:"#/properties/profiles/items/properties/options/properties/general/properties/popupHorizontalOffset2/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid8 = _errs55 === errors;}else {var valid8 = true;}if(valid8){if(data11.popupVerticalOffset2 !== undefined){let data28 = data11.popupVerticalOffset2;const _errs57 = errors;if(!((typeof data28 == "number") && (isFinite(data28)))){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/general/popupVerticalOffset2",schemaPath:"#/properties/profiles/items/properties/options/properties/general/properties/popupVerticalOffset2/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid8 = _errs57 === errors;}else {var valid8 = true;}if(valid8){if(data11.popupHorizontalTextPosition !== undefined){let data29 = data11.popupHorizontalTextPosition;const _errs59 = errors;if(typeof data29 !== "string"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/general/popupHorizontalTextPosition",schemaPath:"#/properties/profiles/items/properties/options/properties/general/properties/popupHorizontalTextPosition/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((data29 === "below") || (data29 === "above"))){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/general/popupHorizontalTextPosition",schemaPath:"#/properties/profiles/items/properties/options/properties/general/properties/popupHorizontalTextPosition/enum",keyword:"enum",params:{allowedValues: schema33.properties.profiles.items.properties.options.properties.general.properties.popupHorizontalTextPosition.enum},message:"must be equal to one of the allowed values"}];return false;}var valid8 = _errs59 === errors;}else {var valid8 = true;}if(valid8){if(data11.popupVerticalTextPosition !== undefined){let data30 = data11.popupVerticalTextPosition;const _errs61 = errors;if(typeof data30 !== "string"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/general/popupVerticalTextPosition",schemaPath:"#/properties/profiles/items/properties/options/properties/general/properties/popupVerticalTextPosition/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((((data30 === "default") || (data30 === "before")) || (data30 === "after")) || (data30 === "left")) || (data30 === "right"))){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/general/popupVerticalTextPosition",schemaPath:"#/properties/profiles/items/properties/options/properties/general/properties/popupVerticalTextPosition/enum",keyword:"enum",params:{allowedValues: schema33.properties.profiles.items.properties.options.properties.general.properties.popupVerticalTextPosition.enum},message:"must be equal to one of the allowed values"}];return false;}var valid8 = _errs61 === errors;}else {var valid8 = true;}if(valid8){if(data11.popupScalingFactor !== undefined){let data31 = data11.popupScalingFactor;const _errs63 = errors;if(!((typeof data31 == "number") && (isFinite(data31)))){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/general/popupScalingFactor",schemaPath:"#/properties/profiles/items/properties/options/properties/general/properties/popupScalingFactor/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid8 = _errs63 === errors;}else {var valid8 = true;}if(valid8){if(data11.popupScaleRelativeToPageZoom !== undefined){const _errs65 = errors;if(typeof data11.popupScaleRelativeToPageZoom !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/general/popupScaleRelativeToPageZoom",schemaPath:"#/properties/profiles/items/properties/options/properties/general/properties/popupScaleRelativeToPageZoom/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid8 = _errs65 === errors;}else {var valid8 = true;}if(valid8){if(data11.popupScaleRelativeToVisualViewport !== undefined){const _errs67 = errors;if(typeof data11.popupScaleRelativeToVisualViewport !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/general/popupScaleRelativeToVisualViewport",schemaPath:"#/properties/profiles/items/properties/options/properties/general/properties/popupScaleRelativeToVisualViewport/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid8 = _errs67 === errors;}else {var valid8 = true;}if(valid8){if(data11.showGuide !== undefined){const _errs69 = errors;if(typeof data11.showGuide !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/general/showGuide",schemaPath:"#/properties/profiles/items/properties/options/properties/general/properties/showGuide/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid8 = _errs69 === errors;}else {var valid8 = true;}if(valid8){if(data11.enableContextMenuScanSelected !== undefined){const _errs71 = errors;if(typeof data11.enableContextMenuScanSelected !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/general/enableContextMenuScanSelected",schemaPath:"#/properties/profiles/items/properties/options/properties/general/properties/enableContextMenuScanSelected/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid8 = _errs71 === errors;}else {var valid8 = true;}if(valid8){if(data11.compactTags !== undefined){const _errs73 = errors;if(typeof data11.compactTags !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/general/compactTags",schemaPath:"#/properties/profiles/items/properties/options/properties/general/properties/compactTags/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid8 = _errs73 === errors;}else {var valid8 = true;}if(valid8){if(data11.glossaryLayoutMode !== undefined){let data37 = data11.glossaryLayoutMode;const _errs75 = errors;if(typeof data37 !== "string"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/general/glossaryLayoutMode",schemaPath:"#/properties/profiles/items/properties/options/properties/general/properties/glossaryLayoutMode/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((data37 === "default") || (data37 === "compact"))){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/general/glossaryLayoutMode",schemaPath:"#/properties/profiles/items/properties/options/properties/general/properties/glossaryLayoutMode/enum",keyword:"enum",params:{allowedValues: schema33.properties.profiles.items.properties.options.properties.general.properties.glossaryLayoutMode.enum},message:"must be equal to one of the allowed values"}];return false;}var valid8 = _errs75 === errors;}else {var valid8 = true;}if(valid8){if(data11.mainDictionary !== undefined){const _errs77 = errors;if(typeof data11.mainDictionary !== "string"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/general/mainDictionary",schemaPath:"#/properties/profiles/items/properties/options/properties/general/properties/mainDictionary/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid8 = _errs77 === errors;}else {var valid8 = true;}if(valid8){if(data11.popupTheme !== undefined){let data39 = data11.popupTheme;const _errs79 = errors;if(typeof data39 !== "string"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/general/popupTheme",schemaPath:"#/properties/profiles/items/properties/options/properties/general/properties/popupTheme/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data39 === "light") || (data39 === "dark")) || (data39 === "browser")) || (data39 === "site"))){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/general/popupTheme",schemaPath:"#/properties/profiles/items/properties/options/properties/general/properties/popupTheme/enum",keyword:"enum",params:{allowedValues: schema33.properties.profiles.items.properties.options.properties.general.properties.popupTheme.enum},message:"must be equal to one of the allowed values"}];return false;}var valid8 = _errs79 === errors;}else {var valid8 = true;}if(valid8){if(data11.popupOuterTheme !== undefined){let data40 = data11.popupOuterTheme;const _errs81 = errors;if(typeof data40 !== "string"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/general/popupOuterTheme",schemaPath:"#/properties/profiles/items/properties/options/properties/general/properties/popupOuterTheme/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data40 === "light") || (data40 === "dark")) || (data40 === "browser")) || (data40 === "site"))){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/general/popupOuterTheme",schemaPath:"#/properties/profiles/items/properties/options/properties/general/properties/popupOuterTheme/enum",keyword:"enum",params:{allowedValues: schema33.properties.profiles.items.properties.options.properties.general.properties.popupOuterTheme.enum},message:"must be equal to one of the allowed values"}];return false;}var valid8 = _errs81 === errors;}else {var valid8 = true;}if(valid8){if(data11.customPopupCss !== undefined){const _errs83 = errors;if(typeof data11.customPopupCss !== "string"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/general/customPopupCss",schemaPath:"#/properties/profiles/items/properties/options/properties/general/properties/customPopupCss/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid8 = _errs83 === errors;}else {var valid8 = true;}if(valid8){if(data11.customPopupOuterCss !== undefined){const _errs85 = errors;if(typeof data11.customPopupOuterCss !== "string"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/general/customPopupOuterCss",schemaPath:"#/properties/profiles/items/properties/options/properties/general/properties/customPopupOuterCss/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid8 = _errs85 === errors;}else {var valid8 = true;}if(valid8){if(data11.enableWanakana !== undefined){const _errs87 = errors;if(typeof data11.enableWanakana !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/general/enableWanakana",schemaPath:"#/properties/profiles/items/properties/options/properties/general/properties/enableWanakana/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid8 = _errs87 === errors;}else {var valid8 = true;}if(valid8){if(data11.showPitchAccentDownstepNotation !== undefined){const _errs89 = errors;if(typeof data11.showPitchAccentDownstepNotation !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/general/showPitchAccentDownstepNotation",schemaPath:"#/properties/profiles/items/properties/options/properties/general/properties/showPitchAccentDownstepNotation/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid8 = _errs89 === errors;}else {var valid8 = true;}if(valid8){if(data11.showPitchAccentPositionNotation !== undefined){const _errs91 = errors;if(typeof data11.showPitchAccentPositionNotation !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/general/showPitchAccentPositionNotation",schemaPath:"#/properties/profiles/items/properties/options/properties/general/properties/showPitchAccentPositionNotation/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid8 = _errs91 === errors;}else {var valid8 = true;}if(valid8){if(data11.showPitchAccentGraph !== undefined){const _errs93 = errors;if(typeof data11.showPitchAccentGraph !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/general/showPitchAccentGraph",schemaPath:"#/properties/profiles/items/properties/options/properties/general/properties/showPitchAccentGraph/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid8 = _errs93 === errors;}else {var valid8 = true;}if(valid8){if(data11.showIframePopupsInRootFrame !== undefined){const _errs95 = errors;if(typeof data11.showIframePopupsInRootFrame !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/general/showIframePopupsInRootFrame",schemaPath:"#/properties/profiles/items/properties/options/properties/general/properties/showIframePopupsInRootFrame/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid8 = _errs95 === errors;}else {var valid8 = true;}if(valid8){if(data11.useSecurePopupFrameUrl !== undefined){const _errs97 = errors;if(typeof data11.useSecurePopupFrameUrl !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/general/useSecurePopupFrameUrl",schemaPath:"#/properties/profiles/items/properties/options/properties/general/properties/useSecurePopupFrameUrl/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid8 = _errs97 === errors;}else {var valid8 = true;}if(valid8){if(data11.usePopupShadowDom !== undefined){const _errs99 = errors;if(typeof data11.usePopupShadowDom !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/general/usePopupShadowDom",schemaPath:"#/properties/profiles/items/properties/options/properties/general/properties/usePopupShadowDom/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid8 = _errs99 === errors;}else {var valid8 = true;}if(valid8){if(data11.usePopupWindow !== undefined){const _errs101 = errors;if(typeof data11.usePopupWindow !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/general/usePopupWindow",schemaPath:"#/properties/profiles/items/properties/options/properties/general/properties/usePopupWindow/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid8 = _errs101 === errors;}else {var valid8 = true;}if(valid8){if(data11.popupCurrentIndicatorMode !== undefined){let data51 = data11.popupCurrentIndicatorMode;const _errs103 = errors;if(typeof data51 !== "string"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/general/popupCurrentIndicatorMode",schemaPath:"#/properties/profiles/items/properties/options/properties/general/properties/popupCurrentIndicatorMode/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((((((data51 === "none") || (data51 === "asterisk")) || (data51 === "triangle")) || (data51 === "bar-left")) || (data51 === "bar-right")) || (data51 === "dot-left")) || (data51 === "dot-right"))){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/general/popupCurrentIndicatorMode",schemaPath:"#/properties/profiles/items/properties/options/properties/general/properties/popupCurrentIndicatorMode/enum",keyword:"enum",params:{allowedValues: schema33.properties.profiles.items.properties.options.properties.general.properties.popupCurrentIndicatorMode.enum},message:"must be equal to one of the allowed values"}];return false;}var valid8 = _errs103 === errors;}else {var valid8 = true;}if(valid8){if(data11.popupActionBarVisibility !== undefined){let data52 = data11.popupActionBarVisibility;const _errs105 = errors;if(typeof data52 !== "string"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/general/popupActionBarVisibility",schemaPath:"#/properties/profiles/items/properties/options/properties/general/properties/popupActionBarVisibility/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((data52 === "auto") || (data52 === "always"))){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/general/popupActionBarVisibility",schemaPath:"#/properties/profiles/items/properties/options/properties/general/properties/popupActionBarVisibility/enum",keyword:"enum",params:{allowedValues: schema33.properties.profiles.items.properties.options.properties.general.properties.popupActionBarVisibility.enum},message:"must be equal to one of the allowed values"}];return false;}var valid8 = _errs105 === errors;}else {var valid8 = true;}if(valid8){if(data11.popupActionBarLocation !== undefined){let data53 = data11.popupActionBarLocation;const _errs107 = errors;if(typeof data53 !== "string"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/general/popupActionBarLocation",schemaPath:"#/properties/profiles/items/properties/options/properties/general/properties/popupActionBarLocation/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data53 === "left") || (data53 === "right")) || (data53 === "top")) || (data53 === "bottom"))){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/general/popupActionBarLocation",schemaPath:"#/properties/profiles/items/properties/options/properties/general/properties/popupActionBarLocation/enum",keyword:"enum",params:{allowedValues: schema33.properties.profiles.items.properties.options.properties.general.properties.popupActionBarLocation.enum},message:"must be equal to one of the allowed values"}];return false;}var valid8 = _errs107 === errors;}else {var valid8 = true;}if(valid8){if(data11.frequencyDisplayMode !== undefined){let data54 = data11.frequencyDisplayMode;const _errs109 = errors;if(typeof data54 !== "string"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/general/frequencyDisplayMode",schemaPath:"#/properties/profiles/items/properties/options/properties/general/properties/frequencyDisplayMode/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((((data54 === "tags") || (data54 === "tags-grouped")) || (data54 === "split-tags")) || (data54 === "split-tags-grouped")) || (data54 === "inline-list")) || (data54 === "list"))){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/general/frequencyDisplayMode",schemaPath:"#/properties/profiles/items/properties/options/properties/general/properties/frequencyDisplayMode/enum",keyword:"enum",params:{allowedValues: schema33.properties.profiles.items.properties.options.properties.general.properties.frequencyDisplayMode.enum},message:"must be equal to one of the allowed values"}];return false;}var valid8 = _errs109 === errors;}else {var valid8 = true;}if(valid8){if(data11.termDisplayMode !== undefined){let data55 = data11.termDisplayMode;const _errs111 = errors;if(typeof data55 !== "string"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/general/termDisplayMode",schemaPath:"#/properties/profiles/items/properties/options/properties/general/properties/termDisplayMode/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data55 === "ruby") || (data55 === "ruby-and-reading")) || (data55 === "term-and-reading")) || (data55 === "term-only"))){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/general/termDisplayMode",schemaPath:"#/properties/profiles/items/properties/options/properties/general/properties/termDisplayMode/enum",keyword:"enum",params:{allowedValues: schema33.properties.profiles.items.properties.options.properties.general.properties.termDisplayMode.enum},message:"must be equal to one of the allowed values"}];return false;}var valid8 = _errs111 === errors;}else {var valid8 = true;}if(valid8){if(data11.sortFrequencyDictionary !== undefined){let data56 = data11.sortFrequencyDictionary;const _errs113 = errors;if((typeof data56 !== "string") && (data56 !== null)){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/general/sortFrequencyDictionary",schemaPath:"#/properties/profiles/items/properties/options/properties/general/properties/sortFrequencyDictionary/type",keyword:"type",params:{type: schema33.properties.profiles.items.properties.options.properties.general.properties.sortFrequencyDictionary.type},message:"must be string,null"}];return false;}var valid8 = _errs113 === errors;}else {var valid8 = true;}if(valid8){if(data11.sortFrequencyDictionaryOrder !== undefined){let data57 = data11.sortFrequencyDictionaryOrder;const _errs115 = errors;if(typeof data57 !== "string"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/general/sortFrequencyDictionaryOrder",schemaPath:"#/properties/profiles/items/properties/options/properties/general/properties/sortFrequencyDictionaryOrder/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((data57 === "ascending") || (data57 === "descending"))){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/general/sortFrequencyDictionaryOrder",schemaPath:"#/properties/profiles/items/properties/options/properties/general/properties/sortFrequencyDictionaryOrder/enum",keyword:"enum",params:{allowedValues: schema33.properties.profiles.items.properties.options.properties.general.properties.sortFrequencyDictionaryOrder.enum},message:"must be equal to one of the allowed values"}];return false;}var valid8 = _errs115 === errors;}else {var valid8 = true;}if(valid8){if(data11.stickySearchHeader !== undefined){const _errs117 = errors;if(typeof data11.stickySearchHeader !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/general/stickySearchHeader",schemaPath:"#/properties/profiles/items/properties/options/properties/general/properties/stickySearchHeader/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid8 = _errs117 === errors;}else {var valid8 = true;}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}else {validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/general",schemaPath:"#/properties/profiles/items/properties/options/properties/general/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid7 = _errs23 === errors;}else {var valid7 = true;}if(valid7){if(data10.popupWindow !== undefined){let data59 = data10.popupWindow;const _errs119 = errors;if(errors === _errs119){if(data59 && typeof data59 == "object" && !Array.isArray(data59)){let missing6;if(((((((((data59.width === undefined) && (missing6 = "width")) || ((data59.height === undefined) && (missing6 = "height"))) || ((data59.left === undefined) && (missing6 = "left"))) || ((data59.top === undefined) && (missing6 = "top"))) || ((data59.useLeft === undefined) && (missing6 = "useLeft"))) || ((data59.useTop === undefined) && (missing6 = "useTop"))) || ((data59.windowType === undefined) && (missing6 = "windowType"))) || ((data59.windowState === undefined) && (missing6 = "windowState"))){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/popupWindow",schemaPath:"#/properties/profiles/items/properties/options/properties/popupWindow/required",keyword:"required",params:{missingProperty: missing6},message:"must have required property '"+missing6+"'"}];return false;}else {if(data59.width !== undefined){let data60 = data59.width;const _errs121 = errors;if(!(((typeof data60 == "number") && (!(data60 % 1) && !isNaN(data60))) && (isFinite(data60)))){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/popupWindow/width",schemaPath:"#/properties/profiles/items/properties/options/properties/popupWindow/properties/width/type",keyword:"type",params:{type: "integer"},message:"must be integer"}];return false;}if(errors === _errs121){if((typeof data60 == "number") && (isFinite(data60))){if(data60 < 0 || isNaN(data60)){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/popupWindow/width",schemaPath:"#/properties/profiles/items/properties/options/properties/popupWindow/properties/width/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"}];return false;}}}var valid9 = _errs121 === errors;}else {var valid9 = true;}if(valid9){if(data59.height !== undefined){let data61 = data59.height;const _errs123 = errors;if(!(((typeof data61 == "number") && (!(data61 % 1) && !isNaN(data61))) && (isFinite(data61)))){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/popupWindow/height",schemaPath:"#/properties/profiles/items/properties/options/properties/popupWindow/properties/height/type",keyword:"type",params:{type: "integer"},message:"must be integer"}];return false;}if(errors === _errs123){if((typeof data61 == "number") && (isFinite(data61))){if(data61 < 0 || isNaN(data61)){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/popupWindow/height",schemaPath:"#/properties/profiles/items/properties/options/properties/popupWindow/properties/height/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"}];return false;}}}var valid9 = _errs123 === errors;}else {var valid9 = true;}if(valid9){if(data59.left !== undefined){let data62 = data59.left;const _errs125 = errors;if(!(((typeof data62 == "number") && (!(data62 % 1) && !isNaN(data62))) && (isFinite(data62)))){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/popupWindow/left",schemaPath:"#/properties/profiles/items/properties/options/properties/popupWindow/properties/left/type",keyword:"type",params:{type: "integer"},message:"must be integer"}];return false;}var valid9 = _errs125 === errors;}else {var valid9 = true;}if(valid9){if(data59.top !== undefined){let data63 = data59.top;const _errs127 = errors;if(!(((typeof data63 == "number") && (!(data63 % 1) && !isNaN(data63))) && (isFinite(data63)))){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/popupWindow/top",schemaPath:"#/properties/profiles/items/properties/options/properties/popupWindow/properties/top/type",keyword:"type",params:{type: "integer"},message:"must be integer"}];return false;}var valid9 = _errs127 === errors;}else {var valid9 = true;}if(valid9){if(data59.useLeft !== undefined){const _errs129 = errors;if(typeof data59.useLeft !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/popupWindow/useLeft",schemaPath:"#/properties/profiles/items/properties/options/properties/popupWindow/properties/useLeft/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid9 = _errs129 === errors;}else {var valid9 = true;}if(valid9){if(data59.useTop !== undefined){const _errs131 = errors;if(typeof data59.useTop !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/popupWindow/useTop",schemaPath:"#/properties/profiles/items/properties/options/properties/popupWindow/properties/useTop/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid9 = _errs131 === errors;}else {var valid9 = true;}if(valid9){if(data59.windowType !== undefined){let data66 = data59.windowType;const _errs133 = errors;if(typeof data66 !== "string"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/popupWindow/windowType",schemaPath:"#/properties/profiles/items/properties/options/properties/popupWindow/properties/windowType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((data66 === "normal") || (data66 === "popup"))){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/popupWindow/windowType",schemaPath:"#/properties/profiles/items/properties/options/properties/popupWindow/properties/windowType/enum",keyword:"enum",params:{allowedValues: schema33.properties.profiles.items.properties.options.properties.popupWindow.properties.windowType.enum},message:"must be equal to one of the allowed values"}];return false;}var valid9 = _errs133 === errors;}else {var valid9 = true;}if(valid9){if(data59.windowState !== undefined){let data67 = data59.windowState;const _errs135 = errors;if(typeof data67 !== "string"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/popupWindow/windowState",schemaPath:"#/properties/profiles/items/properties/options/properties/popupWindow/properties/windowState/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data67 === "normal") || (data67 === "maximized")) || (data67 === "fullscreen"))){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/popupWindow/windowState",schemaPath:"#/properties/profiles/items/properties/options/properties/popupWindow/properties/windowState/enum",keyword:"enum",params:{allowedValues: schema33.properties.profiles.items.properties.options.properties.popupWindow.properties.windowState.enum},message:"must be equal to one of the allowed values"}];return false;}var valid9 = _errs135 === errors;}else {var valid9 = true;}}}}}}}}}}else {validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/popupWindow",schemaPath:"#/properties/profiles/items/properties/options/properties/popupWindow/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid7 = _errs119 === errors;}else {var valid7 = true;}if(valid7){if(data10.audio !== undefined){let data68 = data10.audio;const _errs137 = errors;if(errors === _errs137){if(data68 && typeof data68 == "object" && !Array.isArray(data68)){let missing7;if(((((data68.enabled === undefined) && (missing7 = "enabled")) || ((data68.volume === undefined) && (missing7 = "volume"))) || ((data68.autoPlay === undefined) && (missing7 = "autoPlay"))) || ((data68.sources === undefined) && (missing7 = "sources"))){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/audio",schemaPath:"#/properties/profiles/items/properties/options/properties/audio/required",keyword:"required",params:{missingProperty: missing7},message:"must have required property '"+missing7+"'"}];return false;}else {if(data68.enabled !== undefined){const _errs139 = errors;if(typeof data68.enabled !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/audio/enabled",schemaPath:"#/properties/profiles/items/properties/options/properties/audio/properties/enabled/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid10 = _errs139 === errors;}else {var valid10 = true;}if(valid10){if(data68.volume !== undefined){let data70 = data68.volume;const _errs141 = errors;if(errors === _errs141){if((typeof data70 == "number") && (isFinite(data70))){if(data70 > 100 || isNaN(data70)){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/audio/volume",schemaPath:"#/properties/profiles/items/properties/options/properties/audio/properties/volume/maximum",keyword:"maximum",params:{comparison: "<=", limit: 100},message:"must be <= 100"}];return false;}else {if(data70 < 0 || isNaN(data70)){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/audio/volume",schemaPath:"#/properties/profiles/items/properties/options/properties/audio/properties/volume/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"}];return false;}}}else {validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/audio/volume",schemaPath:"#/properties/profiles/items/properties/options/properties/audio/properties/volume/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}}var valid10 = _errs141 === errors;}else {var valid10 = true;}if(valid10){if(data68.autoPlay !== undefined){const _errs143 = errors;if(typeof data68.autoPlay !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/audio/autoPlay",schemaPath:"#/properties/profiles/items/properties/options/properties/audio/properties/autoPlay/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid10 = _errs143 === errors;}else {var valid10 = true;}if(valid10){if(data68.sources !== undefined){let data72 = data68.sources;const _errs145 = errors;if(errors === _errs145){if(Array.isArray(data72)){var valid11 = true;const len3 = data72.length;for(let i3=0; i3<len3; i3++){let data73 = data72[i3];const _errs147 = errors;if(errors === _errs147){if(data73 && typeof data73 == "object" && !Array.isArray(data73)){let missing8;if((((data73.type === undefined) && (missing8 = "type")) || ((data73.url === undefined) && (missing8 = "url"))) || ((data73.voice === undefined) && (missing8 = "voice"))){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/audio/sources/" + i3,schemaPath:"#/properties/profiles/items/properties/options/properties/audio/properties/sources/items/required",keyword:"required",params:{missingProperty: missing8},message:"must have required property '"+missing8+"'"}];return false;}else {const _errs149 = errors;for(const key0 in data73){if(!(((key0 === "type") || (key0 === "url")) || (key0 === "voice"))){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/audio/sources/" + i3,schemaPath:"#/properties/profiles/items/properties/options/properties/audio/properties/sources/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"}];return false;break;}}if(_errs149 === errors){if(data73.type !== undefined){let data74 = data73.type;const _errs150 = errors;if(typeof data74 !== "string"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/audio/sources/" + i3+"/type",schemaPath:"#/properties/profiles/items/properties/options/properties/audio/properties/sources/items/properties/type/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((((((((data74 === "jpod101") || (data74 === "language-pod-101")) || (data74 === "jisho")) || (data74 === "lingua-libre")) || (data74 === "wiktionary")) || (data74 === "text-to-speech")) || (data74 === "text-to-speech-reading")) || (data74 === "custom")) || (data74 === "custom-json"))){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/audio/sources/" + i3+"/type",schemaPath:"#/properties/profiles/items/properties/options/properties/audio/properties/sources/items/properties/type/enum",keyword:"enum",params:{allowedValues: schema33.properties.profiles.items.properties.options.properties.audio.properties.sources.items.properties.type.enum},message:"must be equal to one of the allowed values"}];return false;}var valid12 = _errs150 === errors;}else {var valid12 = true;}if(valid12){if(data73.url !== undefined){const _errs152 = errors;if(typeof data73.url !== "string"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/audio/sources/" + i3+"/url",schemaPath:"#/properties/profiles/items/properties/options/properties/audio/properties/sources/items/properties/url/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid12 = _errs152 === errors;}else {var valid12 = true;}if(valid12){if(data73.voice !== undefined){const _errs154 = errors;if(typeof data73.voice !== "string"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/audio/sources/" + i3+"/voice",schemaPath:"#/properties/profiles/items/properties/options/properties/audio/properties/sources/items/properties/voice/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid12 = _errs154 === errors;}else {var valid12 = true;}}}}}}else {validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/audio/sources/" + i3,schemaPath:"#/properties/profiles/items/properties/options/properties/audio/properties/sources/items/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid11 = _errs147 === errors;if(!valid11){break;}}}else {validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/audio/sources",schemaPath:"#/properties/profiles/items/properties/options/properties/audio/properties/sources/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid10 = _errs145 === errors;}else {var valid10 = true;}}}}}}else {validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/audio",schemaPath:"#/properties/profiles/items/properties/options/properties/audio/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid7 = _errs137 === errors;}else {var valid7 = true;}if(valid7){if(data10.scanning !== undefined){let data77 = data10.scanning;const _errs156 = errors;if(errors === _errs156){if(data77 && typeof data77 == "object" && !Array.isArray(data77)){let missing9;if(((((((((((((((((((((((((data77.inputs === undefined) && (missing9 = "inputs")) || ((data77.preventMiddleMouse === undefined) && (missing9 = "preventMiddleMouse"))) || ((data77.touchInputEnabled === undefined) && (missing9 = "touchInputEnabled"))) || ((data77.pointerEventsEnabled === undefined) && (missing9 = "pointerEventsEnabled"))) || ((data77.selectText === undefined) && (missing9 = "selectText"))) || ((data77.alphanumeric === undefined) && (missing9 = "alphanumeric"))) || ((data77.autoHideResults === undefined) && (missing9 = "autoHideResults"))) || ((data77.delay === undefined) && (missing9 = "delay"))) || ((data77.hideDelay === undefined) && (missing9 = "hideDelay"))) || ((data77.length === undefined) && (missing9 = "length"))) || ((data77.deepDomScan === undefined) && (missing9 = "deepDomScan"))) || ((data77.scanAltText === undefined) && (missing9 = "scanAltText"))) || ((data77.popupNestingMaxDepth === undefined) && (missing9 = "popupNestingMaxDepth"))) || ((data77.enablePopupSearch === undefined) && (missing9 = "enablePopupSearch"))) || ((data77.enableOnPopupExpressions === undefined) && (missing9 = "enableOnPopupExpressions"))) || ((data77.enableOnSearchPage === undefined) && (missing9 = "enableOnSearchPage"))) || ((data77.enableSearchTags === undefined) && (missing9 = "enableSearchTags"))) || ((data77.layoutAwareScan === undefined) && (missing9 = "layoutAwareScan"))) || ((data77.matchTypePrefix === undefined) && (missing9 = "matchTypePrefix"))) || ((data77.hidePopupOnCursorExit === undefined) && (missing9 = "hidePopupOnCursorExit"))) || ((data77.hidePopupOnCursorExitDelay === undefined) && (missing9 = "hidePopupOnCursorExitDelay"))) || ((data77.normalizeCssZoom === undefined) && (missing9 = "normalizeCssZoom"))) || ((data77.scanWithoutMousemove === undefined) && (missing9 = "scanWithoutMousemove"))) || ((data77.scanResolution === undefined) && (missing9 = "scanResolution"))){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/scanning",schemaPath:"#/properties/profiles/items/properties/options/properties/scanning/required",keyword:"required",params:{missingProperty: missing9},message:"must have required property '"+missing9+"'"}];return false;}else {if(data77.inputs !== undefined){let data78 = data77.inputs;const _errs158 = errors;if(errors === _errs158){if(Array.isArray(data78)){var valid14 = true;const len4 = data78.length;for(let i4=0; i4<len4; i4++){let data79 = data78[i4];const _errs160 = errors;if(errors === _errs160){if(data79 && typeof data79 == "object" && !Array.isArray(data79)){let missing10;if(((((data79.include === undefined) && (missing10 = "include")) || ((data79.exclude === undefined) && (missing10 = "exclude"))) || ((data79.types === undefined) && (missing10 = "types"))) || ((data79.options === undefined) && (missing10 = "options"))){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/scanning/inputs/" + i4,schemaPath:"#/properties/profiles/items/properties/options/properties/scanning/properties/inputs/items/required",keyword:"required",params:{missingProperty: missing10},message:"must have required property '"+missing10+"'"}];return false;}else {if(data79.include !== undefined){const _errs162 = errors;if(typeof data79.include !== "string"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/scanning/inputs/" + i4+"/include",schemaPath:"#/properties/profiles/items/properties/options/properties/scanning/properties/inputs/items/properties/include/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid15 = _errs162 === errors;}else {var valid15 = true;}if(valid15){if(data79.exclude !== undefined){const _errs164 = errors;if(typeof data79.exclude !== "string"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/scanning/inputs/" + i4+"/exclude",schemaPath:"#/properties/profiles/items/properties/options/properties/scanning/properties/inputs/items/properties/exclude/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid15 = _errs164 === errors;}else {var valid15 = true;}if(valid15){if(data79.types !== undefined){let data82 = data79.types;const _errs166 = errors;if(errors === _errs166){if(data82 && typeof data82 == "object" && !Array.isArray(data82)){let missing11;if((((data82.mouse === undefined) && (missing11 = "mouse")) || ((data82.touch === undefined) && (missing11 = "touch"))) || ((data82.pen === undefined) && (missing11 = "pen"))){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/scanning/inputs/" + i4+"/types",schemaPath:"#/properties/profiles/items/properties/options/properties/scanning/properties/inputs/items/properties/types/required",keyword:"required",params:{missingProperty: missing11},message:"must have required property '"+missing11+"'"}];return false;}else {if(data82.mouse !== undefined){const _errs168 = errors;if(typeof data82.mouse !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/scanning/inputs/" + i4+"/types/mouse",schemaPath:"#/properties/profiles/items/properties/options/properties/scanning/properties/inputs/items/properties/types/properties/mouse/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid16 = _errs168 === errors;}else {var valid16 = true;}if(valid16){if(data82.touch !== undefined){const _errs170 = errors;if(typeof data82.touch !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/scanning/inputs/" + i4+"/types/touch",schemaPath:"#/properties/profiles/items/properties/options/properties/scanning/properties/inputs/items/properties/types/properties/touch/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid16 = _errs170 === errors;}else {var valid16 = true;}if(valid16){if(data82.pen !== undefined){const _errs172 = errors;if(typeof data82.pen !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/scanning/inputs/" + i4+"/types/pen",schemaPath:"#/properties/profiles/items/properties/options/properties/scanning/properties/inputs/items/properties/types/properties/pen/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid16 = _errs172 === errors;}else {var valid16 = true;}}}}}else {validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/scanning/inputs/" + i4+"/types",schemaPath:"#/properties/profiles/items/properties/options/properties/scanning/properties/inputs/items/properties/types/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid15 = _errs166 === errors;}else {var valid15 = true;}if(valid15){if(data79.options !== undefined){let data86 = data79.options;const _errs174 = errors;if(errors === _errs174){if(data86 && typeof data86 == "object" && !Array.isArray(data86)){let missing12;if(((((((((((((((data86.showAdvanced === undefined) && (missing12 = "showAdvanced")) || ((data86.searchTerms === undefined) && (missing12 = "searchTerms"))) || ((data86.searchKanji === undefined) && (missing12 = "searchKanji"))) || ((data86.scanOnTouchTap === undefined) && (missing12 = "scanOnTouchTap"))) || ((data86.scanOnTouchMove === undefined) && (missing12 = "scanOnTouchMove"))) || ((data86.scanOnTouchPress === undefined) && (missing12 = "scanOnTouchPress"))) || ((data86.scanOnTouchRelease === undefined) && (missing12 = "scanOnTouchRelease"))) || ((data86.scanOnPenMove === undefined) && (missing12 = "scanOnPenMove"))) || ((data86.scanOnPenHover === undefined) && (missing12 = "scanOnPenHover"))) || ((data86.scanOnPenReleaseHover === undefined) && (missing12 = "scanOnPenReleaseHover"))) || ((data86.scanOnPenPress === undefined) && (missing12 = "scanOnPenPress"))) || ((data86.scanOnPenRelease === undefined) && (missing12 = "scanOnPenRelease"))) || ((data86.preventTouchScrolling === undefined) && (missing12 = "preventTouchScrolling"))) || ((data86.preventPenScrolling === undefined) && (missing12 = "preventPenScrolling"))){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/scanning/inputs/" + i4+"/options",schemaPath:"#/properties/profiles/items/properties/options/properties/scanning/properties/inputs/items/properties/options/required",keyword:"required",params:{missingProperty: missing12},message:"must have required property '"+missing12+"'"}];return false;}else {if(data86.showAdvanced !== undefined){const _errs176 = errors;if(typeof data86.showAdvanced !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/scanning/inputs/" + i4+"/options/showAdvanced",schemaPath:"#/properties/profiles/items/properties/options/properties/scanning/properties/inputs/items/properties/options/properties/showAdvanced/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid17 = _errs176 === errors;}else {var valid17 = true;}if(valid17){if(data86.searchTerms !== undefined){const _errs178 = errors;if(typeof data86.searchTerms !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/scanning/inputs/" + i4+"/options/searchTerms",schemaPath:"#/properties/profiles/items/properties/options/properties/scanning/properties/inputs/items/properties/options/properties/searchTerms/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid17 = _errs178 === errors;}else {var valid17 = true;}if(valid17){if(data86.searchKanji !== undefined){const _errs180 = errors;if(typeof data86.searchKanji !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/scanning/inputs/" + i4+"/options/searchKanji",schemaPath:"#/properties/profiles/items/properties/options/properties/scanning/properties/inputs/items/properties/options/properties/searchKanji/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid17 = _errs180 === errors;}else {var valid17 = true;}if(valid17){if(data86.scanOnTouchTap !== undefined){const _errs182 = errors;if(typeof data86.scanOnTouchTap !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/scanning/inputs/" + i4+"/options/scanOnTouchTap",schemaPath:"#/properties/profiles/items/properties/options/properties/scanning/properties/inputs/items/properties/options/properties/scanOnTouchTap/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid17 = _errs182 === errors;}else {var valid17 = true;}if(valid17){if(data86.scanOnTouchMove !== undefined){const _errs184 = errors;if(typeof data86.scanOnTouchMove !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/scanning/inputs/" + i4+"/options/scanOnTouchMove",schemaPath:"#/properties/profiles/items/properties/options/properties/scanning/properties/inputs/items/properties/options/properties/scanOnTouchMove/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid17 = _errs184 === errors;}else {var valid17 = true;}if(valid17){if(data86.scanOnTouchPress !== undefined){const _errs186 = errors;if(typeof data86.scanOnTouchPress !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/scanning/inputs/" + i4+"/options/scanOnTouchPress",schemaPath:"#/properties/profiles/items/properties/options/properties/scanning/properties/inputs/items/properties/options/properties/scanOnTouchPress/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid17 = _errs186 === errors;}else {var valid17 = true;}if(valid17){if(data86.scanOnTouchRelease !== undefined){const _errs188 = errors;if(typeof data86.scanOnTouchRelease !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/scanning/inputs/" + i4+"/options/scanOnTouchRelease",schemaPath:"#/properties/profiles/items/properties/options/properties/scanning/properties/inputs/items/properties/options/properties/scanOnTouchRelease/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid17 = _errs188 === errors;}else {var valid17 = true;}if(valid17){if(data86.scanOnPenMove !== undefined){const _errs190 = errors;if(typeof data86.scanOnPenMove !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/scanning/inputs/" + i4+"/options/scanOnPenMove",schemaPath:"#/properties/profiles/items/properties/options/properties/scanning/properties/inputs/items/properties/options/properties/scanOnPenMove/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid17 = _errs190 === errors;}else {var valid17 = true;}if(valid17){if(data86.scanOnPenHover !== undefined){const _errs192 = errors;if(typeof data86.scanOnPenHover !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/scanning/inputs/" + i4+"/options/scanOnPenHover",schemaPath:"#/properties/profiles/items/properties/options/properties/scanning/properties/inputs/items/properties/options/properties/scanOnPenHover/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid17 = _errs192 === errors;}else {var valid17 = true;}if(valid17){if(data86.scanOnPenReleaseHover !== undefined){const _errs194 = errors;if(typeof data86.scanOnPenReleaseHover !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/scanning/inputs/" + i4+"/options/scanOnPenReleaseHover",schemaPath:"#/properties/profiles/items/properties/options/properties/scanning/properties/inputs/items/properties/options/properties/scanOnPenReleaseHover/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid17 = _errs194 === errors;}else {var valid17 = true;}if(valid17){if(data86.scanOnPenPress !== undefined){const _errs196 = errors;if(typeof data86.scanOnPenPress !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/scanning/inputs/" + i4+"/options/scanOnPenPress",schemaPath:"#/properties/profiles/items/properties/options/properties/scanning/properties/inputs/items/properties/options/properties/scanOnPenPress/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid17 = _errs196 === errors;}else {var valid17 = true;}if(valid17){if(data86.scanOnPenRelease !== undefined){const _errs198 = errors;if(typeof data86.scanOnPenRelease !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/scanning/inputs/" + i4+"/options/scanOnPenRelease",schemaPath:"#/properties/profiles/items/properties/options/properties/scanning/properties/inputs/items/properties/options/properties/scanOnPenRelease/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid17 = _errs198 === errors;}else {var valid17 = true;}if(valid17){if(data86.preventTouchScrolling !== undefined){const _errs200 = errors;if(typeof data86.preventTouchScrolling !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/scanning/inputs/" + i4+"/options/preventTouchScrolling",schemaPath:"#/properties/profiles/items/properties/options/properties/scanning/properties/inputs/items/properties/options/properties/preventTouchScrolling/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid17 = _errs200 === errors;}else {var valid17 = true;}if(valid17){if(data86.preventPenScrolling !== undefined){const _errs202 = errors;if(typeof data86.preventPenScrolling !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/scanning/inputs/" + i4+"/options/preventPenScrolling",schemaPath:"#/properties/profiles/items/properties/options/properties/scanning/properties/inputs/items/properties/options/properties/preventPenScrolling/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid17 = _errs202 === errors;}else {var valid17 = true;}}}}}}}}}}}}}}}}else {validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/scanning/inputs/" + i4+"/options",schemaPath:"#/properties/profiles/items/properties/options/properties/scanning/properties/inputs/items/properties/options/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid15 = _errs174 === errors;}else {var valid15 = true;}}}}}}else {validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/scanning/inputs/" + i4,schemaPath:"#/properties/profiles/items/properties/options/properties/scanning/properties/inputs/items/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid14 = _errs160 === errors;if(!valid14){break;}}}else {validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/scanning/inputs",schemaPath:"#/properties/profiles/items/properties/options/properties/scanning/properties/inputs/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid13 = _errs158 === errors;}else {var valid13 = true;}if(valid13){if(data77.preventMiddleMouse !== undefined){let data101 = data77.preventMiddleMouse;const _errs204 = errors;if(errors === _errs204){if(data101 && typeof data101 == "object" && !Array.isArray(data101)){let missing13;if(((((data101.onWebPages === undefined) && (missing13 = "onWebPages")) || ((data101.onPopupPages === undefined) && (missing13 = "onPopupPages"))) || ((data101.onSearchPages === undefined) && (missing13 = "onSearchPages"))) || ((data101.onSearchQuery === undefined) && (missing13 = "onSearchQuery"))){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/scanning/preventMiddleMouse",schemaPath:"#/properties/profiles/items/properties/options/properties/scanning/properties/preventMiddleMouse/required",keyword:"required",params:{missingProperty: missing13},message:"must have required property '"+missing13+"'"}];return false;}else {if(data101.onWebPages !== undefined){const _errs206 = errors;if(typeof data101.onWebPages !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/scanning/preventMiddleMouse/onWebPages",schemaPath:"#/properties/profiles/items/properties/options/properties/scanning/properties/preventMiddleMouse/properties/onWebPages/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid18 = _errs206 === errors;}else {var valid18 = true;}if(valid18){if(data101.onPopupPages !== undefined){const _errs208 = errors;if(typeof data101.onPopupPages !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/scanning/preventMiddleMouse/onPopupPages",schemaPath:"#/properties/profiles/items/properties/options/properties/scanning/properties/preventMiddleMouse/properties/onPopupPages/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid18 = _errs208 === errors;}else {var valid18 = true;}if(valid18){if(data101.onSearchPages !== undefined){const _errs210 = errors;if(typeof data101.onSearchPages !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/scanning/preventMiddleMouse/onSearchPages",schemaPath:"#/properties/profiles/items/properties/options/properties/scanning/properties/preventMiddleMouse/properties/onSearchPages/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid18 = _errs210 === errors;}else {var valid18 = true;}if(valid18){if(data101.onSearchQuery !== undefined){const _errs212 = errors;if(typeof data101.onSearchQuery !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/scanning/preventMiddleMouse/onSearchQuery",schemaPath:"#/properties/profiles/items/properties/options/properties/scanning/properties/preventMiddleMouse/properties/onSearchQuery/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid18 = _errs212 === errors;}else {var valid18 = true;}}}}}}else {validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/scanning/preventMiddleMouse",schemaPath:"#/properties/profiles/items/properties/options/properties/scanning/properties/preventMiddleMouse/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid13 = _errs204 === errors;}else {var valid13 = true;}if(valid13){if(data77.touchInputEnabled !== undefined){const _errs214 = errors;if(typeof data77.touchInputEnabled !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/scanning/touchInputEnabled",schemaPath:"#/properties/profiles/items/properties/options/properties/scanning/properties/touchInputEnabled/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid13 = _errs214 === errors;}else {var valid13 = true;}if(valid13){if(data77.pointerEventsEnabled !== undefined){const _errs216 = errors;if(typeof data77.pointerEventsEnabled !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/scanning/pointerEventsEnabled",schemaPath:"#/properties/profiles/items/properties/options/properties/scanning/properties/pointerEventsEnabled/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid13 = _errs216 === errors;}else {var valid13 = true;}if(valid13){if(data77.selectText !== undefined){const _errs218 = errors;if(typeof data77.selectText !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/scanning/selectText",schemaPath:"#/properties/profiles/items/properties/options/properties/scanning/properties/selectText/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid13 = _errs218 === errors;}else {var valid13 = true;}if(valid13){if(data77.alphanumeric !== undefined){const _errs220 = errors;if(typeof data77.alphanumeric !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/scanning/alphanumeric",schemaPath:"#/properties/profiles/items/properties/options/properties/scanning/properties/alphanumeric/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid13 = _errs220 === errors;}else {var valid13 = true;}if(valid13){if(data77.autoHideResults !== undefined){const _errs222 = errors;if(typeof data77.autoHideResults !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/scanning/autoHideResults",schemaPath:"#/properties/profiles/items/properties/options/properties/scanning/properties/autoHideResults/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid13 = _errs222 === errors;}else {var valid13 = true;}if(valid13){if(data77.delay !== undefined){let data111 = data77.delay;const _errs224 = errors;if(errors === _errs224){if((typeof data111 == "number") && (isFinite(data111))){if(data111 < 0 || isNaN(data111)){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/scanning/delay",schemaPath:"#/properties/profiles/items/properties/options/properties/scanning/properties/delay/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"}];return false;}}else {validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/scanning/delay",schemaPath:"#/properties/profiles/items/properties/options/properties/scanning/properties/delay/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}}var valid13 = _errs224 === errors;}else {var valid13 = true;}if(valid13){if(data77.hideDelay !== undefined){let data112 = data77.hideDelay;const _errs226 = errors;if(errors === _errs226){if((typeof data112 == "number") && (isFinite(data112))){if(data112 < 0 || isNaN(data112)){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/scanning/hideDelay",schemaPath:"#/properties/profiles/items/properties/options/properties/scanning/properties/hideDelay/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"}];return false;}}else {validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/scanning/hideDelay",schemaPath:"#/properties/profiles/items/properties/options/properties/scanning/properties/hideDelay/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}}var valid13 = _errs226 === errors;}else {var valid13 = true;}if(valid13){if(data77.length !== undefined){let data113 = data77.length;const _errs228 = errors;if(!(((typeof data113 == "number") && (!(data113 % 1) && !isNaN(data113))) && (isFinite(data113)))){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/scanning/length",schemaPath:"#/properties/profiles/items/properties/options/properties/scanning/properties/length/type",keyword:"type",params:{type: "integer"},message:"must be integer"}];return false;}if(errors === _errs228){if((typeof data113 == "number") && (isFinite(data113))){if(data113 < 1 || isNaN(data113)){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/scanning/length",schemaPath:"#/properties/profiles/items/properties/options/properties/scanning/properties/length/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"}];return false;}}}var valid13 = _errs228 === errors;}else {var valid13 = true;}if(valid13){if(data77.deepDomScan !== undefined){const _errs230 = errors;if(typeof data77.deepDomScan !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/scanning/deepDomScan",schemaPath:"#/properties/profiles/items/properties/options/properties/scanning/properties/deepDomScan/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid13 = _errs230 === errors;}else {var valid13 = true;}if(valid13){if(data77.scanAltText !== undefined){const _errs232 = errors;if(typeof data77.scanAltText !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/scanning/scanAltText",schemaPath:"#/properties/profiles/items/properties/options/properties/scanning/properties/scanAltText/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid13 = _errs232 === errors;}else {var valid13 = true;}if(valid13){if(data77.popupNestingMaxDepth !== undefined){let data116 = data77.popupNestingMaxDepth;const _errs234 = errors;if(!(((typeof data116 == "number") && (!(data116 % 1) && !isNaN(data116))) && (isFinite(data116)))){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/scanning/popupNestingMaxDepth",schemaPath:"#/properties/profiles/items/properties/options/properties/scanning/properties/popupNestingMaxDepth/type",keyword:"type",params:{type: "integer"},message:"must be integer"}];return false;}if(errors === _errs234){if((typeof data116 == "number") && (isFinite(data116))){if(data116 < 0 || isNaN(data116)){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/scanning/popupNestingMaxDepth",schemaPath:"#/properties/profiles/items/properties/options/properties/scanning/properties/popupNestingMaxDepth/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"}];return false;}}}var valid13 = _errs234 === errors;}else {var valid13 = true;}if(valid13){if(data77.enablePopupSearch !== undefined){const _errs236 = errors;if(typeof data77.enablePopupSearch !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/scanning/enablePopupSearch",schemaPath:"#/properties/profiles/items/properties/options/properties/scanning/properties/enablePopupSearch/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid13 = _errs236 === errors;}else {var valid13 = true;}if(valid13){if(data77.enableOnPopupExpressions !== undefined){const _errs238 = errors;if(typeof data77.enableOnPopupExpressions !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/scanning/enableOnPopupExpressions",schemaPath:"#/properties/profiles/items/properties/options/properties/scanning/properties/enableOnPopupExpressions/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid13 = _errs238 === errors;}else {var valid13 = true;}if(valid13){if(data77.enableOnSearchPage !== undefined){const _errs240 = errors;if(typeof data77.enableOnSearchPage !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/scanning/enableOnSearchPage",schemaPath:"#/properties/profiles/items/properties/options/properties/scanning/properties/enableOnSearchPage/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid13 = _errs240 === errors;}else {var valid13 = true;}if(valid13){if(data77.enableSearchTags !== undefined){const _errs242 = errors;if(typeof data77.enableSearchTags !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/scanning/enableSearchTags",schemaPath:"#/properties/profiles/items/properties/options/properties/scanning/properties/enableSearchTags/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid13 = _errs242 === errors;}else {var valid13 = true;}if(valid13){if(data77.layoutAwareScan !== undefined){const _errs244 = errors;if(typeof data77.layoutAwareScan !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/scanning/layoutAwareScan",schemaPath:"#/properties/profiles/items/properties/options/properties/scanning/properties/layoutAwareScan/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid13 = _errs244 === errors;}else {var valid13 = true;}if(valid13){if(data77.matchTypePrefix !== undefined){const _errs246 = errors;if(typeof data77.matchTypePrefix !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/scanning/matchTypePrefix",schemaPath:"#/properties/profiles/items/properties/options/properties/scanning/properties/matchTypePrefix/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid13 = _errs246 === errors;}else {var valid13 = true;}if(valid13){if(data77.hidePopupOnCursorExit !== undefined){const _errs248 = errors;if(typeof data77.hidePopupOnCursorExit !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/scanning/hidePopupOnCursorExit",schemaPath:"#/properties/profiles/items/properties/options/properties/scanning/properties/hidePopupOnCursorExit/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid13 = _errs248 === errors;}else {var valid13 = true;}if(valid13){if(data77.hidePopupOnCursorExitDelay !== undefined){let data124 = data77.hidePopupOnCursorExitDelay;const _errs250 = errors;if(errors === _errs250){if((typeof data124 == "number") && (isFinite(data124))){if(data124 < 0 || isNaN(data124)){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/scanning/hidePopupOnCursorExitDelay",schemaPath:"#/properties/profiles/items/properties/options/properties/scanning/properties/hidePopupOnCursorExitDelay/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"}];return false;}}else {validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/scanning/hidePopupOnCursorExitDelay",schemaPath:"#/properties/profiles/items/properties/options/properties/scanning/properties/hidePopupOnCursorExitDelay/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}}var valid13 = _errs250 === errors;}else {var valid13 = true;}if(valid13){if(data77.normalizeCssZoom !== undefined){const _errs252 = errors;if(typeof data77.normalizeCssZoom !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/scanning/normalizeCssZoom",schemaPath:"#/properties/profiles/items/properties/options/properties/scanning/properties/normalizeCssZoom/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid13 = _errs252 === errors;}else {var valid13 = true;}if(valid13){if(data77.scanWithoutMousemove !== undefined){const _errs254 = errors;if(typeof data77.scanWithoutMousemove !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/scanning/scanWithoutMousemove",schemaPath:"#/properties/profiles/items/properties/options/properties/scanning/properties/scanWithoutMousemove/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid13 = _errs254 === errors;}else {var valid13 = true;}if(valid13){if(data77.scanResolution !== undefined){let data127 = data77.scanResolution;const _errs256 = errors;if(typeof data127 !== "string"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/scanning/scanResolution",schemaPath:"#/properties/profiles/items/properties/options/properties/scanning/properties/scanResolution/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((data127 === "character") || (data127 === "word"))){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/scanning/scanResolution",schemaPath:"#/properties/profiles/items/properties/options/properties/scanning/properties/scanResolution/enum",keyword:"enum",params:{allowedValues: schema33.properties.profiles.items.properties.options.properties.scanning.properties.scanResolution.enum},message:"must be equal to one of the allowed values"}];return false;}var valid13 = _errs256 === errors;}else {var valid13 = true;}}}}}}}}}}}}}}}}}}}}}}}}}}else {validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/scanning",schemaPath:"#/properties/profiles/items/properties/options/properties/scanning/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid7 = _errs156 === errors;}else {var valid7 = true;}if(valid7){if(data10.translation !== undefined){let data128 = data10.translation;const _errs258 = errors;if(errors === _errs258){if(data128 && typeof data128 == "object" && !Array.isArray(data128)){let missing14;if(((data128.textReplacements === undefined) && (missing14 = "textReplacements")) || ((data128.searchResolution === undefined) && (missing14 = "searchResolution"))){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/translation",schemaPath:"#/properties/profiles/items/properties/options/properties/translation/required",keyword:"required",params:{missingProperty: missing14},message:"must have required property '"+missing14+"'"}];return false;}else {if(data128.searchResolution !== undefined){let data129 = data128.searchResolution;const _errs260 = errors;if(typeof data129 !== "string"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/translation/searchResolution",schemaPath:"#/properties/profiles/items/properties/options/properties/translation/properties/searchResolution/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((data129 === "letter") || (data129 === "word"))){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/translation/searchResolution",schemaPath:"#/properties/profiles/items/properties/options/properties/translation/properties/searchResolution/enum",keyword:"enum",params:{allowedValues: schema33.properties.profiles.items.properties.options.properties.translation.properties.searchResolution.enum},message:"must be equal to one of the allowed values"}];return false;}var valid19 = _errs260 === errors;}else {var valid19 = true;}if(valid19){if(data128.textReplacements !== undefined){let data130 = data128.textReplacements;const _errs262 = errors;if(errors === _errs262){if(data130 && typeof data130 == "object" && !Array.isArray(data130)){let missing15;if(((data130.searchOriginal === undefined) && (missing15 = "searchOriginal")) || ((data130.groups === undefined) && (missing15 = "groups"))){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/translation/textReplacements",schemaPath:"#/properties/profiles/items/properties/options/properties/translation/properties/textReplacements/required",keyword:"required",params:{missingProperty: missing15},message:"must have required property '"+missing15+"'"}];return false;}else {if(data130.searchOriginal !== undefined){const _errs264 = errors;if(typeof data130.searchOriginal !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/translation/textReplacements/searchOriginal",schemaPath:"#/properties/profiles/items/properties/options/properties/translation/properties/textReplacements/properties/searchOriginal/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid20 = _errs264 === errors;}else {var valid20 = true;}if(valid20){if(data130.groups !== undefined){let data132 = data130.groups;const _errs266 = errors;if(errors === _errs266){if(Array.isArray(data132)){var valid21 = true;const len5 = data132.length;for(let i5=0; i5<len5; i5++){let data133 = data132[i5];const _errs268 = errors;if(errors === _errs268){if(Array.isArray(data133)){var valid22 = true;const len6 = data133.length;for(let i6=0; i6<len6; i6++){let data134 = data133[i6];const _errs270 = errors;if(errors === _errs270){if(data134 && typeof data134 == "object" && !Array.isArray(data134)){let missing16;if((((data134.pattern === undefined) && (missing16 = "pattern")) || ((data134.ignoreCase === undefined) && (missing16 = "ignoreCase"))) || ((data134.replacement === undefined) && (missing16 = "replacement"))){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/translation/textReplacements/groups/" + i5+"/" + i6,schemaPath:"#/properties/profiles/items/properties/options/properties/translation/properties/textReplacements/properties/groups/items/items/required",keyword:"required",params:{missingProperty: missing16},message:"must have required property '"+missing16+"'"}];return false;}else {if(data134.pattern !== undefined){const _errs272 = errors;if(typeof data134.pattern !== "string"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/translation/textReplacements/groups/" + i5+"/" + i6+"/pattern",schemaPath:"#/properties/profiles/items/properties/options/properties/translation/properties/textReplacements/properties/groups/items/items/properties/pattern/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid23 = _errs272 === errors;}else {var valid23 = true;}if(valid23){if(data134.ignoreCase !== undefined){const _errs274 = errors;if(typeof data134.ignoreCase !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/translation/textReplacements/groups/" + i5+"/" + i6+"/ignoreCase",schemaPath:"#/properties/profiles/items/properties/options/properties/translation/properties/textReplacements/properties/groups/items/items/properties/ignoreCase/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid23 = _errs274 === errors;}else {var valid23 = true;}if(valid23){if(data134.replacement !== undefined){const _errs276 = errors;if(typeof data134.replacement !== "string"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/translation/textReplacements/groups/" + i5+"/" + i6+"/replacement",schemaPath:"#/properties/profiles/items/properties/options/properties/translation/properties/textReplacements/properties/groups/items/items/properties/replacement/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid23 = _errs276 === errors;}else {var valid23 = true;}}}}}else {validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/translation/textReplacements/groups/" + i5+"/" + i6,schemaPath:"#/properties/profiles/items/properties/options/properties/translation/properties/textReplacements/properties/groups/items/items/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid22 = _errs270 === errors;if(!valid22){break;}}}else {validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/translation/textReplacements/groups/" + i5,schemaPath:"#/properties/profiles/items/properties/options/properties/translation/properties/textReplacements/properties/groups/items/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid21 = _errs268 === errors;if(!valid21){break;}}}else {validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/translation/textReplacements/groups",schemaPath:"#/properties/profiles/items/properties/options/properties/translation/properties/textReplacements/properties/groups/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid20 = _errs266 === errors;}else {var valid20 = true;}}}}else {validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/translation/textReplacements",schemaPath:"#/properties/profiles/items/properties/options/properties/translation/properties/textReplacements/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid19 = _errs262 === errors;}else {var valid19 = true;}}}}else {validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/translation",schemaPath:"#/properties/profiles/items/properties/options/properties/translation/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid7 = _errs258 === errors;}else {var valid7 = true;}if(valid7){if(data10.dictionaries !== undefined){let data138 = data10.dictionaries;const _errs278 = errors;if(errors === _errs278){if(Array.isArray(data138)){var valid24 = true;const len7 = data138.length;for(let i7=0; i7<len7; i7++){let data139 = data138[i7];const _errs280 = errors;if(errors === _errs280){if(data139 && typeof data139 == "object" && !Array.isArray(data139)){let missing17;if(((((((((data139.name === undefined) && (missing17 = "name")) || ((data139.alias === undefined) && (missing17 = "alias"))) || ((data139.priority === undefined) && (missing17 = "priority"))) || ((data139.enabled === undefined) && (missing17 = "enabled"))) || ((data139.allowSecondarySearches === undefined) && (missing17 = "allowSecondarySearches"))) || ((data139.definitionsCollapsible === undefined) && (missing17 = "definitionsCollapsible"))) || ((data139.partsOfSpeechFilter === undefined) && (missing17 = "partsOfSpeechFilter"))) || ((data139.useDeinflections === undefined) && (missing17 = "useDeinflections"))){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/dictionaries/" + i7,schemaPath:"#/properties/profiles/items/properties/options/properties/dictionaries/items/required",keyword:"required",params:{missingProperty: missing17},message:"must have required property '"+missing17+"'"}];return false;}else {if(data139.name !== undefined){const _errs282 = errors;if(typeof data139.name !== "string"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/dictionaries/" + i7+"/name",schemaPath:"#/properties/profiles/items/properties/options/properties/dictionaries/items/properties/name/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid25 = _errs282 === errors;}else {var valid25 = true;}if(valid25){if(data139.alias !== undefined){const _errs284 = errors;if(typeof data139.alias !== "string"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/dictionaries/" + i7+"/alias",schemaPath:"#/properties/profiles/items/properties/options/properties/dictionaries/items/properties/alias/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid25 = _errs284 === errors;}else {var valid25 = true;}if(valid25){if(data139.priority !== undefined){let data142 = data139.priority;const _errs286 = errors;if(!((typeof data142 == "number") && (isFinite(data142)))){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/dictionaries/" + i7+"/priority",schemaPath:"#/properties/profiles/items/properties/options/properties/dictionaries/items/properties/priority/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid25 = _errs286 === errors;}else {var valid25 = true;}if(valid25){if(data139.enabled !== undefined){const _errs288 = errors;if(typeof data139.enabled !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/dictionaries/" + i7+"/enabled",schemaPath:"#/properties/profiles/items/properties/options/properties/dictionaries/items/properties/enabled/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid25 = _errs288 === errors;}else {var valid25 = true;}if(valid25){if(data139.allowSecondarySearches !== undefined){const _errs290 = errors;if(typeof data139.allowSecondarySearches !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/dictionaries/" + i7+"/allowSecondarySearches",schemaPath:"#/properties/profiles/items/properties/options/properties/dictionaries/items/properties/allowSecondarySearches/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid25 = _errs290 === errors;}else {var valid25 = true;}if(valid25){if(data139.definitionsCollapsible !== undefined){let data145 = data139.definitionsCollapsible;const _errs292 = errors;if(typeof data145 !== "string"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/dictionaries/" + i7+"/definitionsCollapsible",schemaPath:"#/properties/profiles/items/properties/options/properties/dictionaries/items/properties/definitionsCollapsible/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((((data145 === "not-collapsible") || (data145 === "expanded")) || (data145 === "collapsed")) || (data145 === "force-collapsed")) || (data145 === "force-expanded"))){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/dictionaries/" + i7+"/definitionsCollapsible",schemaPath:"#/properties/profiles/items/properties/options/properties/dictionaries/items/properties/definitionsCollapsible/enum",keyword:"enum",params:{allowedValues: schema33.properties.profiles.items.properties.options.properties.dictionaries.items.properties.definitionsCollapsible.enum},message:"must be equal to one of the allowed values"}];return false;}var valid25 = _errs292 === errors;}else {var valid25 = true;}if(valid25){if(data139.partsOfSpeechFilter !== undefined){const _errs294 = errors;if(typeof data139.partsOfSpeechFilter !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/dictionaries/" + i7+"/partsOfSpeechFilter",schemaPath:"#/properties/profiles/items/properties/options/properties/dictionaries/items/properties/partsOfSpeechFilter/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid25 = _errs294 === errors;}else {var valid25 = true;}if(valid25){if(data139.useDeinflections !== undefined){const _errs296 = errors;if(typeof data139.useDeinflections !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/dictionaries/" + i7+"/useDeinflections",schemaPath:"#/properties/profiles/items/properties/options/properties/dictionaries/items/properties/useDeinflections/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid25 = _errs296 === errors;}else {var valid25 = true;}}}}}}}}}}else {validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/dictionaries/" + i7,schemaPath:"#/properties/profiles/items/properties/options/properties/dictionaries/items/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid24 = _errs280 === errors;if(!valid24){break;}}}else {validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/dictionaries",schemaPath:"#/properties/profiles/items/properties/options/properties/dictionaries/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid7 = _errs278 === errors;}else {var valid7 = true;}if(valid7){if(data10.parsing !== undefined){let data148 = data10.parsing;const _errs298 = errors;if(errors === _errs298){if(data148 && typeof data148 == "object" && !Array.isArray(data148)){let missing18;if((((((data148.enableScanningParser === undefined) && (missing18 = "enableScanningParser")) || ((data148.enableMecabParser === undefined) && (missing18 = "enableMecabParser"))) || ((data148.selectedParser === undefined) && (missing18 = "selectedParser"))) || ((data148.termSpacing === undefined) && (missing18 = "termSpacing"))) || ((data148.readingMode === undefined) && (missing18 = "readingMode"))){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/parsing",schemaPath:"#/properties/profiles/items/properties/options/properties/parsing/required",keyword:"required",params:{missingProperty: missing18},message:"must have required property '"+missing18+"'"}];return false;}else {if(data148.enableScanningParser !== undefined){const _errs300 = errors;if(typeof data148.enableScanningParser !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/parsing/enableScanningParser",schemaPath:"#/properties/profiles/items/properties/options/properties/parsing/properties/enableScanningParser/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid26 = _errs300 === errors;}else {var valid26 = true;}if(valid26){if(data148.enableMecabParser !== undefined){const _errs302 = errors;if(typeof data148.enableMecabParser !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/parsing/enableMecabParser",schemaPath:"#/properties/profiles/items/properties/options/properties/parsing/properties/enableMecabParser/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid26 = _errs302 === errors;}else {var valid26 = true;}if(valid26){if(data148.selectedParser !== undefined){let data151 = data148.selectedParser;const _errs304 = errors;if((typeof data151 !== "string") && (data151 !== null)){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/parsing/selectedParser",schemaPath:"#/properties/profiles/items/properties/options/properties/parsing/properties/selectedParser/type",keyword:"type",params:{type: schema33.properties.profiles.items.properties.options.properties.parsing.properties.selectedParser.type},message:"must be string,null"}];return false;}var valid26 = _errs304 === errors;}else {var valid26 = true;}if(valid26){if(data148.termSpacing !== undefined){const _errs306 = errors;if(typeof data148.termSpacing !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/parsing/termSpacing",schemaPath:"#/properties/profiles/items/properties/options/properties/parsing/properties/termSpacing/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid26 = _errs306 === errors;}else {var valid26 = true;}if(valid26){if(data148.readingMode !== undefined){let data153 = data148.readingMode;const _errs308 = errors;if(typeof data153 !== "string"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/parsing/readingMode",schemaPath:"#/properties/profiles/items/properties/options/properties/parsing/properties/readingMode/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((((data153 === "hiragana") || (data153 === "katakana")) || (data153 === "romaji")) || (data153 === "dictionary-reading")) || (data153 === "none"))){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/parsing/readingMode",schemaPath:"#/properties/profiles/items/properties/options/properties/parsing/properties/readingMode/enum",keyword:"enum",params:{allowedValues: schema33.properties.profiles.items.properties.options.properties.parsing.properties.readingMode.enum},message:"must be equal to one of the allowed values"}];return false;}var valid26 = _errs308 === errors;}else {var valid26 = true;}}}}}}}else {validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/parsing",schemaPath:"#/properties/profiles/items/properties/options/properties/parsing/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid7 = _errs298 === errors;}else {var valid7 = true;}if(valid7){if(data10.anki !== undefined){let data154 = data10.anki;const _errs310 = errors;if(errors === _errs310){if(data154 && typeof data154 == "object" && !Array.isArray(data154)){let missing19;if((((((((((((((((data154.enable === undefined) && (missing19 = "enable")) || ((data154.server === undefined) && (missing19 = "server"))) || ((data154.tags === undefined) && (missing19 = "tags"))) || ((data154.screenshot === undefined) && (missing19 = "screenshot"))) || ((data154.terms === undefined) && (missing19 = "terms"))) || ((data154.kanji === undefined) && (missing19 = "kanji"))) || ((data154.duplicateScope === undefined) && (missing19 = "duplicateScope"))) || ((data154.duplicateScopeCheckAllModels === undefined) && (missing19 = "duplicateScopeCheckAllModels"))) || ((data154.checkForDuplicates === undefined) && (missing19 = "checkForDuplicates"))) || ((data154.fieldTemplates === undefined) && (missing19 = "fieldTemplates"))) || ((data154.suspendNewCards === undefined) && (missing19 = "suspendNewCards"))) || ((data154.displayTags === undefined) && (missing19 = "displayTags"))) || ((data154.noteGuiMode === undefined) && (missing19 = "noteGuiMode"))) || ((data154.apiKey === undefined) && (missing19 = "apiKey"))) || ((data154.downloadTimeout === undefined) && (missing19 = "downloadTimeout"))){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/anki",schemaPath:"#/properties/profiles/items/properties/options/properties/anki/required",keyword:"required",params:{missingProperty: missing19},message:"must have required property '"+missing19+"'"}];return false;}else {if(data154.enable !== undefined){const _errs312 = errors;if(typeof data154.enable !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/anki/enable",schemaPath:"#/properties/profiles/items/properties/options/properties/anki/properties/enable/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid27 = _errs312 === errors;}else {var valid27 = true;}if(valid27){if(data154.server !== undefined){const _errs314 = errors;if(typeof data154.server !== "string"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/anki/server",schemaPath:"#/properties/profiles/items/properties/options/properties/anki/properties/server/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid27 = _errs314 === errors;}else {var valid27 = true;}if(valid27){if(data154.tags !== undefined){let data157 = data154.tags;const _errs316 = errors;if(errors === _errs316){if(Array.isArray(data157)){var valid28 = true;const len8 = data157.length;for(let i8=0; i8<len8; i8++){const _errs318 = errors;if(typeof data157[i8] !== "string"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/anki/tags/" + i8,schemaPath:"#/properties/profiles/items/properties/options/properties/anki/properties/tags/items/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid28 = _errs318 === errors;if(!valid28){break;}}}else {validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/anki/tags",schemaPath:"#/properties/profiles/items/properties/options/properties/anki/properties/tags/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid27 = _errs316 === errors;}else {var valid27 = true;}if(valid27){if(data154.screenshot !== undefined){let data159 = data154.screenshot;const _errs320 = errors;if(errors === _errs320){if(data159 && typeof data159 == "object" && !Array.isArray(data159)){let missing20;if(((data159.format === undefined) && (missing20 = "format")) || ((data159.quality === undefined) && (missing20 = "quality"))){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/anki/screenshot",schemaPath:"#/properties/profiles/items/properties/options/properties/anki/properties/screenshot/required",keyword:"required",params:{missingProperty: missing20},message:"must have required property '"+missing20+"'"}];return false;}else {if(data159.format !== undefined){let data160 = data159.format;const _errs322 = errors;if(typeof data160 !== "string"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/anki/screenshot/format",schemaPath:"#/properties/profiles/items/properties/options/properties/anki/properties/screenshot/properties/format/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((data160 === "png") || (data160 === "jpeg"))){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/anki/screenshot/format",schemaPath:"#/properties/profiles/items/properties/options/properties/anki/properties/screenshot/properties/format/enum",keyword:"enum",params:{allowedValues: schema33.properties.profiles.items.properties.options.properties.anki.properties.screenshot.properties.format.enum},message:"must be equal to one of the allowed values"}];return false;}var valid29 = _errs322 === errors;}else {var valid29 = true;}if(valid29){if(data159.quality !== undefined){let data161 = data159.quality;const _errs324 = errors;if(!(((typeof data161 == "number") && (!(data161 % 1) && !isNaN(data161))) && (isFinite(data161)))){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/anki/screenshot/quality",schemaPath:"#/properties/profiles/items/properties/options/properties/anki/properties/screenshot/properties/quality/type",keyword:"type",params:{type: "integer"},message:"must be integer"}];return false;}if(errors === _errs324){if((typeof data161 == "number") && (isFinite(data161))){if(data161 > 100 || isNaN(data161)){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/anki/screenshot/quality",schemaPath:"#/properties/profiles/items/properties/options/properties/anki/properties/screenshot/properties/quality/maximum",keyword:"maximum",params:{comparison: "<=", limit: 100},message:"must be <= 100"}];return false;}else {if(data161 < 0 || isNaN(data161)){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/anki/screenshot/quality",schemaPath:"#/properties/profiles/items/properties/options/properties/anki/properties/screenshot/properties/quality/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"}];return false;}}}}var valid29 = _errs324 === errors;}else {var valid29 = true;}}}}else {validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/anki/screenshot",schemaPath:"#/properties/profiles/items/properties/options/properties/anki/properties/screenshot/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid27 = _errs320 === errors;}else {var valid27 = true;}if(valid27){if(data154.terms !== undefined){let data162 = data154.terms;const _errs326 = errors;if(errors === _errs326){if(data162 && typeof data162 == "object" && !Array.isArray(data162)){let missing21;if((((data162.deck === undefined) && (missing21 = "deck")) || ((data162.model === undefined) && (missing21 = "model"))) || ((data162.fields === undefined) && (missing21 = "fields"))){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/anki/terms",schemaPath:"#/properties/profiles/items/properties/options/properties/anki/properties/terms/required",keyword:"required",params:{missingProperty: missing21},message:"must have required property '"+missing21+"'"}];return false;}else {if(data162.deck !== undefined){const _errs328 = errors;if(typeof data162.deck !== "string"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/anki/terms/deck",schemaPath:"#/properties/profiles/items/properties/options/properties/anki/properties/terms/properties/deck/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid30 = _errs328 === errors;}else {var valid30 = true;}if(valid30){if(data162.model !== undefined){const _errs330 = errors;if(typeof data162.model !== "string"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/anki/terms/model",schemaPath:"#/properties/profiles/items/properties/options/properties/anki/properties/terms/properties/model/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid30 = _errs330 === errors;}else {var valid30 = true;}if(valid30){if(data162.fields !== undefined){let data165 = data162.fields;const _errs332 = errors;if(errors === _errs332){if(data165 && typeof data165 == "object" && !Array.isArray(data165)){for(const key1 in data165){const _errs335 = errors;if(typeof data165[key1] !== "string"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/anki/terms/fields/" + key1.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/profiles/items/properties/options/properties/anki/properties/terms/properties/fields/additionalProperties/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid31 = _errs335 === errors;if(!valid31){break;}}}else {validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/anki/terms/fields",schemaPath:"#/properties/profiles/items/properties/options/properties/anki/properties/terms/properties/fields/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid30 = _errs332 === errors;}else {var valid30 = true;}}}}}else {validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/anki/terms",schemaPath:"#/properties/profiles/items/properties/options/properties/anki/properties/terms/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid27 = _errs326 === errors;}else {var valid27 = true;}if(valid27){if(data154.kanji !== undefined){let data167 = data154.kanji;const _errs337 = errors;if(errors === _errs337){if(data167 && typeof data167 == "object" && !Array.isArray(data167)){let missing22;if((((data167.deck === undefined) && (missing22 = "deck")) || ((data167.model === undefined) && (missing22 = "model"))) || ((data167.fields === undefined) && (missing22 = "fields"))){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/anki/kanji",schemaPath:"#/properties/profiles/items/properties/options/properties/anki/properties/kanji/required",keyword:"required",params:{missingProperty: missing22},message:"must have required property '"+missing22+"'"}];return false;}else {if(data167.deck !== undefined){const _errs339 = errors;if(typeof data167.deck !== "string"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/anki/kanji/deck",schemaPath:"#/properties/profiles/items/properties/options/properties/anki/properties/kanji/properties/deck/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid32 = _errs339 === errors;}else {var valid32 = true;}if(valid32){if(data167.model !== undefined){const _errs341 = errors;if(typeof data167.model !== "string"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/anki/kanji/model",schemaPath:"#/properties/profiles/items/properties/options/properties/anki/properties/kanji/properties/model/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid32 = _errs341 === errors;}else {var valid32 = true;}if(valid32){if(data167.fields !== undefined){let data170 = data167.fields;const _errs343 = errors;if(errors === _errs343){if(data170 && typeof data170 == "object" && !Array.isArray(data170)){for(const key2 in data170){const _errs346 = errors;if(typeof data170[key2] !== "string"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/anki/kanji/fields/" + key2.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/profiles/items/properties/options/properties/anki/properties/kanji/properties/fields/additionalProperties/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid33 = _errs346 === errors;if(!valid33){break;}}}else {validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/anki/kanji/fields",schemaPath:"#/properties/profiles/items/properties/options/properties/anki/properties/kanji/properties/fields/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid32 = _errs343 === errors;}else {var valid32 = true;}}}}}else {validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/anki/kanji",schemaPath:"#/properties/profiles/items/properties/options/properties/anki/properties/kanji/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid27 = _errs337 === errors;}else {var valid27 = true;}if(valid27){if(data154.duplicateScope !== undefined){let data172 = data154.duplicateScope;const _errs348 = errors;if(typeof data172 !== "string"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/anki/duplicateScope",schemaPath:"#/properties/profiles/items/properties/options/properties/anki/properties/duplicateScope/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data172 === "collection") || (data172 === "deck")) || (data172 === "deck-root"))){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/anki/duplicateScope",schemaPath:"#/properties/profiles/items/properties/options/properties/anki/properties/duplicateScope/enum",keyword:"enum",params:{allowedValues: schema33.properties.profiles.items.properties.options.properties.anki.properties.duplicateScope.enum},message:"must be equal to one of the allowed values"}];return false;}var valid27 = _errs348 === errors;}else {var valid27 = true;}if(valid27){if(data154.duplicateScopeCheckAllModels !== undefined){const _errs350 = errors;if(typeof data154.duplicateScopeCheckAllModels !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/anki/duplicateScopeCheckAllModels",schemaPath:"#/properties/profiles/items/properties/options/properties/anki/properties/duplicateScopeCheckAllModels/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid27 = _errs350 === errors;}else {var valid27 = true;}if(valid27){if(data154.checkForDuplicates !== undefined){const _errs352 = errors;if(typeof data154.checkForDuplicates !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/anki/checkForDuplicates",schemaPath:"#/properties/profiles/items/properties/options/properties/anki/properties/checkForDuplicates/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid27 = _errs352 === errors;}else {var valid27 = true;}if(valid27){if(data154.duplicateBehavior !== undefined){let data175 = data154.duplicateBehavior;const _errs354 = errors;if(typeof data175 !== "string"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/anki/duplicateBehavior",schemaPath:"#/properties/profiles/items/properties/options/properties/anki/properties/duplicateBehavior/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data175 === "prevent") || (data175 === "overwrite")) || (data175 === "new"))){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/anki/duplicateBehavior",schemaPath:"#/properties/profiles/items/properties/options/properties/anki/properties/duplicateBehavior/enum",keyword:"enum",params:{allowedValues: schema33.properties.profiles.items.properties.options.properties.anki.properties.duplicateBehavior.enum},message:"must be equal to one of the allowed values"}];return false;}var valid27 = _errs354 === errors;}else {var valid27 = true;}if(valid27){if(data154.fieldTemplates !== undefined){let data176 = data154.fieldTemplates;const _errs356 = errors;if((typeof data176 !== "string") && (data176 !== null)){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/anki/fieldTemplates",schemaPath:"#/properties/profiles/items/properties/options/properties/anki/properties/fieldTemplates/type",keyword:"type",params:{type: schema33.properties.profiles.items.properties.options.properties.anki.properties.fieldTemplates.type},message:"must be string,null"}];return false;}var valid27 = _errs356 === errors;}else {var valid27 = true;}if(valid27){if(data154.suspendNewCards !== undefined){const _errs358 = errors;if(typeof data154.suspendNewCards !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/anki/suspendNewCards",schemaPath:"#/properties/profiles/items/properties/options/properties/anki/properties/suspendNewCards/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid27 = _errs358 === errors;}else {var valid27 = true;}if(valid27){if(data154.displayTags !== undefined){let data178 = data154.displayTags;const _errs360 = errors;if(typeof data178 !== "string"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/anki/displayTags",schemaPath:"#/properties/profiles/items/properties/options/properties/anki/properties/displayTags/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data178 === "never") || (data178 === "always")) || (data178 === "non-standard"))){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/anki/displayTags",schemaPath:"#/properties/profiles/items/properties/options/properties/anki/properties/displayTags/enum",keyword:"enum",params:{allowedValues: schema33.properties.profiles.items.properties.options.properties.anki.properties.displayTags.enum},message:"must be equal to one of the allowed values"}];return false;}var valid27 = _errs360 === errors;}else {var valid27 = true;}if(valid27){if(data154.noteGuiMode !== undefined){let data179 = data154.noteGuiMode;const _errs362 = errors;if(typeof data179 !== "string"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/anki/noteGuiMode",schemaPath:"#/properties/profiles/items/properties/options/properties/anki/properties/noteGuiMode/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((data179 === "browse") || (data179 === "edit"))){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/anki/noteGuiMode",schemaPath:"#/properties/profiles/items/properties/options/properties/anki/properties/noteGuiMode/enum",keyword:"enum",params:{allowedValues: schema33.properties.profiles.items.properties.options.properties.anki.properties.noteGuiMode.enum},message:"must be equal to one of the allowed values"}];return false;}var valid27 = _errs362 === errors;}else {var valid27 = true;}if(valid27){if(data154.apiKey !== undefined){const _errs364 = errors;if(typeof data154.apiKey !== "string"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/anki/apiKey",schemaPath:"#/properties/profiles/items/properties/options/properties/anki/properties/apiKey/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid27 = _errs364 === errors;}else {var valid27 = true;}if(valid27){if(data154.downloadTimeout !== undefined){let data181 = data154.downloadTimeout;const _errs366 = errors;if(errors === _errs366){if((typeof data181 == "number") && (isFinite(data181))){if(data181 < 0 || isNaN(data181)){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/anki/downloadTimeout",schemaPath:"#/properties/profiles/items/properties/options/properties/anki/properties/downloadTimeout/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"}];return false;}}else {validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/anki/downloadTimeout",schemaPath:"#/properties/profiles/items/properties/options/properties/anki/properties/downloadTimeout/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}}var valid27 = _errs366 === errors;}else {var valid27 = true;}}}}}}}}}}}}}}}}}}else {validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/anki",schemaPath:"#/properties/profiles/items/properties/options/properties/anki/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid7 = _errs310 === errors;}else {var valid7 = true;}if(valid7){if(data10.sentenceParsing !== undefined){let data182 = data10.sentenceParsing;const _errs368 = errors;if(errors === _errs368){if(data182 && typeof data182 == "object" && !Array.isArray(data182)){let missing23;if((((data182.scanExtent === undefined) && (missing23 = "scanExtent")) || ((data182.terminationCharacterMode === undefined) && (missing23 = "terminationCharacterMode"))) || ((data182.terminationCharacters === undefined) && (missing23 = "terminationCharacters"))){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/sentenceParsing",schemaPath:"#/properties/profiles/items/properties/options/properties/sentenceParsing/required",keyword:"required",params:{missingProperty: missing23},message:"must have required property '"+missing23+"'"}];return false;}else {if(data182.scanExtent !== undefined){let data183 = data182.scanExtent;const _errs370 = errors;if(!(((typeof data183 == "number") && (!(data183 % 1) && !isNaN(data183))) && (isFinite(data183)))){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/sentenceParsing/scanExtent",schemaPath:"#/properties/profiles/items/properties/options/properties/sentenceParsing/properties/scanExtent/type",keyword:"type",params:{type: "integer"},message:"must be integer"}];return false;}if(errors === _errs370){if((typeof data183 == "number") && (isFinite(data183))){if(data183 < 0 || isNaN(data183)){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/sentenceParsing/scanExtent",schemaPath:"#/properties/profiles/items/properties/options/properties/sentenceParsing/properties/scanExtent/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"}];return false;}}}var valid34 = _errs370 === errors;}else {var valid34 = true;}if(valid34){if(data182.terminationCharacterMode !== undefined){let data184 = data182.terminationCharacterMode;const _errs372 = errors;if(typeof data184 !== "string"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/sentenceParsing/terminationCharacterMode",schemaPath:"#/properties/profiles/items/properties/options/properties/sentenceParsing/properties/terminationCharacterMode/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data184 === "custom") || (data184 === "custom-no-newlines")) || (data184 === "newlines")) || (data184 === "none"))){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/sentenceParsing/terminationCharacterMode",schemaPath:"#/properties/profiles/items/properties/options/properties/sentenceParsing/properties/terminationCharacterMode/enum",keyword:"enum",params:{allowedValues: schema33.properties.profiles.items.properties.options.properties.sentenceParsing.properties.terminationCharacterMode.enum},message:"must be equal to one of the allowed values"}];return false;}var valid34 = _errs372 === errors;}else {var valid34 = true;}if(valid34){if(data182.terminationCharacters !== undefined){let data185 = data182.terminationCharacters;const _errs374 = errors;if(errors === _errs374){if(Array.isArray(data185)){var valid35 = true;const len9 = data185.length;for(let i9=0; i9<len9; i9++){let data186 = data185[i9];const _errs376 = errors;if(errors === _errs376){if(data186 && typeof data186 == "object" && !Array.isArray(data186)){let missing24;if((((((data186.enabled === undefined) && (missing24 = "enabled")) || ((data186.character1 === undefined) && (missing24 = "character1"))) || ((data186.character2 === undefined) && (missing24 = "character2"))) || ((data186.includeCharacterAtStart === undefined) && (missing24 = "includeCharacterAtStart"))) || ((data186.includeCharacterAtEnd === undefined) && (missing24 = "includeCharacterAtEnd"))){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/sentenceParsing/terminationCharacters/" + i9,schemaPath:"#/properties/profiles/items/properties/options/properties/sentenceParsing/properties/terminationCharacters/items/required",keyword:"required",params:{missingProperty: missing24},message:"must have required property '"+missing24+"'"}];return false;}else {if(data186.enabled !== undefined){const _errs378 = errors;if(typeof data186.enabled !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/sentenceParsing/terminationCharacters/" + i9+"/enabled",schemaPath:"#/properties/profiles/items/properties/options/properties/sentenceParsing/properties/terminationCharacters/items/properties/enabled/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid36 = _errs378 === errors;}else {var valid36 = true;}if(valid36){if(data186.character1 !== undefined){let data188 = data186.character1;const _errs380 = errors;if(errors === _errs380){if(typeof data188 === "string"){if(func2(data188) > 1){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/sentenceParsing/terminationCharacters/" + i9+"/character1",schemaPath:"#/properties/profiles/items/properties/options/properties/sentenceParsing/properties/terminationCharacters/items/properties/character1/maxLength",keyword:"maxLength",params:{limit: 1},message:"must NOT have more than 1 characters"}];return false;}else {if(func2(data188) < 1){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/sentenceParsing/terminationCharacters/" + i9+"/character1",schemaPath:"#/properties/profiles/items/properties/options/properties/sentenceParsing/properties/terminationCharacters/items/properties/character1/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}}else {validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/sentenceParsing/terminationCharacters/" + i9+"/character1",schemaPath:"#/properties/profiles/items/properties/options/properties/sentenceParsing/properties/terminationCharacters/items/properties/character1/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid36 = _errs380 === errors;}else {var valid36 = true;}if(valid36){if(data186.character2 !== undefined){let data189 = data186.character2;const _errs382 = errors;if((typeof data189 !== "string") && (data189 !== null)){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/sentenceParsing/terminationCharacters/" + i9+"/character2",schemaPath:"#/properties/profiles/items/properties/options/properties/sentenceParsing/properties/terminationCharacters/items/properties/character2/type",keyword:"type",params:{type: schema33.properties.profiles.items.properties.options.properties.sentenceParsing.properties.terminationCharacters.items.properties.character2.type},message:"must be string,null"}];return false;}if(errors === _errs382){if(typeof data189 === "string"){if(func2(data189) > 1){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/sentenceParsing/terminationCharacters/" + i9+"/character2",schemaPath:"#/properties/profiles/items/properties/options/properties/sentenceParsing/properties/terminationCharacters/items/properties/character2/maxLength",keyword:"maxLength",params:{limit: 1},message:"must NOT have more than 1 characters"}];return false;}else {if(func2(data189) < 1){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/sentenceParsing/terminationCharacters/" + i9+"/character2",schemaPath:"#/properties/profiles/items/properties/options/properties/sentenceParsing/properties/terminationCharacters/items/properties/character2/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}}}var valid36 = _errs382 === errors;}else {var valid36 = true;}if(valid36){if(data186.includeCharacterAtStart !== undefined){const _errs384 = errors;if(typeof data186.includeCharacterAtStart !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/sentenceParsing/terminationCharacters/" + i9+"/includeCharacterAtStart",schemaPath:"#/properties/profiles/items/properties/options/properties/sentenceParsing/properties/terminationCharacters/items/properties/includeCharacterAtStart/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid36 = _errs384 === errors;}else {var valid36 = true;}if(valid36){if(data186.includeCharacterAtEnd !== undefined){const _errs386 = errors;if(typeof data186.includeCharacterAtEnd !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/sentenceParsing/terminationCharacters/" + i9+"/includeCharacterAtEnd",schemaPath:"#/properties/profiles/items/properties/options/properties/sentenceParsing/properties/terminationCharacters/items/properties/includeCharacterAtEnd/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid36 = _errs386 === errors;}else {var valid36 = true;}}}}}}}else {validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/sentenceParsing/terminationCharacters/" + i9,schemaPath:"#/properties/profiles/items/properties/options/properties/sentenceParsing/properties/terminationCharacters/items/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid35 = _errs376 === errors;if(!valid35){break;}}}else {validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/sentenceParsing/terminationCharacters",schemaPath:"#/properties/profiles/items/properties/options/properties/sentenceParsing/properties/terminationCharacters/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid34 = _errs374 === errors;}else {var valid34 = true;}}}}}else {validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/sentenceParsing",schemaPath:"#/properties/profiles/items/properties/options/properties/sentenceParsing/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid7 = _errs368 === errors;}else {var valid7 = true;}if(valid7){if(data10.inputs !== undefined){let data192 = data10.inputs;const _errs388 = errors;if(errors === _errs388){if(data192 && typeof data192 == "object" && !Array.isArray(data192)){let missing25;if((data192.hotkeys === undefined) && (missing25 = "hotkeys")){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/inputs",schemaPath:"#/properties/profiles/items/properties/options/properties/inputs/required",keyword:"required",params:{missingProperty: missing25},message:"must have required property '"+missing25+"'"}];return false;}else {if(data192.hotkeys !== undefined){let data193 = data192.hotkeys;const _errs390 = errors;if(errors === _errs390){if(Array.isArray(data193)){var valid38 = true;const len10 = data193.length;for(let i10=0; i10<len10; i10++){let data194 = data193[i10];const _errs392 = errors;if(errors === _errs392){if(data194 && typeof data194 == "object" && !Array.isArray(data194)){let missing26;if(((((((data194.action === undefined) && (missing26 = "action")) || ((data194.argument === undefined) && (missing26 = "argument"))) || ((data194.key === undefined) && (missing26 = "key"))) || ((data194.modifiers === undefined) && (missing26 = "modifiers"))) || ((data194.scopes === undefined) && (missing26 = "scopes"))) || ((data194.enabled === undefined) && (missing26 = "enabled"))){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/inputs/hotkeys/" + i10,schemaPath:"#/properties/profiles/items/properties/options/properties/inputs/properties/hotkeys/items/required",keyword:"required",params:{missingProperty: missing26},message:"must have required property '"+missing26+"'"}];return false;}else {if(data194.action !== undefined){const _errs394 = errors;if(typeof data194.action !== "string"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/inputs/hotkeys/" + i10+"/action",schemaPath:"#/properties/profiles/items/properties/options/properties/inputs/properties/hotkeys/items/properties/action/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid39 = _errs394 === errors;}else {var valid39 = true;}if(valid39){if(data194.argument !== undefined){const _errs396 = errors;if(typeof data194.argument !== "string"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/inputs/hotkeys/" + i10+"/argument",schemaPath:"#/properties/profiles/items/properties/options/properties/inputs/properties/hotkeys/items/properties/argument/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid39 = _errs396 === errors;}else {var valid39 = true;}if(valid39){if(data194.key !== undefined){let data197 = data194.key;const _errs398 = errors;if((typeof data197 !== "string") && (data197 !== null)){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/inputs/hotkeys/" + i10+"/key",schemaPath:"#/properties/profiles/items/properties/options/properties/inputs/properties/hotkeys/items/properties/key/type",keyword:"type",params:{type: schema33.properties.profiles.items.properties.options.properties.inputs.properties.hotkeys.items.properties.key.type},message:"must be string,null"}];return false;}var valid39 = _errs398 === errors;}else {var valid39 = true;}if(valid39){if(data194.modifiers !== undefined){let data198 = data194.modifiers;const _errs400 = errors;if(errors === _errs400){if(Array.isArray(data198)){var valid40 = true;const len11 = data198.length;for(let i11=0; i11<len11; i11++){let data199 = data198[i11];const _errs402 = errors;if(typeof data199 !== "string"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/inputs/hotkeys/" + i10+"/modifiers/" + i11,schemaPath:"#/properties/profiles/items/properties/options/properties/inputs/properties/hotkeys/items/properties/modifiers/items/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data199 === "alt") || (data199 === "ctrl")) || (data199 === "shift")) || (data199 === "meta"))){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/inputs/hotkeys/" + i10+"/modifiers/" + i11,schemaPath:"#/properties/profiles/items/properties/options/properties/inputs/properties/hotkeys/items/properties/modifiers/items/enum",keyword:"enum",params:{allowedValues: schema33.properties.profiles.items.properties.options.properties.inputs.properties.hotkeys.items.properties.modifiers.items.enum},message:"must be equal to one of the allowed values"}];return false;}var valid40 = _errs402 === errors;if(!valid40){break;}}}else {validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/inputs/hotkeys/" + i10+"/modifiers",schemaPath:"#/properties/profiles/items/properties/options/properties/inputs/properties/hotkeys/items/properties/modifiers/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid39 = _errs400 === errors;}else {var valid39 = true;}if(valid39){if(data194.scopes !== undefined){let data200 = data194.scopes;const _errs404 = errors;if(errors === _errs404){if(Array.isArray(data200)){var valid41 = true;const len12 = data200.length;for(let i12=0; i12<len12; i12++){let data201 = data200[i12];const _errs406 = errors;if(typeof data201 !== "string"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/inputs/hotkeys/" + i10+"/scopes/" + i12,schemaPath:"#/properties/profiles/items/properties/options/properties/inputs/properties/hotkeys/items/properties/scopes/items/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data201 === "popup") || (data201 === "search")) || (data201 === "web"))){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/inputs/hotkeys/" + i10+"/scopes/" + i12,schemaPath:"#/properties/profiles/items/properties/options/properties/inputs/properties/hotkeys/items/properties/scopes/items/enum",keyword:"enum",params:{allowedValues: schema33.properties.profiles.items.properties.options.properties.inputs.properties.hotkeys.items.properties.scopes.items.enum},message:"must be equal to one of the allowed values"}];return false;}var valid41 = _errs406 === errors;if(!valid41){break;}}}else {validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/inputs/hotkeys/" + i10+"/scopes",schemaPath:"#/properties/profiles/items/properties/options/properties/inputs/properties/hotkeys/items/properties/scopes/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid39 = _errs404 === errors;}else {var valid39 = true;}if(valid39){if(data194.enabled !== undefined){const _errs408 = errors;if(typeof data194.enabled !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/inputs/hotkeys/" + i10+"/enabled",schemaPath:"#/properties/profiles/items/properties/options/properties/inputs/properties/hotkeys/items/properties/enabled/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid39 = _errs408 === errors;}else {var valid39 = true;}}}}}}}}else {validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/inputs/hotkeys/" + i10,schemaPath:"#/properties/profiles/items/properties/options/properties/inputs/properties/hotkeys/items/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid38 = _errs392 === errors;if(!valid38){break;}}}else {validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/inputs/hotkeys",schemaPath:"#/properties/profiles/items/properties/options/properties/inputs/properties/hotkeys/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}}}}else {validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/inputs",schemaPath:"#/properties/profiles/items/properties/options/properties/inputs/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid7 = _errs388 === errors;}else {var valid7 = true;}if(valid7){if(data10.clipboard !== undefined){let data203 = data10.clipboard;const _errs410 = errors;if(errors === _errs410){if(data203 && typeof data203 == "object" && !Array.isArray(data203)){let missing27;if(((((data203.enableBackgroundMonitor === undefined) && (missing27 = "enableBackgroundMonitor")) || ((data203.enableSearchPageMonitor === undefined) && (missing27 = "enableSearchPageMonitor"))) || ((data203.autoSearchContent === undefined) && (missing27 = "autoSearchContent"))) || ((data203.maximumSearchLength === undefined) && (missing27 = "maximumSearchLength"))){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/clipboard",schemaPath:"#/properties/profiles/items/properties/options/properties/clipboard/required",keyword:"required",params:{missingProperty: missing27},message:"must have required property '"+missing27+"'"}];return false;}else {if(data203.enableBackgroundMonitor !== undefined){const _errs412 = errors;if(typeof data203.enableBackgroundMonitor !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/clipboard/enableBackgroundMonitor",schemaPath:"#/properties/profiles/items/properties/options/properties/clipboard/properties/enableBackgroundMonitor/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid42 = _errs412 === errors;}else {var valid42 = true;}if(valid42){if(data203.enableSearchPageMonitor !== undefined){const _errs414 = errors;if(typeof data203.enableSearchPageMonitor !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/clipboard/enableSearchPageMonitor",schemaPath:"#/properties/profiles/items/properties/options/properties/clipboard/properties/enableSearchPageMonitor/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid42 = _errs414 === errors;}else {var valid42 = true;}if(valid42){if(data203.autoSearchContent !== undefined){const _errs416 = errors;if(typeof data203.autoSearchContent !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/clipboard/autoSearchContent",schemaPath:"#/properties/profiles/items/properties/options/properties/clipboard/properties/autoSearchContent/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid42 = _errs416 === errors;}else {var valid42 = true;}if(valid42){if(data203.maximumSearchLength !== undefined){let data207 = data203.maximumSearchLength;const _errs418 = errors;if(!(((typeof data207 == "number") && (!(data207 % 1) && !isNaN(data207))) && (isFinite(data207)))){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/clipboard/maximumSearchLength",schemaPath:"#/properties/profiles/items/properties/options/properties/clipboard/properties/maximumSearchLength/type",keyword:"type",params:{type: "integer"},message:"must be integer"}];return false;}if(errors === _errs418){if((typeof data207 == "number") && (isFinite(data207))){if(data207 < 0 || isNaN(data207)){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/clipboard/maximumSearchLength",schemaPath:"#/properties/profiles/items/properties/options/properties/clipboard/properties/maximumSearchLength/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"}];return false;}}}var valid42 = _errs418 === errors;}else {var valid42 = true;}}}}}}else {validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/clipboard",schemaPath:"#/properties/profiles/items/properties/options/properties/clipboard/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid7 = _errs410 === errors;}else {var valid7 = true;}if(valid7){if(data10.accessibility !== undefined){let data208 = data10.accessibility;const _errs420 = errors;if(errors === _errs420){if(data208 && typeof data208 == "object" && !Array.isArray(data208)){let missing28;if((data208.forceGoogleDocsHtmlRendering === undefined) && (missing28 = "forceGoogleDocsHtmlRendering")){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/accessibility",schemaPath:"#/properties/profiles/items/properties/options/properties/accessibility/required",keyword:"required",params:{missingProperty: missing28},message:"must have required property '"+missing28+"'"}];return false;}else {if(data208.forceGoogleDocsHtmlRendering !== undefined){if(typeof data208.forceGoogleDocsHtmlRendering !== "boolean"){validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/accessibility/forceGoogleDocsHtmlRendering",schemaPath:"#/properties/profiles/items/properties/options/properties/accessibility/properties/forceGoogleDocsHtmlRendering/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}}}}else {validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options/accessibility",schemaPath:"#/properties/profiles/items/properties/options/properties/accessibility/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid7 = _errs420 === errors;}else {var valid7 = true;}}}}}}}}}}}}}}else {validate21.errors = [{instancePath:instancePath+"/profiles/" + i0+"/options",schemaPath:"#/properties/profiles/items/properties/options/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid2 = _errs21 === errors;}else {var valid2 = true;}}}}}else {validate21.errors = [{instancePath:instancePath+"/profiles/" + i0,schemaPath:"#/properties/profiles/items/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid1 = _errs5 === errors;if(!valid1){break;}}}}else {validate21.errors = [{instancePath:instancePath+"/profiles",schemaPath:"#/properties/profiles/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid0 = _errs3 === errors;}else {var valid0 = true;}if(valid0){if(data.profileCurrent !== undefined){let data210 = data.profileCurrent;const _errs424 = errors;if(!(((typeof data210 == "number") && (!(data210 % 1) && !isNaN(data210))) && (isFinite(data210)))){validate21.errors = [{instancePath:instancePath+"/profileCurrent",schemaPath:"#/properties/profileCurrent/type",keyword:"type",params:{type: "integer"},message:"must be integer"}];return false;}if(errors === _errs424){if((typeof data210 == "number") && (isFinite(data210))){if(data210 < 0 || isNaN(data210)){validate21.errors = [{instancePath:instancePath+"/profileCurrent",schemaPath:"#/properties/profileCurrent/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"}];return false;}}}var valid0 = _errs424 === errors;}else {var valid0 = true;}if(valid0){if(data.global !== undefined){let data211 = data.global;const _errs426 = errors;if(errors === _errs426){if(data211 && typeof data211 == "object" && !Array.isArray(data211)){let missing29;if((data211.database === undefined) && (missing29 = "database")){validate21.errors = [{instancePath:instancePath+"/global",schemaPath:"#/properties/global/required",keyword:"required",params:{missingProperty: missing29},message:"must have required property '"+missing29+"'"}];return false;}else {if(data211.database !== undefined){let data212 = data211.database;const _errs428 = errors;if(errors === _errs428){if(data212 && typeof data212 == "object" && !Array.isArray(data212)){let missing30;if((data212.prefixWildcardsSupported === undefined) && (missing30 = "prefixWildcardsSupported")){validate21.errors = [{instancePath:instancePath+"/global/database",schemaPath:"#/properties/global/properties/database/required",keyword:"required",params:{missingProperty: missing30},message:"must have required property '"+missing30+"'"}];return false;}else {if(data212.prefixWildcardsSupported !== undefined){if(typeof data212.prefixWildcardsSupported !== "boolean"){validate21.errors = [{instancePath:instancePath+"/global/database/prefixWildcardsSupported",schemaPath:"#/properties/global/properties/database/properties/prefixWildcardsSupported/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}}}}else {validate21.errors = [{instancePath:instancePath+"/global/database",schemaPath:"#/properties/global/properties/database/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}}}}else {validate21.errors = [{instancePath:instancePath+"/global",schemaPath:"#/properties/global/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs426 === errors;}else {var valid0 = true;}}}}}}else {validate21.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate21.errors = vErrors;return errors === 0;}export const recommendedDictionaries = validate22;const schema34 = {"$id":"recommendedDictionaries","$schema":"http://json-schema.org/draft-07/schema#","description":"Contains data for recommended dictionaries on welcome page.","type":"object","patternProperties":{"^.{2,}$":{"type":"object","properties":{"terms":{"type":"array","items":{"type":"object","required":["name","downloadUrl","description"],"properties":{"name":{"type":"string","minLength":2},"downloadUrl":{"type":"string","minLength":2},"description":{"type":"string","minLength":2},"homepage":{"type":"string","minLength":2}}}},"kanji":{"type":"array","items":{"type":"object","required":["name","downloadUrl","description"],"properties":{"name":{"type":"string","minLength":2},"downloadUrl":{"type":"string","minLength":2},"description":{"type":"string","minLength":2},"homepage":{"type":"string","minLength":2}}}},"frequency":{"type":"array","items":{"type":"object","required":["name","downloadUrl","description"],"properties":{"name":{"type":"string","minLength":2},"downloadUrl":{"type":"string","minLength":2},"description":{"type":"string","minLength":2},"homepage":{"type":"string","minLength":2}}}},"grammar":{"type":"array","items":{"type":"object","required":["name","downloadUrl","description"],"properties":{"name":{"type":"string","minLength":2},"downloadUrl":{"type":"string","minLength":2},"description":{"type":"string","minLength":2},"homepage":{"type":"string","minLength":2}}}},"pronunciation":{"type":"array","items":{"type":"object","required":["name","downloadUrl","description"],"properties":{"name":{"type":"string","minLength":2},"downloadUrl":{"type":"string","minLength":2},"description":{"type":"string","minLength":2},"homepage":{"type":"string","minLength":2}}}}},"required":["terms","kanji","frequency","grammar"],"additionalProperties":false}}};const pattern3 = new RegExp("^.{2,}$", "u");function validate22(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){/*# sourceURL="recommendedDictionaries" */;let vErrors = null;let errors = 0;if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){var valid0 = true;for(const key0 in data){if(pattern3.test(key0)){let data0 = data[key0];const _errs1 = errors;if(errors === _errs1){if(data0 && typeof data0 == "object" && !Array.isArray(data0)){let missing0;if(((((data0.terms === undefined) && (missing0 = "terms")) || ((data0.kanji === undefined) && (missing0 = "kanji"))) || ((data0.frequency === undefined) && (missing0 = "frequency"))) || ((data0.grammar === undefined) && (missing0 = "grammar"))){validate22.errors = [{instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/patternProperties/%5E.%7B2%2C%7D%24/required",keyword:"required",params:{missingProperty: missing0},message:"must have required property '"+missing0+"'"}];return false;}else {const _errs3 = errors;for(const key1 in data0){if(!(((((key1 === "terms") || (key1 === "kanji")) || (key1 === "frequency")) || (key1 === "grammar")) || (key1 === "pronunciation"))){validate22.errors = [{instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/patternProperties/%5E.%7B2%2C%7D%24/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key1},message:"must NOT have additional properties"}];return false;break;}}if(_errs3 === errors){if(data0.terms !== undefined){let data1 = data0.terms;const _errs4 = errors;if(errors === _errs4){if(Array.isArray(data1)){var valid2 = true;const len0 = data1.length;for(let i0=0; i0<len0; i0++){let data2 = data1[i0];const _errs6 = errors;if(errors === _errs6){if(data2 && typeof data2 == "object" && !Array.isArray(data2)){let missing1;if((((data2.name === undefined) && (missing1 = "name")) || ((data2.downloadUrl === undefined) && (missing1 = "downloadUrl"))) || ((data2.description === undefined) && (missing1 = "description"))){validate22.errors = [{instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/terms/" + i0,schemaPath:"#/patternProperties/%5E.%7B2%2C%7D%24/properties/terms/items/required",keyword:"required",params:{missingProperty: missing1},message:"must have required property '"+missing1+"'"}];return false;}else {if(data2.name !== undefined){let data3 = data2.name;const _errs8 = errors;if(errors === _errs8){if(typeof data3 === "string"){if(func2(data3) < 2){validate22.errors = [{instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/terms/" + i0+"/name",schemaPath:"#/patternProperties/%5E.%7B2%2C%7D%24/properties/terms/items/properties/name/minLength",keyword:"minLength",params:{limit: 2},message:"must NOT have fewer than 2 characters"}];return false;}}else {validate22.errors = [{instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/terms/" + i0+"/name",schemaPath:"#/patternProperties/%5E.%7B2%2C%7D%24/properties/terms/items/properties/name/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid3 = _errs8 === errors;}else {var valid3 = true;}if(valid3){if(data2.downloadUrl !== undefined){let data4 = data2.downloadUrl;const _errs10 = errors;if(errors === _errs10){if(typeof data4 === "string"){if(func2(data4) < 2){validate22.errors = [{instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/terms/" + i0+"/downloadUrl",schemaPath:"#/patternProperties/%5E.%7B2%2C%7D%24/properties/terms/items/properties/downloadUrl/minLength",keyword:"minLength",params:{limit: 2},message:"must NOT have fewer than 2 characters"}];return false;}}else {validate22.errors = [{instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/terms/" + i0+"/downloadUrl",schemaPath:"#/patternProperties/%5E.%7B2%2C%7D%24/properties/terms/items/properties/downloadUrl/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid3 = _errs10 === errors;}else {var valid3 = true;}if(valid3){if(data2.description !== undefined){let data5 = data2.description;const _errs12 = errors;if(errors === _errs12){if(typeof data5 === "string"){if(func2(data5) < 2){validate22.errors = [{instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/terms/" + i0+"/description",schemaPath:"#/patternProperties/%5E.%7B2%2C%7D%24/properties/terms/items/properties/description/minLength",keyword:"minLength",params:{limit: 2},message:"must NOT have fewer than 2 characters"}];return false;}}else {validate22.errors = [{instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/terms/" + i0+"/description",schemaPath:"#/patternProperties/%5E.%7B2%2C%7D%24/properties/terms/items/properties/description/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid3 = _errs12 === errors;}else {var valid3 = true;}if(valid3){if(data2.homepage !== undefined){let data6 = data2.homepage;const _errs14 = errors;if(errors === _errs14){if(typeof data6 === "string"){if(func2(data6) < 2){validate22.errors = [{instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/terms/" + i0+"/homepage",schemaPath:"#/patternProperties/%5E.%7B2%2C%7D%24/properties/terms/items/properties/homepage/minLength",keyword:"minLength",params:{limit: 2},message:"must NOT have fewer than 2 characters"}];return false;}}else {validate22.errors = [{instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/terms/" + i0+"/homepage",schemaPath:"#/patternProperties/%5E.%7B2%2C%7D%24/properties/terms/items/properties/homepage/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid3 = _errs14 === errors;}else {var valid3 = true;}}}}}}else {validate22.errors = [{instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/terms/" + i0,schemaPath:"#/patternProperties/%5E.%7B2%2C%7D%24/properties/terms/items/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid2 = _errs6 === errors;if(!valid2){break;}}}else {validate22.errors = [{instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/terms",schemaPath:"#/patternProperties/%5E.%7B2%2C%7D%24/properties/terms/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid1 = _errs4 === errors;}else {var valid1 = true;}if(valid1){if(data0.kanji !== undefined){let data7 = data0.kanji;const _errs16 = errors;if(errors === _errs16){if(Array.isArray(data7)){var valid4 = true;const len1 = data7.length;for(let i1=0; i1<len1; i1++){let data8 = data7[i1];const _errs18 = errors;if(errors === _errs18){if(data8 && typeof data8 == "object" && !Array.isArray(data8)){let missing2;if((((data8.name === undefined) && (missing2 = "name")) || ((data8.downloadUrl === undefined) && (missing2 = "downloadUrl"))) || ((data8.description === undefined) && (missing2 = "description"))){validate22.errors = [{instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/kanji/" + i1,schemaPath:"#/patternProperties/%5E.%7B2%2C%7D%24/properties/kanji/items/required",keyword:"required",params:{missingProperty: missing2},message:"must have required property '"+missing2+"'"}];return false;}else {if(data8.name !== undefined){let data9 = data8.name;const _errs20 = errors;if(errors === _errs20){if(typeof data9 === "string"){if(func2(data9) < 2){validate22.errors = [{instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/kanji/" + i1+"/name",schemaPath:"#/patternProperties/%5E.%7B2%2C%7D%24/properties/kanji/items/properties/name/minLength",keyword:"minLength",params:{limit: 2},message:"must NOT have fewer than 2 characters"}];return false;}}else {validate22.errors = [{instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/kanji/" + i1+"/name",schemaPath:"#/patternProperties/%5E.%7B2%2C%7D%24/properties/kanji/items/properties/name/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid5 = _errs20 === errors;}else {var valid5 = true;}if(valid5){if(data8.downloadUrl !== undefined){let data10 = data8.downloadUrl;const _errs22 = errors;if(errors === _errs22){if(typeof data10 === "string"){if(func2(data10) < 2){validate22.errors = [{instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/kanji/" + i1+"/downloadUrl",schemaPath:"#/patternProperties/%5E.%7B2%2C%7D%24/properties/kanji/items/properties/downloadUrl/minLength",keyword:"minLength",params:{limit: 2},message:"must NOT have fewer than 2 characters"}];return false;}}else {validate22.errors = [{instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/kanji/" + i1+"/downloadUrl",schemaPath:"#/patternProperties/%5E.%7B2%2C%7D%24/properties/kanji/items/properties/downloadUrl/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid5 = _errs22 === errors;}else {var valid5 = true;}if(valid5){if(data8.description !== undefined){let data11 = data8.description;const _errs24 = errors;if(errors === _errs24){if(typeof data11 === "string"){if(func2(data11) < 2){validate22.errors = [{instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/kanji/" + i1+"/description",schemaPath:"#/patternProperties/%5E.%7B2%2C%7D%24/properties/kanji/items/properties/description/minLength",keyword:"minLength",params:{limit: 2},message:"must NOT have fewer than 2 characters"}];return false;}}else {validate22.errors = [{instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/kanji/" + i1+"/description",schemaPath:"#/patternProperties/%5E.%7B2%2C%7D%24/properties/kanji/items/properties/description/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid5 = _errs24 === errors;}else {var valid5 = true;}if(valid5){if(data8.homepage !== undefined){let data12 = data8.homepage;const _errs26 = errors;if(errors === _errs26){if(typeof data12 === "string"){if(func2(data12) < 2){validate22.errors = [{instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/kanji/" + i1+"/homepage",schemaPath:"#/patternProperties/%5E.%7B2%2C%7D%24/properties/kanji/items/properties/homepage/minLength",keyword:"minLength",params:{limit: 2},message:"must NOT have fewer than 2 characters"}];return false;}}else {validate22.errors = [{instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/kanji/" + i1+"/homepage",schemaPath:"#/patternProperties/%5E.%7B2%2C%7D%24/properties/kanji/items/properties/homepage/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid5 = _errs26 === errors;}else {var valid5 = true;}}}}}}else {validate22.errors = [{instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/kanji/" + i1,schemaPath:"#/patternProperties/%5E.%7B2%2C%7D%24/properties/kanji/items/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid4 = _errs18 === errors;if(!valid4){break;}}}else {validate22.errors = [{instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/kanji",schemaPath:"#/patternProperties/%5E.%7B2%2C%7D%24/properties/kanji/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid1 = _errs16 === errors;}else {var valid1 = true;}if(valid1){if(data0.frequency !== undefined){let data13 = data0.frequency;const _errs28 = errors;if(errors === _errs28){if(Array.isArray(data13)){var valid6 = true;const len2 = data13.length;for(let i2=0; i2<len2; i2++){let data14 = data13[i2];const _errs30 = errors;if(errors === _errs30){if(data14 && typeof data14 == "object" && !Array.isArray(data14)){let missing3;if((((data14.name === undefined) && (missing3 = "name")) || ((data14.downloadUrl === undefined) && (missing3 = "downloadUrl"))) || ((data14.description === undefined) && (missing3 = "description"))){validate22.errors = [{instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/frequency/" + i2,schemaPath:"#/patternProperties/%5E.%7B2%2C%7D%24/properties/frequency/items/required",keyword:"required",params:{missingProperty: missing3},message:"must have required property '"+missing3+"'"}];return false;}else {if(data14.name !== undefined){let data15 = data14.name;const _errs32 = errors;if(errors === _errs32){if(typeof data15 === "string"){if(func2(data15) < 2){validate22.errors = [{instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/frequency/" + i2+"/name",schemaPath:"#/patternProperties/%5E.%7B2%2C%7D%24/properties/frequency/items/properties/name/minLength",keyword:"minLength",params:{limit: 2},message:"must NOT have fewer than 2 characters"}];return false;}}else {validate22.errors = [{instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/frequency/" + i2+"/name",schemaPath:"#/patternProperties/%5E.%7B2%2C%7D%24/properties/frequency/items/properties/name/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid7 = _errs32 === errors;}else {var valid7 = true;}if(valid7){if(data14.downloadUrl !== undefined){let data16 = data14.downloadUrl;const _errs34 = errors;if(errors === _errs34){if(typeof data16 === "string"){if(func2(data16) < 2){validate22.errors = [{instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/frequency/" + i2+"/downloadUrl",schemaPath:"#/patternProperties/%5E.%7B2%2C%7D%24/properties/frequency/items/properties/downloadUrl/minLength",keyword:"minLength",params:{limit: 2},message:"must NOT have fewer than 2 characters"}];return false;}}else {validate22.errors = [{instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/frequency/" + i2+"/downloadUrl",schemaPath:"#/patternProperties/%5E.%7B2%2C%7D%24/properties/frequency/items/properties/downloadUrl/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid7 = _errs34 === errors;}else {var valid7 = true;}if(valid7){if(data14.description !== undefined){let data17 = data14.description;const _errs36 = errors;if(errors === _errs36){if(typeof data17 === "string"){if(func2(data17) < 2){validate22.errors = [{instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/frequency/" + i2+"/description",schemaPath:"#/patternProperties/%5E.%7B2%2C%7D%24/properties/frequency/items/properties/description/minLength",keyword:"minLength",params:{limit: 2},message:"must NOT have fewer than 2 characters"}];return false;}}else {validate22.errors = [{instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/frequency/" + i2+"/description",schemaPath:"#/patternProperties/%5E.%7B2%2C%7D%24/properties/frequency/items/properties/description/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid7 = _errs36 === errors;}else {var valid7 = true;}if(valid7){if(data14.homepage !== undefined){let data18 = data14.homepage;const _errs38 = errors;if(errors === _errs38){if(typeof data18 === "string"){if(func2(data18) < 2){validate22.errors = [{instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/frequency/" + i2+"/homepage",schemaPath:"#/patternProperties/%5E.%7B2%2C%7D%24/properties/frequency/items/properties/homepage/minLength",keyword:"minLength",params:{limit: 2},message:"must NOT have fewer than 2 characters"}];return false;}}else {validate22.errors = [{instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/frequency/" + i2+"/homepage",schemaPath:"#/patternProperties/%5E.%7B2%2C%7D%24/properties/frequency/items/properties/homepage/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid7 = _errs38 === errors;}else {var valid7 = true;}}}}}}else {validate22.errors = [{instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/frequency/" + i2,schemaPath:"#/patternProperties/%5E.%7B2%2C%7D%24/properties/frequency/items/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid6 = _errs30 === errors;if(!valid6){break;}}}else {validate22.errors = [{instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/frequency",schemaPath:"#/patternProperties/%5E.%7B2%2C%7D%24/properties/frequency/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid1 = _errs28 === errors;}else {var valid1 = true;}if(valid1){if(data0.grammar !== undefined){let data19 = data0.grammar;const _errs40 = errors;if(errors === _errs40){if(Array.isArray(data19)){var valid8 = true;const len3 = data19.length;for(let i3=0; i3<len3; i3++){let data20 = data19[i3];const _errs42 = errors;if(errors === _errs42){if(data20 && typeof data20 == "object" && !Array.isArray(data20)){let missing4;if((((data20.name === undefined) && (missing4 = "name")) || ((data20.downloadUrl === undefined) && (missing4 = "downloadUrl"))) || ((data20.description === undefined) && (missing4 = "description"))){validate22.errors = [{instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/grammar/" + i3,schemaPath:"#/patternProperties/%5E.%7B2%2C%7D%24/properties/grammar/items/required",keyword:"required",params:{missingProperty: missing4},message:"must have required property '"+missing4+"'"}];return false;}else {if(data20.name !== undefined){let data21 = data20.name;const _errs44 = errors;if(errors === _errs44){if(typeof data21 === "string"){if(func2(data21) < 2){validate22.errors = [{instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/grammar/" + i3+"/name",schemaPath:"#/patternProperties/%5E.%7B2%2C%7D%24/properties/grammar/items/properties/name/minLength",keyword:"minLength",params:{limit: 2},message:"must NOT have fewer than 2 characters"}];return false;}}else {validate22.errors = [{instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/grammar/" + i3+"/name",schemaPath:"#/patternProperties/%5E.%7B2%2C%7D%24/properties/grammar/items/properties/name/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid9 = _errs44 === errors;}else {var valid9 = true;}if(valid9){if(data20.downloadUrl !== undefined){let data22 = data20.downloadUrl;const _errs46 = errors;if(errors === _errs46){if(typeof data22 === "string"){if(func2(data22) < 2){validate22.errors = [{instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/grammar/" + i3+"/downloadUrl",schemaPath:"#/patternProperties/%5E.%7B2%2C%7D%24/properties/grammar/items/properties/downloadUrl/minLength",keyword:"minLength",params:{limit: 2},message:"must NOT have fewer than 2 characters"}];return false;}}else {validate22.errors = [{instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/grammar/" + i3+"/downloadUrl",schemaPath:"#/patternProperties/%5E.%7B2%2C%7D%24/properties/grammar/items/properties/downloadUrl/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid9 = _errs46 === errors;}else {var valid9 = true;}if(valid9){if(data20.description !== undefined){let data23 = data20.description;const _errs48 = errors;if(errors === _errs48){if(typeof data23 === "string"){if(func2(data23) < 2){validate22.errors = [{instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/grammar/" + i3+"/description",schemaPath:"#/patternProperties/%5E.%7B2%2C%7D%24/properties/grammar/items/properties/description/minLength",keyword:"minLength",params:{limit: 2},message:"must NOT have fewer than 2 characters"}];return false;}}else {validate22.errors = [{instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/grammar/" + i3+"/description",schemaPath:"#/patternProperties/%5E.%7B2%2C%7D%24/properties/grammar/items/properties/description/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid9 = _errs48 === errors;}else {var valid9 = true;}if(valid9){if(data20.homepage !== undefined){let data24 = data20.homepage;const _errs50 = errors;if(errors === _errs50){if(typeof data24 === "string"){if(func2(data24) < 2){validate22.errors = [{instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/grammar/" + i3+"/homepage",schemaPath:"#/patternProperties/%5E.%7B2%2C%7D%24/properties/grammar/items/properties/homepage/minLength",keyword:"minLength",params:{limit: 2},message:"must NOT have fewer than 2 characters"}];return false;}}else {validate22.errors = [{instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/grammar/" + i3+"/homepage",schemaPath:"#/patternProperties/%5E.%7B2%2C%7D%24/properties/grammar/items/properties/homepage/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid9 = _errs50 === errors;}else {var valid9 = true;}}}}}}else {validate22.errors = [{instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/grammar/" + i3,schemaPath:"#/patternProperties/%5E.%7B2%2C%7D%24/properties/grammar/items/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid8 = _errs42 === errors;if(!valid8){break;}}}else {validate22.errors = [{instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/grammar",schemaPath:"#/patternProperties/%5E.%7B2%2C%7D%24/properties/grammar/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid1 = _errs40 === errors;}else {var valid1 = true;}if(valid1){if(data0.pronunciation !== undefined){let data25 = data0.pronunciation;const _errs52 = errors;if(errors === _errs52){if(Array.isArray(data25)){var valid10 = true;const len4 = data25.length;for(let i4=0; i4<len4; i4++){let data26 = data25[i4];const _errs54 = errors;if(errors === _errs54){if(data26 && typeof data26 == "object" && !Array.isArray(data26)){let missing5;if((((data26.name === undefined) && (missing5 = "name")) || ((data26.downloadUrl === undefined) && (missing5 = "downloadUrl"))) || ((data26.description === undefined) && (missing5 = "description"))){validate22.errors = [{instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/pronunciation/" + i4,schemaPath:"#/patternProperties/%5E.%7B2%2C%7D%24/properties/pronunciation/items/required",keyword:"required",params:{missingProperty: missing5},message:"must have required property '"+missing5+"'"}];return false;}else {if(data26.name !== undefined){let data27 = data26.name;const _errs56 = errors;if(errors === _errs56){if(typeof data27 === "string"){if(func2(data27) < 2){validate22.errors = [{instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/pronunciation/" + i4+"/name",schemaPath:"#/patternProperties/%5E.%7B2%2C%7D%24/properties/pronunciation/items/properties/name/minLength",keyword:"minLength",params:{limit: 2},message:"must NOT have fewer than 2 characters"}];return false;}}else {validate22.errors = [{instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/pronunciation/" + i4+"/name",schemaPath:"#/patternProperties/%5E.%7B2%2C%7D%24/properties/pronunciation/items/properties/name/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid11 = _errs56 === errors;}else {var valid11 = true;}if(valid11){if(data26.downloadUrl !== undefined){let data28 = data26.downloadUrl;const _errs58 = errors;if(errors === _errs58){if(typeof data28 === "string"){if(func2(data28) < 2){validate22.errors = [{instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/pronunciation/" + i4+"/downloadUrl",schemaPath:"#/patternProperties/%5E.%7B2%2C%7D%24/properties/pronunciation/items/properties/downloadUrl/minLength",keyword:"minLength",params:{limit: 2},message:"must NOT have fewer than 2 characters"}];return false;}}else {validate22.errors = [{instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/pronunciation/" + i4+"/downloadUrl",schemaPath:"#/patternProperties/%5E.%7B2%2C%7D%24/properties/pronunciation/items/properties/downloadUrl/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid11 = _errs58 === errors;}else {var valid11 = true;}if(valid11){if(data26.description !== undefined){let data29 = data26.description;const _errs60 = errors;if(errors === _errs60){if(typeof data29 === "string"){if(func2(data29) < 2){validate22.errors = [{instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/pronunciation/" + i4+"/description",schemaPath:"#/patternProperties/%5E.%7B2%2C%7D%24/properties/pronunciation/items/properties/description/minLength",keyword:"minLength",params:{limit: 2},message:"must NOT have fewer than 2 characters"}];return false;}}else {validate22.errors = [{instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/pronunciation/" + i4+"/description",schemaPath:"#/patternProperties/%5E.%7B2%2C%7D%24/properties/pronunciation/items/properties/description/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid11 = _errs60 === errors;}else {var valid11 = true;}if(valid11){if(data26.homepage !== undefined){let data30 = data26.homepage;const _errs62 = errors;if(errors === _errs62){if(typeof data30 === "string"){if(func2(data30) < 2){validate22.errors = [{instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/pronunciation/" + i4+"/homepage",schemaPath:"#/patternProperties/%5E.%7B2%2C%7D%24/properties/pronunciation/items/properties/homepage/minLength",keyword:"minLength",params:{limit: 2},message:"must NOT have fewer than 2 characters"}];return false;}}else {validate22.errors = [{instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/pronunciation/" + i4+"/homepage",schemaPath:"#/patternProperties/%5E.%7B2%2C%7D%24/properties/pronunciation/items/properties/homepage/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid11 = _errs62 === errors;}else {var valid11 = true;}}}}}}else {validate22.errors = [{instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/pronunciation/" + i4,schemaPath:"#/patternProperties/%5E.%7B2%2C%7D%24/properties/pronunciation/items/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid10 = _errs54 === errors;if(!valid10){break;}}}else {validate22.errors = [{instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/pronunciation",schemaPath:"#/patternProperties/%5E.%7B2%2C%7D%24/properties/pronunciation/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid1 = _errs52 === errors;}else {var valid1 = true;}}}}}}}}else {validate22.errors = [{instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/patternProperties/%5E.%7B2%2C%7D%24/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs1 === errors;if(!valid0){break;}}}}else {validate22.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate22.errors = vErrors;return errors === 0;}