altair-graphql-core
Version:
Several of the core logic for altair graphql client
1 lines • 64.1 kB
JavaScript
"use strict";module.exports = validate20;module.exports.default = validate20;const schema22 = {"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"definitions":{"MultiResponseStrategy":{"enum":["append","auto","concatenate","patch"],"type":"string"},"Record<string,string>":{"additionalProperties":false,"type":"object"},"RecursivePartial<ITheme>":{"additionalProperties":false,"properties":{"colors":{"$ref":"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>"},"easing":{"type":"string"},"editor":{"$ref":"#/definitions/RecursivePartial<{fontFamily:{default:string;};fontSize:number;colors:{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;};}>"},"isSystem":{"type":"boolean"},"shadow":{"$ref":"#/definitions/RecursivePartial<{color:string;opacity:number;}>"},"type":{"$ref":"#/definitions/RecursivePartial<{fontSize:{base:number;remBase:number;body:number;bodySmaller:number;};fontFamily:{default:string;};}>"}},"type":"object"},"RecursivePartial<{base:number;remBase:number;body:number;bodySmaller:number;}>":{"additionalProperties":false,"properties":{"base":{"type":"number"},"body":{"type":"number"},"bodySmaller":{"type":"number"},"remBase":{"type":"number"}},"type":"object"},"RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>":{"additionalProperties":false,"properties":{"bg":{"type":"string"},"black":{"type":"string"},"blue":{"type":"string"},"border":{"type":"string"},"cerise":{"type":"string"},"darkGray":{"type":"string"},"darkPurple":{"type":"string"},"font":{"type":"string"},"gray":{"type":"string"},"green":{"type":"string"},"headerBg":{"type":"string"},"lightGray":{"type":"string"},"lightRed":{"type":"string"},"offBg":{"type":"string"},"offBorder":{"type":"string"},"offFont":{"type":"string"},"orange":{"type":"string"},"primary":{"type":"string"},"red":{"type":"string"},"rose":{"type":"string"},"secondary":{"type":"string"},"tertiary":{"type":"string"},"white":{"type":"string"},"yellow":{"type":"string"}},"type":"object"},"RecursivePartial<{color:string;opacity:number;}>":{"additionalProperties":false,"properties":{"color":{"type":"string"},"opacity":{"type":"number"}},"type":"object"},"RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>":{"additionalProperties":false,"properties":{"atom":{"type":"string"},"attribute":{"type":"string"},"builtin":{"type":"string"},"comment":{"type":"string"},"cursor":{"type":"string"},"definition":{"type":"string"},"keyword":{"type":"string"},"number":{"type":"string"},"property":{"type":"string"},"punctuation":{"type":"string"},"string":{"type":"string"},"variable":{"type":"string"}},"type":"object"},"RecursivePartial<{default:string;}>":{"additionalProperties":false,"properties":{"default":{"type":"string"}},"type":"object"},"RecursivePartial<{default:string;}>_1":{"additionalProperties":false,"properties":{"default":{"type":"string"}},"type":"object"},"RecursivePartial<{fontFamily:{default:string;};fontSize:number;colors:{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;};}>":{"additionalProperties":false,"properties":{"colors":{"$ref":"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>"},"fontFamily":{"$ref":"#/definitions/RecursivePartial<{default:string;}>_1"},"fontSize":{"type":"number"}},"type":"object"},"RecursivePartial<{fontSize:{base:number;remBase:number;body:number;bodySmaller:number;};fontFamily:{default:string;};}>":{"additionalProperties":false,"properties":{"fontFamily":{"$ref":"#/definitions/RecursivePartial<{default:string;}>"},"fontSize":{"$ref":"#/definitions/RecursivePartial<{base:number;remBase:number;body:number;bodySmaller:number;}>"}},"type":"object"},"SettingsLanguage":{"enum":["cs-CZ","de-DE","en-US","es-ES","fr-FR","it-IT","ja-JP","ko-KR","pl-PL","pt-BR","ro-RO","ru-RU","sr-SP","uk-UA","vi-VN","zh-CN"],"type":"string"}},"properties":{"addQueryDepthLimit":{"description":"Specifies how deep the 'Add query' functionality should go. You can specify any valid positive integer.","type":"number"},"alert.disableUpdateNotification":{"description":"Disable update notification","type":"boolean"},"alert.disableWarnings":{"description":"Disable warning alerts","type":"boolean"},"beta.disable.newEditor":{"description":"Disable new editor beta","type":"boolean"},"beta.disable.newScript":{"description":"Disable new script beta","type":"boolean"},"disableLineNumbers":{"description":"Disable line numbers","type":"boolean"},"disablePushNotification":{"default":false,"description":"Specifies if native push notifications should be disabled","type":"boolean"},"doc.hideDeprecatedItems":{"description":"Hides deprecated Doc items","type":"boolean"},"editor.shortcuts":{"$ref":"#/definitions/Record<string,string>","description":"Contains shortcut to action mapping"},"enableExperimental":{"default":false,"description":"Enable experimental features.\nNote: The features might be unstable","type":"boolean"},"enableTablistScrollbar":{"description":"Enable the scrollbar in the tab list","type":"boolean"},"historyDepth":{"description":"Number of items allowed in history pane","type":"number"},"introspection.options.description":{"description":"Whether to include descriptions in the introspection result","type":"boolean"},"introspection.options.directiveIsRepeatable":{"description":"Whether to include `isRepeatable` flag on directives","type":"boolean"},"introspection.options.inputValueDeprecation":{"description":"Whether target GraphQL server supports deprecation of input values","type":"boolean"},"introspection.options.schemaDescription":{"description":"Whether to include `description` field on schema","type":"boolean"},"introspection.options.specifiedByUrl":{"description":"Whether to include `specifiedByUrl` in the introspection result","type":"boolean"},"language":{"$ref":"#/definitions/SettingsLanguage","description":"Specifies the language"},"plugin.list":{"default":[],"description":"Specifies a list of enabled plugins.\n\nPlugins are specified in a string format `<plugin-source>:<plugin-name>@<version>::[<opt>]->[<opt-value>]`:\n- `<plugin-source>`: The source of the plugin. Can be 'npm', 'url' or 'github'\n- `<plugin-name>` (required): The name of the plugin. Plugin names must begin with `altair-graphql-plugin-`\n- `<version>`: The version of the plugin. If not specified, the latest version will be used\n- `[<opt>]->[<opt-value>]`: Additional configuration for the plugin. This is used when you specify the source as 'url'. In this case, you can specify the URL where the plugin is hosted.","items":{"type":"string"},"type":"array"},"request.withCredentials":{"description":"Send requests with credentials (cookies)","type":"boolean"},"response.hideExtensions":{"description":"Hides extensions object","type":"boolean"},"response.stream.strategy":{"$ref":"#/definitions/MultiResponseStrategy","description":"Determine the handling strategy for multiple responses"},"schema.reload.onEnvChange":{"description":"Reload schema when switching environments","type":"boolean"},"schema.reloadOnStart":{"description":"Reload schema on app start","type":"boolean"},"script.allowedCookies":{"default":[],"description":"List of cookies to be accessible in the pre-request script","items":{"type":"string"},"type":"array"},"tabSize":{"description":"Specifies the tab size for the editor","type":"number"},"theme":{"default":"'system'","description":"Specifies the theme. Themes available by default are 'light', 'dark', 'system', 'dracula'.\nAdditional themes can be added via plugins.","type":"string"},"theme.dark":{"description":"Specifies the theme for dark mode","type":"string"},"theme.editorFontFamily":{"description":"Specifies the font family for the editors. Any valid CSS font family combination can be used here","type":"string"},"theme.editorFontSize":{"description":"Specifies the font size for the editors","type":"number"},"theme.fontsize":{"default":24,"description":"Specifies the base font size","type":"number"},"themeConfig":{"$ref":"#/definitions/RecursivePartial<ITheme>","description":"Specify custom theme config to override the specified theme values"},"themeConfig.dark":{"$ref":"#/definitions/RecursivePartial<ITheme>","description":"Theme config object for dark mode"}},"type":"object"};const schema23 = {"additionalProperties":false,"type":"object"};const schema24 = {"enum":["cs-CZ","de-DE","en-US","es-ES","fr-FR","it-IT","ja-JP","ko-KR","pl-PL","pt-BR","ro-RO","ru-RU","sr-SP","uk-UA","vi-VN","zh-CN"],"type":"string"};const schema25 = {"enum":["append","auto","concatenate","patch"],"type":"string"};const func4 = Object.prototype.hasOwnProperty;const schema26 = {"additionalProperties":false,"properties":{"colors":{"$ref":"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>"},"easing":{"type":"string"},"editor":{"$ref":"#/definitions/RecursivePartial<{fontFamily:{default:string;};fontSize:number;colors:{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;};}>"},"isSystem":{"type":"boolean"},"shadow":{"$ref":"#/definitions/RecursivePartial<{color:string;opacity:number;}>"},"type":{"$ref":"#/definitions/RecursivePartial<{fontSize:{base:number;remBase:number;body:number;bodySmaller:number;};fontFamily:{default:string;};}>"}},"type":"object"};const schema27 = {"additionalProperties":false,"properties":{"bg":{"type":"string"},"black":{"type":"string"},"blue":{"type":"string"},"border":{"type":"string"},"cerise":{"type":"string"},"darkGray":{"type":"string"},"darkPurple":{"type":"string"},"font":{"type":"string"},"gray":{"type":"string"},"green":{"type":"string"},"headerBg":{"type":"string"},"lightGray":{"type":"string"},"lightRed":{"type":"string"},"offBg":{"type":"string"},"offBorder":{"type":"string"},"offFont":{"type":"string"},"orange":{"type":"string"},"primary":{"type":"string"},"red":{"type":"string"},"rose":{"type":"string"},"secondary":{"type":"string"},"tertiary":{"type":"string"},"white":{"type":"string"},"yellow":{"type":"string"}},"type":"object"};const schema31 = {"additionalProperties":false,"properties":{"color":{"type":"string"},"opacity":{"type":"number"}},"type":"object"};const schema28 = {"additionalProperties":false,"properties":{"colors":{"$ref":"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>"},"fontFamily":{"$ref":"#/definitions/RecursivePartial<{default:string;}>_1"},"fontSize":{"type":"number"}},"type":"object"};const schema29 = {"additionalProperties":false,"properties":{"atom":{"type":"string"},"attribute":{"type":"string"},"builtin":{"type":"string"},"comment":{"type":"string"},"cursor":{"type":"string"},"definition":{"type":"string"},"keyword":{"type":"string"},"number":{"type":"string"},"property":{"type":"string"},"punctuation":{"type":"string"},"string":{"type":"string"},"variable":{"type":"string"}},"type":"object"};const schema30 = {"additionalProperties":false,"properties":{"default":{"type":"string"}},"type":"object"};function validate22(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(data && typeof data == "object" && !Array.isArray(data)){for(const key0 in data){if(!(((key0 === "colors") || (key0 === "fontFamily")) || (key0 === "fontSize"))){const err0 = {instancePath,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}}if(data.colors !== undefined){let data0 = data.colors;if(data0 && typeof data0 == "object" && !Array.isArray(data0)){for(const key1 in data0){if(!(func4.call(schema29.properties, key1))){const err1 = {instancePath:instancePath+"/colors",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key1},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}}if(data0.atom !== undefined){if(typeof data0.atom !== "string"){const err2 = {instancePath:instancePath+"/colors/atom",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/atom/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}}if(data0.attribute !== undefined){if(typeof data0.attribute !== "string"){const err3 = {instancePath:instancePath+"/colors/attribute",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/attribute/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}}if(data0.builtin !== undefined){if(typeof data0.builtin !== "string"){const err4 = {instancePath:instancePath+"/colors/builtin",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/builtin/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data0.comment !== undefined){if(typeof data0.comment !== "string"){const err5 = {instancePath:instancePath+"/colors/comment",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/comment/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}}if(data0.cursor !== undefined){if(typeof data0.cursor !== "string"){const err6 = {instancePath:instancePath+"/colors/cursor",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/cursor/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}if(data0.definition !== undefined){if(typeof data0.definition !== "string"){const err7 = {instancePath:instancePath+"/colors/definition",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/definition/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}}if(data0.keyword !== undefined){if(typeof data0.keyword !== "string"){const err8 = {instancePath:instancePath+"/colors/keyword",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/keyword/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}}if(data0.number !== undefined){if(typeof data0.number !== "string"){const err9 = {instancePath:instancePath+"/colors/number",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/number/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}}if(data0.property !== undefined){if(typeof data0.property !== "string"){const err10 = {instancePath:instancePath+"/colors/property",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/property/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}}if(data0.punctuation !== undefined){if(typeof data0.punctuation !== "string"){const err11 = {instancePath:instancePath+"/colors/punctuation",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/punctuation/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err11];}else {vErrors.push(err11);}errors++;}}if(data0.string !== undefined){if(typeof data0.string !== "string"){const err12 = {instancePath:instancePath+"/colors/string",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/string/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err12];}else {vErrors.push(err12);}errors++;}}if(data0.variable !== undefined){if(typeof data0.variable !== "string"){const err13 = {instancePath:instancePath+"/colors/variable",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/variable/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err13];}else {vErrors.push(err13);}errors++;}}}else {const err14 = {instancePath:instancePath+"/colors",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err14];}else {vErrors.push(err14);}errors++;}}if(data.fontFamily !== undefined){let data13 = data.fontFamily;if(data13 && typeof data13 == "object" && !Array.isArray(data13)){for(const key2 in data13){if(!(key2 === "default")){const err15 = {instancePath:instancePath+"/fontFamily",schemaPath:"#/definitions/RecursivePartial<{default:string;}>_1/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key2},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err15];}else {vErrors.push(err15);}errors++;}}if(data13.default !== undefined){if(typeof data13.default !== "string"){const err16 = {instancePath:instancePath+"/fontFamily/default",schemaPath:"#/definitions/RecursivePartial<{default:string;}>_1/properties/default/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err16];}else {vErrors.push(err16);}errors++;}}}else {const err17 = {instancePath:instancePath+"/fontFamily",schemaPath:"#/definitions/RecursivePartial<{default:string;}>_1/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err17];}else {vErrors.push(err17);}errors++;}}if(data.fontSize !== undefined){let data15 = data.fontSize;if(!((typeof data15 == "number") && (isFinite(data15)))){const err18 = {instancePath:instancePath+"/fontSize",schemaPath:"#/properties/fontSize/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err18];}else {vErrors.push(err18);}errors++;}}}else {const err19 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err19];}else {vErrors.push(err19);}errors++;}validate22.errors = vErrors;return errors === 0;}const schema32 = {"additionalProperties":false,"properties":{"fontFamily":{"$ref":"#/definitions/RecursivePartial<{default:string;}>"},"fontSize":{"$ref":"#/definitions/RecursivePartial<{base:number;remBase:number;body:number;bodySmaller:number;}>"}},"type":"object"};const schema33 = {"additionalProperties":false,"properties":{"default":{"type":"string"}},"type":"object"};const schema34 = {"additionalProperties":false,"properties":{"base":{"type":"number"},"body":{"type":"number"},"bodySmaller":{"type":"number"},"remBase":{"type":"number"}},"type":"object"};function validate24(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(data && typeof data == "object" && !Array.isArray(data)){for(const key0 in data){if(!((key0 === "fontFamily") || (key0 === "fontSize"))){const err0 = {instancePath,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}}if(data.fontFamily !== undefined){let data0 = data.fontFamily;if(data0 && typeof data0 == "object" && !Array.isArray(data0)){for(const key1 in data0){if(!(key1 === "default")){const err1 = {instancePath:instancePath+"/fontFamily",schemaPath:"#/definitions/RecursivePartial<{default:string;}>/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key1},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}}if(data0.default !== undefined){if(typeof data0.default !== "string"){const err2 = {instancePath:instancePath+"/fontFamily/default",schemaPath:"#/definitions/RecursivePartial<{default:string;}>/properties/default/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}}}else {const err3 = {instancePath:instancePath+"/fontFamily",schemaPath:"#/definitions/RecursivePartial<{default:string;}>/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}}if(data.fontSize !== undefined){let data2 = data.fontSize;if(data2 && typeof data2 == "object" && !Array.isArray(data2)){for(const key2 in data2){if(!((((key2 === "base") || (key2 === "body")) || (key2 === "bodySmaller")) || (key2 === "remBase"))){const err4 = {instancePath:instancePath+"/fontSize",schemaPath:"#/definitions/RecursivePartial<{base:number;remBase:number;body:number;bodySmaller:number;}>/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key2},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data2.base !== undefined){let data3 = data2.base;if(!((typeof data3 == "number") && (isFinite(data3)))){const err5 = {instancePath:instancePath+"/fontSize/base",schemaPath:"#/definitions/RecursivePartial<{base:number;remBase:number;body:number;bodySmaller:number;}>/properties/base/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}}if(data2.body !== undefined){let data4 = data2.body;if(!((typeof data4 == "number") && (isFinite(data4)))){const err6 = {instancePath:instancePath+"/fontSize/body",schemaPath:"#/definitions/RecursivePartial<{base:number;remBase:number;body:number;bodySmaller:number;}>/properties/body/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}if(data2.bodySmaller !== undefined){let data5 = data2.bodySmaller;if(!((typeof data5 == "number") && (isFinite(data5)))){const err7 = {instancePath:instancePath+"/fontSize/bodySmaller",schemaPath:"#/definitions/RecursivePartial<{base:number;remBase:number;body:number;bodySmaller:number;}>/properties/bodySmaller/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}}if(data2.remBase !== undefined){let data6 = data2.remBase;if(!((typeof data6 == "number") && (isFinite(data6)))){const err8 = {instancePath:instancePath+"/fontSize/remBase",schemaPath:"#/definitions/RecursivePartial<{base:number;remBase:number;body:number;bodySmaller:number;}>/properties/remBase/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}}}else {const err9 = {instancePath:instancePath+"/fontSize",schemaPath:"#/definitions/RecursivePartial<{base:number;remBase:number;body:number;bodySmaller:number;}>/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}}}else {const err10 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}validate24.errors = vErrors;return errors === 0;}function validate21(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(data && typeof data == "object" && !Array.isArray(data)){for(const key0 in data){if(!((((((key0 === "colors") || (key0 === "easing")) || (key0 === "editor")) || (key0 === "isSystem")) || (key0 === "shadow")) || (key0 === "type"))){const err0 = {instancePath,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}}if(data.colors !== undefined){let data0 = data.colors;if(data0 && typeof data0 == "object" && !Array.isArray(data0)){for(const key1 in data0){if(!(func4.call(schema27.properties, key1))){const err1 = {instancePath:instancePath+"/colors",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key1},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}}if(data0.bg !== undefined){if(typeof data0.bg !== "string"){const err2 = {instancePath:instancePath+"/colors/bg",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/bg/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}}if(data0.black !== undefined){if(typeof data0.black !== "string"){const err3 = {instancePath:instancePath+"/colors/black",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/black/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}}if(data0.blue !== undefined){if(typeof data0.blue !== "string"){const err4 = {instancePath:instancePath+"/colors/blue",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/blue/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data0.border !== undefined){if(typeof data0.border !== "string"){const err5 = {instancePath:instancePath+"/colors/border",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/border/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}}if(data0.cerise !== undefined){if(typeof data0.cerise !== "string"){const err6 = {instancePath:instancePath+"/colors/cerise",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/cerise/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}if(data0.darkGray !== undefined){if(typeof data0.darkGray !== "string"){const err7 = {instancePath:instancePath+"/colors/darkGray",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/darkGray/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}}if(data0.darkPurple !== undefined){if(typeof data0.darkPurple !== "string"){const err8 = {instancePath:instancePath+"/colors/darkPurple",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/darkPurple/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}}if(data0.font !== undefined){if(typeof data0.font !== "string"){const err9 = {instancePath:instancePath+"/colors/font",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/font/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}}if(data0.gray !== undefined){if(typeof data0.gray !== "string"){const err10 = {instancePath:instancePath+"/colors/gray",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/gray/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}}if(data0.green !== undefined){if(typeof data0.green !== "string"){const err11 = {instancePath:instancePath+"/colors/green",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/green/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err11];}else {vErrors.push(err11);}errors++;}}if(data0.headerBg !== undefined){if(typeof data0.headerBg !== "string"){const err12 = {instancePath:instancePath+"/colors/headerBg",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/headerBg/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err12];}else {vErrors.push(err12);}errors++;}}if(data0.lightGray !== undefined){if(typeof data0.lightGray !== "string"){const err13 = {instancePath:instancePath+"/colors/lightGray",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/lightGray/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err13];}else {vErrors.push(err13);}errors++;}}if(data0.lightRed !== undefined){if(typeof data0.lightRed !== "string"){const err14 = {instancePath:instancePath+"/colors/lightRed",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/lightRed/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err14];}else {vErrors.push(err14);}errors++;}}if(data0.offBg !== undefined){if(typeof data0.offBg !== "string"){const err15 = {instancePath:instancePath+"/colors/offBg",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/offBg/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err15];}else {vErrors.push(err15);}errors++;}}if(data0.offBorder !== undefined){if(typeof data0.offBorder !== "string"){const err16 = {instancePath:instancePath+"/colors/offBorder",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/offBorder/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err16];}else {vErrors.push(err16);}errors++;}}if(data0.offFont !== undefined){if(typeof data0.offFont !== "string"){const err17 = {instancePath:instancePath+"/colors/offFont",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/offFont/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err17];}else {vErrors.push(err17);}errors++;}}if(data0.orange !== undefined){if(typeof data0.orange !== "string"){const err18 = {instancePath:instancePath+"/colors/orange",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/orange/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err18];}else {vErrors.push(err18);}errors++;}}if(data0.primary !== undefined){if(typeof data0.primary !== "string"){const err19 = {instancePath:instancePath+"/colors/primary",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/primary/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err19];}else {vErrors.push(err19);}errors++;}}if(data0.red !== undefined){if(typeof data0.red !== "string"){const err20 = {instancePath:instancePath+"/colors/red",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/red/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err20];}else {vErrors.push(err20);}errors++;}}if(data0.rose !== undefined){if(typeof data0.rose !== "string"){const err21 = {instancePath:instancePath+"/colors/rose",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/rose/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err21];}else {vErrors.push(err21);}errors++;}}if(data0.secondary !== undefined){if(typeof data0.secondary !== "string"){const err22 = {instancePath:instancePath+"/colors/secondary",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/secondary/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err22];}else {vErrors.push(err22);}errors++;}}if(data0.tertiary !== undefined){if(typeof data0.tertiary !== "string"){const err23 = {instancePath:instancePath+"/colors/tertiary",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/tertiary/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err23];}else {vErrors.push(err23);}errors++;}}if(data0.white !== undefined){if(typeof data0.white !== "string"){const err24 = {instancePath:instancePath+"/colors/white",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/white/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err24];}else {vErrors.push(err24);}errors++;}}if(data0.yellow !== undefined){if(typeof data0.yellow !== "string"){const err25 = {instancePath:instancePath+"/colors/yellow",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/yellow/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err25];}else {vErrors.push(err25);}errors++;}}}else {const err26 = {instancePath:instancePath+"/colors",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err26];}else {vErrors.push(err26);}errors++;}}if(data.easing !== undefined){if(typeof data.easing !== "string"){const err27 = {instancePath:instancePath+"/easing",schemaPath:"#/properties/easing/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err27];}else {vErrors.push(err27);}errors++;}}if(data.editor !== undefined){if(!(validate22(data.editor, {instancePath:instancePath+"/editor",parentData:data,parentDataProperty:"editor",rootData}))){vErrors = vErrors === null ? validate22.errors : vErrors.concat(validate22.errors);errors = vErrors.length;}}if(data.isSystem !== undefined){if(typeof data.isSystem !== "boolean"){const err28 = {instancePath:instancePath+"/isSystem",schemaPath:"#/properties/isSystem/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err28];}else {vErrors.push(err28);}errors++;}}if(data.shadow !== undefined){let data28 = data.shadow;if(data28 && typeof data28 == "object" && !Array.isArray(data28)){for(const key2 in data28){if(!((key2 === "color") || (key2 === "opacity"))){const err29 = {instancePath:instancePath+"/shadow",schemaPath:"#/definitions/RecursivePartial<{color:string;opacity:number;}>/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key2},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err29];}else {vErrors.push(err29);}errors++;}}if(data28.color !== undefined){if(typeof data28.color !== "string"){const err30 = {instancePath:instancePath+"/shadow/color",schemaPath:"#/definitions/RecursivePartial<{color:string;opacity:number;}>/properties/color/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err30];}else {vErrors.push(err30);}errors++;}}if(data28.opacity !== undefined){let data30 = data28.opacity;if(!((typeof data30 == "number") && (isFinite(data30)))){const err31 = {instancePath:instancePath+"/shadow/opacity",schemaPath:"#/definitions/RecursivePartial<{color:string;opacity:number;}>/properties/opacity/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err31];}else {vErrors.push(err31);}errors++;}}}else {const err32 = {instancePath:instancePath+"/shadow",schemaPath:"#/definitions/RecursivePartial<{color:string;opacity:number;}>/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err32];}else {vErrors.push(err32);}errors++;}}if(data.type !== undefined){if(!(validate24(data.type, {instancePath:instancePath+"/type",parentData:data,parentDataProperty:"type",rootData}))){vErrors = vErrors === null ? validate24.errors : vErrors.concat(validate24.errors);errors = vErrors.length;}}}else {const err33 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err33];}else {vErrors.push(err33);}errors++;}validate21.errors = vErrors;return errors === 0;}function validate20(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(data && typeof data == "object" && !Array.isArray(data)){for(const key0 in data){if(!(func4.call(schema22.properties, key0))){const err0 = {instancePath,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}}if(data.addQueryDepthLimit !== undefined){let data0 = data.addQueryDepthLimit;if(!((typeof data0 == "number") && (isFinite(data0)))){const err1 = {instancePath:instancePath+"/addQueryDepthLimit",schemaPath:"#/properties/addQueryDepthLimit/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}}if(data["alert.disableUpdateNotification"] !== undefined){if(typeof data["alert.disableUpdateNotification"] !== "boolean"){const err2 = {instancePath:instancePath+"/alert.disableUpdateNotification",schemaPath:"#/