mandrel 2.96.0 → 2.98.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agents/audit-checklists/policies.md +23 -0
- package/.agents/docs/agentrc-reference.json +2 -5
- package/.agents/docs/configuration.md +8 -6
- package/.agents/docs/workflows.md +2 -1
- package/.agents/schemas/agentrc.schema.json +46 -29
- package/.agents/schemas/audit-rules.json +32 -0
- package/.agents/schemas/audit-rules.schema.json +2 -2
- package/.agents/scripts/lib/audit-suite/selector.js +119 -27
- package/.agents/scripts/lib/audit-to-stories/audit-lenses.js +1 -0
- package/.agents/scripts/lib/baselines/duplication-scanner.js +44 -3
- package/.agents/scripts/lib/baselines/refresh-service.js +54 -14
- package/.agents/scripts/lib/config/explain.js +1 -7
- package/.agents/scripts/lib/config/gates/duplication.schema.js +12 -5
- package/.agents/scripts/lib/config-settings-schema-quality.js +0 -27
- package/.agents/scripts/lib/config-settings-schema.js +30 -0
- package/.agents/scripts/lib/generated/agentrc-validator.js +2 -2
- package/.agents/scripts/lib/orchestration/review-providers/code-review.js +2 -14
- package/.agents/scripts/lib/orchestration/review-providers/generated-diff.js +61 -0
- package/.agents/scripts/lib/orchestration/single-story-close/phases/pre-gate-steps.js +3 -1
- package/.agents/scripts/lib/orchestration/story-close/baseline-upward-writeback.js +1 -1
- package/.agents/scripts/lib/orchestration/story-close/commit-body.js +100 -0
- package/.agents/scripts/lib/orchestration/story-close/context-budget-writeback.js +1 -1
- package/.agents/scripts/lib/orchestration/story-close/duplication-close-rescore.js +20 -5
- package/.agents/scripts/lib/orchestration/story-close/ratchet-shrink-writeback.js +1 -1
- package/.agents/scripts/lib/source-extensions.js +3 -2
- package/.agents/workflows/audit-documentation.md +5 -0
- package/.agents/workflows/audit-policies.md +221 -0
- package/docs/CHANGELOG.md +16 -0
- package/lib/migrations/index.js +2 -0
- package/lib/migrations/steps/2.91.0-retire-duplication-formats.js +65 -9
- package/lib/migrations/steps/2.97.0-retire-quality-navigability.js +80 -0
- package/package.json +1 -1
|
@@ -13,7 +13,7 @@ import { createRequire } from 'node:module';
|
|
|
13
13
|
|
|
14
14
|
const require = createRequire(import.meta.url);
|
|
15
15
|
|
|
16
|
-
"use strict";export const validate = validate10;export default validate10;const schema11 = {"type":"object","required":["project"],"properties":{"$schema":{"type":"string"},"project":{"type":"object","required":["paths"],"properties":{"baseBranch":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"}},"paths":{"type":"object","required":["agentRoot","docsRoot","tempRoot"],"properties":{"agentRoot":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1},"docsRoot":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1},"tempRoot":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1}},"additionalProperties":false},"docsContextFiles":{"type":"array","items":{"type":"string"}},"commands":{"type":"object","properties":{"test":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1},"typecheck":{"type":["string","null"],"minLength":1,"not":{"type":"string","pattern":"([;&|`]|\\$\\()"}},"lint":{"type":["string","null"],"minLength":1,"not":{"type":"string","pattern":"([;&|`]|\\$\\()"}},"formatCheck":{"type":["string","null"],"minLength":1,"not":{"type":"string","pattern":"([;&|`]|\\$\\()"}},"formatWrite":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1}},"additionalProperties":false}},"additionalProperties":false},"github":{"type":"object","required":["owner","repo","operatorHandle"],"properties":{"owner":{"type":"string","minLength":1},"repo":{"type":"string","minLength":1},"projectNumber":{"type":["integer","null"],"minimum":1},"projectOwner":{"type":["string","null"],"minLength":1},"operatorHandle":{"type":"string","pattern":"^@.+"},"cliConfigDir":{"type":["string","null"],"minLength":1},"followUpRepos":{"type":"object","properties":{"framework":{"type":"string","pattern":"^[^/\\s]+/[^/\\s]+$"},"platform":{"type":["string","null"],"pattern":"^[^/\\s]+/[^/\\s]+$"}},"additionalProperties":false},"branchProtection":{"type":"object","properties":{"enforce":{"type":"boolean"},"requiredChecks":{"type":"array","items":{"type":"object","required":["name","cmd"],"properties":{"name":{"type":"string","minLength":1},"cmd":{"type":"array","minItems":1,"items":{"type":"string","minLength":1}}},"additionalProperties":false}}},"additionalProperties":false},"mergeMethods":{"type":"object","properties":{"allow_squash_merge":{"type":"boolean"},"allow_rebase_merge":{"type":"boolean"},"allow_merge_commit":{"type":"boolean"},"allow_auto_merge":{"type":"boolean"},"delete_branch_on_merge":{"type":"boolean"}},"additionalProperties":false},"notifications":{"type":"object","properties":{"mentionOperator":{"type":"boolean"},"commentEvents":{"type":"array","items":{"type":"string","enum":["state-transition","story-merged","story-closing","operator-message"]},"uniqueItems":true},"webhookEvents":{"type":"array","items":{"type":"string","enum":["state-transition","story-merged","story-closing","operator-message","merge.unlanded","merge.flip-failed"]},"uniqueItems":true}},"additionalProperties":false}},"additionalProperties":false},"planning":{"type":"object","properties":{"navigation":{"type":"object","properties":{"routeGlobs":{"type":"array","items":{"type":"string"}},"navRegistry":{"type":"array","items":{"type":"string"}}},"additionalProperties":false}},"additionalProperties":false},"delivery":{"type":"object","properties":{"execution":{"type":"object","properties":{"fullSuiteLock":{"type":"boolean"},"capacity":{"type":"integer","minimum":1},"workloads":{"type":"array","items":{"type":"object","required":["command","weight"],"properties":{"command":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1},"weight":{"type":"integer","minimum":1},"resources":{"type":"array","uniqueItems":true,"items":{"type":"string","pattern":"^[a-z0-9][a-z0-9-]*$"}}},"additionalProperties":false}}},"additionalProperties":false},"docsFreshness":{"type":"object","properties":{"paths":{"type":"array","items":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1}}},"additionalProperties":false},"tempRetention":{"type":"object","properties":{"enabled":{"type":"boolean"},"classes":{"type":"object","properties":{"orchestrationLogs":{"type":"boolean"},"validationEvidence":{"type":"boolean"},"auditResults":{"type":"boolean"},"planDirs":{"type":"boolean"},"scratch":{"type":"boolean"}},"additionalProperties":false}},"additionalProperties":false},"deliverRunner":{"type":"object","properties":{"concurrencyCap":{"type":"integer","minimum":1},"footprintGuard":{"type":"string","enum":["enforce","advisory"]}},"additionalProperties":false},"worktreeIsolation":{"type":"object","properties":{"enabled":{"type":"boolean"},"root":{"type":"string","minLength":1},"nodeModulesStrategy":{"type":"string","enum":["per-worktree","clone","symlink","pnpm-store"]},"primeFromPath":{"type":["string","null"],"minLength":1},"allowSymlinkOnWindows":{"type":"boolean"},"reapOnSuccess":{"type":"boolean"},"bootstrapFiles":{"type":"array","items":{"type":"string","minLength":1}}},"additionalProperties":false,"allOf":[{"if":{"properties":{"enabled":{"const":true}},"required":["enabled"]},"then":{"required":["root"]}}]},"quality":{"type":"object","properties":{"gates":{"type":"object","properties":{"coverage":{"type":"object","properties":{"enabled":{"type":"boolean"},"baselinePath":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1},"tolerance":{"type":"object","required":["kind","value"],"properties":{"kind":{"type":"string","enum":["absolute","percent"]},"value":{"type":"number","minimum":0}},"additionalProperties":false},"floors":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"number"}}},"components":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string","minLength":1}}},"coveragePath":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1},"captureScript":{"type":"string","minLength":1,"pattern":"^[A-Za-z0-9@:._/-]+$"},"captureScope":{"type":"string","enum":["full","affected"]},"timeoutMs":{"type":"integer","minimum":60000,"maximum":7200000}},"additionalProperties":false},"crap":{"type":"object","properties":{"enabled":{"type":"boolean"},"baselinePath":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1},"tolerance":{"type":"object","required":["kind","value"],"properties":{"kind":{"type":"string","enum":["absolute","percent"]},"value":{"type":"number","minimum":0}},"additionalProperties":false},"floors":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"number"}}},"components":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string","minLength":1}}},"targetDirs":{"oneOf":[{"type":"array","items":{"type":"string"}},{"type":"object","properties":{"append":{"type":"array","items":{"type":"string"}},"prepend":{"type":"array","items":{"type":"string"}}},"additionalProperties":false}]},"newMethodCeiling":{"type":"integer","minimum":1},"requireCoverage":{"type":"boolean"},"minMethodResolutionRate":{"type":"number","minimum":0,"maximum":1},"ignoreGlobs":{"type":"array","items":{"type":"string","minLength":1}},"incrementalCoverage":{"type":"object","properties":{"skipWhenUnchanged":{"type":"boolean"},"baselineJoin":{"type":"boolean"},"baseRef":{"type":"string","minLength":1}},"additionalProperties":false},"coveragePath":{"type":["string","null"],"minLength":1},"captureScript":{"type":"string","minLength":1,"pattern":"^[A-Za-z0-9@:._/-]+$"}},"dependencies":{"captureScript":["coveragePath"]},"additionalProperties":false},"maintainability":{"type":"object","properties":{"enabled":{"type":"boolean"},"baselinePath":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1},"tolerance":{"type":"object","required":["kind","value"],"properties":{"kind":{"type":"string","enum":["absolute","percent"]},"value":{"type":"number","minimum":0}},"additionalProperties":false},"floors":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"number"}}},"components":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string","minLength":1}}},"targetDirs":{"oneOf":[{"type":"array","items":{"type":"string"}},{"type":"object","properties":{"append":{"type":"array","items":{"type":"string"}},"prepend":{"type":"array","items":{"type":"string"}}},"additionalProperties":false}]},"ignoreGlobs":{"type":"array","items":{"type":"string","minLength":1}}},"additionalProperties":false},"mutation":{"type":"object","properties":{"enabled":{"type":"boolean"},"baselinePath":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1},"tolerance":{"type":"object","required":["kind","value"],"properties":{"kind":{"type":"string","enum":["absolute","percent"]},"value":{"type":"number","minimum":0}},"additionalProperties":false},"floors":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"number"}}},"components":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string","minLength":1}}}},"additionalProperties":false},"bundle-size":{"type":"object","properties":{"enabled":{"type":"boolean"},"baselinePath":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1},"tolerance":{"type":"object","required":["kind","value"],"properties":{"kind":{"type":"string","enum":["absolute","percent"]},"value":{"type":"number","minimum":0}},"additionalProperties":false},"floors":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"number"}}},"components":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string","minLength":1}}},"bundles":{"type":"array","items":{"type":"object","required":["name","path","limit"],"properties":{"name":{"type":"string","minLength":1},"path":{"type":"string","minLength":1},"limit":{"type":"string","minLength":1}},"additionalProperties":false}}},"additionalProperties":false},"duplication":{"type":"object","properties":{"enabled":{"type":"boolean"},"baselinePath":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1},"tolerance":{"type":"object","required":["kind","value"],"properties":{"kind":{"type":"string","enum":["absolute","percent"]},"value":{"type":"number","minimum":0}},"additionalProperties":false},"floors":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"number"}}},"components":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string","minLength":1}}},"targetDirs":{"oneOf":[{"type":"array","items":{"type":"string"}},{"type":"object","properties":{"append":{"type":"array","items":{"type":"string"}},"prepend":{"type":"array","items":{"type":"string"}}},"additionalProperties":false}]},"ignoreGlobs":{"type":"array","items":{"type":"string","minLength":1}}},"additionalProperties":false}},"additionalProperties":false},"autoRefresh":{"type":"object","properties":{"enabled":{"type":"boolean"}},"additionalProperties":false},"requireBaselines":{"type":"boolean"},"navigability":{"type":"object","properties":{"routeGlobs":{"type":"array","items":{"type":"string"}},"navRegistry":{"type":"array","items":{"type":"string"}},"journeySuite":{"type":"string"}},"additionalProperties":false}},"additionalProperties":false},"mergeWatch":{"type":"object","properties":{"mode":{"type":"string","enum":["sync","async"]},"maxWaitSeconds":{"type":"integer","minimum":1},"maxBudgetSeconds":{"type":"integer","minimum":1}},"additionalProperties":false},"codeReview":{"type":"object","properties":{"providers":{"type":"array","items":{"type":"object","required":["name"],"properties":{"name":{"type":"string","enum":["native","code-review","codex","llm-review","security-review","ultrareview"]},"scopes":{"type":"array","items":{"type":"string","enum":["story","epic"]}},"optional":{"type":"boolean"},"manualPrompt":{"type":"boolean"},"when":{"type":"object","properties":{"label":{"type":"string","minLength":1},"labelAny":{"type":"array","items":{"type":"string","minLength":1},"minItems":1}},"additionalProperties":false}},"additionalProperties":false}},"autoFixSeverity":{"type":"string","enum":["high","medium"]}},"additionalProperties":false},"refactorStage":{"type":"object","properties":{"enabled":{"type":"boolean"}},"additionalProperties":false},"acceptanceEval":{"type":"object","properties":{"maxRounds":{"type":"integer","minimum":0}},"additionalProperties":false},"feedbackLoop":{"type":"object","properties":{"retroProposals":{"type":"boolean"}},"additionalProperties":false},"ci":{"type":"object","properties":{"autoMerge":{"type":"string","enum":["trust-ci","strict"]},"blockOnAdvisoryFailure":{"type":"boolean"},"advisoryAllowlist":{"type":"array","items":{"type":"string"}},"rerunAdvisory":{"type":"integer","minimum":0}},"additionalProperties":false},"routing":{"type":"object","properties":{"roleScopedAgents":{"type":"boolean"},"ceremonyProfile":{"type":"string","enum":["minimal","standard","strict"]},"closeAndLand":{"type":"boolean"},"agentModels":{"type":"object","propertyNames":{"enum":["story-worker","acceptance-critic","plan-critic","auditor"]},"additionalProperties":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"}}},"additionalProperties":false}},"additionalProperties":false},"qa":{"type":"object","properties":{"featureRoot":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1},"fixturesManifest":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1},"environments":{"type":"object","minProperties":1,"additionalProperties":{"type":"object","properties":{"baseUrl":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1},"signInSeam":{"oneOf":[{"type":"object","properties":{"urlTemplate":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1}},"required":["urlTemplate"],"additionalProperties":false},{"type":"object","properties":{"skill":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]*(?:\\/[a-z0-9][a-z0-9._-]*)+$"}},"required":["skill"],"additionalProperties":false}]},"allowWrites":{"type":"boolean"},"database":{"type":"object","properties":{"urlEnv":{"type":"string","pattern":"^[A-Z_][A-Z0-9_]*$"},"allowAudit":{"type":"boolean"}},"required":["urlEnv"],"additionalProperties":false}},"required":["baseUrl"],"additionalProperties":false}},"personas":{"oneOf":[{"type":"array","minItems":1,"items":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1}},{"type":"object","minProperties":1,"additionalProperties":{"oneOf":[{"type":"object","properties":{"credentialRef":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1}},"required":["credentialRef"],"additionalProperties":false},{"type":"object","properties":{"signInSkill":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1}},"required":["signInSkill"],"additionalProperties":false}]}}]},"gherkinLint":{"type":"object","properties":{"scopes":{"type":"object","minProperties":1,"additionalProperties":{"type":"object","properties":{"featureRoots":{"type":"array","minItems":1,"items":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1}},"stepRoots":{"type":"array","minItems":1,"items":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1}}},"required":["featureRoots","stepRoots"],"additionalProperties":false}},"exemptionTags":{"type":"array","items":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1}},"stepWaivers":{"type":"array","items":{"type":"string","minLength":1}}},"required":["scopes"],"additionalProperties":false},"consoleAllowlist":{"type":"array","items":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1}},"designTokens":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1}},"additionalProperties":false}},"additionalProperties":false};const pattern0 = new RegExp("([;&|`]|\\$\\()", "u");const pattern9 = new RegExp("^@.+", "u");const pattern10 = new RegExp("^[^/\\s]+/[^/\\s]+$", "u");const pattern13 = new RegExp("^[a-z0-9][a-z0-9-]*$", "u");const pattern17 = new RegExp("^[A-Za-z0-9@:._/-]+$", "u");const pattern24 = new RegExp("^[A-Za-z0-9][A-Za-z0-9._:-]*$", "u");const pattern30 = new RegExp("^[a-z0-9][a-z0-9._-]*(?:\\/[a-z0-9][a-z0-9._-]*)+$", "u");const pattern31 = new RegExp("^[A-Z_][A-Z0-9_]*$", "u");const func2 = require("ajv/dist/runtime/ucs2length").default;const func10 = Object.prototype.hasOwnProperty;function validate10(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(data && typeof data == "object" && !Array.isArray(data)){if(data.project === undefined){const err0 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "project"},message:"must have required property '"+"project"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}for(const key0 in data){if(!((((((key0 === "$schema") || (key0 === "project")) || (key0 === "github")) || (key0 === "planning")) || (key0 === "delivery")) || (key0 === "qa"))){const err1 = {instancePath,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}}if(data.$schema !== undefined){if(typeof data.$schema !== "string"){const err2 = {instancePath:instancePath+"/$schema",schemaPath:"#/properties/%24schema/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}}if(data.project !== undefined){let data1 = data.project;if(data1 && typeof data1 == "object" && !Array.isArray(data1)){if(data1.paths === undefined){const err3 = {instancePath:instancePath+"/project",schemaPath:"#/properties/project/required",keyword:"required",params:{missingProperty: "paths"},message:"must have required property '"+"paths"+"'"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}for(const key1 in data1){if(!((((key1 === "baseBranch") || (key1 === "paths")) || (key1 === "docsContextFiles")) || (key1 === "commands"))){const err4 = {instancePath:instancePath+"/project",schemaPath:"#/properties/project/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key1},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data1.baseBranch !== undefined){let data2 = data1.baseBranch;if(typeof data2 !== "string"){const err5 = {instancePath:instancePath+"/project/baseBranch",schemaPath:"#/properties/project/properties/baseBranch/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}const _errs9 = errors;const _errs10 = errors;if(typeof data2 === "string"){if(!pattern0.test(data2)){const err6 = {};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}var valid2 = _errs10 === errors;if(valid2){const err7 = {instancePath:instancePath+"/project/baseBranch",schemaPath:"#/properties/project/properties/baseBranch/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}else {errors = _errs9;if(vErrors !== null){if(_errs9){vErrors.length = _errs9;}else {vErrors = null;}}}}if(data1.paths !== undefined){let data3 = data1.paths;if(data3 && typeof data3 == "object" && !Array.isArray(data3)){if(data3.agentRoot === undefined){const err8 = {instancePath:instancePath+"/project/paths",schemaPath:"#/properties/project/properties/paths/required",keyword:"required",params:{missingProperty: "agentRoot"},message:"must have required property '"+"agentRoot"+"'"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}if(data3.docsRoot === undefined){const err9 = {instancePath:instancePath+"/project/paths",schemaPath:"#/properties/project/properties/paths/required",keyword:"required",params:{missingProperty: "docsRoot"},message:"must have required property '"+"docsRoot"+"'"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}if(data3.tempRoot === undefined){const err10 = {instancePath:instancePath+"/project/paths",schemaPath:"#/properties/project/properties/paths/required",keyword:"required",params:{missingProperty: "tempRoot"},message:"must have required property '"+"tempRoot"+"'"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}for(const key2 in data3){if(!(((key2 === "agentRoot") || (key2 === "docsRoot")) || (key2 === "tempRoot"))){const err11 = {instancePath:instancePath+"/project/paths",schemaPath:"#/properties/project/properties/paths/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key2},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err11];}else {vErrors.push(err11);}errors++;}}if(data3.agentRoot !== undefined){let data4 = data3.agentRoot;const _errs16 = errors;const _errs17 = errors;if(typeof data4 === "string"){if(!pattern0.test(data4)){const err12 = {};if(vErrors === null){vErrors = [err12];}else {vErrors.push(err12);}errors++;}}var valid4 = _errs17 === errors;if(valid4){const err13 = {instancePath:instancePath+"/project/paths/agentRoot",schemaPath:"#/properties/project/properties/paths/properties/agentRoot/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err13];}else {vErrors.push(err13);}errors++;}else {errors = _errs16;if(vErrors !== null){if(_errs16){vErrors.length = _errs16;}else {vErrors = null;}}}if(typeof data4 === "string"){if(func2(data4) < 1){const err14 = {instancePath:instancePath+"/project/paths/agentRoot",schemaPath:"#/properties/project/properties/paths/properties/agentRoot/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err14];}else {vErrors.push(err14);}errors++;}}else {const err15 = {instancePath:instancePath+"/project/paths/agentRoot",schemaPath:"#/properties/project/properties/paths/properties/agentRoot/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err15];}else {vErrors.push(err15);}errors++;}}if(data3.docsRoot !== undefined){let data5 = data3.docsRoot;const _errs20 = errors;const _errs21 = errors;if(typeof data5 === "string"){if(!pattern0.test(data5)){const err16 = {};if(vErrors === null){vErrors = [err16];}else {vErrors.push(err16);}errors++;}}var valid5 = _errs21 === errors;if(valid5){const err17 = {instancePath:instancePath+"/project/paths/docsRoot",schemaPath:"#/properties/project/properties/paths/properties/docsRoot/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err17];}else {vErrors.push(err17);}errors++;}else {errors = _errs20;if(vErrors !== null){if(_errs20){vErrors.length = _errs20;}else {vErrors = null;}}}if(typeof data5 === "string"){if(func2(data5) < 1){const err18 = {instancePath:instancePath+"/project/paths/docsRoot",schemaPath:"#/properties/project/properties/paths/properties/docsRoot/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err18];}else {vErrors.push(err18);}errors++;}}else {const err19 = {instancePath:instancePath+"/project/paths/docsRoot",schemaPath:"#/properties/project/properties/paths/properties/docsRoot/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err19];}else {vErrors.push(err19);}errors++;}}if(data3.tempRoot !== undefined){let data6 = data3.tempRoot;const _errs24 = errors;const _errs25 = errors;if(typeof data6 === "string"){if(!pattern0.test(data6)){const err20 = {};if(vErrors === null){vErrors = [err20];}else {vErrors.push(err20);}errors++;}}var valid6 = _errs25 === errors;if(valid6){const err21 = {instancePath:instancePath+"/project/paths/tempRoot",schemaPath:"#/properties/project/properties/paths/properties/tempRoot/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err21];}else {vErrors.push(err21);}errors++;}else {errors = _errs24;if(vErrors !== null){if(_errs24){vErrors.length = _errs24;}else {vErrors = null;}}}if(typeof data6 === "string"){if(func2(data6) < 1){const err22 = {instancePath:instancePath+"/project/paths/tempRoot",schemaPath:"#/properties/project/properties/paths/properties/tempRoot/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err22];}else {vErrors.push(err22);}errors++;}}else {const err23 = {instancePath:instancePath+"/project/paths/tempRoot",schemaPath:"#/properties/project/properties/paths/properties/tempRoot/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err23];}else {vErrors.push(err23);}errors++;}}}else {const err24 = {instancePath:instancePath+"/project/paths",schemaPath:"#/properties/project/properties/paths/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err24];}else {vErrors.push(err24);}errors++;}}if(data1.docsContextFiles !== undefined){let data7 = data1.docsContextFiles;if(Array.isArray(data7)){const len0 = data7.length;for(let i0=0; i0<len0; i0++){if(typeof data7[i0] !== "string"){const err25 = {instancePath:instancePath+"/project/docsContextFiles/" + i0,schemaPath:"#/properties/project/properties/docsContextFiles/items/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+"/project/docsContextFiles",schemaPath:"#/properties/project/properties/docsContextFiles/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err26];}else {vErrors.push(err26);}errors++;}}if(data1.commands !== undefined){let data9 = data1.commands;if(data9 && typeof data9 == "object" && !Array.isArray(data9)){for(const key3 in data9){if(!(((((key3 === "test") || (key3 === "typecheck")) || (key3 === "lint")) || (key3 === "formatCheck")) || (key3 === "formatWrite"))){const err27 = {instancePath:instancePath+"/project/commands",schemaPath:"#/properties/project/properties/commands/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key3},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err27];}else {vErrors.push(err27);}errors++;}}if(data9.test !== undefined){let data10 = data9.test;const _errs35 = errors;const _errs36 = errors;if(typeof data10 === "string"){if(!pattern0.test(data10)){const err28 = {};if(vErrors === null){vErrors = [err28];}else {vErrors.push(err28);}errors++;}}var valid10 = _errs36 === errors;if(valid10){const err29 = {instancePath:instancePath+"/project/commands/test",schemaPath:"#/properties/project/properties/commands/properties/test/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err29];}else {vErrors.push(err29);}errors++;}else {errors = _errs35;if(vErrors !== null){if(_errs35){vErrors.length = _errs35;}else {vErrors = null;}}}if(typeof data10 === "string"){if(func2(data10) < 1){const err30 = {instancePath:instancePath+"/project/commands/test",schemaPath:"#/properties/project/properties/commands/properties/test/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err30];}else {vErrors.push(err30);}errors++;}}else {const err31 = {instancePath:instancePath+"/project/commands/test",schemaPath:"#/properties/project/properties/commands/properties/test/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err31];}else {vErrors.push(err31);}errors++;}}if(data9.typecheck !== undefined){let data11 = data9.typecheck;if((typeof data11 !== "string") && (data11 !== null)){const err32 = {instancePath:instancePath+"/project/commands/typecheck",schemaPath:"#/properties/project/properties/commands/properties/typecheck/type",keyword:"type",params:{type: schema11.properties.project.properties.commands.properties.typecheck.type},message:"must be string,null"};if(vErrors === null){vErrors = [err32];}else {vErrors.push(err32);}errors++;}const _errs39 = errors;const _errs40 = errors;if(errors === _errs40){if(typeof data11 === "string"){if(!pattern0.test(data11)){const err33 = {};if(vErrors === null){vErrors = [err33];}else {vErrors.push(err33);}errors++;}}else {const err34 = {};if(vErrors === null){vErrors = [err34];}else {vErrors.push(err34);}errors++;}}var valid11 = _errs40 === errors;if(valid11){const err35 = {instancePath:instancePath+"/project/commands/typecheck",schemaPath:"#/properties/project/properties/commands/properties/typecheck/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err35];}else {vErrors.push(err35);}errors++;}else {errors = _errs39;if(vErrors !== null){if(_errs39){vErrors.length = _errs39;}else {vErrors = null;}}}if(typeof data11 === "string"){if(func2(data11) < 1){const err36 = {instancePath:instancePath+"/project/commands/typecheck",schemaPath:"#/properties/project/properties/commands/properties/typecheck/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err36];}else {vErrors.push(err36);}errors++;}}}if(data9.lint !== undefined){let data12 = data9.lint;if((typeof data12 !== "string") && (data12 !== null)){const err37 = {instancePath:instancePath+"/project/commands/lint",schemaPath:"#/properties/project/properties/commands/properties/lint/type",keyword:"type",params:{type: schema11.properties.project.properties.commands.properties.lint.type},message:"must be string,null"};if(vErrors === null){vErrors = [err37];}else {vErrors.push(err37);}errors++;}const _errs44 = errors;const _errs45 = errors;if(errors === _errs45){if(typeof data12 === "string"){if(!pattern0.test(data12)){const err38 = {};if(vErrors === null){vErrors = [err38];}else {vErrors.push(err38);}errors++;}}else {const err39 = {};if(vErrors === null){vErrors = [err39];}else {vErrors.push(err39);}errors++;}}var valid12 = _errs45 === errors;if(valid12){const err40 = {instancePath:instancePath+"/project/commands/lint",schemaPath:"#/properties/project/properties/commands/properties/lint/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err40];}else {vErrors.push(err40);}errors++;}else {errors = _errs44;if(vErrors !== null){if(_errs44){vErrors.length = _errs44;}else {vErrors = null;}}}if(typeof data12 === "string"){if(func2(data12) < 1){const err41 = {instancePath:instancePath+"/project/commands/lint",schemaPath:"#/properties/project/properties/commands/properties/lint/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err41];}else {vErrors.push(err41);}errors++;}}}if(data9.formatCheck !== undefined){let data13 = data9.formatCheck;if((typeof data13 !== "string") && (data13 !== null)){const err42 = {instancePath:instancePath+"/project/commands/formatCheck",schemaPath:"#/properties/project/properties/commands/properties/formatCheck/type",keyword:"type",params:{type: schema11.properties.project.properties.commands.properties.formatCheck.type},message:"must be string,null"};if(vErrors === null){vErrors = [err42];}else {vErrors.push(err42);}errors++;}const _errs49 = errors;const _errs50 = errors;if(errors === _errs50){if(typeof data13 === "string"){if(!pattern0.test(data13)){const err43 = {};if(vErrors === null){vErrors = [err43];}else {vErrors.push(err43);}errors++;}}else {const err44 = {};if(vErrors === null){vErrors = [err44];}else {vErrors.push(err44);}errors++;}}var valid13 = _errs50 === errors;if(valid13){const err45 = {instancePath:instancePath+"/project/commands/formatCheck",schemaPath:"#/properties/project/properties/commands/properties/formatCheck/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err45];}else {vErrors.push(err45);}errors++;}else {errors = _errs49;if(vErrors !== null){if(_errs49){vErrors.length = _errs49;}else {vErrors = null;}}}if(typeof data13 === "string"){if(func2(data13) < 1){const err46 = {instancePath:instancePath+"/project/commands/formatCheck",schemaPath:"#/properties/project/properties/commands/properties/formatCheck/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err46];}else {vErrors.push(err46);}errors++;}}}if(data9.formatWrite !== undefined){let data14 = data9.formatWrite;const _errs54 = errors;const _errs55 = errors;if(typeof data14 === "string"){if(!pattern0.test(data14)){const err47 = {};if(vErrors === null){vErrors = [err47];}else {vErrors.push(err47);}errors++;}}var valid14 = _errs55 === errors;if(valid14){const err48 = {instancePath:instancePath+"/project/commands/formatWrite",schemaPath:"#/properties/project/properties/commands/properties/formatWrite/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err48];}else {vErrors.push(err48);}errors++;}else {errors = _errs54;if(vErrors !== null){if(_errs54){vErrors.length = _errs54;}else {vErrors = null;}}}if(typeof data14 === "string"){if(func2(data14) < 1){const err49 = {instancePath:instancePath+"/project/commands/formatWrite",schemaPath:"#/properties/project/properties/commands/properties/formatWrite/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err49];}else {vErrors.push(err49);}errors++;}}else {const err50 = {instancePath:instancePath+"/project/commands/formatWrite",schemaPath:"#/properties/project/properties/commands/properties/formatWrite/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err50];}else {vErrors.push(err50);}errors++;}}}else {const err51 = {instancePath:instancePath+"/project/commands",schemaPath:"#/properties/project/properties/commands/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err51];}else {vErrors.push(err51);}errors++;}}}else {const err52 = {instancePath:instancePath+"/project",schemaPath:"#/properties/project/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err52];}else {vErrors.push(err52);}errors++;}}if(data.github !== undefined){let data15 = data.github;if(data15 && typeof data15 == "object" && !Array.isArray(data15)){if(data15.owner === undefined){const err53 = {instancePath:instancePath+"/github",schemaPath:"#/properties/github/required",keyword:"required",params:{missingProperty: "owner"},message:"must have required property '"+"owner"+"'"};if(vErrors === null){vErrors = [err53];}else {vErrors.push(err53);}errors++;}if(data15.repo === undefined){const err54 = {instancePath:instancePath+"/github",schemaPath:"#/properties/github/required",keyword:"required",params:{missingProperty: "repo"},message:"must have required property '"+"repo"+"'"};if(vErrors === null){vErrors = [err54];}else {vErrors.push(err54);}errors++;}if(data15.operatorHandle === undefined){const err55 = {instancePath:instancePath+"/github",schemaPath:"#/properties/github/required",keyword:"required",params:{missingProperty: "operatorHandle"},message:"must have required property '"+"operatorHandle"+"'"};if(vErrors === null){vErrors = [err55];}else {vErrors.push(err55);}errors++;}for(const key4 in data15){if(!(func10.call(schema11.properties.github.properties, key4))){const err56 = {instancePath:instancePath+"/github",schemaPath:"#/properties/github/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key4},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err56];}else {vErrors.push(err56);}errors++;}}if(data15.owner !== undefined){let data16 = data15.owner;if(typeof data16 === "string"){if(func2(data16) < 1){const err57 = {instancePath:instancePath+"/github/owner",schemaPath:"#/properties/github/properties/owner/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err57];}else {vErrors.push(err57);}errors++;}}else {const err58 = {instancePath:instancePath+"/github/owner",schemaPath:"#/properties/github/properties/owner/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err58];}else {vErrors.push(err58);}errors++;}}if(data15.repo !== undefined){let data17 = data15.repo;if(typeof data17 === "string"){if(func2(data17) < 1){const err59 = {instancePath:instancePath+"/github/repo",schemaPath:"#/properties/github/properties/repo/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err59];}else {vErrors.push(err59);}errors++;}}else {const err60 = {instancePath:instancePath+"/github/repo",schemaPath:"#/properties/github/properties/repo/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err60];}else {vErrors.push(err60);}errors++;}}if(data15.projectNumber !== undefined){let data18 = data15.projectNumber;if((!(((typeof data18 == "number") && (!(data18 % 1) && !isNaN(data18))) && (isFinite(data18)))) && (data18 !== null)){const err61 = {instancePath:instancePath+"/github/projectNumber",schemaPath:"#/properties/github/properties/projectNumber/type",keyword:"type",params:{type: schema11.properties.github.properties.projectNumber.type},message:"must be integer,null"};if(vErrors === null){vErrors = [err61];}else {vErrors.push(err61);}errors++;}if((typeof data18 == "number") && (isFinite(data18))){if(data18 < 1 || isNaN(data18)){const err62 = {instancePath:instancePath+"/github/projectNumber",schemaPath:"#/properties/github/properties/projectNumber/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"};if(vErrors === null){vErrors = [err62];}else {vErrors.push(err62);}errors++;}}}if(data15.projectOwner !== undefined){let data19 = data15.projectOwner;if((typeof data19 !== "string") && (data19 !== null)){const err63 = {instancePath:instancePath+"/github/projectOwner",schemaPath:"#/properties/github/properties/projectOwner/type",keyword:"type",params:{type: schema11.properties.github.properties.projectOwner.type},message:"must be string,null"};if(vErrors === null){vErrors = [err63];}else {vErrors.push(err63);}errors++;}if(typeof data19 === "string"){if(func2(data19) < 1){const err64 = {instancePath:instancePath+"/github/projectOwner",schemaPath:"#/properties/github/properties/projectOwner/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err64];}else {vErrors.push(err64);}errors++;}}}if(data15.operatorHandle !== undefined){let data20 = data15.operatorHandle;if(typeof data20 === "string"){if(!pattern9.test(data20)){const err65 = {instancePath:instancePath+"/github/operatorHandle",schemaPath:"#/properties/github/properties/operatorHandle/pattern",keyword:"pattern",params:{pattern: "^@.+"},message:"must match pattern \""+"^@.+"+"\""};if(vErrors === null){vErrors = [err65];}else {vErrors.push(err65);}errors++;}}else {const err66 = {instancePath:instancePath+"/github/operatorHandle",schemaPath:"#/properties/github/properties/operatorHandle/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err66];}else {vErrors.push(err66);}errors++;}}if(data15.cliConfigDir !== undefined){let data21 = data15.cliConfigDir;if((typeof data21 !== "string") && (data21 !== null)){const err67 = {instancePath:instancePath+"/github/cliConfigDir",schemaPath:"#/properties/github/properties/cliConfigDir/type",keyword:"type",params:{type: schema11.properties.github.properties.cliConfigDir.type},message:"must be string,null"};if(vErrors === null){vErrors = [err67];}else {vErrors.push(err67);}errors++;}if(typeof data21 === "string"){if(func2(data21) < 1){const err68 = {instancePath:instancePath+"/github/cliConfigDir",schemaPath:"#/properties/github/properties/cliConfigDir/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err68];}else {vErrors.push(err68);}errors++;}}}if(data15.followUpRepos !== undefined){let data22 = data15.followUpRepos;if(data22 && typeof data22 == "object" && !Array.isArray(data22)){for(const key5 in data22){if(!((key5 === "framework") || (key5 === "platform"))){const err69 = {instancePath:instancePath+"/github/followUpRepos",schemaPath:"#/properties/github/properties/followUpRepos/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key5},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err69];}else {vErrors.push(err69);}errors++;}}if(data22.framework !== undefined){let data23 = data22.framework;if(typeof data23 === "string"){if(!pattern10.test(data23)){const err70 = {instancePath:instancePath+"/github/followUpRepos/framework",schemaPath:"#/properties/github/properties/followUpRepos/properties/framework/pattern",keyword:"pattern",params:{pattern: "^[^/\\s]+/[^/\\s]+$"},message:"must match pattern \""+"^[^/\\s]+/[^/\\s]+$"+"\""};if(vErrors === null){vErrors = [err70];}else {vErrors.push(err70);}errors++;}}else {const err71 = {instancePath:instancePath+"/github/followUpRepos/framework",schemaPath:"#/properties/github/properties/followUpRepos/properties/framework/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err71];}else {vErrors.push(err71);}errors++;}}if(data22.platform !== undefined){let data24 = data22.platform;if((typeof data24 !== "string") && (data24 !== null)){const err72 = {instancePath:instancePath+"/github/followUpRepos/platform",schemaPath:"#/properties/github/properties/followUpRepos/properties/platform/type",keyword:"type",params:{type: schema11.properties.github.properties.followUpRepos.properties.platform.type},message:"must be string,null"};if(vErrors === null){vErrors = [err72];}else {vErrors.push(err72);}errors++;}if(typeof data24 === "string"){if(!pattern10.test(data24)){const err73 = {instancePath:instancePath+"/github/followUpRepos/platform",schemaPath:"#/properties/github/properties/followUpRepos/properties/platform/pattern",keyword:"pattern",params:{pattern: "^[^/\\s]+/[^/\\s]+$"},message:"must match pattern \""+"^[^/\\s]+/[^/\\s]+$"+"\""};if(vErrors === null){vErrors = [err73];}else {vErrors.push(err73);}errors++;}}}}else {const err74 = {instancePath:instancePath+"/github/followUpRepos",schemaPath:"#/properties/github/properties/followUpRepos/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err74];}else {vErrors.push(err74);}errors++;}}if(data15.branchProtection !== undefined){let data25 = data15.branchProtection;if(data25 && typeof data25 == "object" && !Array.isArray(data25)){for(const key6 in data25){if(!((key6 === "enforce") || (key6 === "requiredChecks"))){const err75 = {instancePath:instancePath+"/github/branchProtection",schemaPath:"#/properties/github/properties/branchProtection/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key6},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err75];}else {vErrors.push(err75);}errors++;}}if(data25.enforce !== undefined){if(typeof data25.enforce !== "boolean"){const err76 = {instancePath:instancePath+"/github/branchProtection/enforce",schemaPath:"#/properties/github/properties/branchProtection/properties/enforce/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err76];}else {vErrors.push(err76);}errors++;}}if(data25.requiredChecks !== undefined){let data27 = data25.requiredChecks;if(Array.isArray(data27)){const len1 = data27.length;for(let i1=0; i1<len1; i1++){let data28 = data27[i1];if(data28 && typeof data28 == "object" && !Array.isArray(data28)){if(data28.name === undefined){const err77 = {instancePath:instancePath+"/github/branchProtection/requiredChecks/" + i1,schemaPath:"#/properties/github/properties/branchProtection/properties/requiredChecks/items/required",keyword:"required",params:{missingProperty: "name"},message:"must have required property '"+"name"+"'"};if(vErrors === null){vErrors = [err77];}else {vErrors.push(err77);}errors++;}if(data28.cmd === undefined){const err78 = {instancePath:instancePath+"/github/branchProtection/requiredChecks/" + i1,schemaPath:"#/properties/github/properties/branchProtection/properties/requiredChecks/items/required",keyword:"required",params:{missingProperty: "cmd"},message:"must have required property '"+"cmd"+"'"};if(vErrors === null){vErrors = [err78];}else {vErrors.push(err78);}errors++;}for(const key7 in data28){if(!((key7 === "name") || (key7 === "cmd"))){const err79 = {instancePath:instancePath+"/github/branchProtection/requiredChecks/" + i1,schemaPath:"#/properties/github/properties/branchProtection/properties/requiredChecks/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key7},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err79];}else {vErrors.push(err79);}errors++;}}if(data28.name !== undefined){let data29 = data28.name;if(typeof data29 === "string"){if(func2(data29) < 1){const err80 = {instancePath:instancePath+"/github/branchProtection/requiredChecks/" + i1+"/name",schemaPath:"#/properties/github/properties/branchProtection/properties/requiredChecks/items/properties/name/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err80];}else {vErrors.push(err80);}errors++;}}else {const err81 = {instancePath:instancePath+"/github/branchProtection/requiredChecks/" + i1+"/name",schemaPath:"#/properties/github/properties/branchProtection/properties/requiredChecks/items/properties/name/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err81];}else {vErrors.push(err81);}errors++;}}if(data28.cmd !== undefined){let data30 = data28.cmd;if(Array.isArray(data30)){if(data30.length < 1){const err82 = {instancePath:instancePath+"/github/branchProtection/requiredChecks/" + i1+"/cmd",schemaPath:"#/properties/github/properties/branchProtection/properties/requiredChecks/items/properties/cmd/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err82];}else {vErrors.push(err82);}errors++;}const len2 = data30.length;for(let i2=0; i2<len2; i2++){let data31 = data30[i2];if(typeof data31 === "string"){if(func2(data31) < 1){const err83 = {instancePath:instancePath+"/github/branchProtection/requiredChecks/" + i1+"/cmd/" + i2,schemaPath:"#/properties/github/properties/branchProtection/properties/requiredChecks/items/properties/cmd/items/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err83];}else {vErrors.push(err83);}errors++;}}else {const err84 = {instancePath:instancePath+"/github/branchProtection/requiredChecks/" + i1+"/cmd/" + i2,schemaPath:"#/properties/github/properties/branchProtection/properties/requiredChecks/items/properties/cmd/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err84];}else {vErrors.push(err84);}errors++;}}}else {const err85 = {instancePath:instancePath+"/github/branchProtection/requiredChecks/" + i1+"/cmd",schemaPath:"#/properties/github/properties/branchProtection/properties/requiredChecks/items/properties/cmd/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err85];}else {vErrors.push(err85);}errors++;}}}else {const err86 = {instancePath:instancePath+"/github/branchProtection/requiredChecks/" + i1,schemaPath:"#/properties/github/properties/branchProtection/properties/requiredChecks/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err86];}else {vErrors.push(err86);}errors++;}}}else {const err87 = {instancePath:instancePath+"/github/branchProtection/requiredChecks",schemaPath:"#/properties/github/properties/branchProtection/properties/requiredChecks/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err87];}else {vErrors.push(err87);}errors++;}}}else {const err88 = {instancePath:instancePath+"/github/branchProtection",schemaPath:"#/properties/github/properties/branchProtection/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err88];}else {vErrors.push(err88);}errors++;}}if(data15.mergeMethods !== undefined){let data32 = data15.mergeMethods;if(data32 && typeof data32 == "object" && !Array.isArray(data32)){for(const key8 in data32){if(!(((((key8 === "allow_squash_merge") || (key8 === "allow_rebase_merge")) || (key8 === "allow_merge_commit")) || (key8 === "allow_auto_merge")) || (key8 === "delete_branch_on_merge"))){const err89 = {instancePath:instancePath+"/github/mergeMethods",schemaPath:"#/properties/github/properties/mergeMethods/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key8},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err89];}else {vErrors.push(err89);}errors++;}}if(data32.allow_squash_merge !== undefined){if(typeof data32.allow_squash_merge !== "boolean"){const err90 = {instancePath:instancePath+"/github/mergeMethods/allow_squash_merge",schemaPath:"#/properties/github/properties/mergeMethods/properties/allow_squash_merge/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err90];}else {vErrors.push(err90);}errors++;}}if(data32.allow_rebase_merge !== undefined){if(typeof data32.allow_rebase_merge !== "boolean"){const err91 = {instancePath:instancePath+"/github/mergeMethods/allow_rebase_merge",schemaPath:"#/properties/github/properties/mergeMethods/properties/allow_rebase_merge/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err91];}else {vErrors.push(err91);}errors++;}}if(data32.allow_merge_commit !== undefined){if(typeof data32.allow_merge_commit !== "boolean"){const err92 = {instancePath:instancePath+"/github/mergeMethods/allow_merge_commit",schemaPath:"#/properties/github/properties/mergeMethods/properties/allow_merge_commit/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err92];}else {vErrors.push(err92);}errors++;}}if(data32.allow_auto_merge !== undefined){if(typeof data32.allow_auto_merge !== "boolean"){const err93 = {instancePath:instancePath+"/github/mergeMethods/allow_auto_merge",schemaPath:"#/properties/github/properties/mergeMethods/properties/allow_auto_merge/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err93];}else {vErrors.push(err93);}errors++;}}if(data32.delete_branch_on_merge !== undefined){if(typeof data32.delete_branch_on_merge !== "boolean"){const err94 = {instancePath:instancePath+"/github/mergeMethods/delete_branch_on_merge",schemaPath:"#/properties/github/properties/mergeMethods/properties/delete_branch_on_merge/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err94];}else {vErrors.push(err94);}errors++;}}}else {const err95 = {instancePath:instancePath+"/github/mergeMethods",schemaPath:"#/properties/github/properties/mergeMethods/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err95];}else {vErrors.push(err95);}errors++;}}if(data15.notifications !== undefined){let data38 = data15.notifications;if(data38 && typeof data38 == "object" && !Array.isArray(data38)){for(const key9 in data38){if(!(((key9 === "mentionOperator") || (key9 === "commentEvents")) || (key9 === "webhookEvents"))){const err96 = {instancePath:instancePath+"/github/notifications",schemaPath:"#/properties/github/properties/notifications/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key9},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err96];}else {vErrors.push(err96);}errors++;}}if(data38.mentionOperator !== undefined){if(typeof data38.mentionOperator !== "boolean"){const err97 = {instancePath:instancePath+"/github/notifications/mentionOperator",schemaPath:"#/properties/github/properties/notifications/properties/mentionOperator/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err97];}else {vErrors.push(err97);}errors++;}}if(data38.commentEvents !== undefined){let data40 = data38.commentEvents;if(Array.isArray(data40)){const len3 = data40.length;for(let i3=0; i3<len3; i3++){let data41 = data40[i3];if(typeof data41 !== "string"){const err98 = {instancePath:instancePath+"/github/notifications/commentEvents/" + i3,schemaPath:"#/properties/github/properties/notifications/properties/commentEvents/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err98];}else {vErrors.push(err98);}errors++;}if(!((((data41 === "state-transition") || (data41 === "story-merged")) || (data41 === "story-closing")) || (data41 === "operator-message"))){const err99 = {instancePath:instancePath+"/github/notifications/commentEvents/" + i3,schemaPath:"#/properties/github/properties/notifications/properties/commentEvents/items/enum",keyword:"enum",params:{allowedValues: schema11.properties.github.properties.notifications.properties.commentEvents.items.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err99];}else {vErrors.push(err99);}errors++;}}let i4 = data40.length;let j0;if(i4 > 1){const indices0 = {};for(;i4--;){let item0 = data40[i4];if(typeof item0 !== "string"){continue;}if(typeof indices0[item0] == "number"){j0 = indices0[item0];const err100 = {instancePath:instancePath+"/github/notifications/commentEvents",schemaPath:"#/properties/github/properties/notifications/properties/commentEvents/uniqueItems",keyword:"uniqueItems",params:{i: i4, j: j0},message:"must NOT have duplicate items (items ## "+j0+" and "+i4+" are identical)"};if(vErrors === null){vErrors = [err100];}else {vErrors.push(err100);}errors++;break;}indices0[item0] = i4;}}}else {const err101 = {instancePath:instancePath+"/github/notifications/commentEvents",schemaPath:"#/properties/github/properties/notifications/properties/commentEvents/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err101];}else {vErrors.push(err101);}errors++;}}if(data38.webhookEvents !== undefined){let data42 = data38.webhookEvents;if(Array.isArray(data42)){const len4 = data42.length;for(let i5=0; i5<len4; i5++){let data43 = data42[i5];if(typeof data43 !== "string"){const err102 = {instancePath:instancePath+"/github/notifications/webhookEvents/" + i5,schemaPath:"#/properties/github/properties/notifications/properties/webhookEvents/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err102];}else {vErrors.push(err102);}errors++;}if(!((((((data43 === "state-transition") || (data43 === "story-merged")) || (data43 === "story-closing")) || (data43 === "operator-message")) || (data43 === "merge.unlanded")) || (data43 === "merge.flip-failed"))){const err103 = {instancePath:instancePath+"/github/notifications/webhookEvents/" + i5,schemaPath:"#/properties/github/properties/notifications/properties/webhookEvents/items/enum",keyword:"enum",params:{allowedValues: schema11.properties.github.properties.notifications.properties.webhookEvents.items.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err103];}else {vErrors.push(err103);}errors++;}}let i6 = data42.length;let j1;if(i6 > 1){const indices1 = {};for(;i6--;){let item1 = data42[i6];if(typeof item1 !== "string"){continue;}if(typeof indices1[item1] == "number"){j1 = indices1[item1];const err104 = {instancePath:instancePath+"/github/notifications/webhookEvents",schemaPath:"#/properties/github/properties/notifications/properties/webhookEvents/uniqueItems",keyword:"uniqueItems",params:{i: i6, j: j1},message:"must NOT have duplicate items (items ## "+j1+" and "+i6+" are identical)"};if(vErrors === null){vErrors = [err104];}else {vErrors.push(err104);}errors++;break;}indices1[item1] = i6;}}}else {const err105 = {instancePath:instancePath+"/github/notifications/webhookEvents",schemaPath:"#/properties/github/properties/notifications/properties/webhookEvents/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err105];}else {vErrors.push(err105);}errors++;}}}else {const err106 = {instancePath:instancePath+"/github/notifications",schemaPath:"#/properties/github/properties/notifications/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err106];}else {vErrors.push(err106);}errors++;}}}else {const err107 = {instancePath:instancePath+"/github",schemaPath:"#/properties/github/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err107];}else {vErrors.push(err107);}errors++;}}if(data.planning !== undefined){let data44 = data.planning;if(data44 && typeof data44 == "object" && !Array.isArray(data44)){for(const key10 in data44){if(!(key10 === "navigation")){const err108 = {instancePath:instancePath+"/planning",schemaPath:"#/properties/planning/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key10},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err108];}else {vErrors.push(err108);}errors++;}}if(data44.navigation !== undefined){let data45 = data44.navigation;if(data45 && typeof data45 == "object" && !Array.isArray(data45)){for(const key11 in data45){if(!((key11 === "routeGlobs") || (key11 === "navRegistry"))){const err109 = {instancePath:instancePath+"/planning/navigation",schemaPath:"#/properties/planning/properties/navigation/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key11},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err109];}else {vErrors.push(err109);}errors++;}}if(data45.routeGlobs !== undefined){let data46 = data45.routeGlobs;if(Array.isArray(data46)){const len5 = data46.length;for(let i7=0; i7<len5; i7++){if(typeof data46[i7] !== "string"){const err110 = {instancePath:instancePath+"/planning/navigation/routeGlobs/" + i7,schemaPath:"#/properties/planning/properties/navigation/properties/routeGlobs/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err110];}else {vErrors.push(err110);}errors++;}}}else {const err111 = {instancePath:instancePath+"/planning/navigation/routeGlobs",schemaPath:"#/properties/planning/properties/navigation/properties/routeGlobs/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err111];}else {vErrors.push(err111);}errors++;}}if(data45.navRegistry !== undefined){let data48 = data45.navRegistry;if(Array.isArray(data48)){const len6 = data48.length;for(let i8=0; i8<len6; i8++){if(typeof data48[i8] !== "string"){const err112 = {instancePath:instancePath+"/planning/navigation/navRegistry/" + i8,schemaPath:"#/properties/planning/properties/navigation/properties/navRegistry/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err112];}else {vErrors.push(err112);}errors++;}}}else {const err113 = {instancePath:instancePath+"/planning/navigation/navRegistry",schemaPath:"#/properties/planning/properties/navigation/properties/navRegistry/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err113];}else {vErrors.push(err113);}errors++;}}}else {const err114 = {instancePath:instancePath+"/planning/navigation",schemaPath:"#/properties/planning/properties/navigation/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err114];}else {vErrors.push(err114);}errors++;}}}else {const err115 = {instancePath:instancePath+"/planning",schemaPath:"#/properties/planning/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err115];}else {vErrors.push(err115);}errors++;}}if(data.delivery !== undefined){let data50 = data.delivery;if(data50 && typeof data50 == "object" && !Array.isArray(data50)){for(const key12 in data50){if(!(func10.call(schema11.properties.delivery.properties, key12))){const err116 = {instancePath:instancePath+"/delivery",schemaPath:"#/properties/delivery/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key12},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err116];}else {vErrors.push(err116);}errors++;}}if(data50.execution !== undefined){let data51 = data50.execution;if(data51 && typeof data51 == "object" && !Array.isArray(data51)){for(const key13 in data51){if(!(((key13 === "fullSuiteLock") || (key13 === "capacity")) || (key13 === "workloads"))){const err117 = {instancePath:instancePath+"/delivery/execution",schemaPath:"#/properties/delivery/properties/execution/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key13},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err117];}else {vErrors.push(err117);}errors++;}}if(data51.fullSuiteLock !== undefined){if(typeof data51.fullSuiteLock !== "boolean"){const err118 = {instancePath:instancePath+"/delivery/execution/fullSuiteLock",schemaPath:"#/properties/delivery/properties/execution/properties/fullSuiteLock/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err118];}else {vErrors.push(err118);}errors++;}}if(data51.capacity !== undefined){let data53 = data51.capacity;if(!(((typeof data53 == "number") && (!(data53 % 1) && !isNaN(data53))) && (isFinite(data53)))){const err119 = {instancePath:instancePath+"/delivery/execution/capacity",schemaPath:"#/properties/delivery/properties/execution/properties/capacity/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err119];}else {vErrors.push(err119);}errors++;}if((typeof data53 == "number") && (isFinite(data53))){if(data53 < 1 || isNaN(data53)){const err120 = {instancePath:instancePath+"/delivery/execution/capacity",schemaPath:"#/properties/delivery/properties/execution/properties/capacity/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"};if(vErrors === null){vErrors = [err120];}else {vErrors.push(err120);}errors++;}}}if(data51.workloads !== undefined){let data54 = data51.workloads;if(Array.isArray(data54)){const len7 = data54.length;for(let i9=0; i9<len7; i9++){let data55 = data54[i9];if(data55 && typeof data55 == "object" && !Array.isArray(data55)){if(data55.command === undefined){const err121 = {instancePath:instancePath+"/delivery/execution/workloads/" + i9,schemaPath:"#/properties/delivery/properties/execution/properties/workloads/items/required",keyword:"required",params:{missingProperty: "command"},message:"must have required property '"+"command"+"'"};if(vErrors === null){vErrors = [err121];}else {vErrors.push(err121);}errors++;}if(data55.weight === undefined){const err122 = {instancePath:instancePath+"/delivery/execution/workloads/" + i9,schemaPath:"#/properties/delivery/properties/execution/properties/workloads/items/required",keyword:"required",params:{missingProperty: "weight"},message:"must have required property '"+"weight"+"'"};if(vErrors === null){vErrors = [err122];}else {vErrors.push(err122);}errors++;}for(const key14 in data55){if(!(((key14 === "command") || (key14 === "weight")) || (key14 === "resources"))){const err123 = {instancePath:instancePath+"/delivery/execution/workloads/" + i9,schemaPath:"#/properties/delivery/properties/execution/properties/workloads/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key14},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err123];}else {vErrors.push(err123);}errors++;}}if(data55.command !== undefined){let data56 = data55.command;const _errs151 = errors;const _errs152 = errors;if(typeof data56 === "string"){if(!pattern0.test(data56)){const err124 = {};if(vErrors === null){vErrors = [err124];}else {vErrors.push(err124);}errors++;}}var valid42 = _errs152 === errors;if(valid42){const err125 = {instancePath:instancePath+"/delivery/execution/workloads/" + i9+"/command",schemaPath:"#/properties/delivery/properties/execution/properties/workloads/items/properties/command/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err125];}else {vErrors.push(err125);}errors++;}else {errors = _errs151;if(vErrors !== null){if(_errs151){vErrors.length = _errs151;}else {vErrors = null;}}}if(typeof data56 === "string"){if(func2(data56) < 1){const err126 = {instancePath:instancePath+"/delivery/execution/workloads/" + i9+"/command",schemaPath:"#/properties/delivery/properties/execution/properties/workloads/items/properties/command/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err126];}else {vErrors.push(err126);}errors++;}}else {const err127 = {instancePath:instancePath+"/delivery/execution/workloads/" + i9+"/command",schemaPath:"#/properties/delivery/properties/execution/properties/workloads/items/properties/command/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err127];}else {vErrors.push(err127);}errors++;}}if(data55.weight !== undefined){let data57 = data55.weight;if(!(((typeof data57 == "number") && (!(data57 % 1) && !isNaN(data57))) && (isFinite(data57)))){const err128 = {instancePath:instancePath+"/delivery/execution/workloads/" + i9+"/weight",schemaPath:"#/properties/delivery/properties/execution/properties/workloads/items/properties/weight/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err128];}else {vErrors.push(err128);}errors++;}if((typeof data57 == "number") && (isFinite(data57))){if(data57 < 1 || isNaN(data57)){const err129 = {instancePath:instancePath+"/delivery/execution/workloads/" + i9+"/weight",schemaPath:"#/properties/delivery/properties/execution/properties/workloads/items/properties/weight/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"};if(vErrors === null){vErrors = [err129];}else {vErrors.push(err129);}errors++;}}}if(data55.resources !== undefined){let data58 = data55.resources;if(Array.isArray(data58)){const len8 = data58.length;for(let i10=0; i10<len8; i10++){let data59 = data58[i10];if(typeof data59 === "string"){if(!pattern13.test(data59)){const err130 = {instancePath:instancePath+"/delivery/execution/workloads/" + i9+"/resources/" + i10,schemaPath:"#/properties/delivery/properties/execution/properties/workloads/items/properties/resources/items/pattern",keyword:"pattern",params:{pattern: "^[a-z0-9][a-z0-9-]*$"},message:"must match pattern \""+"^[a-z0-9][a-z0-9-]*$"+"\""};if(vErrors === null){vErrors = [err130];}else {vErrors.push(err130);}errors++;}}else {const err131 = {instancePath:instancePath+"/delivery/execution/workloads/" + i9+"/resources/" + i10,schemaPath:"#/properties/delivery/properties/execution/properties/workloads/items/properties/resources/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err131];}else {vErrors.push(err131);}errors++;}}let i11 = data58.length;let j2;if(i11 > 1){const indices2 = {};for(;i11--;){let item2 = data58[i11];if(typeof item2 !== "string"){continue;}if(typeof indices2[item2] == "number"){j2 = indices2[item2];const err132 = {instancePath:instancePath+"/delivery/execution/workloads/" + i9+"/resources",schemaPath:"#/properties/delivery/properties/execution/properties/workloads/items/properties/resources/uniqueItems",keyword:"uniqueItems",params:{i: i11, j: j2},message:"must NOT have duplicate items (items ## "+j2+" and "+i11+" are identical)"};if(vErrors === null){vErrors = [err132];}else {vErrors.push(err132);}errors++;break;}indices2[item2] = i11;}}}else {const err133 = {instancePath:instancePath+"/delivery/execution/workloads/" + i9+"/resources",schemaPath:"#/properties/delivery/properties/execution/properties/workloads/items/properties/resources/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err133];}else {vErrors.push(err133);}errors++;}}}else {const err134 = {instancePath:instancePath+"/delivery/execution/workloads/" + i9,schemaPath:"#/properties/delivery/properties/execution/properties/workloads/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err134];}else {vErrors.push(err134);}errors++;}}}else {const err135 = {instancePath:instancePath+"/delivery/execution/workloads",schemaPath:"#/properties/delivery/properties/execution/properties/workloads/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err135];}else {vErrors.push(err135);}errors++;}}}else {const err136 = {instancePath:instancePath+"/delivery/execution",schemaPath:"#/properties/delivery/properties/execution/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err136];}else {vErrors.push(err136);}errors++;}}if(data50.docsFreshness !== undefined){let data60 = data50.docsFreshness;if(data60 && typeof data60 == "object" && !Array.isArray(data60)){for(const key15 in data60){if(!(key15 === "paths")){const err137 = {instancePath:instancePath+"/delivery/docsFreshness",schemaPath:"#/properties/delivery/properties/docsFreshness/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key15},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err137];}else {vErrors.push(err137);}errors++;}}if(data60.paths !== undefined){let data61 = data60.paths;if(Array.isArray(data61)){const len9 = data61.length;for(let i12=0; i12<len9; i12++){let data62 = data61[i12];const _errs166 = errors;const _errs167 = errors;if(typeof data62 === "string"){if(!pattern0.test(data62)){const err138 = {};if(vErrors === null){vErrors = [err138];}else {vErrors.push(err138);}errors++;}}var valid49 = _errs167 === errors;if(valid49){const err139 = {instancePath:instancePath+"/delivery/docsFreshness/paths/" + i12,schemaPath:"#/properties/delivery/properties/docsFreshness/properties/paths/items/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err139];}else {vErrors.push(err139);}errors++;}else {errors = _errs166;if(vErrors !== null){if(_errs166){vErrors.length = _errs166;}else {vErrors = null;}}}if(typeof data62 === "string"){if(func2(data62) < 1){const err140 = {instancePath:instancePath+"/delivery/docsFreshness/paths/" + i12,schemaPath:"#/properties/delivery/properties/docsFreshness/properties/paths/items/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err140];}else {vErrors.push(err140);}errors++;}}else {const err141 = {instancePath:instancePath+"/delivery/docsFreshness/paths/" + i12,schemaPath:"#/properties/delivery/properties/docsFreshness/properties/paths/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err141];}else {vErrors.push(err141);}errors++;}}}else {const err142 = {instancePath:instancePath+"/delivery/docsFreshness/paths",schemaPath:"#/properties/delivery/properties/docsFreshness/properties/paths/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err142];}else {vErrors.push(err142);}errors++;}}}else {const err143 = {instancePath:instancePath+"/delivery/docsFreshness",schemaPath:"#/properties/delivery/properties/docsFreshness/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err143];}else {vErrors.push(err143);}errors++;}}if(data50.tempRetention !== undefined){let data63 = data50.tempRetention;if(data63 && typeof data63 == "object" && !Array.isArray(data63)){for(const key16 in data63){if(!((key16 === "enabled") || (key16 === "classes"))){const err144 = {instancePath:instancePath+"/delivery/tempRetention",schemaPath:"#/properties/delivery/properties/tempRetention/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key16},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err144];}else {vErrors.push(err144);}errors++;}}if(data63.enabled !== undefined){if(typeof data63.enabled !== "boolean"){const err145 = {instancePath:instancePath+"/delivery/tempRetention/enabled",schemaPath:"#/properties/delivery/properties/tempRetention/properties/enabled/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err145];}else {vErrors.push(err145);}errors++;}}if(data63.classes !== undefined){let data65 = data63.classes;if(data65 && typeof data65 == "object" && !Array.isArray(data65)){for(const key17 in data65){if(!(((((key17 === "orchestrationLogs") || (key17 === "validationEvidence")) || (key17 === "auditResults")) || (key17 === "planDirs")) || (key17 === "scratch"))){const err146 = {instancePath:instancePath+"/delivery/tempRetention/classes",schemaPath:"#/properties/delivery/properties/tempRetention/properties/classes/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key17},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err146];}else {vErrors.push(err146);}errors++;}}if(data65.orchestrationLogs !== undefined){if(typeof data65.orchestrationLogs !== "boolean"){const err147 = {instancePath:instancePath+"/delivery/tempRetention/classes/orchestrationLogs",schemaPath:"#/properties/delivery/properties/tempRetention/properties/classes/properties/orchestrationLogs/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err147];}else {vErrors.push(err147);}errors++;}}if(data65.validationEvidence !== undefined){if(typeof data65.validationEvidence !== "boolean"){const err148 = {instancePath:instancePath+"/delivery/tempRetention/classes/validationEvidence",schemaPath:"#/properties/delivery/properties/tempRetention/properties/classes/properties/validationEvidence/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err148];}else {vErrors.push(err148);}errors++;}}if(data65.auditResults !== undefined){if(typeof data65.auditResults !== "boolean"){const err149 = {instancePath:instancePath+"/delivery/tempRetention/classes/auditResults",schemaPath:"#/properties/delivery/properties/tempRetention/properties/classes/properties/auditResults/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err149];}else {vErrors.push(err149);}errors++;}}if(data65.planDirs !== undefined){if(typeof data65.planDirs !== "boolean"){const err150 = {instancePath:instancePath+"/delivery/tempRetention/classes/planDirs",schemaPath:"#/properties/delivery/properties/tempRetention/properties/classes/properties/planDirs/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err150];}else {vErrors.push(err150);}errors++;}}if(data65.scratch !== undefined){if(typeof data65.scratch !== "boolean"){const err151 = {instancePath:instancePath+"/delivery/tempRetention/classes/scratch",schemaPath:"#/properties/delivery/properties/tempRetention/properties/classes/properties/scratch/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err151];}else {vErrors.push(err151);}errors++;}}}else {const err152 = {instancePath:instancePath+"/delivery/tempRetention/classes",schemaPath:"#/properties/delivery/properties/tempRetention/properties/classes/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err152];}else {vErrors.push(err152);}errors++;}}}else {const err153 = {instancePath:instancePath+"/delivery/tempRetention",schemaPath:"#/properties/delivery/properties/tempRetention/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err153];}else {vErrors.push(err153);}errors++;}}if(data50.deliverRunner !== undefined){let data71 = data50.deliverRunner;if(data71 && typeof data71 == "object" && !Array.isArray(data71)){for(const key18 in data71){if(!((key18 === "concurrencyCap") || (key18 === "footprintGuard"))){const err154 = {instancePath:instancePath+"/delivery/deliverRunner",schemaPath:"#/properties/delivery/properties/deliverRunner/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key18},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err154];}else {vErrors.push(err154);}errors++;}}if(data71.concurrencyCap !== undefined){let data72 = data71.concurrencyCap;if(!(((typeof data72 == "number") && (!(data72 % 1) && !isNaN(data72))) && (isFinite(data72)))){const err155 = {instancePath:instancePath+"/delivery/deliverRunner/concurrencyCap",schemaPath:"#/properties/delivery/properties/deliverRunner/properties/concurrencyCap/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err155];}else {vErrors.push(err155);}errors++;}if((typeof data72 == "number") && (isFinite(data72))){if(data72 < 1 || isNaN(data72)){const err156 = {instancePath:instancePath+"/delivery/deliverRunner/concurrencyCap",schemaPath:"#/properties/delivery/properties/deliverRunner/properties/concurrencyCap/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"};if(vErrors === null){vErrors = [err156];}else {vErrors.push(err156);}errors++;}}}if(data71.footprintGuard !== undefined){let data73 = data71.footprintGuard;if(typeof data73 !== "string"){const err157 = {instancePath:instancePath+"/delivery/deliverRunner/footprintGuard",schemaPath:"#/properties/delivery/properties/deliverRunner/properties/footprintGuard/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err157];}else {vErrors.push(err157);}errors++;}if(!((data73 === "enforce") || (data73 === "advisory"))){const err158 = {instancePath:instancePath+"/delivery/deliverRunner/footprintGuard",schemaPath:"#/properties/delivery/properties/deliverRunner/properties/footprintGuard/enum",keyword:"enum",params:{allowedValues: schema11.properties.delivery.properties.deliverRunner.properties.footprintGuard.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err158];}else {vErrors.push(err158);}errors++;}}}else {const err159 = {instancePath:instancePath+"/delivery/deliverRunner",schemaPath:"#/properties/delivery/properties/deliverRunner/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err159];}else {vErrors.push(err159);}errors++;}}if(data50.worktreeIsolation !== undefined){let data74 = data50.worktreeIsolation;const _errs196 = errors;let valid54 = true;const _errs197 = errors;if(data74 && typeof data74 == "object" && !Array.isArray(data74)){let missing0;if((data74.enabled === undefined) && (missing0 = "enabled")){const err160 = {};if(vErrors === null){vErrors = [err160];}else {vErrors.push(err160);}errors++;}else {if(data74.enabled !== undefined){if(true !== data74.enabled){const err161 = {};if(vErrors === null){vErrors = [err161];}else {vErrors.push(err161);}errors++;}}}}var _valid0 = _errs197 === errors;errors = _errs196;if(vErrors !== null){if(_errs196){vErrors.length = _errs196;}else {vErrors = null;}}if(_valid0){const _errs199 = errors;if(data74 && typeof data74 == "object" && !Array.isArray(data74)){if(data74.root === undefined){const err162 = {instancePath:instancePath+"/delivery/worktreeIsolation",schemaPath:"#/properties/delivery/properties/worktreeIsolation/allOf/0/then/required",keyword:"required",params:{missingProperty: "root"},message:"must have required property '"+"root"+"'"};if(vErrors === null){vErrors = [err162];}else {vErrors.push(err162);}errors++;}}var _valid0 = _errs199 === errors;valid54 = _valid0;}if(!valid54){const err163 = {instancePath:instancePath+"/delivery/worktreeIsolation",schemaPath:"#/properties/delivery/properties/worktreeIsolation/allOf/0/if",keyword:"if",params:{failingKeyword: "then"},message:"must match \"then\" schema"};if(vErrors === null){vErrors = [err163];}else {vErrors.push(err163);}errors++;}if(data74 && typeof data74 == "object" && !Array.isArray(data74)){for(const key19 in data74){if(!(((((((key19 === "enabled") || (key19 === "root")) || (key19 === "nodeModulesStrategy")) || (key19 === "primeFromPath")) || (key19 === "allowSymlinkOnWindows")) || (key19 === "reapOnSuccess")) || (key19 === "bootstrapFiles"))){const err164 = {instancePath:instancePath+"/delivery/worktreeIsolation",schemaPath:"#/properties/delivery/properties/worktreeIsolation/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key19},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err164];}else {vErrors.push(err164);}errors++;}}if(data74.enabled !== undefined){if(typeof data74.enabled !== "boolean"){const err165 = {instancePath:instancePath+"/delivery/worktreeIsolation/enabled",schemaPath:"#/properties/delivery/properties/worktreeIsolation/properties/enabled/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err165];}else {vErrors.push(err165);}errors++;}}if(data74.root !== undefined){let data77 = data74.root;if(typeof data77 === "string"){if(func2(data77) < 1){const err166 = {instancePath:instancePath+"/delivery/worktreeIsolation/root",schemaPath:"#/properties/delivery/properties/worktreeIsolation/properties/root/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err166];}else {vErrors.push(err166);}errors++;}}else {const err167 = {instancePath:instancePath+"/delivery/worktreeIsolation/root",schemaPath:"#/properties/delivery/properties/worktreeIsolation/properties/root/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err167];}else {vErrors.push(err167);}errors++;}}if(data74.nodeModulesStrategy !== undefined){let data78 = data74.nodeModulesStrategy;if(typeof data78 !== "string"){const err168 = {instancePath:instancePath+"/delivery/worktreeIsolation/nodeModulesStrategy",schemaPath:"#/properties/delivery/properties/worktreeIsolation/properties/nodeModulesStrategy/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err168];}else {vErrors.push(err168);}errors++;}if(!((((data78 === "per-worktree") || (data78 === "clone")) || (data78 === "symlink")) || (data78 === "pnpm-store"))){const err169 = {instancePath:instancePath+"/delivery/worktreeIsolation/nodeModulesStrategy",schemaPath:"#/properties/delivery/properties/worktreeIsolation/properties/nodeModulesStrategy/enum",keyword:"enum",params:{allowedValues: schema11.properties.delivery.properties.worktreeIsolation.properties.nodeModulesStrategy.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err169];}else {vErrors.push(err169);}errors++;}}if(data74.primeFromPath !== undefined){let data79 = data74.primeFromPath;if((typeof data79 !== "string") && (data79 !== null)){const err170 = {instancePath:instancePath+"/delivery/worktreeIsolation/primeFromPath",schemaPath:"#/properties/delivery/properties/worktreeIsolation/properties/primeFromPath/type",keyword:"type",params:{type: schema11.properties.delivery.properties.worktreeIsolation.properties.primeFromPath.type},message:"must be string,null"};if(vErrors === null){vErrors = [err170];}else {vErrors.push(err170);}errors++;}if(typeof data79 === "string"){if(func2(data79) < 1){const err171 = {instancePath:instancePath+"/delivery/worktreeIsolation/primeFromPath",schemaPath:"#/properties/delivery/properties/worktreeIsolation/properties/primeFromPath/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err171];}else {vErrors.push(err171);}errors++;}}}if(data74.allowSymlinkOnWindows !== undefined){if(typeof data74.allowSymlinkOnWindows !== "boolean"){const err172 = {instancePath:instancePath+"/delivery/worktreeIsolation/allowSymlinkOnWindows",schemaPath:"#/properties/delivery/properties/worktreeIsolation/properties/allowSymlinkOnWindows/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err172];}else {vErrors.push(err172);}errors++;}}if(data74.reapOnSuccess !== undefined){if(typeof data74.reapOnSuccess !== "boolean"){const err173 = {instancePath:instancePath+"/delivery/worktreeIsolation/reapOnSuccess",schemaPath:"#/properties/delivery/properties/worktreeIsolation/properties/reapOnSuccess/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err173];}else {vErrors.push(err173);}errors++;}}if(data74.bootstrapFiles !== undefined){let data82 = data74.bootstrapFiles;if(Array.isArray(data82)){const len10 = data82.length;for(let i13=0; i13<len10; i13++){let data83 = data82[i13];if(typeof data83 === "string"){if(func2(data83) < 1){const err174 = {instancePath:instancePath+"/delivery/worktreeIsolation/bootstrapFiles/" + i13,schemaPath:"#/properties/delivery/properties/worktreeIsolation/properties/bootstrapFiles/items/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err174];}else {vErrors.push(err174);}errors++;}}else {const err175 = {instancePath:instancePath+"/delivery/worktreeIsolation/bootstrapFiles/" + i13,schemaPath:"#/properties/delivery/properties/worktreeIsolation/properties/bootstrapFiles/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err175];}else {vErrors.push(err175);}errors++;}}}else {const err176 = {instancePath:instancePath+"/delivery/worktreeIsolation/bootstrapFiles",schemaPath:"#/properties/delivery/properties/worktreeIsolation/properties/bootstrapFiles/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err176];}else {vErrors.push(err176);}errors++;}}}else {const err177 = {instancePath:instancePath+"/delivery/worktreeIsolation",schemaPath:"#/properties/delivery/properties/worktreeIsolation/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err177];}else {vErrors.push(err177);}errors++;}}if(data50.quality !== undefined){let data84 = data50.quality;if(data84 && typeof data84 == "object" && !Array.isArray(data84)){for(const key20 in data84){if(!((((key20 === "gates") || (key20 === "autoRefresh")) || (key20 === "requireBaselines")) || (key20 === "navigability"))){const err178 = {instancePath:instancePath+"/delivery/quality",schemaPath:"#/properties/delivery/properties/quality/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key20},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err178];}else {vErrors.push(err178);}errors++;}}if(data84.gates !== undefined){let data85 = data84.gates;if(data85 && typeof data85 == "object" && !Array.isArray(data85)){for(const key21 in data85){if(!((((((key21 === "coverage") || (key21 === "crap")) || (key21 === "maintainability")) || (key21 === "mutation")) || (key21 === "bundle-size")) || (key21 === "duplication"))){const err179 = {instancePath:instancePath+"/delivery/quality/gates",schemaPath:"#/properties/delivery/properties/quality/properties/gates/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key21},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err179];}else {vErrors.push(err179);}errors++;}}if(data85.coverage !== undefined){let data86 = data85.coverage;if(data86 && typeof data86 == "object" && !Array.isArray(data86)){for(const key22 in data86){if(!(func10.call(schema11.properties.delivery.properties.quality.properties.gates.properties.coverage.properties, key22))){const err180 = {instancePath:instancePath+"/delivery/quality/gates/coverage",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key22},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err180];}else {vErrors.push(err180);}errors++;}}if(data86.enabled !== undefined){if(typeof data86.enabled !== "boolean"){const err181 = {instancePath:instancePath+"/delivery/quality/gates/coverage/enabled",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/enabled/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err181];}else {vErrors.push(err181);}errors++;}}if(data86.baselinePath !== undefined){let data88 = data86.baselinePath;const _errs230 = errors;const _errs231 = errors;if(typeof data88 === "string"){if(!pattern0.test(data88)){const err182 = {};if(vErrors === null){vErrors = [err182];}else {vErrors.push(err182);}errors++;}}var valid62 = _errs231 === errors;if(valid62){const err183 = {instancePath:instancePath+"/delivery/quality/gates/coverage/baselinePath",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/baselinePath/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err183];}else {vErrors.push(err183);}errors++;}else {errors = _errs230;if(vErrors !== null){if(_errs230){vErrors.length = _errs230;}else {vErrors = null;}}}if(typeof data88 === "string"){if(func2(data88) < 1){const err184 = {instancePath:instancePath+"/delivery/quality/gates/coverage/baselinePath",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/baselinePath/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err184];}else {vErrors.push(err184);}errors++;}}else {const err185 = {instancePath:instancePath+"/delivery/quality/gates/coverage/baselinePath",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/baselinePath/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err185];}else {vErrors.push(err185);}errors++;}}if(data86.tolerance !== undefined){let data89 = data86.tolerance;if(data89 && typeof data89 == "object" && !Array.isArray(data89)){if(data89.kind === undefined){const err186 = {instancePath:instancePath+"/delivery/quality/gates/coverage/tolerance",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/tolerance/required",keyword:"required",params:{missingProperty: "kind"},message:"must have required property '"+"kind"+"'"};if(vErrors === null){vErrors = [err186];}else {vErrors.push(err186);}errors++;}if(data89.value === undefined){const err187 = {instancePath:instancePath+"/delivery/quality/gates/coverage/tolerance",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/tolerance/required",keyword:"required",params:{missingProperty: "value"},message:"must have required property '"+"value"+"'"};if(vErrors === null){vErrors = [err187];}else {vErrors.push(err187);}errors++;}for(const key23 in data89){if(!((key23 === "kind") || (key23 === "value"))){const err188 = {instancePath:instancePath+"/delivery/quality/gates/coverage/tolerance",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/tolerance/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key23},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err188];}else {vErrors.push(err188);}errors++;}}if(data89.kind !== undefined){let data90 = data89.kind;if(typeof data90 !== "string"){const err189 = {instancePath:instancePath+"/delivery/quality/gates/coverage/tolerance/kind",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/tolerance/properties/kind/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err189];}else {vErrors.push(err189);}errors++;}if(!((data90 === "absolute") || (data90 === "percent"))){const err190 = {instancePath:instancePath+"/delivery/quality/gates/coverage/tolerance/kind",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/tolerance/properties/kind/enum",keyword:"enum",params:{allowedValues: schema11.properties.delivery.properties.quality.properties.gates.properties.coverage.properties.tolerance.properties.kind.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err190];}else {vErrors.push(err190);}errors++;}}if(data89.value !== undefined){let data91 = data89.value;if((typeof data91 == "number") && (isFinite(data91))){if(data91 < 0 || isNaN(data91)){const err191 = {instancePath:instancePath+"/delivery/quality/gates/coverage/tolerance/value",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/tolerance/properties/value/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err191];}else {vErrors.push(err191);}errors++;}}else {const err192 = {instancePath:instancePath+"/delivery/quality/gates/coverage/tolerance/value",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/tolerance/properties/value/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err192];}else {vErrors.push(err192);}errors++;}}}else {const err193 = {instancePath:instancePath+"/delivery/quality/gates/coverage/tolerance",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/tolerance/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err193];}else {vErrors.push(err193);}errors++;}}if(data86.floors !== undefined){let data92 = data86.floors;if(data92 && typeof data92 == "object" && !Array.isArray(data92)){for(const key24 in data92){let data93 = data92[key24];if(data93 && typeof data93 == "object" && !Array.isArray(data93)){for(const key25 in data93){let data94 = data93[key25];if(!((typeof data94 == "number") && (isFinite(data94)))){const err194 = {instancePath:instancePath+"/delivery/quality/gates/coverage/floors/" + key24.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + key25.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/floors/additionalProperties/additionalProperties/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err194];}else {vErrors.push(err194);}errors++;}}}else {const err195 = {instancePath:instancePath+"/delivery/quality/gates/coverage/floors/" + key24.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/floors/additionalProperties/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err195];}else {vErrors.push(err195);}errors++;}}}else {const err196 = {instancePath:instancePath+"/delivery/quality/gates/coverage/floors",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/floors/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err196];}else {vErrors.push(err196);}errors++;}}if(data86.components !== undefined){let data95 = data86.components;if(data95 && typeof data95 == "object" && !Array.isArray(data95)){for(const key26 in data95){let data96 = data95[key26];if(Array.isArray(data96)){const len11 = data96.length;for(let i14=0; i14<len11; i14++){let data97 = data96[i14];if(typeof data97 === "string"){if(func2(data97) < 1){const err197 = {instancePath:instancePath+"/delivery/quality/gates/coverage/components/" + key26.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + i14,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/components/additionalProperties/items/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err197];}else {vErrors.push(err197);}errors++;}}else {const err198 = {instancePath:instancePath+"/delivery/quality/gates/coverage/components/" + key26.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + i14,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/components/additionalProperties/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err198];}else {vErrors.push(err198);}errors++;}}}else {const err199 = {instancePath:instancePath+"/delivery/quality/gates/coverage/components/" + key26.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/components/additionalProperties/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err199];}else {vErrors.push(err199);}errors++;}}}else {const err200 = {instancePath:instancePath+"/delivery/quality/gates/coverage/components",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/components/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err200];}else {vErrors.push(err200);}errors++;}}if(data86.coveragePath !== undefined){let data98 = data86.coveragePath;const _errs256 = errors;const _errs257 = errors;if(typeof data98 === "string"){if(!pattern0.test(data98)){const err201 = {};if(vErrors === null){vErrors = [err201];}else {vErrors.push(err201);}errors++;}}var valid69 = _errs257 === errors;if(valid69){const err202 = {instancePath:instancePath+"/delivery/quality/gates/coverage/coveragePath",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/coveragePath/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err202];}else {vErrors.push(err202);}errors++;}else {errors = _errs256;if(vErrors !== null){if(_errs256){vErrors.length = _errs256;}else {vErrors = null;}}}if(typeof data98 === "string"){if(func2(data98) < 1){const err203 = {instancePath:instancePath+"/delivery/quality/gates/coverage/coveragePath",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/coveragePath/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err203];}else {vErrors.push(err203);}errors++;}}else {const err204 = {instancePath:instancePath+"/delivery/quality/gates/coverage/coveragePath",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/coveragePath/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err204];}else {vErrors.push(err204);}errors++;}}if(data86.captureScript !== undefined){let data99 = data86.captureScript;if(typeof data99 === "string"){if(func2(data99) < 1){const err205 = {instancePath:instancePath+"/delivery/quality/gates/coverage/captureScript",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/captureScript/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err205];}else {vErrors.push(err205);}errors++;}if(!pattern17.test(data99)){const err206 = {instancePath:instancePath+"/delivery/quality/gates/coverage/captureScript",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/captureScript/pattern",keyword:"pattern",params:{pattern: "^[A-Za-z0-9@:._/-]+$"},message:"must match pattern \""+"^[A-Za-z0-9@:._/-]+$"+"\""};if(vErrors === null){vErrors = [err206];}else {vErrors.push(err206);}errors++;}}else {const err207 = {instancePath:instancePath+"/delivery/quality/gates/coverage/captureScript",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/captureScript/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err207];}else {vErrors.push(err207);}errors++;}}if(data86.captureScope !== undefined){let data100 = data86.captureScope;if(typeof data100 !== "string"){const err208 = {instancePath:instancePath+"/delivery/quality/gates/coverage/captureScope",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/captureScope/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err208];}else {vErrors.push(err208);}errors++;}if(!((data100 === "full") || (data100 === "affected"))){const err209 = {instancePath:instancePath+"/delivery/quality/gates/coverage/captureScope",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/captureScope/enum",keyword:"enum",params:{allowedValues: schema11.properties.delivery.properties.quality.properties.gates.properties.coverage.properties.captureScope.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err209];}else {vErrors.push(err209);}errors++;}}if(data86.timeoutMs !== undefined){let data101 = data86.timeoutMs;if(!(((typeof data101 == "number") && (!(data101 % 1) && !isNaN(data101))) && (isFinite(data101)))){const err210 = {instancePath:instancePath+"/delivery/quality/gates/coverage/timeoutMs",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/timeoutMs/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err210];}else {vErrors.push(err210);}errors++;}if((typeof data101 == "number") && (isFinite(data101))){if(data101 > 7200000 || isNaN(data101)){const err211 = {instancePath:instancePath+"/delivery/quality/gates/coverage/timeoutMs",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/timeoutMs/maximum",keyword:"maximum",params:{comparison: "<=", limit: 7200000},message:"must be <= 7200000"};if(vErrors === null){vErrors = [err211];}else {vErrors.push(err211);}errors++;}if(data101 < 60000 || isNaN(data101)){const err212 = {instancePath:instancePath+"/delivery/quality/gates/coverage/timeoutMs",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/timeoutMs/minimum",keyword:"minimum",params:{comparison: ">=", limit: 60000},message:"must be >= 60000"};if(vErrors === null){vErrors = [err212];}else {vErrors.push(err212);}errors++;}}}}else {const err213 = {instancePath:instancePath+"/delivery/quality/gates/coverage",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err213];}else {vErrors.push(err213);}errors++;}}if(data85.crap !== undefined){let data102 = data85.crap;if(data102 && typeof data102 == "object" && !Array.isArray(data102)){for(const key27 in data102){if(!(func10.call(schema11.properties.delivery.properties.quality.properties.gates.properties.crap.properties, key27))){const err214 = {instancePath:instancePath+"/delivery/quality/gates/crap",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key27},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err214];}else {vErrors.push(err214);}errors++;}}if(data102.captureScript !== undefined){if(data102.coveragePath === undefined){const err215 = {instancePath:instancePath+"/delivery/quality/gates/crap",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/dependencies",keyword:"dependencies",params:{property: "captureScript",
|
|
16
|
+
"use strict";export const validate = validate10;export default validate10;const schema11 = {"type":"object","required":["project"],"properties":{"$schema":{"type":"string"},"project":{"type":"object","required":["paths"],"properties":{"baseBranch":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"}},"paths":{"type":"object","required":["agentRoot","docsRoot","tempRoot"],"properties":{"agentRoot":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1},"docsRoot":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1},"tempRoot":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1}},"additionalProperties":false},"docsContextFiles":{"type":"array","items":{"type":"string"}},"commands":{"type":"object","properties":{"test":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1},"typecheck":{"type":["string","null"],"minLength":1,"not":{"type":"string","pattern":"([;&|`]|\\$\\()"}},"lint":{"type":["string","null"],"minLength":1,"not":{"type":"string","pattern":"([;&|`]|\\$\\()"}},"formatCheck":{"type":["string","null"],"minLength":1,"not":{"type":"string","pattern":"([;&|`]|\\$\\()"}},"formatWrite":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1}},"additionalProperties":false},"policies":{"type":"object","properties":{"corpusGlobs":{"type":"array","items":{"type":"string"}},"impactMap":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"}},"backingDocs":{"type":"array","items":{"type":"string"}},"acceptedFindings":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"}}},"additionalProperties":false}},"additionalProperties":false},"github":{"type":"object","required":["owner","repo","operatorHandle"],"properties":{"owner":{"type":"string","minLength":1},"repo":{"type":"string","minLength":1},"projectNumber":{"type":["integer","null"],"minimum":1},"projectOwner":{"type":["string","null"],"minLength":1},"operatorHandle":{"type":"string","pattern":"^@.+"},"cliConfigDir":{"type":["string","null"],"minLength":1},"followUpRepos":{"type":"object","properties":{"framework":{"type":"string","pattern":"^[^/\\s]+/[^/\\s]+$"},"platform":{"type":["string","null"],"pattern":"^[^/\\s]+/[^/\\s]+$"}},"additionalProperties":false},"branchProtection":{"type":"object","properties":{"enforce":{"type":"boolean"},"requiredChecks":{"type":"array","items":{"type":"object","required":["name","cmd"],"properties":{"name":{"type":"string","minLength":1},"cmd":{"type":"array","minItems":1,"items":{"type":"string","minLength":1}}},"additionalProperties":false}}},"additionalProperties":false},"mergeMethods":{"type":"object","properties":{"allow_squash_merge":{"type":"boolean"},"allow_rebase_merge":{"type":"boolean"},"allow_merge_commit":{"type":"boolean"},"allow_auto_merge":{"type":"boolean"},"delete_branch_on_merge":{"type":"boolean"}},"additionalProperties":false},"notifications":{"type":"object","properties":{"mentionOperator":{"type":"boolean"},"commentEvents":{"type":"array","items":{"type":"string","enum":["state-transition","story-merged","story-closing","operator-message"]},"uniqueItems":true},"webhookEvents":{"type":"array","items":{"type":"string","enum":["state-transition","story-merged","story-closing","operator-message","merge.unlanded","merge.flip-failed"]},"uniqueItems":true}},"additionalProperties":false}},"additionalProperties":false},"planning":{"type":"object","properties":{"navigation":{"type":"object","properties":{"routeGlobs":{"type":"array","items":{"type":"string"}},"navRegistry":{"type":"array","items":{"type":"string"}}},"additionalProperties":false}},"additionalProperties":false},"delivery":{"type":"object","properties":{"execution":{"type":"object","properties":{"fullSuiteLock":{"type":"boolean"},"capacity":{"type":"integer","minimum":1},"workloads":{"type":"array","items":{"type":"object","required":["command","weight"],"properties":{"command":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1},"weight":{"type":"integer","minimum":1},"resources":{"type":"array","uniqueItems":true,"items":{"type":"string","pattern":"^[a-z0-9][a-z0-9-]*$"}}},"additionalProperties":false}}},"additionalProperties":false},"docsFreshness":{"type":"object","properties":{"paths":{"type":"array","items":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1}}},"additionalProperties":false},"tempRetention":{"type":"object","properties":{"enabled":{"type":"boolean"},"classes":{"type":"object","properties":{"orchestrationLogs":{"type":"boolean"},"validationEvidence":{"type":"boolean"},"auditResults":{"type":"boolean"},"planDirs":{"type":"boolean"},"scratch":{"type":"boolean"}},"additionalProperties":false}},"additionalProperties":false},"deliverRunner":{"type":"object","properties":{"concurrencyCap":{"type":"integer","minimum":1},"footprintGuard":{"type":"string","enum":["enforce","advisory"]}},"additionalProperties":false},"worktreeIsolation":{"type":"object","properties":{"enabled":{"type":"boolean"},"root":{"type":"string","minLength":1},"nodeModulesStrategy":{"type":"string","enum":["per-worktree","clone","symlink","pnpm-store"]},"primeFromPath":{"type":["string","null"],"minLength":1},"allowSymlinkOnWindows":{"type":"boolean"},"reapOnSuccess":{"type":"boolean"},"bootstrapFiles":{"type":"array","items":{"type":"string","minLength":1}}},"additionalProperties":false,"allOf":[{"if":{"properties":{"enabled":{"const":true}},"required":["enabled"]},"then":{"required":["root"]}}]},"quality":{"type":"object","properties":{"gates":{"type":"object","properties":{"coverage":{"type":"object","properties":{"enabled":{"type":"boolean"},"baselinePath":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1},"tolerance":{"type":"object","required":["kind","value"],"properties":{"kind":{"type":"string","enum":["absolute","percent"]},"value":{"type":"number","minimum":0}},"additionalProperties":false},"floors":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"number"}}},"components":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string","minLength":1}}},"coveragePath":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1},"captureScript":{"type":"string","minLength":1,"pattern":"^[A-Za-z0-9@:._/-]+$"},"captureScope":{"type":"string","enum":["full","affected"]},"timeoutMs":{"type":"integer","minimum":60000,"maximum":7200000}},"additionalProperties":false},"crap":{"type":"object","properties":{"enabled":{"type":"boolean"},"baselinePath":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1},"tolerance":{"type":"object","required":["kind","value"],"properties":{"kind":{"type":"string","enum":["absolute","percent"]},"value":{"type":"number","minimum":0}},"additionalProperties":false},"floors":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"number"}}},"components":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string","minLength":1}}},"targetDirs":{"oneOf":[{"type":"array","items":{"type":"string"}},{"type":"object","properties":{"append":{"type":"array","items":{"type":"string"}},"prepend":{"type":"array","items":{"type":"string"}}},"additionalProperties":false}]},"newMethodCeiling":{"type":"integer","minimum":1},"requireCoverage":{"type":"boolean"},"minMethodResolutionRate":{"type":"number","minimum":0,"maximum":1},"ignoreGlobs":{"type":"array","items":{"type":"string","minLength":1}},"incrementalCoverage":{"type":"object","properties":{"skipWhenUnchanged":{"type":"boolean"},"baselineJoin":{"type":"boolean"},"baseRef":{"type":"string","minLength":1}},"additionalProperties":false},"coveragePath":{"type":["string","null"],"minLength":1},"captureScript":{"type":"string","minLength":1,"pattern":"^[A-Za-z0-9@:._/-]+$"}},"dependencies":{"captureScript":["coveragePath"]},"additionalProperties":false},"maintainability":{"type":"object","properties":{"enabled":{"type":"boolean"},"baselinePath":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1},"tolerance":{"type":"object","required":["kind","value"],"properties":{"kind":{"type":"string","enum":["absolute","percent"]},"value":{"type":"number","minimum":0}},"additionalProperties":false},"floors":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"number"}}},"components":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string","minLength":1}}},"targetDirs":{"oneOf":[{"type":"array","items":{"type":"string"}},{"type":"object","properties":{"append":{"type":"array","items":{"type":"string"}},"prepend":{"type":"array","items":{"type":"string"}}},"additionalProperties":false}]},"ignoreGlobs":{"type":"array","items":{"type":"string","minLength":1}}},"additionalProperties":false},"mutation":{"type":"object","properties":{"enabled":{"type":"boolean"},"baselinePath":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1},"tolerance":{"type":"object","required":["kind","value"],"properties":{"kind":{"type":"string","enum":["absolute","percent"]},"value":{"type":"number","minimum":0}},"additionalProperties":false},"floors":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"number"}}},"components":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string","minLength":1}}}},"additionalProperties":false},"bundle-size":{"type":"object","properties":{"enabled":{"type":"boolean"},"baselinePath":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1},"tolerance":{"type":"object","required":["kind","value"],"properties":{"kind":{"type":"string","enum":["absolute","percent"]},"value":{"type":"number","minimum":0}},"additionalProperties":false},"floors":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"number"}}},"components":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string","minLength":1}}},"bundles":{"type":"array","items":{"type":"object","required":["name","path","limit"],"properties":{"name":{"type":"string","minLength":1},"path":{"type":"string","minLength":1},"limit":{"type":"string","minLength":1}},"additionalProperties":false}}},"additionalProperties":false},"duplication":{"type":"object","properties":{"enabled":{"type":"boolean"},"baselinePath":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1},"tolerance":{"type":"object","required":["kind","value"],"properties":{"kind":{"type":"string","enum":["absolute","percent"]},"value":{"type":"number","minimum":0}},"additionalProperties":false},"floors":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"number"}}},"components":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string","minLength":1}}},"targetDirs":{"oneOf":[{"type":"array","items":{"type":"string"}},{"type":"object","properties":{"append":{"type":"array","items":{"type":"string"}},"prepend":{"type":"array","items":{"type":"string"}}},"additionalProperties":false}]},"additionalFormats":{"type":"array","items":{"type":"string","minLength":1}},"ignoreGlobs":{"type":"array","items":{"type":"string","minLength":1}}},"additionalProperties":false}},"additionalProperties":false},"autoRefresh":{"type":"object","properties":{"enabled":{"type":"boolean"}},"additionalProperties":false},"requireBaselines":{"type":"boolean"}},"additionalProperties":false},"mergeWatch":{"type":"object","properties":{"mode":{"type":"string","enum":["sync","async"]},"maxWaitSeconds":{"type":"integer","minimum":1},"maxBudgetSeconds":{"type":"integer","minimum":1}},"additionalProperties":false},"codeReview":{"type":"object","properties":{"providers":{"type":"array","items":{"type":"object","required":["name"],"properties":{"name":{"type":"string","enum":["native","code-review","codex","llm-review","security-review","ultrareview"]},"scopes":{"type":"array","items":{"type":"string","enum":["story","epic"]}},"optional":{"type":"boolean"},"manualPrompt":{"type":"boolean"},"when":{"type":"object","properties":{"label":{"type":"string","minLength":1},"labelAny":{"type":"array","items":{"type":"string","minLength":1},"minItems":1}},"additionalProperties":false}},"additionalProperties":false}},"autoFixSeverity":{"type":"string","enum":["high","medium"]}},"additionalProperties":false},"refactorStage":{"type":"object","properties":{"enabled":{"type":"boolean"}},"additionalProperties":false},"acceptanceEval":{"type":"object","properties":{"maxRounds":{"type":"integer","minimum":0}},"additionalProperties":false},"feedbackLoop":{"type":"object","properties":{"retroProposals":{"type":"boolean"}},"additionalProperties":false},"ci":{"type":"object","properties":{"autoMerge":{"type":"string","enum":["trust-ci","strict"]},"blockOnAdvisoryFailure":{"type":"boolean"},"advisoryAllowlist":{"type":"array","items":{"type":"string"}},"rerunAdvisory":{"type":"integer","minimum":0}},"additionalProperties":false},"routing":{"type":"object","properties":{"roleScopedAgents":{"type":"boolean"},"ceremonyProfile":{"type":"string","enum":["minimal","standard","strict"]},"closeAndLand":{"type":"boolean"},"agentModels":{"type":"object","propertyNames":{"enum":["story-worker","acceptance-critic","plan-critic","auditor"]},"additionalProperties":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"}}},"additionalProperties":false}},"additionalProperties":false},"qa":{"type":"object","properties":{"featureRoot":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1},"fixturesManifest":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1},"environments":{"type":"object","minProperties":1,"additionalProperties":{"type":"object","properties":{"baseUrl":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1},"signInSeam":{"oneOf":[{"type":"object","properties":{"urlTemplate":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1}},"required":["urlTemplate"],"additionalProperties":false},{"type":"object","properties":{"skill":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]*(?:\\/[a-z0-9][a-z0-9._-]*)+$"}},"required":["skill"],"additionalProperties":false}]},"allowWrites":{"type":"boolean"},"database":{"type":"object","properties":{"urlEnv":{"type":"string","pattern":"^[A-Z_][A-Z0-9_]*$"},"allowAudit":{"type":"boolean"}},"required":["urlEnv"],"additionalProperties":false}},"required":["baseUrl"],"additionalProperties":false}},"personas":{"oneOf":[{"type":"array","minItems":1,"items":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1}},{"type":"object","minProperties":1,"additionalProperties":{"oneOf":[{"type":"object","properties":{"credentialRef":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1}},"required":["credentialRef"],"additionalProperties":false},{"type":"object","properties":{"signInSkill":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1}},"required":["signInSkill"],"additionalProperties":false}]}}]},"gherkinLint":{"type":"object","properties":{"scopes":{"type":"object","minProperties":1,"additionalProperties":{"type":"object","properties":{"featureRoots":{"type":"array","minItems":1,"items":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1}},"stepRoots":{"type":"array","minItems":1,"items":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1}}},"required":["featureRoots","stepRoots"],"additionalProperties":false}},"exemptionTags":{"type":"array","items":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1}},"stepWaivers":{"type":"array","items":{"type":"string","minLength":1}}},"required":["scopes"],"additionalProperties":false},"consoleAllowlist":{"type":"array","items":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1}},"designTokens":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1}},"additionalProperties":false}},"additionalProperties":false};const pattern0 = new RegExp("([;&|`]|\\$\\()", "u");const pattern11 = new RegExp("^@.+", "u");const pattern12 = new RegExp("^[^/\\s]+/[^/\\s]+$", "u");const pattern15 = new RegExp("^[a-z0-9][a-z0-9-]*$", "u");const pattern19 = new RegExp("^[A-Za-z0-9@:._/-]+$", "u");const pattern26 = new RegExp("^[A-Za-z0-9][A-Za-z0-9._:-]*$", "u");const pattern32 = new RegExp("^[a-z0-9][a-z0-9._-]*(?:\\/[a-z0-9][a-z0-9._-]*)+$", "u");const pattern33 = new RegExp("^[A-Z_][A-Z0-9_]*$", "u");const func2 = require("ajv/dist/runtime/ucs2length").default;const func10 = Object.prototype.hasOwnProperty;function validate10(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(data && typeof data == "object" && !Array.isArray(data)){if(data.project === undefined){const err0 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "project"},message:"must have required property '"+"project"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}for(const key0 in data){if(!((((((key0 === "$schema") || (key0 === "project")) || (key0 === "github")) || (key0 === "planning")) || (key0 === "delivery")) || (key0 === "qa"))){const err1 = {instancePath,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}}if(data.$schema !== undefined){if(typeof data.$schema !== "string"){const err2 = {instancePath:instancePath+"/$schema",schemaPath:"#/properties/%24schema/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}}if(data.project !== undefined){let data1 = data.project;if(data1 && typeof data1 == "object" && !Array.isArray(data1)){if(data1.paths === undefined){const err3 = {instancePath:instancePath+"/project",schemaPath:"#/properties/project/required",keyword:"required",params:{missingProperty: "paths"},message:"must have required property '"+"paths"+"'"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}for(const key1 in data1){if(!(((((key1 === "baseBranch") || (key1 === "paths")) || (key1 === "docsContextFiles")) || (key1 === "commands")) || (key1 === "policies"))){const err4 = {instancePath:instancePath+"/project",schemaPath:"#/properties/project/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key1},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data1.baseBranch !== undefined){let data2 = data1.baseBranch;if(typeof data2 !== "string"){const err5 = {instancePath:instancePath+"/project/baseBranch",schemaPath:"#/properties/project/properties/baseBranch/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}const _errs9 = errors;const _errs10 = errors;if(typeof data2 === "string"){if(!pattern0.test(data2)){const err6 = {};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}var valid2 = _errs10 === errors;if(valid2){const err7 = {instancePath:instancePath+"/project/baseBranch",schemaPath:"#/properties/project/properties/baseBranch/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}else {errors = _errs9;if(vErrors !== null){if(_errs9){vErrors.length = _errs9;}else {vErrors = null;}}}}if(data1.paths !== undefined){let data3 = data1.paths;if(data3 && typeof data3 == "object" && !Array.isArray(data3)){if(data3.agentRoot === undefined){const err8 = {instancePath:instancePath+"/project/paths",schemaPath:"#/properties/project/properties/paths/required",keyword:"required",params:{missingProperty: "agentRoot"},message:"must have required property '"+"agentRoot"+"'"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}if(data3.docsRoot === undefined){const err9 = {instancePath:instancePath+"/project/paths",schemaPath:"#/properties/project/properties/paths/required",keyword:"required",params:{missingProperty: "docsRoot"},message:"must have required property '"+"docsRoot"+"'"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}if(data3.tempRoot === undefined){const err10 = {instancePath:instancePath+"/project/paths",schemaPath:"#/properties/project/properties/paths/required",keyword:"required",params:{missingProperty: "tempRoot"},message:"must have required property '"+"tempRoot"+"'"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}for(const key2 in data3){if(!(((key2 === "agentRoot") || (key2 === "docsRoot")) || (key2 === "tempRoot"))){const err11 = {instancePath:instancePath+"/project/paths",schemaPath:"#/properties/project/properties/paths/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key2},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err11];}else {vErrors.push(err11);}errors++;}}if(data3.agentRoot !== undefined){let data4 = data3.agentRoot;const _errs16 = errors;const _errs17 = errors;if(typeof data4 === "string"){if(!pattern0.test(data4)){const err12 = {};if(vErrors === null){vErrors = [err12];}else {vErrors.push(err12);}errors++;}}var valid4 = _errs17 === errors;if(valid4){const err13 = {instancePath:instancePath+"/project/paths/agentRoot",schemaPath:"#/properties/project/properties/paths/properties/agentRoot/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err13];}else {vErrors.push(err13);}errors++;}else {errors = _errs16;if(vErrors !== null){if(_errs16){vErrors.length = _errs16;}else {vErrors = null;}}}if(typeof data4 === "string"){if(func2(data4) < 1){const err14 = {instancePath:instancePath+"/project/paths/agentRoot",schemaPath:"#/properties/project/properties/paths/properties/agentRoot/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err14];}else {vErrors.push(err14);}errors++;}}else {const err15 = {instancePath:instancePath+"/project/paths/agentRoot",schemaPath:"#/properties/project/properties/paths/properties/agentRoot/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err15];}else {vErrors.push(err15);}errors++;}}if(data3.docsRoot !== undefined){let data5 = data3.docsRoot;const _errs20 = errors;const _errs21 = errors;if(typeof data5 === "string"){if(!pattern0.test(data5)){const err16 = {};if(vErrors === null){vErrors = [err16];}else {vErrors.push(err16);}errors++;}}var valid5 = _errs21 === errors;if(valid5){const err17 = {instancePath:instancePath+"/project/paths/docsRoot",schemaPath:"#/properties/project/properties/paths/properties/docsRoot/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err17];}else {vErrors.push(err17);}errors++;}else {errors = _errs20;if(vErrors !== null){if(_errs20){vErrors.length = _errs20;}else {vErrors = null;}}}if(typeof data5 === "string"){if(func2(data5) < 1){const err18 = {instancePath:instancePath+"/project/paths/docsRoot",schemaPath:"#/properties/project/properties/paths/properties/docsRoot/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err18];}else {vErrors.push(err18);}errors++;}}else {const err19 = {instancePath:instancePath+"/project/paths/docsRoot",schemaPath:"#/properties/project/properties/paths/properties/docsRoot/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err19];}else {vErrors.push(err19);}errors++;}}if(data3.tempRoot !== undefined){let data6 = data3.tempRoot;const _errs24 = errors;const _errs25 = errors;if(typeof data6 === "string"){if(!pattern0.test(data6)){const err20 = {};if(vErrors === null){vErrors = [err20];}else {vErrors.push(err20);}errors++;}}var valid6 = _errs25 === errors;if(valid6){const err21 = {instancePath:instancePath+"/project/paths/tempRoot",schemaPath:"#/properties/project/properties/paths/properties/tempRoot/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err21];}else {vErrors.push(err21);}errors++;}else {errors = _errs24;if(vErrors !== null){if(_errs24){vErrors.length = _errs24;}else {vErrors = null;}}}if(typeof data6 === "string"){if(func2(data6) < 1){const err22 = {instancePath:instancePath+"/project/paths/tempRoot",schemaPath:"#/properties/project/properties/paths/properties/tempRoot/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err22];}else {vErrors.push(err22);}errors++;}}else {const err23 = {instancePath:instancePath+"/project/paths/tempRoot",schemaPath:"#/properties/project/properties/paths/properties/tempRoot/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err23];}else {vErrors.push(err23);}errors++;}}}else {const err24 = {instancePath:instancePath+"/project/paths",schemaPath:"#/properties/project/properties/paths/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err24];}else {vErrors.push(err24);}errors++;}}if(data1.docsContextFiles !== undefined){let data7 = data1.docsContextFiles;if(Array.isArray(data7)){const len0 = data7.length;for(let i0=0; i0<len0; i0++){if(typeof data7[i0] !== "string"){const err25 = {instancePath:instancePath+"/project/docsContextFiles/" + i0,schemaPath:"#/properties/project/properties/docsContextFiles/items/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+"/project/docsContextFiles",schemaPath:"#/properties/project/properties/docsContextFiles/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err26];}else {vErrors.push(err26);}errors++;}}if(data1.commands !== undefined){let data9 = data1.commands;if(data9 && typeof data9 == "object" && !Array.isArray(data9)){for(const key3 in data9){if(!(((((key3 === "test") || (key3 === "typecheck")) || (key3 === "lint")) || (key3 === "formatCheck")) || (key3 === "formatWrite"))){const err27 = {instancePath:instancePath+"/project/commands",schemaPath:"#/properties/project/properties/commands/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key3},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err27];}else {vErrors.push(err27);}errors++;}}if(data9.test !== undefined){let data10 = data9.test;const _errs35 = errors;const _errs36 = errors;if(typeof data10 === "string"){if(!pattern0.test(data10)){const err28 = {};if(vErrors === null){vErrors = [err28];}else {vErrors.push(err28);}errors++;}}var valid10 = _errs36 === errors;if(valid10){const err29 = {instancePath:instancePath+"/project/commands/test",schemaPath:"#/properties/project/properties/commands/properties/test/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err29];}else {vErrors.push(err29);}errors++;}else {errors = _errs35;if(vErrors !== null){if(_errs35){vErrors.length = _errs35;}else {vErrors = null;}}}if(typeof data10 === "string"){if(func2(data10) < 1){const err30 = {instancePath:instancePath+"/project/commands/test",schemaPath:"#/properties/project/properties/commands/properties/test/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err30];}else {vErrors.push(err30);}errors++;}}else {const err31 = {instancePath:instancePath+"/project/commands/test",schemaPath:"#/properties/project/properties/commands/properties/test/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err31];}else {vErrors.push(err31);}errors++;}}if(data9.typecheck !== undefined){let data11 = data9.typecheck;if((typeof data11 !== "string") && (data11 !== null)){const err32 = {instancePath:instancePath+"/project/commands/typecheck",schemaPath:"#/properties/project/properties/commands/properties/typecheck/type",keyword:"type",params:{type: schema11.properties.project.properties.commands.properties.typecheck.type},message:"must be string,null"};if(vErrors === null){vErrors = [err32];}else {vErrors.push(err32);}errors++;}const _errs39 = errors;const _errs40 = errors;if(errors === _errs40){if(typeof data11 === "string"){if(!pattern0.test(data11)){const err33 = {};if(vErrors === null){vErrors = [err33];}else {vErrors.push(err33);}errors++;}}else {const err34 = {};if(vErrors === null){vErrors = [err34];}else {vErrors.push(err34);}errors++;}}var valid11 = _errs40 === errors;if(valid11){const err35 = {instancePath:instancePath+"/project/commands/typecheck",schemaPath:"#/properties/project/properties/commands/properties/typecheck/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err35];}else {vErrors.push(err35);}errors++;}else {errors = _errs39;if(vErrors !== null){if(_errs39){vErrors.length = _errs39;}else {vErrors = null;}}}if(typeof data11 === "string"){if(func2(data11) < 1){const err36 = {instancePath:instancePath+"/project/commands/typecheck",schemaPath:"#/properties/project/properties/commands/properties/typecheck/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err36];}else {vErrors.push(err36);}errors++;}}}if(data9.lint !== undefined){let data12 = data9.lint;if((typeof data12 !== "string") && (data12 !== null)){const err37 = {instancePath:instancePath+"/project/commands/lint",schemaPath:"#/properties/project/properties/commands/properties/lint/type",keyword:"type",params:{type: schema11.properties.project.properties.commands.properties.lint.type},message:"must be string,null"};if(vErrors === null){vErrors = [err37];}else {vErrors.push(err37);}errors++;}const _errs44 = errors;const _errs45 = errors;if(errors === _errs45){if(typeof data12 === "string"){if(!pattern0.test(data12)){const err38 = {};if(vErrors === null){vErrors = [err38];}else {vErrors.push(err38);}errors++;}}else {const err39 = {};if(vErrors === null){vErrors = [err39];}else {vErrors.push(err39);}errors++;}}var valid12 = _errs45 === errors;if(valid12){const err40 = {instancePath:instancePath+"/project/commands/lint",schemaPath:"#/properties/project/properties/commands/properties/lint/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err40];}else {vErrors.push(err40);}errors++;}else {errors = _errs44;if(vErrors !== null){if(_errs44){vErrors.length = _errs44;}else {vErrors = null;}}}if(typeof data12 === "string"){if(func2(data12) < 1){const err41 = {instancePath:instancePath+"/project/commands/lint",schemaPath:"#/properties/project/properties/commands/properties/lint/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err41];}else {vErrors.push(err41);}errors++;}}}if(data9.formatCheck !== undefined){let data13 = data9.formatCheck;if((typeof data13 !== "string") && (data13 !== null)){const err42 = {instancePath:instancePath+"/project/commands/formatCheck",schemaPath:"#/properties/project/properties/commands/properties/formatCheck/type",keyword:"type",params:{type: schema11.properties.project.properties.commands.properties.formatCheck.type},message:"must be string,null"};if(vErrors === null){vErrors = [err42];}else {vErrors.push(err42);}errors++;}const _errs49 = errors;const _errs50 = errors;if(errors === _errs50){if(typeof data13 === "string"){if(!pattern0.test(data13)){const err43 = {};if(vErrors === null){vErrors = [err43];}else {vErrors.push(err43);}errors++;}}else {const err44 = {};if(vErrors === null){vErrors = [err44];}else {vErrors.push(err44);}errors++;}}var valid13 = _errs50 === errors;if(valid13){const err45 = {instancePath:instancePath+"/project/commands/formatCheck",schemaPath:"#/properties/project/properties/commands/properties/formatCheck/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err45];}else {vErrors.push(err45);}errors++;}else {errors = _errs49;if(vErrors !== null){if(_errs49){vErrors.length = _errs49;}else {vErrors = null;}}}if(typeof data13 === "string"){if(func2(data13) < 1){const err46 = {instancePath:instancePath+"/project/commands/formatCheck",schemaPath:"#/properties/project/properties/commands/properties/formatCheck/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err46];}else {vErrors.push(err46);}errors++;}}}if(data9.formatWrite !== undefined){let data14 = data9.formatWrite;const _errs54 = errors;const _errs55 = errors;if(typeof data14 === "string"){if(!pattern0.test(data14)){const err47 = {};if(vErrors === null){vErrors = [err47];}else {vErrors.push(err47);}errors++;}}var valid14 = _errs55 === errors;if(valid14){const err48 = {instancePath:instancePath+"/project/commands/formatWrite",schemaPath:"#/properties/project/properties/commands/properties/formatWrite/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err48];}else {vErrors.push(err48);}errors++;}else {errors = _errs54;if(vErrors !== null){if(_errs54){vErrors.length = _errs54;}else {vErrors = null;}}}if(typeof data14 === "string"){if(func2(data14) < 1){const err49 = {instancePath:instancePath+"/project/commands/formatWrite",schemaPath:"#/properties/project/properties/commands/properties/formatWrite/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err49];}else {vErrors.push(err49);}errors++;}}else {const err50 = {instancePath:instancePath+"/project/commands/formatWrite",schemaPath:"#/properties/project/properties/commands/properties/formatWrite/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err50];}else {vErrors.push(err50);}errors++;}}}else {const err51 = {instancePath:instancePath+"/project/commands",schemaPath:"#/properties/project/properties/commands/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err51];}else {vErrors.push(err51);}errors++;}}if(data1.policies !== undefined){let data15 = data1.policies;if(data15 && typeof data15 == "object" && !Array.isArray(data15)){for(const key4 in data15){if(!((((key4 === "corpusGlobs") || (key4 === "impactMap")) || (key4 === "backingDocs")) || (key4 === "acceptedFindings"))){const err52 = {instancePath:instancePath+"/project/policies",schemaPath:"#/properties/project/properties/policies/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key4},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err52];}else {vErrors.push(err52);}errors++;}}if(data15.corpusGlobs !== undefined){let data16 = data15.corpusGlobs;if(Array.isArray(data16)){const len1 = data16.length;for(let i1=0; i1<len1; i1++){if(typeof data16[i1] !== "string"){const err53 = {instancePath:instancePath+"/project/policies/corpusGlobs/" + i1,schemaPath:"#/properties/project/properties/policies/properties/corpusGlobs/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err53];}else {vErrors.push(err53);}errors++;}}}else {const err54 = {instancePath:instancePath+"/project/policies/corpusGlobs",schemaPath:"#/properties/project/properties/policies/properties/corpusGlobs/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err54];}else {vErrors.push(err54);}errors++;}}if(data15.impactMap !== undefined){let data18 = data15.impactMap;if(typeof data18 !== "string"){const err55 = {instancePath:instancePath+"/project/policies/impactMap",schemaPath:"#/properties/project/properties/policies/properties/impactMap/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err55];}else {vErrors.push(err55);}errors++;}const _errs65 = errors;const _errs66 = errors;if(typeof data18 === "string"){if(!pattern0.test(data18)){const err56 = {};if(vErrors === null){vErrors = [err56];}else {vErrors.push(err56);}errors++;}}var valid18 = _errs66 === errors;if(valid18){const err57 = {instancePath:instancePath+"/project/policies/impactMap",schemaPath:"#/properties/project/properties/policies/properties/impactMap/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err57];}else {vErrors.push(err57);}errors++;}else {errors = _errs65;if(vErrors !== null){if(_errs65){vErrors.length = _errs65;}else {vErrors = null;}}}}if(data15.backingDocs !== undefined){let data19 = data15.backingDocs;if(Array.isArray(data19)){const len2 = data19.length;for(let i2=0; i2<len2; i2++){if(typeof data19[i2] !== "string"){const err58 = {instancePath:instancePath+"/project/policies/backingDocs/" + i2,schemaPath:"#/properties/project/properties/policies/properties/backingDocs/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err58];}else {vErrors.push(err58);}errors++;}}}else {const err59 = {instancePath:instancePath+"/project/policies/backingDocs",schemaPath:"#/properties/project/properties/policies/properties/backingDocs/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err59];}else {vErrors.push(err59);}errors++;}}if(data15.acceptedFindings !== undefined){let data21 = data15.acceptedFindings;if(typeof data21 !== "string"){const err60 = {instancePath:instancePath+"/project/policies/acceptedFindings",schemaPath:"#/properties/project/properties/policies/properties/acceptedFindings/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err60];}else {vErrors.push(err60);}errors++;}const _errs73 = errors;const _errs74 = errors;if(typeof data21 === "string"){if(!pattern0.test(data21)){const err61 = {};if(vErrors === null){vErrors = [err61];}else {vErrors.push(err61);}errors++;}}var valid21 = _errs74 === errors;if(valid21){const err62 = {instancePath:instancePath+"/project/policies/acceptedFindings",schemaPath:"#/properties/project/properties/policies/properties/acceptedFindings/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err62];}else {vErrors.push(err62);}errors++;}else {errors = _errs73;if(vErrors !== null){if(_errs73){vErrors.length = _errs73;}else {vErrors = null;}}}}}else {const err63 = {instancePath:instancePath+"/project/policies",schemaPath:"#/properties/project/properties/policies/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err63];}else {vErrors.push(err63);}errors++;}}}else {const err64 = {instancePath:instancePath+"/project",schemaPath:"#/properties/project/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err64];}else {vErrors.push(err64);}errors++;}}if(data.github !== undefined){let data22 = data.github;if(data22 && typeof data22 == "object" && !Array.isArray(data22)){if(data22.owner === undefined){const err65 = {instancePath:instancePath+"/github",schemaPath:"#/properties/github/required",keyword:"required",params:{missingProperty: "owner"},message:"must have required property '"+"owner"+"'"};if(vErrors === null){vErrors = [err65];}else {vErrors.push(err65);}errors++;}if(data22.repo === undefined){const err66 = {instancePath:instancePath+"/github",schemaPath:"#/properties/github/required",keyword:"required",params:{missingProperty: "repo"},message:"must have required property '"+"repo"+"'"};if(vErrors === null){vErrors = [err66];}else {vErrors.push(err66);}errors++;}if(data22.operatorHandle === undefined){const err67 = {instancePath:instancePath+"/github",schemaPath:"#/properties/github/required",keyword:"required",params:{missingProperty: "operatorHandle"},message:"must have required property '"+"operatorHandle"+"'"};if(vErrors === null){vErrors = [err67];}else {vErrors.push(err67);}errors++;}for(const key5 in data22){if(!(func10.call(schema11.properties.github.properties, key5))){const err68 = {instancePath:instancePath+"/github",schemaPath:"#/properties/github/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key5},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err68];}else {vErrors.push(err68);}errors++;}}if(data22.owner !== undefined){let data23 = data22.owner;if(typeof data23 === "string"){if(func2(data23) < 1){const err69 = {instancePath:instancePath+"/github/owner",schemaPath:"#/properties/github/properties/owner/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err69];}else {vErrors.push(err69);}errors++;}}else {const err70 = {instancePath:instancePath+"/github/owner",schemaPath:"#/properties/github/properties/owner/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err70];}else {vErrors.push(err70);}errors++;}}if(data22.repo !== undefined){let data24 = data22.repo;if(typeof data24 === "string"){if(func2(data24) < 1){const err71 = {instancePath:instancePath+"/github/repo",schemaPath:"#/properties/github/properties/repo/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err71];}else {vErrors.push(err71);}errors++;}}else {const err72 = {instancePath:instancePath+"/github/repo",schemaPath:"#/properties/github/properties/repo/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err72];}else {vErrors.push(err72);}errors++;}}if(data22.projectNumber !== undefined){let data25 = data22.projectNumber;if((!(((typeof data25 == "number") && (!(data25 % 1) && !isNaN(data25))) && (isFinite(data25)))) && (data25 !== null)){const err73 = {instancePath:instancePath+"/github/projectNumber",schemaPath:"#/properties/github/properties/projectNumber/type",keyword:"type",params:{type: schema11.properties.github.properties.projectNumber.type},message:"must be integer,null"};if(vErrors === null){vErrors = [err73];}else {vErrors.push(err73);}errors++;}if((typeof data25 == "number") && (isFinite(data25))){if(data25 < 1 || isNaN(data25)){const err74 = {instancePath:instancePath+"/github/projectNumber",schemaPath:"#/properties/github/properties/projectNumber/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"};if(vErrors === null){vErrors = [err74];}else {vErrors.push(err74);}errors++;}}}if(data22.projectOwner !== undefined){let data26 = data22.projectOwner;if((typeof data26 !== "string") && (data26 !== null)){const err75 = {instancePath:instancePath+"/github/projectOwner",schemaPath:"#/properties/github/properties/projectOwner/type",keyword:"type",params:{type: schema11.properties.github.properties.projectOwner.type},message:"must be string,null"};if(vErrors === null){vErrors = [err75];}else {vErrors.push(err75);}errors++;}if(typeof data26 === "string"){if(func2(data26) < 1){const err76 = {instancePath:instancePath+"/github/projectOwner",schemaPath:"#/properties/github/properties/projectOwner/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err76];}else {vErrors.push(err76);}errors++;}}}if(data22.operatorHandle !== undefined){let data27 = data22.operatorHandle;if(typeof data27 === "string"){if(!pattern11.test(data27)){const err77 = {instancePath:instancePath+"/github/operatorHandle",schemaPath:"#/properties/github/properties/operatorHandle/pattern",keyword:"pattern",params:{pattern: "^@.+"},message:"must match pattern \""+"^@.+"+"\""};if(vErrors === null){vErrors = [err77];}else {vErrors.push(err77);}errors++;}}else {const err78 = {instancePath:instancePath+"/github/operatorHandle",schemaPath:"#/properties/github/properties/operatorHandle/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err78];}else {vErrors.push(err78);}errors++;}}if(data22.cliConfigDir !== undefined){let data28 = data22.cliConfigDir;if((typeof data28 !== "string") && (data28 !== null)){const err79 = {instancePath:instancePath+"/github/cliConfigDir",schemaPath:"#/properties/github/properties/cliConfigDir/type",keyword:"type",params:{type: schema11.properties.github.properties.cliConfigDir.type},message:"must be string,null"};if(vErrors === null){vErrors = [err79];}else {vErrors.push(err79);}errors++;}if(typeof data28 === "string"){if(func2(data28) < 1){const err80 = {instancePath:instancePath+"/github/cliConfigDir",schemaPath:"#/properties/github/properties/cliConfigDir/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err80];}else {vErrors.push(err80);}errors++;}}}if(data22.followUpRepos !== undefined){let data29 = data22.followUpRepos;if(data29 && typeof data29 == "object" && !Array.isArray(data29)){for(const key6 in data29){if(!((key6 === "framework") || (key6 === "platform"))){const err81 = {instancePath:instancePath+"/github/followUpRepos",schemaPath:"#/properties/github/properties/followUpRepos/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key6},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err81];}else {vErrors.push(err81);}errors++;}}if(data29.framework !== undefined){let data30 = data29.framework;if(typeof data30 === "string"){if(!pattern12.test(data30)){const err82 = {instancePath:instancePath+"/github/followUpRepos/framework",schemaPath:"#/properties/github/properties/followUpRepos/properties/framework/pattern",keyword:"pattern",params:{pattern: "^[^/\\s]+/[^/\\s]+$"},message:"must match pattern \""+"^[^/\\s]+/[^/\\s]+$"+"\""};if(vErrors === null){vErrors = [err82];}else {vErrors.push(err82);}errors++;}}else {const err83 = {instancePath:instancePath+"/github/followUpRepos/framework",schemaPath:"#/properties/github/properties/followUpRepos/properties/framework/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err83];}else {vErrors.push(err83);}errors++;}}if(data29.platform !== undefined){let data31 = data29.platform;if((typeof data31 !== "string") && (data31 !== null)){const err84 = {instancePath:instancePath+"/github/followUpRepos/platform",schemaPath:"#/properties/github/properties/followUpRepos/properties/platform/type",keyword:"type",params:{type: schema11.properties.github.properties.followUpRepos.properties.platform.type},message:"must be string,null"};if(vErrors === null){vErrors = [err84];}else {vErrors.push(err84);}errors++;}if(typeof data31 === "string"){if(!pattern12.test(data31)){const err85 = {instancePath:instancePath+"/github/followUpRepos/platform",schemaPath:"#/properties/github/properties/followUpRepos/properties/platform/pattern",keyword:"pattern",params:{pattern: "^[^/\\s]+/[^/\\s]+$"},message:"must match pattern \""+"^[^/\\s]+/[^/\\s]+$"+"\""};if(vErrors === null){vErrors = [err85];}else {vErrors.push(err85);}errors++;}}}}else {const err86 = {instancePath:instancePath+"/github/followUpRepos",schemaPath:"#/properties/github/properties/followUpRepos/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err86];}else {vErrors.push(err86);}errors++;}}if(data22.branchProtection !== undefined){let data32 = data22.branchProtection;if(data32 && typeof data32 == "object" && !Array.isArray(data32)){for(const key7 in data32){if(!((key7 === "enforce") || (key7 === "requiredChecks"))){const err87 = {instancePath:instancePath+"/github/branchProtection",schemaPath:"#/properties/github/properties/branchProtection/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key7},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err87];}else {vErrors.push(err87);}errors++;}}if(data32.enforce !== undefined){if(typeof data32.enforce !== "boolean"){const err88 = {instancePath:instancePath+"/github/branchProtection/enforce",schemaPath:"#/properties/github/properties/branchProtection/properties/enforce/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err88];}else {vErrors.push(err88);}errors++;}}if(data32.requiredChecks !== undefined){let data34 = data32.requiredChecks;if(Array.isArray(data34)){const len3 = data34.length;for(let i3=0; i3<len3; i3++){let data35 = data34[i3];if(data35 && typeof data35 == "object" && !Array.isArray(data35)){if(data35.name === undefined){const err89 = {instancePath:instancePath+"/github/branchProtection/requiredChecks/" + i3,schemaPath:"#/properties/github/properties/branchProtection/properties/requiredChecks/items/required",keyword:"required",params:{missingProperty: "name"},message:"must have required property '"+"name"+"'"};if(vErrors === null){vErrors = [err89];}else {vErrors.push(err89);}errors++;}if(data35.cmd === undefined){const err90 = {instancePath:instancePath+"/github/branchProtection/requiredChecks/" + i3,schemaPath:"#/properties/github/properties/branchProtection/properties/requiredChecks/items/required",keyword:"required",params:{missingProperty: "cmd"},message:"must have required property '"+"cmd"+"'"};if(vErrors === null){vErrors = [err90];}else {vErrors.push(err90);}errors++;}for(const key8 in data35){if(!((key8 === "name") || (key8 === "cmd"))){const err91 = {instancePath:instancePath+"/github/branchProtection/requiredChecks/" + i3,schemaPath:"#/properties/github/properties/branchProtection/properties/requiredChecks/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key8},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err91];}else {vErrors.push(err91);}errors++;}}if(data35.name !== undefined){let data36 = data35.name;if(typeof data36 === "string"){if(func2(data36) < 1){const err92 = {instancePath:instancePath+"/github/branchProtection/requiredChecks/" + i3+"/name",schemaPath:"#/properties/github/properties/branchProtection/properties/requiredChecks/items/properties/name/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err92];}else {vErrors.push(err92);}errors++;}}else {const err93 = {instancePath:instancePath+"/github/branchProtection/requiredChecks/" + i3+"/name",schemaPath:"#/properties/github/properties/branchProtection/properties/requiredChecks/items/properties/name/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err93];}else {vErrors.push(err93);}errors++;}}if(data35.cmd !== undefined){let data37 = data35.cmd;if(Array.isArray(data37)){if(data37.length < 1){const err94 = {instancePath:instancePath+"/github/branchProtection/requiredChecks/" + i3+"/cmd",schemaPath:"#/properties/github/properties/branchProtection/properties/requiredChecks/items/properties/cmd/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err94];}else {vErrors.push(err94);}errors++;}const len4 = data37.length;for(let i4=0; i4<len4; i4++){let data38 = data37[i4];if(typeof data38 === "string"){if(func2(data38) < 1){const err95 = {instancePath:instancePath+"/github/branchProtection/requiredChecks/" + i3+"/cmd/" + i4,schemaPath:"#/properties/github/properties/branchProtection/properties/requiredChecks/items/properties/cmd/items/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err95];}else {vErrors.push(err95);}errors++;}}else {const err96 = {instancePath:instancePath+"/github/branchProtection/requiredChecks/" + i3+"/cmd/" + i4,schemaPath:"#/properties/github/properties/branchProtection/properties/requiredChecks/items/properties/cmd/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err96];}else {vErrors.push(err96);}errors++;}}}else {const err97 = {instancePath:instancePath+"/github/branchProtection/requiredChecks/" + i3+"/cmd",schemaPath:"#/properties/github/properties/branchProtection/properties/requiredChecks/items/properties/cmd/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err97];}else {vErrors.push(err97);}errors++;}}}else {const err98 = {instancePath:instancePath+"/github/branchProtection/requiredChecks/" + i3,schemaPath:"#/properties/github/properties/branchProtection/properties/requiredChecks/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err98];}else {vErrors.push(err98);}errors++;}}}else {const err99 = {instancePath:instancePath+"/github/branchProtection/requiredChecks",schemaPath:"#/properties/github/properties/branchProtection/properties/requiredChecks/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err99];}else {vErrors.push(err99);}errors++;}}}else {const err100 = {instancePath:instancePath+"/github/branchProtection",schemaPath:"#/properties/github/properties/branchProtection/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err100];}else {vErrors.push(err100);}errors++;}}if(data22.mergeMethods !== undefined){let data39 = data22.mergeMethods;if(data39 && typeof data39 == "object" && !Array.isArray(data39)){for(const key9 in data39){if(!(((((key9 === "allow_squash_merge") || (key9 === "allow_rebase_merge")) || (key9 === "allow_merge_commit")) || (key9 === "allow_auto_merge")) || (key9 === "delete_branch_on_merge"))){const err101 = {instancePath:instancePath+"/github/mergeMethods",schemaPath:"#/properties/github/properties/mergeMethods/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key9},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err101];}else {vErrors.push(err101);}errors++;}}if(data39.allow_squash_merge !== undefined){if(typeof data39.allow_squash_merge !== "boolean"){const err102 = {instancePath:instancePath+"/github/mergeMethods/allow_squash_merge",schemaPath:"#/properties/github/properties/mergeMethods/properties/allow_squash_merge/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err102];}else {vErrors.push(err102);}errors++;}}if(data39.allow_rebase_merge !== undefined){if(typeof data39.allow_rebase_merge !== "boolean"){const err103 = {instancePath:instancePath+"/github/mergeMethods/allow_rebase_merge",schemaPath:"#/properties/github/properties/mergeMethods/properties/allow_rebase_merge/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err103];}else {vErrors.push(err103);}errors++;}}if(data39.allow_merge_commit !== undefined){if(typeof data39.allow_merge_commit !== "boolean"){const err104 = {instancePath:instancePath+"/github/mergeMethods/allow_merge_commit",schemaPath:"#/properties/github/properties/mergeMethods/properties/allow_merge_commit/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err104];}else {vErrors.push(err104);}errors++;}}if(data39.allow_auto_merge !== undefined){if(typeof data39.allow_auto_merge !== "boolean"){const err105 = {instancePath:instancePath+"/github/mergeMethods/allow_auto_merge",schemaPath:"#/properties/github/properties/mergeMethods/properties/allow_auto_merge/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err105];}else {vErrors.push(err105);}errors++;}}if(data39.delete_branch_on_merge !== undefined){if(typeof data39.delete_branch_on_merge !== "boolean"){const err106 = {instancePath:instancePath+"/github/mergeMethods/delete_branch_on_merge",schemaPath:"#/properties/github/properties/mergeMethods/properties/delete_branch_on_merge/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err106];}else {vErrors.push(err106);}errors++;}}}else {const err107 = {instancePath:instancePath+"/github/mergeMethods",schemaPath:"#/properties/github/properties/mergeMethods/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err107];}else {vErrors.push(err107);}errors++;}}if(data22.notifications !== undefined){let data45 = data22.notifications;if(data45 && typeof data45 == "object" && !Array.isArray(data45)){for(const key10 in data45){if(!(((key10 === "mentionOperator") || (key10 === "commentEvents")) || (key10 === "webhookEvents"))){const err108 = {instancePath:instancePath+"/github/notifications",schemaPath:"#/properties/github/properties/notifications/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key10},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err108];}else {vErrors.push(err108);}errors++;}}if(data45.mentionOperator !== undefined){if(typeof data45.mentionOperator !== "boolean"){const err109 = {instancePath:instancePath+"/github/notifications/mentionOperator",schemaPath:"#/properties/github/properties/notifications/properties/mentionOperator/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err109];}else {vErrors.push(err109);}errors++;}}if(data45.commentEvents !== undefined){let data47 = data45.commentEvents;if(Array.isArray(data47)){const len5 = data47.length;for(let i5=0; i5<len5; i5++){let data48 = data47[i5];if(typeof data48 !== "string"){const err110 = {instancePath:instancePath+"/github/notifications/commentEvents/" + i5,schemaPath:"#/properties/github/properties/notifications/properties/commentEvents/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err110];}else {vErrors.push(err110);}errors++;}if(!((((data48 === "state-transition") || (data48 === "story-merged")) || (data48 === "story-closing")) || (data48 === "operator-message"))){const err111 = {instancePath:instancePath+"/github/notifications/commentEvents/" + i5,schemaPath:"#/properties/github/properties/notifications/properties/commentEvents/items/enum",keyword:"enum",params:{allowedValues: schema11.properties.github.properties.notifications.properties.commentEvents.items.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err111];}else {vErrors.push(err111);}errors++;}}let i6 = data47.length;let j0;if(i6 > 1){const indices0 = {};for(;i6--;){let item0 = data47[i6];if(typeof item0 !== "string"){continue;}if(typeof indices0[item0] == "number"){j0 = indices0[item0];const err112 = {instancePath:instancePath+"/github/notifications/commentEvents",schemaPath:"#/properties/github/properties/notifications/properties/commentEvents/uniqueItems",keyword:"uniqueItems",params:{i: i6, j: j0},message:"must NOT have duplicate items (items ## "+j0+" and "+i6+" are identical)"};if(vErrors === null){vErrors = [err112];}else {vErrors.push(err112);}errors++;break;}indices0[item0] = i6;}}}else {const err113 = {instancePath:instancePath+"/github/notifications/commentEvents",schemaPath:"#/properties/github/properties/notifications/properties/commentEvents/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err113];}else {vErrors.push(err113);}errors++;}}if(data45.webhookEvents !== undefined){let data49 = data45.webhookEvents;if(Array.isArray(data49)){const len6 = data49.length;for(let i7=0; i7<len6; i7++){let data50 = data49[i7];if(typeof data50 !== "string"){const err114 = {instancePath:instancePath+"/github/notifications/webhookEvents/" + i7,schemaPath:"#/properties/github/properties/notifications/properties/webhookEvents/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err114];}else {vErrors.push(err114);}errors++;}if(!((((((data50 === "state-transition") || (data50 === "story-merged")) || (data50 === "story-closing")) || (data50 === "operator-message")) || (data50 === "merge.unlanded")) || (data50 === "merge.flip-failed"))){const err115 = {instancePath:instancePath+"/github/notifications/webhookEvents/" + i7,schemaPath:"#/properties/github/properties/notifications/properties/webhookEvents/items/enum",keyword:"enum",params:{allowedValues: schema11.properties.github.properties.notifications.properties.webhookEvents.items.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err115];}else {vErrors.push(err115);}errors++;}}let i8 = data49.length;let j1;if(i8 > 1){const indices1 = {};for(;i8--;){let item1 = data49[i8];if(typeof item1 !== "string"){continue;}if(typeof indices1[item1] == "number"){j1 = indices1[item1];const err116 = {instancePath:instancePath+"/github/notifications/webhookEvents",schemaPath:"#/properties/github/properties/notifications/properties/webhookEvents/uniqueItems",keyword:"uniqueItems",params:{i: i8, j: j1},message:"must NOT have duplicate items (items ## "+j1+" and "+i8+" are identical)"};if(vErrors === null){vErrors = [err116];}else {vErrors.push(err116);}errors++;break;}indices1[item1] = i8;}}}else {const err117 = {instancePath:instancePath+"/github/notifications/webhookEvents",schemaPath:"#/properties/github/properties/notifications/properties/webhookEvents/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err117];}else {vErrors.push(err117);}errors++;}}}else {const err118 = {instancePath:instancePath+"/github/notifications",schemaPath:"#/properties/github/properties/notifications/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err118];}else {vErrors.push(err118);}errors++;}}}else {const err119 = {instancePath:instancePath+"/github",schemaPath:"#/properties/github/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err119];}else {vErrors.push(err119);}errors++;}}if(data.planning !== undefined){let data51 = data.planning;if(data51 && typeof data51 == "object" && !Array.isArray(data51)){for(const key11 in data51){if(!(key11 === "navigation")){const err120 = {instancePath:instancePath+"/planning",schemaPath:"#/properties/planning/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key11},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err120];}else {vErrors.push(err120);}errors++;}}if(data51.navigation !== undefined){let data52 = data51.navigation;if(data52 && typeof data52 == "object" && !Array.isArray(data52)){for(const key12 in data52){if(!((key12 === "routeGlobs") || (key12 === "navRegistry"))){const err121 = {instancePath:instancePath+"/planning/navigation",schemaPath:"#/properties/planning/properties/navigation/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key12},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err121];}else {vErrors.push(err121);}errors++;}}if(data52.routeGlobs !== undefined){let data53 = data52.routeGlobs;if(Array.isArray(data53)){const len7 = data53.length;for(let i9=0; i9<len7; i9++){if(typeof data53[i9] !== "string"){const err122 = {instancePath:instancePath+"/planning/navigation/routeGlobs/" + i9,schemaPath:"#/properties/planning/properties/navigation/properties/routeGlobs/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err122];}else {vErrors.push(err122);}errors++;}}}else {const err123 = {instancePath:instancePath+"/planning/navigation/routeGlobs",schemaPath:"#/properties/planning/properties/navigation/properties/routeGlobs/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err123];}else {vErrors.push(err123);}errors++;}}if(data52.navRegistry !== undefined){let data55 = data52.navRegistry;if(Array.isArray(data55)){const len8 = data55.length;for(let i10=0; i10<len8; i10++){if(typeof data55[i10] !== "string"){const err124 = {instancePath:instancePath+"/planning/navigation/navRegistry/" + i10,schemaPath:"#/properties/planning/properties/navigation/properties/navRegistry/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err124];}else {vErrors.push(err124);}errors++;}}}else {const err125 = {instancePath:instancePath+"/planning/navigation/navRegistry",schemaPath:"#/properties/planning/properties/navigation/properties/navRegistry/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err125];}else {vErrors.push(err125);}errors++;}}}else {const err126 = {instancePath:instancePath+"/planning/navigation",schemaPath:"#/properties/planning/properties/navigation/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err126];}else {vErrors.push(err126);}errors++;}}}else {const err127 = {instancePath:instancePath+"/planning",schemaPath:"#/properties/planning/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err127];}else {vErrors.push(err127);}errors++;}}if(data.delivery !== undefined){let data57 = data.delivery;if(data57 && typeof data57 == "object" && !Array.isArray(data57)){for(const key13 in data57){if(!(func10.call(schema11.properties.delivery.properties, key13))){const err128 = {instancePath:instancePath+"/delivery",schemaPath:"#/properties/delivery/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key13},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err128];}else {vErrors.push(err128);}errors++;}}if(data57.execution !== undefined){let data58 = data57.execution;if(data58 && typeof data58 == "object" && !Array.isArray(data58)){for(const key14 in data58){if(!(((key14 === "fullSuiteLock") || (key14 === "capacity")) || (key14 === "workloads"))){const err129 = {instancePath:instancePath+"/delivery/execution",schemaPath:"#/properties/delivery/properties/execution/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key14},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err129];}else {vErrors.push(err129);}errors++;}}if(data58.fullSuiteLock !== undefined){if(typeof data58.fullSuiteLock !== "boolean"){const err130 = {instancePath:instancePath+"/delivery/execution/fullSuiteLock",schemaPath:"#/properties/delivery/properties/execution/properties/fullSuiteLock/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err130];}else {vErrors.push(err130);}errors++;}}if(data58.capacity !== undefined){let data60 = data58.capacity;if(!(((typeof data60 == "number") && (!(data60 % 1) && !isNaN(data60))) && (isFinite(data60)))){const err131 = {instancePath:instancePath+"/delivery/execution/capacity",schemaPath:"#/properties/delivery/properties/execution/properties/capacity/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err131];}else {vErrors.push(err131);}errors++;}if((typeof data60 == "number") && (isFinite(data60))){if(data60 < 1 || isNaN(data60)){const err132 = {instancePath:instancePath+"/delivery/execution/capacity",schemaPath:"#/properties/delivery/properties/execution/properties/capacity/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"};if(vErrors === null){vErrors = [err132];}else {vErrors.push(err132);}errors++;}}}if(data58.workloads !== undefined){let data61 = data58.workloads;if(Array.isArray(data61)){const len9 = data61.length;for(let i11=0; i11<len9; i11++){let data62 = data61[i11];if(data62 && typeof data62 == "object" && !Array.isArray(data62)){if(data62.command === undefined){const err133 = {instancePath:instancePath+"/delivery/execution/workloads/" + i11,schemaPath:"#/properties/delivery/properties/execution/properties/workloads/items/required",keyword:"required",params:{missingProperty: "command"},message:"must have required property '"+"command"+"'"};if(vErrors === null){vErrors = [err133];}else {vErrors.push(err133);}errors++;}if(data62.weight === undefined){const err134 = {instancePath:instancePath+"/delivery/execution/workloads/" + i11,schemaPath:"#/properties/delivery/properties/execution/properties/workloads/items/required",keyword:"required",params:{missingProperty: "weight"},message:"must have required property '"+"weight"+"'"};if(vErrors === null){vErrors = [err134];}else {vErrors.push(err134);}errors++;}for(const key15 in data62){if(!(((key15 === "command") || (key15 === "weight")) || (key15 === "resources"))){const err135 = {instancePath:instancePath+"/delivery/execution/workloads/" + i11,schemaPath:"#/properties/delivery/properties/execution/properties/workloads/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key15},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err135];}else {vErrors.push(err135);}errors++;}}if(data62.command !== undefined){let data63 = data62.command;const _errs170 = errors;const _errs171 = errors;if(typeof data63 === "string"){if(!pattern0.test(data63)){const err136 = {};if(vErrors === null){vErrors = [err136];}else {vErrors.push(err136);}errors++;}}var valid49 = _errs171 === errors;if(valid49){const err137 = {instancePath:instancePath+"/delivery/execution/workloads/" + i11+"/command",schemaPath:"#/properties/delivery/properties/execution/properties/workloads/items/properties/command/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err137];}else {vErrors.push(err137);}errors++;}else {errors = _errs170;if(vErrors !== null){if(_errs170){vErrors.length = _errs170;}else {vErrors = null;}}}if(typeof data63 === "string"){if(func2(data63) < 1){const err138 = {instancePath:instancePath+"/delivery/execution/workloads/" + i11+"/command",schemaPath:"#/properties/delivery/properties/execution/properties/workloads/items/properties/command/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err138];}else {vErrors.push(err138);}errors++;}}else {const err139 = {instancePath:instancePath+"/delivery/execution/workloads/" + i11+"/command",schemaPath:"#/properties/delivery/properties/execution/properties/workloads/items/properties/command/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err139];}else {vErrors.push(err139);}errors++;}}if(data62.weight !== undefined){let data64 = data62.weight;if(!(((typeof data64 == "number") && (!(data64 % 1) && !isNaN(data64))) && (isFinite(data64)))){const err140 = {instancePath:instancePath+"/delivery/execution/workloads/" + i11+"/weight",schemaPath:"#/properties/delivery/properties/execution/properties/workloads/items/properties/weight/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err140];}else {vErrors.push(err140);}errors++;}if((typeof data64 == "number") && (isFinite(data64))){if(data64 < 1 || isNaN(data64)){const err141 = {instancePath:instancePath+"/delivery/execution/workloads/" + i11+"/weight",schemaPath:"#/properties/delivery/properties/execution/properties/workloads/items/properties/weight/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"};if(vErrors === null){vErrors = [err141];}else {vErrors.push(err141);}errors++;}}}if(data62.resources !== undefined){let data65 = data62.resources;if(Array.isArray(data65)){const len10 = data65.length;for(let i12=0; i12<len10; i12++){let data66 = data65[i12];if(typeof data66 === "string"){if(!pattern15.test(data66)){const err142 = {instancePath:instancePath+"/delivery/execution/workloads/" + i11+"/resources/" + i12,schemaPath:"#/properties/delivery/properties/execution/properties/workloads/items/properties/resources/items/pattern",keyword:"pattern",params:{pattern: "^[a-z0-9][a-z0-9-]*$"},message:"must match pattern \""+"^[a-z0-9][a-z0-9-]*$"+"\""};if(vErrors === null){vErrors = [err142];}else {vErrors.push(err142);}errors++;}}else {const err143 = {instancePath:instancePath+"/delivery/execution/workloads/" + i11+"/resources/" + i12,schemaPath:"#/properties/delivery/properties/execution/properties/workloads/items/properties/resources/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err143];}else {vErrors.push(err143);}errors++;}}let i13 = data65.length;let j2;if(i13 > 1){const indices2 = {};for(;i13--;){let item2 = data65[i13];if(typeof item2 !== "string"){continue;}if(typeof indices2[item2] == "number"){j2 = indices2[item2];const err144 = {instancePath:instancePath+"/delivery/execution/workloads/" + i11+"/resources",schemaPath:"#/properties/delivery/properties/execution/properties/workloads/items/properties/resources/uniqueItems",keyword:"uniqueItems",params:{i: i13, j: j2},message:"must NOT have duplicate items (items ## "+j2+" and "+i13+" are identical)"};if(vErrors === null){vErrors = [err144];}else {vErrors.push(err144);}errors++;break;}indices2[item2] = i13;}}}else {const err145 = {instancePath:instancePath+"/delivery/execution/workloads/" + i11+"/resources",schemaPath:"#/properties/delivery/properties/execution/properties/workloads/items/properties/resources/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err145];}else {vErrors.push(err145);}errors++;}}}else {const err146 = {instancePath:instancePath+"/delivery/execution/workloads/" + i11,schemaPath:"#/properties/delivery/properties/execution/properties/workloads/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err146];}else {vErrors.push(err146);}errors++;}}}else {const err147 = {instancePath:instancePath+"/delivery/execution/workloads",schemaPath:"#/properties/delivery/properties/execution/properties/workloads/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err147];}else {vErrors.push(err147);}errors++;}}}else {const err148 = {instancePath:instancePath+"/delivery/execution",schemaPath:"#/properties/delivery/properties/execution/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err148];}else {vErrors.push(err148);}errors++;}}if(data57.docsFreshness !== undefined){let data67 = data57.docsFreshness;if(data67 && typeof data67 == "object" && !Array.isArray(data67)){for(const key16 in data67){if(!(key16 === "paths")){const err149 = {instancePath:instancePath+"/delivery/docsFreshness",schemaPath:"#/properties/delivery/properties/docsFreshness/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key16},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err149];}else {vErrors.push(err149);}errors++;}}if(data67.paths !== undefined){let data68 = data67.paths;if(Array.isArray(data68)){const len11 = data68.length;for(let i14=0; i14<len11; i14++){let data69 = data68[i14];const _errs185 = errors;const _errs186 = errors;if(typeof data69 === "string"){if(!pattern0.test(data69)){const err150 = {};if(vErrors === null){vErrors = [err150];}else {vErrors.push(err150);}errors++;}}var valid56 = _errs186 === errors;if(valid56){const err151 = {instancePath:instancePath+"/delivery/docsFreshness/paths/" + i14,schemaPath:"#/properties/delivery/properties/docsFreshness/properties/paths/items/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err151];}else {vErrors.push(err151);}errors++;}else {errors = _errs185;if(vErrors !== null){if(_errs185){vErrors.length = _errs185;}else {vErrors = null;}}}if(typeof data69 === "string"){if(func2(data69) < 1){const err152 = {instancePath:instancePath+"/delivery/docsFreshness/paths/" + i14,schemaPath:"#/properties/delivery/properties/docsFreshness/properties/paths/items/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err152];}else {vErrors.push(err152);}errors++;}}else {const err153 = {instancePath:instancePath+"/delivery/docsFreshness/paths/" + i14,schemaPath:"#/properties/delivery/properties/docsFreshness/properties/paths/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err153];}else {vErrors.push(err153);}errors++;}}}else {const err154 = {instancePath:instancePath+"/delivery/docsFreshness/paths",schemaPath:"#/properties/delivery/properties/docsFreshness/properties/paths/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err154];}else {vErrors.push(err154);}errors++;}}}else {const err155 = {instancePath:instancePath+"/delivery/docsFreshness",schemaPath:"#/properties/delivery/properties/docsFreshness/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err155];}else {vErrors.push(err155);}errors++;}}if(data57.tempRetention !== undefined){let data70 = data57.tempRetention;if(data70 && typeof data70 == "object" && !Array.isArray(data70)){for(const key17 in data70){if(!((key17 === "enabled") || (key17 === "classes"))){const err156 = {instancePath:instancePath+"/delivery/tempRetention",schemaPath:"#/properties/delivery/properties/tempRetention/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key17},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err156];}else {vErrors.push(err156);}errors++;}}if(data70.enabled !== undefined){if(typeof data70.enabled !== "boolean"){const err157 = {instancePath:instancePath+"/delivery/tempRetention/enabled",schemaPath:"#/properties/delivery/properties/tempRetention/properties/enabled/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err157];}else {vErrors.push(err157);}errors++;}}if(data70.classes !== undefined){let data72 = data70.classes;if(data72 && typeof data72 == "object" && !Array.isArray(data72)){for(const key18 in data72){if(!(((((key18 === "orchestrationLogs") || (key18 === "validationEvidence")) || (key18 === "auditResults")) || (key18 === "planDirs")) || (key18 === "scratch"))){const err158 = {instancePath:instancePath+"/delivery/tempRetention/classes",schemaPath:"#/properties/delivery/properties/tempRetention/properties/classes/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key18},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err158];}else {vErrors.push(err158);}errors++;}}if(data72.orchestrationLogs !== undefined){if(typeof data72.orchestrationLogs !== "boolean"){const err159 = {instancePath:instancePath+"/delivery/tempRetention/classes/orchestrationLogs",schemaPath:"#/properties/delivery/properties/tempRetention/properties/classes/properties/orchestrationLogs/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err159];}else {vErrors.push(err159);}errors++;}}if(data72.validationEvidence !== undefined){if(typeof data72.validationEvidence !== "boolean"){const err160 = {instancePath:instancePath+"/delivery/tempRetention/classes/validationEvidence",schemaPath:"#/properties/delivery/properties/tempRetention/properties/classes/properties/validationEvidence/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err160];}else {vErrors.push(err160);}errors++;}}if(data72.auditResults !== undefined){if(typeof data72.auditResults !== "boolean"){const err161 = {instancePath:instancePath+"/delivery/tempRetention/classes/auditResults",schemaPath:"#/properties/delivery/properties/tempRetention/properties/classes/properties/auditResults/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err161];}else {vErrors.push(err161);}errors++;}}if(data72.planDirs !== undefined){if(typeof data72.planDirs !== "boolean"){const err162 = {instancePath:instancePath+"/delivery/tempRetention/classes/planDirs",schemaPath:"#/properties/delivery/properties/tempRetention/properties/classes/properties/planDirs/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err162];}else {vErrors.push(err162);}errors++;}}if(data72.scratch !== undefined){if(typeof data72.scratch !== "boolean"){const err163 = {instancePath:instancePath+"/delivery/tempRetention/classes/scratch",schemaPath:"#/properties/delivery/properties/tempRetention/properties/classes/properties/scratch/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err163];}else {vErrors.push(err163);}errors++;}}}else {const err164 = {instancePath:instancePath+"/delivery/tempRetention/classes",schemaPath:"#/properties/delivery/properties/tempRetention/properties/classes/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err164];}else {vErrors.push(err164);}errors++;}}}else {const err165 = {instancePath:instancePath+"/delivery/tempRetention",schemaPath:"#/properties/delivery/properties/tempRetention/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err165];}else {vErrors.push(err165);}errors++;}}if(data57.deliverRunner !== undefined){let data78 = data57.deliverRunner;if(data78 && typeof data78 == "object" && !Array.isArray(data78)){for(const key19 in data78){if(!((key19 === "concurrencyCap") || (key19 === "footprintGuard"))){const err166 = {instancePath:instancePath+"/delivery/deliverRunner",schemaPath:"#/properties/delivery/properties/deliverRunner/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key19},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err166];}else {vErrors.push(err166);}errors++;}}if(data78.concurrencyCap !== undefined){let data79 = data78.concurrencyCap;if(!(((typeof data79 == "number") && (!(data79 % 1) && !isNaN(data79))) && (isFinite(data79)))){const err167 = {instancePath:instancePath+"/delivery/deliverRunner/concurrencyCap",schemaPath:"#/properties/delivery/properties/deliverRunner/properties/concurrencyCap/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err167];}else {vErrors.push(err167);}errors++;}if((typeof data79 == "number") && (isFinite(data79))){if(data79 < 1 || isNaN(data79)){const err168 = {instancePath:instancePath+"/delivery/deliverRunner/concurrencyCap",schemaPath:"#/properties/delivery/properties/deliverRunner/properties/concurrencyCap/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"};if(vErrors === null){vErrors = [err168];}else {vErrors.push(err168);}errors++;}}}if(data78.footprintGuard !== undefined){let data80 = data78.footprintGuard;if(typeof data80 !== "string"){const err169 = {instancePath:instancePath+"/delivery/deliverRunner/footprintGuard",schemaPath:"#/properties/delivery/properties/deliverRunner/properties/footprintGuard/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err169];}else {vErrors.push(err169);}errors++;}if(!((data80 === "enforce") || (data80 === "advisory"))){const err170 = {instancePath:instancePath+"/delivery/deliverRunner/footprintGuard",schemaPath:"#/properties/delivery/properties/deliverRunner/properties/footprintGuard/enum",keyword:"enum",params:{allowedValues: schema11.properties.delivery.properties.deliverRunner.properties.footprintGuard.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err170];}else {vErrors.push(err170);}errors++;}}}else {const err171 = {instancePath:instancePath+"/delivery/deliverRunner",schemaPath:"#/properties/delivery/properties/deliverRunner/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err171];}else {vErrors.push(err171);}errors++;}}if(data57.worktreeIsolation !== undefined){let data81 = data57.worktreeIsolation;const _errs215 = errors;let valid61 = true;const _errs216 = errors;if(data81 && typeof data81 == "object" && !Array.isArray(data81)){let missing0;if((data81.enabled === undefined) && (missing0 = "enabled")){const err172 = {};if(vErrors === null){vErrors = [err172];}else {vErrors.push(err172);}errors++;}else {if(data81.enabled !== undefined){if(true !== data81.enabled){const err173 = {};if(vErrors === null){vErrors = [err173];}else {vErrors.push(err173);}errors++;}}}}var _valid0 = _errs216 === errors;errors = _errs215;if(vErrors !== null){if(_errs215){vErrors.length = _errs215;}else {vErrors = null;}}if(_valid0){const _errs218 = errors;if(data81 && typeof data81 == "object" && !Array.isArray(data81)){if(data81.root === undefined){const err174 = {instancePath:instancePath+"/delivery/worktreeIsolation",schemaPath:"#/properties/delivery/properties/worktreeIsolation/allOf/0/then/required",keyword:"required",params:{missingProperty: "root"},message:"must have required property '"+"root"+"'"};if(vErrors === null){vErrors = [err174];}else {vErrors.push(err174);}errors++;}}var _valid0 = _errs218 === errors;valid61 = _valid0;}if(!valid61){const err175 = {instancePath:instancePath+"/delivery/worktreeIsolation",schemaPath:"#/properties/delivery/properties/worktreeIsolation/allOf/0/if",keyword:"if",params:{failingKeyword: "then"},message:"must match \"then\" schema"};if(vErrors === null){vErrors = [err175];}else {vErrors.push(err175);}errors++;}if(data81 && typeof data81 == "object" && !Array.isArray(data81)){for(const key20 in data81){if(!(((((((key20 === "enabled") || (key20 === "root")) || (key20 === "nodeModulesStrategy")) || (key20 === "primeFromPath")) || (key20 === "allowSymlinkOnWindows")) || (key20 === "reapOnSuccess")) || (key20 === "bootstrapFiles"))){const err176 = {instancePath:instancePath+"/delivery/worktreeIsolation",schemaPath:"#/properties/delivery/properties/worktreeIsolation/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key20},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err176];}else {vErrors.push(err176);}errors++;}}if(data81.enabled !== undefined){if(typeof data81.enabled !== "boolean"){const err177 = {instancePath:instancePath+"/delivery/worktreeIsolation/enabled",schemaPath:"#/properties/delivery/properties/worktreeIsolation/properties/enabled/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err177];}else {vErrors.push(err177);}errors++;}}if(data81.root !== undefined){let data84 = data81.root;if(typeof data84 === "string"){if(func2(data84) < 1){const err178 = {instancePath:instancePath+"/delivery/worktreeIsolation/root",schemaPath:"#/properties/delivery/properties/worktreeIsolation/properties/root/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err178];}else {vErrors.push(err178);}errors++;}}else {const err179 = {instancePath:instancePath+"/delivery/worktreeIsolation/root",schemaPath:"#/properties/delivery/properties/worktreeIsolation/properties/root/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err179];}else {vErrors.push(err179);}errors++;}}if(data81.nodeModulesStrategy !== undefined){let data85 = data81.nodeModulesStrategy;if(typeof data85 !== "string"){const err180 = {instancePath:instancePath+"/delivery/worktreeIsolation/nodeModulesStrategy",schemaPath:"#/properties/delivery/properties/worktreeIsolation/properties/nodeModulesStrategy/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err180];}else {vErrors.push(err180);}errors++;}if(!((((data85 === "per-worktree") || (data85 === "clone")) || (data85 === "symlink")) || (data85 === "pnpm-store"))){const err181 = {instancePath:instancePath+"/delivery/worktreeIsolation/nodeModulesStrategy",schemaPath:"#/properties/delivery/properties/worktreeIsolation/properties/nodeModulesStrategy/enum",keyword:"enum",params:{allowedValues: schema11.properties.delivery.properties.worktreeIsolation.properties.nodeModulesStrategy.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err181];}else {vErrors.push(err181);}errors++;}}if(data81.primeFromPath !== undefined){let data86 = data81.primeFromPath;if((typeof data86 !== "string") && (data86 !== null)){const err182 = {instancePath:instancePath+"/delivery/worktreeIsolation/primeFromPath",schemaPath:"#/properties/delivery/properties/worktreeIsolation/properties/primeFromPath/type",keyword:"type",params:{type: schema11.properties.delivery.properties.worktreeIsolation.properties.primeFromPath.type},message:"must be string,null"};if(vErrors === null){vErrors = [err182];}else {vErrors.push(err182);}errors++;}if(typeof data86 === "string"){if(func2(data86) < 1){const err183 = {instancePath:instancePath+"/delivery/worktreeIsolation/primeFromPath",schemaPath:"#/properties/delivery/properties/worktreeIsolation/properties/primeFromPath/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err183];}else {vErrors.push(err183);}errors++;}}}if(data81.allowSymlinkOnWindows !== undefined){if(typeof data81.allowSymlinkOnWindows !== "boolean"){const err184 = {instancePath:instancePath+"/delivery/worktreeIsolation/allowSymlinkOnWindows",schemaPath:"#/properties/delivery/properties/worktreeIsolation/properties/allowSymlinkOnWindows/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err184];}else {vErrors.push(err184);}errors++;}}if(data81.reapOnSuccess !== undefined){if(typeof data81.reapOnSuccess !== "boolean"){const err185 = {instancePath:instancePath+"/delivery/worktreeIsolation/reapOnSuccess",schemaPath:"#/properties/delivery/properties/worktreeIsolation/properties/reapOnSuccess/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err185];}else {vErrors.push(err185);}errors++;}}if(data81.bootstrapFiles !== undefined){let data89 = data81.bootstrapFiles;if(Array.isArray(data89)){const len12 = data89.length;for(let i15=0; i15<len12; i15++){let data90 = data89[i15];if(typeof data90 === "string"){if(func2(data90) < 1){const err186 = {instancePath:instancePath+"/delivery/worktreeIsolation/bootstrapFiles/" + i15,schemaPath:"#/properties/delivery/properties/worktreeIsolation/properties/bootstrapFiles/items/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err186];}else {vErrors.push(err186);}errors++;}}else {const err187 = {instancePath:instancePath+"/delivery/worktreeIsolation/bootstrapFiles/" + i15,schemaPath:"#/properties/delivery/properties/worktreeIsolation/properties/bootstrapFiles/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err187];}else {vErrors.push(err187);}errors++;}}}else {const err188 = {instancePath:instancePath+"/delivery/worktreeIsolation/bootstrapFiles",schemaPath:"#/properties/delivery/properties/worktreeIsolation/properties/bootstrapFiles/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err188];}else {vErrors.push(err188);}errors++;}}}else {const err189 = {instancePath:instancePath+"/delivery/worktreeIsolation",schemaPath:"#/properties/delivery/properties/worktreeIsolation/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err189];}else {vErrors.push(err189);}errors++;}}if(data57.quality !== undefined){let data91 = data57.quality;if(data91 && typeof data91 == "object" && !Array.isArray(data91)){for(const key21 in data91){if(!(((key21 === "gates") || (key21 === "autoRefresh")) || (key21 === "requireBaselines"))){const err190 = {instancePath:instancePath+"/delivery/quality",schemaPath:"#/properties/delivery/properties/quality/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key21},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err190];}else {vErrors.push(err190);}errors++;}}if(data91.gates !== undefined){let data92 = data91.gates;if(data92 && typeof data92 == "object" && !Array.isArray(data92)){for(const key22 in data92){if(!((((((key22 === "coverage") || (key22 === "crap")) || (key22 === "maintainability")) || (key22 === "mutation")) || (key22 === "bundle-size")) || (key22 === "duplication"))){const err191 = {instancePath:instancePath+"/delivery/quality/gates",schemaPath:"#/properties/delivery/properties/quality/properties/gates/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key22},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err191];}else {vErrors.push(err191);}errors++;}}if(data92.coverage !== undefined){let data93 = data92.coverage;if(data93 && typeof data93 == "object" && !Array.isArray(data93)){for(const key23 in data93){if(!(func10.call(schema11.properties.delivery.properties.quality.properties.gates.properties.coverage.properties, key23))){const err192 = {instancePath:instancePath+"/delivery/quality/gates/coverage",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key23},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err192];}else {vErrors.push(err192);}errors++;}}if(data93.enabled !== undefined){if(typeof data93.enabled !== "boolean"){const err193 = {instancePath:instancePath+"/delivery/quality/gates/coverage/enabled",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/enabled/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err193];}else {vErrors.push(err193);}errors++;}}if(data93.baselinePath !== undefined){let data95 = data93.baselinePath;const _errs249 = errors;const _errs250 = errors;if(typeof data95 === "string"){if(!pattern0.test(data95)){const err194 = {};if(vErrors === null){vErrors = [err194];}else {vErrors.push(err194);}errors++;}}var valid69 = _errs250 === errors;if(valid69){const err195 = {instancePath:instancePath+"/delivery/quality/gates/coverage/baselinePath",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/baselinePath/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err195];}else {vErrors.push(err195);}errors++;}else {errors = _errs249;if(vErrors !== null){if(_errs249){vErrors.length = _errs249;}else {vErrors = null;}}}if(typeof data95 === "string"){if(func2(data95) < 1){const err196 = {instancePath:instancePath+"/delivery/quality/gates/coverage/baselinePath",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/baselinePath/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err196];}else {vErrors.push(err196);}errors++;}}else {const err197 = {instancePath:instancePath+"/delivery/quality/gates/coverage/baselinePath",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/baselinePath/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err197];}else {vErrors.push(err197);}errors++;}}if(data93.tolerance !== undefined){let data96 = data93.tolerance;if(data96 && typeof data96 == "object" && !Array.isArray(data96)){if(data96.kind === undefined){const err198 = {instancePath:instancePath+"/delivery/quality/gates/coverage/tolerance",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/tolerance/required",keyword:"required",params:{missingProperty: "kind"},message:"must have required property '"+"kind"+"'"};if(vErrors === null){vErrors = [err198];}else {vErrors.push(err198);}errors++;}if(data96.value === undefined){const err199 = {instancePath:instancePath+"/delivery/quality/gates/coverage/tolerance",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/tolerance/required",keyword:"required",params:{missingProperty: "value"},message:"must have required property '"+"value"+"'"};if(vErrors === null){vErrors = [err199];}else {vErrors.push(err199);}errors++;}for(const key24 in data96){if(!((key24 === "kind") || (key24 === "value"))){const err200 = {instancePath:instancePath+"/delivery/quality/gates/coverage/tolerance",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/tolerance/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key24},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err200];}else {vErrors.push(err200);}errors++;}}if(data96.kind !== undefined){let data97 = data96.kind;if(typeof data97 !== "string"){const err201 = {instancePath:instancePath+"/delivery/quality/gates/coverage/tolerance/kind",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/tolerance/properties/kind/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err201];}else {vErrors.push(err201);}errors++;}if(!((data97 === "absolute") || (data97 === "percent"))){const err202 = {instancePath:instancePath+"/delivery/quality/gates/coverage/tolerance/kind",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/tolerance/properties/kind/enum",keyword:"enum",params:{allowedValues: schema11.properties.delivery.properties.quality.properties.gates.properties.coverage.properties.tolerance.properties.kind.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err202];}else {vErrors.push(err202);}errors++;}}if(data96.value !== undefined){let data98 = data96.value;if((typeof data98 == "number") && (isFinite(data98))){if(data98 < 0 || isNaN(data98)){const err203 = {instancePath:instancePath+"/delivery/quality/gates/coverage/tolerance/value",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/tolerance/properties/value/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err203];}else {vErrors.push(err203);}errors++;}}else {const err204 = {instancePath:instancePath+"/delivery/quality/gates/coverage/tolerance/value",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/tolerance/properties/value/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err204];}else {vErrors.push(err204);}errors++;}}}else {const err205 = {instancePath:instancePath+"/delivery/quality/gates/coverage/tolerance",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/tolerance/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err205];}else {vErrors.push(err205);}errors++;}}if(data93.floors !== undefined){let data99 = data93.floors;if(data99 && typeof data99 == "object" && !Array.isArray(data99)){for(const key25 in data99){let data100 = data99[key25];if(data100 && typeof data100 == "object" && !Array.isArray(data100)){for(const key26 in data100){let data101 = data100[key26];if(!((typeof data101 == "number") && (isFinite(data101)))){const err206 = {instancePath:instancePath+"/delivery/quality/gates/coverage/floors/" + key25.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + key26.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/floors/additionalProperties/additionalProperties/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err206];}else {vErrors.push(err206);}errors++;}}}else {const err207 = {instancePath:instancePath+"/delivery/quality/gates/coverage/floors/" + key25.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/floors/additionalProperties/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err207];}else {vErrors.push(err207);}errors++;}}}else {const err208 = {instancePath:instancePath+"/delivery/quality/gates/coverage/floors",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/floors/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err208];}else {vErrors.push(err208);}errors++;}}if(data93.components !== undefined){let data102 = data93.components;if(data102 && typeof data102 == "object" && !Array.isArray(data102)){for(const key27 in data102){let data103 = data102[key27];if(Array.isArray(data103)){const len13 = data103.length;for(let i16=0; i16<len13; i16++){let data104 = data103[i16];if(typeof data104 === "string"){if(func2(data104) < 1){const err209 = {instancePath:instancePath+"/delivery/quality/gates/coverage/components/" + key27.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + i16,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/components/additionalProperties/items/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err209];}else {vErrors.push(err209);}errors++;}}else {const err210 = {instancePath:instancePath+"/delivery/quality/gates/coverage/components/" + key27.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + i16,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/components/additionalProperties/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err210];}else {vErrors.push(err210);}errors++;}}}else {const err211 = {instancePath:instancePath+"/delivery/quality/gates/coverage/components/" + key27.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/components/additionalProperties/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err211];}else {vErrors.push(err211);}errors++;}}}else {const err212 = {instancePath:instancePath+"/delivery/quality/gates/coverage/components",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/components/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err212];}else {vErrors.push(err212);}errors++;}}if(data93.coveragePath !== undefined){let data105 = data93.coveragePath;const _errs275 = errors;const _errs276 = errors;if(typeof data105 === "string"){if(!pattern0.test(data105)){const err213 = {};if(vErrors === null){vErrors = [err213];}else {vErrors.push(err213);}errors++;}}var valid76 = _errs276 === errors;if(valid76){const err214 = {instancePath:instancePath+"/delivery/quality/gates/coverage/coveragePath",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/coveragePath/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err214];}else {vErrors.push(err214);}errors++;}else {errors = _errs275;if(vErrors !== null){if(_errs275){vErrors.length = _errs275;}else {vErrors = null;}}}if(typeof data105 === "string"){if(func2(data105) < 1){const err215 = {instancePath:instancePath+"/delivery/quality/gates/coverage/coveragePath",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/coveragePath/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err215];}else {vErrors.push(err215);}errors++;}}else {const err216 = {instancePath:instancePath+"/delivery/quality/gates/coverage/coveragePath",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/coveragePath/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err216];}else {vErrors.push(err216);}errors++;}}if(data93.captureScript !== undefined){let data106 = data93.captureScript;if(typeof data106 === "string"){if(func2(data106) < 1){const err217 = {instancePath:instancePath+"/delivery/quality/gates/coverage/captureScript",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/captureScript/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err217];}else {vErrors.push(err217);}errors++;}if(!pattern19.test(data106)){const err218 = {instancePath:instancePath+"/delivery/quality/gates/coverage/captureScript",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/captureScript/pattern",keyword:"pattern",params:{pattern: "^[A-Za-z0-9@:._/-]+$"},message:"must match pattern \""+"^[A-Za-z0-9@:._/-]+$"+"\""};if(vErrors === null){vErrors = [err218];}else {vErrors.push(err218);}errors++;}}else {const err219 = {instancePath:instancePath+"/delivery/quality/gates/coverage/captureScript",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/captureScript/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err219];}else {vErrors.push(err219);}errors++;}}if(data93.captureScope !== undefined){let data107 = data93.captureScope;if(typeof data107 !== "string"){const err220 = {instancePath:instancePath+"/delivery/quality/gates/coverage/captureScope",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/captureScope/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err220];}else {vErrors.push(err220);}errors++;}if(!((data107 === "full") || (data107 === "affected"))){const err221 = {instancePath:instancePath+"/delivery/quality/gates/coverage/captureScope",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/captureScope/enum",keyword:"enum",params:{allowedValues: schema11.properties.delivery.properties.quality.properties.gates.properties.coverage.properties.captureScope.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err221];}else {vErrors.push(err221);}errors++;}}if(data93.timeoutMs !== undefined){let data108 = data93.timeoutMs;if(!(((typeof data108 == "number") && (!(data108 % 1) && !isNaN(data108))) && (isFinite(data108)))){const err222 = {instancePath:instancePath+"/delivery/quality/gates/coverage/timeoutMs",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/timeoutMs/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err222];}else {vErrors.push(err222);}errors++;}if((typeof data108 == "number") && (isFinite(data108))){if(data108 > 7200000 || isNaN(data108)){const err223 = {instancePath:instancePath+"/delivery/quality/gates/coverage/timeoutMs",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/timeoutMs/maximum",keyword:"maximum",params:{comparison: "<=", limit: 7200000},message:"must be <= 7200000"};if(vErrors === null){vErrors = [err223];}else {vErrors.push(err223);}errors++;}if(data108 < 60000 || isNaN(data108)){const err224 = {instancePath:instancePath+"/delivery/quality/gates/coverage/timeoutMs",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/timeoutMs/minimum",keyword:"minimum",params:{comparison: ">=", limit: 60000},message:"must be >= 60000"};if(vErrors === null){vErrors = [err224];}else {vErrors.push(err224);}errors++;}}}}else {const err225 = {instancePath:instancePath+"/delivery/quality/gates/coverage",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err225];}else {vErrors.push(err225);}errors++;}}if(data92.crap !== undefined){let data109 = data92.crap;if(data109 && typeof data109 == "object" && !Array.isArray(data109)){for(const key28 in data109){if(!(func10.call(schema11.properties.delivery.properties.quality.properties.gates.properties.crap.properties, key28))){const err226 = {instancePath:instancePath+"/delivery/quality/gates/crap",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key28},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err226];}else {vErrors.push(err226);}errors++;}}if(data109.captureScript !== undefined){if(data109.coveragePath === undefined){const err227 = {instancePath:instancePath+"/delivery/quality/gates/crap",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/dependencies",keyword:"dependencies",params:{property: "captureScript",
|
|
17
17
|
missingProperty: "coveragePath",
|
|
18
18
|
depsCount: 1,
|
|
19
|
-
deps: "coveragePath"},message:"must have property coveragePath when property captureScript is present"};if(vErrors === null){vErrors = [err215];}else {vErrors.push(err215);}errors++;}}if(data102.enabled !== undefined){if(typeof data102.enabled !== "boolean"){const err216 = {instancePath:instancePath+"/delivery/quality/gates/crap/enabled",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/enabled/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err216];}else {vErrors.push(err216);}errors++;}}if(data102.baselinePath !== undefined){let data104 = data102.baselinePath;const _errs271 = errors;const _errs272 = errors;if(typeof data104 === "string"){if(!pattern0.test(data104)){const err217 = {};if(vErrors === null){vErrors = [err217];}else {vErrors.push(err217);}errors++;}}var valid72 = _errs272 === errors;if(valid72){const err218 = {instancePath:instancePath+"/delivery/quality/gates/crap/baselinePath",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/baselinePath/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err218];}else {vErrors.push(err218);}errors++;}else {errors = _errs271;if(vErrors !== null){if(_errs271){vErrors.length = _errs271;}else {vErrors = null;}}}if(typeof data104 === "string"){if(func2(data104) < 1){const err219 = {instancePath:instancePath+"/delivery/quality/gates/crap/baselinePath",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/baselinePath/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err219];}else {vErrors.push(err219);}errors++;}}else {const err220 = {instancePath:instancePath+"/delivery/quality/gates/crap/baselinePath",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/baselinePath/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err220];}else {vErrors.push(err220);}errors++;}}if(data102.tolerance !== undefined){let data105 = data102.tolerance;if(data105 && typeof data105 == "object" && !Array.isArray(data105)){if(data105.kind === undefined){const err221 = {instancePath:instancePath+"/delivery/quality/gates/crap/tolerance",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/tolerance/required",keyword:"required",params:{missingProperty: "kind"},message:"must have required property '"+"kind"+"'"};if(vErrors === null){vErrors = [err221];}else {vErrors.push(err221);}errors++;}if(data105.value === undefined){const err222 = {instancePath:instancePath+"/delivery/quality/gates/crap/tolerance",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/tolerance/required",keyword:"required",params:{missingProperty: "value"},message:"must have required property '"+"value"+"'"};if(vErrors === null){vErrors = [err222];}else {vErrors.push(err222);}errors++;}for(const key28 in data105){if(!((key28 === "kind") || (key28 === "value"))){const err223 = {instancePath:instancePath+"/delivery/quality/gates/crap/tolerance",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/tolerance/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key28},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err223];}else {vErrors.push(err223);}errors++;}}if(data105.kind !== undefined){let data106 = data105.kind;if(typeof data106 !== "string"){const err224 = {instancePath:instancePath+"/delivery/quality/gates/crap/tolerance/kind",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/tolerance/properties/kind/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err224];}else {vErrors.push(err224);}errors++;}if(!((data106 === "absolute") || (data106 === "percent"))){const err225 = {instancePath:instancePath+"/delivery/quality/gates/crap/tolerance/kind",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/tolerance/properties/kind/enum",keyword:"enum",params:{allowedValues: schema11.properties.delivery.properties.quality.properties.gates.properties.crap.properties.tolerance.properties.kind.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err225];}else {vErrors.push(err225);}errors++;}}if(data105.value !== undefined){let data107 = data105.value;if((typeof data107 == "number") && (isFinite(data107))){if(data107 < 0 || isNaN(data107)){const err226 = {instancePath:instancePath+"/delivery/quality/gates/crap/tolerance/value",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/tolerance/properties/value/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err226];}else {vErrors.push(err226);}errors++;}}else {const err227 = {instancePath:instancePath+"/delivery/quality/gates/crap/tolerance/value",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/tolerance/properties/value/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err227];}else {vErrors.push(err227);}errors++;}}}else {const err228 = {instancePath:instancePath+"/delivery/quality/gates/crap/tolerance",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/tolerance/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err228];}else {vErrors.push(err228);}errors++;}}if(data102.floors !== undefined){let data108 = data102.floors;if(data108 && typeof data108 == "object" && !Array.isArray(data108)){for(const key29 in data108){let data109 = data108[key29];if(data109 && typeof data109 == "object" && !Array.isArray(data109)){for(const key30 in data109){let data110 = data109[key30];if(!((typeof data110 == "number") && (isFinite(data110)))){const err229 = {instancePath:instancePath+"/delivery/quality/gates/crap/floors/" + key29.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + key30.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/floors/additionalProperties/additionalProperties/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err229];}else {vErrors.push(err229);}errors++;}}}else {const err230 = {instancePath:instancePath+"/delivery/quality/gates/crap/floors/" + key29.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/floors/additionalProperties/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err230];}else {vErrors.push(err230);}errors++;}}}else {const err231 = {instancePath:instancePath+"/delivery/quality/gates/crap/floors",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/floors/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err231];}else {vErrors.push(err231);}errors++;}}if(data102.components !== undefined){let data111 = data102.components;if(data111 && typeof data111 == "object" && !Array.isArray(data111)){for(const key31 in data111){let data112 = data111[key31];if(Array.isArray(data112)){const len12 = data112.length;for(let i15=0; i15<len12; i15++){let data113 = data112[i15];if(typeof data113 === "string"){if(func2(data113) < 1){const err232 = {instancePath:instancePath+"/delivery/quality/gates/crap/components/" + key31.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + i15,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/components/additionalProperties/items/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err232];}else {vErrors.push(err232);}errors++;}}else {const err233 = {instancePath:instancePath+"/delivery/quality/gates/crap/components/" + key31.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + i15,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/components/additionalProperties/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err233];}else {vErrors.push(err233);}errors++;}}}else {const err234 = {instancePath:instancePath+"/delivery/quality/gates/crap/components/" + key31.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/components/additionalProperties/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err234];}else {vErrors.push(err234);}errors++;}}}else {const err235 = {instancePath:instancePath+"/delivery/quality/gates/crap/components",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/components/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err235];}else {vErrors.push(err235);}errors++;}}if(data102.targetDirs !== undefined){let data114 = data102.targetDirs;const _errs296 = errors;let valid79 = false;let passing0 = null;const _errs297 = errors;if(Array.isArray(data114)){const len13 = data114.length;for(let i16=0; i16<len13; i16++){if(typeof data114[i16] !== "string"){const err236 = {instancePath:instancePath+"/delivery/quality/gates/crap/targetDirs/" + i16,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/targetDirs/oneOf/0/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err236];}else {vErrors.push(err236);}errors++;}}}else {const err237 = {instancePath:instancePath+"/delivery/quality/gates/crap/targetDirs",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/targetDirs/oneOf/0/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err237];}else {vErrors.push(err237);}errors++;}var _valid1 = _errs297 === errors;if(_valid1){valid79 = true;passing0 = 0;}const _errs301 = errors;if(data114 && typeof data114 == "object" && !Array.isArray(data114)){for(const key32 in data114){if(!((key32 === "append") || (key32 === "prepend"))){const err238 = {instancePath:instancePath+"/delivery/quality/gates/crap/targetDirs",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/targetDirs/oneOf/1/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key32},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err238];}else {vErrors.push(err238);}errors++;}}if(data114.append !== undefined){let data116 = data114.append;if(Array.isArray(data116)){const len14 = data116.length;for(let i17=0; i17<len14; i17++){if(typeof data116[i17] !== "string"){const err239 = {instancePath:instancePath+"/delivery/quality/gates/crap/targetDirs/append/" + i17,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/targetDirs/oneOf/1/properties/append/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err239];}else {vErrors.push(err239);}errors++;}}}else {const err240 = {instancePath:instancePath+"/delivery/quality/gates/crap/targetDirs/append",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/targetDirs/oneOf/1/properties/append/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err240];}else {vErrors.push(err240);}errors++;}}if(data114.prepend !== undefined){let data118 = data114.prepend;if(Array.isArray(data118)){const len15 = data118.length;for(let i18=0; i18<len15; i18++){if(typeof data118[i18] !== "string"){const err241 = {instancePath:instancePath+"/delivery/quality/gates/crap/targetDirs/prepend/" + i18,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/targetDirs/oneOf/1/properties/prepend/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err241];}else {vErrors.push(err241);}errors++;}}}else {const err242 = {instancePath:instancePath+"/delivery/quality/gates/crap/targetDirs/prepend",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/targetDirs/oneOf/1/properties/prepend/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err242];}else {vErrors.push(err242);}errors++;}}}else {const err243 = {instancePath:instancePath+"/delivery/quality/gates/crap/targetDirs",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/targetDirs/oneOf/1/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err243];}else {vErrors.push(err243);}errors++;}var _valid1 = _errs301 === errors;if(_valid1 && valid79){valid79 = false;passing0 = [passing0, 1];}else {if(_valid1){valid79 = true;passing0 = 1;}}if(!valid79){const err244 = {instancePath:instancePath+"/delivery/quality/gates/crap/targetDirs",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/targetDirs/oneOf",keyword:"oneOf",params:{passingSchemas: passing0},message:"must match exactly one schema in oneOf"};if(vErrors === null){vErrors = [err244];}else {vErrors.push(err244);}errors++;}else {errors = _errs296;if(vErrors !== null){if(_errs296){vErrors.length = _errs296;}else {vErrors = null;}}}}if(data102.newMethodCeiling !== undefined){let data120 = data102.newMethodCeiling;if(!(((typeof data120 == "number") && (!(data120 % 1) && !isNaN(data120))) && (isFinite(data120)))){const err245 = {instancePath:instancePath+"/delivery/quality/gates/crap/newMethodCeiling",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/newMethodCeiling/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err245];}else {vErrors.push(err245);}errors++;}if((typeof data120 == "number") && (isFinite(data120))){if(data120 < 1 || isNaN(data120)){const err246 = {instancePath:instancePath+"/delivery/quality/gates/crap/newMethodCeiling",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/newMethodCeiling/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"};if(vErrors === null){vErrors = [err246];}else {vErrors.push(err246);}errors++;}}}if(data102.requireCoverage !== undefined){if(typeof data102.requireCoverage !== "boolean"){const err247 = {instancePath:instancePath+"/delivery/quality/gates/crap/requireCoverage",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/requireCoverage/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err247];}else {vErrors.push(err247);}errors++;}}if(data102.minMethodResolutionRate !== undefined){let data122 = data102.minMethodResolutionRate;if((typeof data122 == "number") && (isFinite(data122))){if(data122 > 1 || isNaN(data122)){const err248 = {instancePath:instancePath+"/delivery/quality/gates/crap/minMethodResolutionRate",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/minMethodResolutionRate/maximum",keyword:"maximum",params:{comparison: "<=", limit: 1},message:"must be <= 1"};if(vErrors === null){vErrors = [err248];}else {vErrors.push(err248);}errors++;}if(data122 < 0 || isNaN(data122)){const err249 = {instancePath:instancePath+"/delivery/quality/gates/crap/minMethodResolutionRate",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/minMethodResolutionRate/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err249];}else {vErrors.push(err249);}errors++;}}else {const err250 = {instancePath:instancePath+"/delivery/quality/gates/crap/minMethodResolutionRate",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/minMethodResolutionRate/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err250];}else {vErrors.push(err250);}errors++;}}if(data102.ignoreGlobs !== undefined){let data123 = data102.ignoreGlobs;if(Array.isArray(data123)){const len16 = data123.length;for(let i19=0; i19<len16; i19++){let data124 = data123[i19];if(typeof data124 === "string"){if(func2(data124) < 1){const err251 = {instancePath:instancePath+"/delivery/quality/gates/crap/ignoreGlobs/" + i19,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/ignoreGlobs/items/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err251];}else {vErrors.push(err251);}errors++;}}else {const err252 = {instancePath:instancePath+"/delivery/quality/gates/crap/ignoreGlobs/" + i19,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/ignoreGlobs/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err252];}else {vErrors.push(err252);}errors++;}}}else {const err253 = {instancePath:instancePath+"/delivery/quality/gates/crap/ignoreGlobs",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/ignoreGlobs/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err253];}else {vErrors.push(err253);}errors++;}}if(data102.incrementalCoverage !== undefined){let data125 = data102.incrementalCoverage;if(data125 && typeof data125 == "object" && !Array.isArray(data125)){for(const key33 in data125){if(!(((key33 === "skipWhenUnchanged") || (key33 === "baselineJoin")) || (key33 === "baseRef"))){const err254 = {instancePath:instancePath+"/delivery/quality/gates/crap/incrementalCoverage",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/incrementalCoverage/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key33},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err254];}else {vErrors.push(err254);}errors++;}}if(data125.skipWhenUnchanged !== undefined){if(typeof data125.skipWhenUnchanged !== "boolean"){const err255 = {instancePath:instancePath+"/delivery/quality/gates/crap/incrementalCoverage/skipWhenUnchanged",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/incrementalCoverage/properties/skipWhenUnchanged/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err255];}else {vErrors.push(err255);}errors++;}}if(data125.baselineJoin !== undefined){if(typeof data125.baselineJoin !== "boolean"){const err256 = {instancePath:instancePath+"/delivery/quality/gates/crap/incrementalCoverage/baselineJoin",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/incrementalCoverage/properties/baselineJoin/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err256];}else {vErrors.push(err256);}errors++;}}if(data125.baseRef !== undefined){let data128 = data125.baseRef;if(typeof data128 === "string"){if(func2(data128) < 1){const err257 = {instancePath:instancePath+"/delivery/quality/gates/crap/incrementalCoverage/baseRef",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/incrementalCoverage/properties/baseRef/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err257];}else {vErrors.push(err257);}errors++;}}else {const err258 = {instancePath:instancePath+"/delivery/quality/gates/crap/incrementalCoverage/baseRef",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/incrementalCoverage/properties/baseRef/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err258];}else {vErrors.push(err258);}errors++;}}}else {const err259 = {instancePath:instancePath+"/delivery/quality/gates/crap/incrementalCoverage",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/incrementalCoverage/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err259];}else {vErrors.push(err259);}errors++;}}if(data102.coveragePath !== undefined){let data129 = data102.coveragePath;if((typeof data129 !== "string") && (data129 !== null)){const err260 = {instancePath:instancePath+"/delivery/quality/gates/crap/coveragePath",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/coveragePath/type",keyword:"type",params:{type: schema11.properties.delivery.properties.quality.properties.gates.properties.crap.properties.coveragePath.type},message:"must be string,null"};if(vErrors === null){vErrors = [err260];}else {vErrors.push(err260);}errors++;}if(typeof data129 === "string"){if(func2(data129) < 1){const err261 = {instancePath:instancePath+"/delivery/quality/gates/crap/coveragePath",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/coveragePath/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err261];}else {vErrors.push(err261);}errors++;}}}if(data102.captureScript !== undefined){let data130 = data102.captureScript;if(typeof data130 === "string"){if(func2(data130) < 1){const err262 = {instancePath:instancePath+"/delivery/quality/gates/crap/captureScript",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/captureScript/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err262];}else {vErrors.push(err262);}errors++;}if(!pattern17.test(data130)){const err263 = {instancePath:instancePath+"/delivery/quality/gates/crap/captureScript",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/captureScript/pattern",keyword:"pattern",params:{pattern: "^[A-Za-z0-9@:._/-]+$"},message:"must match pattern \""+"^[A-Za-z0-9@:._/-]+$"+"\""};if(vErrors === null){vErrors = [err263];}else {vErrors.push(err263);}errors++;}}else {const err264 = {instancePath:instancePath+"/delivery/quality/gates/crap/captureScript",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/captureScript/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err264];}else {vErrors.push(err264);}errors++;}}}else {const err265 = {instancePath:instancePath+"/delivery/quality/gates/crap",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err265];}else {vErrors.push(err265);}errors++;}}if(data85.maintainability !== undefined){let data131 = data85.maintainability;if(data131 && typeof data131 == "object" && !Array.isArray(data131)){for(const key34 in data131){if(!(((((((key34 === "enabled") || (key34 === "baselinePath")) || (key34 === "tolerance")) || (key34 === "floors")) || (key34 === "components")) || (key34 === "targetDirs")) || (key34 === "ignoreGlobs"))){const err266 = {instancePath:instancePath+"/delivery/quality/gates/maintainability",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key34},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err266];}else {vErrors.push(err266);}errors++;}}if(data131.enabled !== undefined){if(typeof data131.enabled !== "boolean"){const err267 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/enabled",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/enabled/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err267];}else {vErrors.push(err267);}errors++;}}if(data131.baselinePath !== undefined){let data133 = data131.baselinePath;const _errs342 = errors;const _errs343 = errors;if(typeof data133 === "string"){if(!pattern0.test(data133)){const err268 = {};if(vErrors === null){vErrors = [err268];}else {vErrors.push(err268);}errors++;}}var valid91 = _errs343 === errors;if(valid91){const err269 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/baselinePath",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/baselinePath/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err269];}else {vErrors.push(err269);}errors++;}else {errors = _errs342;if(vErrors !== null){if(_errs342){vErrors.length = _errs342;}else {vErrors = null;}}}if(typeof data133 === "string"){if(func2(data133) < 1){const err270 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/baselinePath",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/baselinePath/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err270];}else {vErrors.push(err270);}errors++;}}else {const err271 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/baselinePath",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/baselinePath/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err271];}else {vErrors.push(err271);}errors++;}}if(data131.tolerance !== undefined){let data134 = data131.tolerance;if(data134 && typeof data134 == "object" && !Array.isArray(data134)){if(data134.kind === undefined){const err272 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/tolerance",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/tolerance/required",keyword:"required",params:{missingProperty: "kind"},message:"must have required property '"+"kind"+"'"};if(vErrors === null){vErrors = [err272];}else {vErrors.push(err272);}errors++;}if(data134.value === undefined){const err273 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/tolerance",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/tolerance/required",keyword:"required",params:{missingProperty: "value"},message:"must have required property '"+"value"+"'"};if(vErrors === null){vErrors = [err273];}else {vErrors.push(err273);}errors++;}for(const key35 in data134){if(!((key35 === "kind") || (key35 === "value"))){const err274 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/tolerance",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/tolerance/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key35},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err274];}else {vErrors.push(err274);}errors++;}}if(data134.kind !== undefined){let data135 = data134.kind;if(typeof data135 !== "string"){const err275 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/tolerance/kind",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/tolerance/properties/kind/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err275];}else {vErrors.push(err275);}errors++;}if(!((data135 === "absolute") || (data135 === "percent"))){const err276 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/tolerance/kind",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/tolerance/properties/kind/enum",keyword:"enum",params:{allowedValues: schema11.properties.delivery.properties.quality.properties.gates.properties.maintainability.properties.tolerance.properties.kind.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err276];}else {vErrors.push(err276);}errors++;}}if(data134.value !== undefined){let data136 = data134.value;if((typeof data136 == "number") && (isFinite(data136))){if(data136 < 0 || isNaN(data136)){const err277 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/tolerance/value",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/tolerance/properties/value/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err277];}else {vErrors.push(err277);}errors++;}}else {const err278 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/tolerance/value",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/tolerance/properties/value/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err278];}else {vErrors.push(err278);}errors++;}}}else {const err279 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/tolerance",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/tolerance/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err279];}else {vErrors.push(err279);}errors++;}}if(data131.floors !== undefined){let data137 = data131.floors;if(data137 && typeof data137 == "object" && !Array.isArray(data137)){for(const key36 in data137){let data138 = data137[key36];if(data138 && typeof data138 == "object" && !Array.isArray(data138)){for(const key37 in data138){let data139 = data138[key37];if(!((typeof data139 == "number") && (isFinite(data139)))){const err280 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/floors/" + key36.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + key37.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/floors/additionalProperties/additionalProperties/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err280];}else {vErrors.push(err280);}errors++;}}}else {const err281 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/floors/" + key36.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/floors/additionalProperties/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err281];}else {vErrors.push(err281);}errors++;}}}else {const err282 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/floors",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/floors/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err282];}else {vErrors.push(err282);}errors++;}}if(data131.components !== undefined){let data140 = data131.components;if(data140 && typeof data140 == "object" && !Array.isArray(data140)){for(const key38 in data140){let data141 = data140[key38];if(Array.isArray(data141)){const len17 = data141.length;for(let i20=0; i20<len17; i20++){let data142 = data141[i20];if(typeof data142 === "string"){if(func2(data142) < 1){const err283 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/components/" + key38.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + i20,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/components/additionalProperties/items/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err283];}else {vErrors.push(err283);}errors++;}}else {const err284 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/components/" + key38.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + i20,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/components/additionalProperties/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err284];}else {vErrors.push(err284);}errors++;}}}else {const err285 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/components/" + key38.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/components/additionalProperties/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err285];}else {vErrors.push(err285);}errors++;}}}else {const err286 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/components",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/components/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err286];}else {vErrors.push(err286);}errors++;}}if(data131.targetDirs !== undefined){let data143 = data131.targetDirs;const _errs367 = errors;let valid98 = false;let passing1 = null;const _errs368 = errors;if(Array.isArray(data143)){const len18 = data143.length;for(let i21=0; i21<len18; i21++){if(typeof data143[i21] !== "string"){const err287 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/targetDirs/" + i21,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/targetDirs/oneOf/0/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err287];}else {vErrors.push(err287);}errors++;}}}else {const err288 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/targetDirs",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/targetDirs/oneOf/0/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err288];}else {vErrors.push(err288);}errors++;}var _valid2 = _errs368 === errors;if(_valid2){valid98 = true;passing1 = 0;}const _errs372 = errors;if(data143 && typeof data143 == "object" && !Array.isArray(data143)){for(const key39 in data143){if(!((key39 === "append") || (key39 === "prepend"))){const err289 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/targetDirs",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/targetDirs/oneOf/1/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key39},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err289];}else {vErrors.push(err289);}errors++;}}if(data143.append !== undefined){let data145 = data143.append;if(Array.isArray(data145)){const len19 = data145.length;for(let i22=0; i22<len19; i22++){if(typeof data145[i22] !== "string"){const err290 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/targetDirs/append/" + i22,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/targetDirs/oneOf/1/properties/append/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err290];}else {vErrors.push(err290);}errors++;}}}else {const err291 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/targetDirs/append",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/targetDirs/oneOf/1/properties/append/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err291];}else {vErrors.push(err291);}errors++;}}if(data143.prepend !== undefined){let data147 = data143.prepend;if(Array.isArray(data147)){const len20 = data147.length;for(let i23=0; i23<len20; i23++){if(typeof data147[i23] !== "string"){const err292 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/targetDirs/prepend/" + i23,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/targetDirs/oneOf/1/properties/prepend/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err292];}else {vErrors.push(err292);}errors++;}}}else {const err293 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/targetDirs/prepend",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/targetDirs/oneOf/1/properties/prepend/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err293];}else {vErrors.push(err293);}errors++;}}}else {const err294 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/targetDirs",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/targetDirs/oneOf/1/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err294];}else {vErrors.push(err294);}errors++;}var _valid2 = _errs372 === errors;if(_valid2 && valid98){valid98 = false;passing1 = [passing1, 1];}else {if(_valid2){valid98 = true;passing1 = 1;}}if(!valid98){const err295 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/targetDirs",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/targetDirs/oneOf",keyword:"oneOf",params:{passingSchemas: passing1},message:"must match exactly one schema in oneOf"};if(vErrors === null){vErrors = [err295];}else {vErrors.push(err295);}errors++;}else {errors = _errs367;if(vErrors !== null){if(_errs367){vErrors.length = _errs367;}else {vErrors = null;}}}}if(data131.ignoreGlobs !== undefined){let data149 = data131.ignoreGlobs;if(Array.isArray(data149)){const len21 = data149.length;for(let i24=0; i24<len21; i24++){let data150 = data149[i24];if(typeof data150 === "string"){if(func2(data150) < 1){const err296 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/ignoreGlobs/" + i24,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/ignoreGlobs/items/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err296];}else {vErrors.push(err296);}errors++;}}else {const err297 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/ignoreGlobs/" + i24,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/ignoreGlobs/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err297];}else {vErrors.push(err297);}errors++;}}}else {const err298 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/ignoreGlobs",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/ignoreGlobs/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err298];}else {vErrors.push(err298);}errors++;}}}else {const err299 = {instancePath:instancePath+"/delivery/quality/gates/maintainability",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err299];}else {vErrors.push(err299);}errors++;}}if(data85.mutation !== undefined){let data151 = data85.mutation;if(data151 && typeof data151 == "object" && !Array.isArray(data151)){for(const key40 in data151){if(!(((((key40 === "enabled") || (key40 === "baselinePath")) || (key40 === "tolerance")) || (key40 === "floors")) || (key40 === "components"))){const err300 = {instancePath:instancePath+"/delivery/quality/gates/mutation",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/mutation/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key40},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err300];}else {vErrors.push(err300);}errors++;}}if(data151.enabled !== undefined){if(typeof data151.enabled !== "boolean"){const err301 = {instancePath:instancePath+"/delivery/quality/gates/mutation/enabled",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/mutation/properties/enabled/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err301];}else {vErrors.push(err301);}errors++;}}if(data151.baselinePath !== undefined){let data153 = data151.baselinePath;const _errs394 = errors;const _errs395 = errors;if(typeof data153 === "string"){if(!pattern0.test(data153)){const err302 = {};if(vErrors === null){vErrors = [err302];}else {vErrors.push(err302);}errors++;}}var valid109 = _errs395 === errors;if(valid109){const err303 = {instancePath:instancePath+"/delivery/quality/gates/mutation/baselinePath",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/mutation/properties/baselinePath/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err303];}else {vErrors.push(err303);}errors++;}else {errors = _errs394;if(vErrors !== null){if(_errs394){vErrors.length = _errs394;}else {vErrors = null;}}}if(typeof data153 === "string"){if(func2(data153) < 1){const err304 = {instancePath:instancePath+"/delivery/quality/gates/mutation/baselinePath",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/mutation/properties/baselinePath/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err304];}else {vErrors.push(err304);}errors++;}}else {const err305 = {instancePath:instancePath+"/delivery/quality/gates/mutation/baselinePath",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/mutation/properties/baselinePath/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err305];}else {vErrors.push(err305);}errors++;}}if(data151.tolerance !== undefined){let data154 = data151.tolerance;if(data154 && typeof data154 == "object" && !Array.isArray(data154)){if(data154.kind === undefined){const err306 = {instancePath:instancePath+"/delivery/quality/gates/mutation/tolerance",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/mutation/properties/tolerance/required",keyword:"required",params:{missingProperty: "kind"},message:"must have required property '"+"kind"+"'"};if(vErrors === null){vErrors = [err306];}else {vErrors.push(err306);}errors++;}if(data154.value === undefined){const err307 = {instancePath:instancePath+"/delivery/quality/gates/mutation/tolerance",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/mutation/properties/tolerance/required",keyword:"required",params:{missingProperty: "value"},message:"must have required property '"+"value"+"'"};if(vErrors === null){vErrors = [err307];}else {vErrors.push(err307);}errors++;}for(const key41 in data154){if(!((key41 === "kind") || (key41 === "value"))){const err308 = {instancePath:instancePath+"/delivery/quality/gates/mutation/tolerance",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/mutation/properties/tolerance/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key41},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err308];}else {vErrors.push(err308);}errors++;}}if(data154.kind !== undefined){let data155 = data154.kind;if(typeof data155 !== "string"){const err309 = {instancePath:instancePath+"/delivery/quality/gates/mutation/tolerance/kind",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/mutation/properties/tolerance/properties/kind/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err309];}else {vErrors.push(err309);}errors++;}if(!((data155 === "absolute") || (data155 === "percent"))){const err310 = {instancePath:instancePath+"/delivery/quality/gates/mutation/tolerance/kind",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/mutation/properties/tolerance/properties/kind/enum",keyword:"enum",params:{allowedValues: schema11.properties.delivery.properties.quality.properties.gates.properties.mutation.properties.tolerance.properties.kind.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err310];}else {vErrors.push(err310);}errors++;}}if(data154.value !== undefined){let data156 = data154.value;if((typeof data156 == "number") && (isFinite(data156))){if(data156 < 0 || isNaN(data156)){const err311 = {instancePath:instancePath+"/delivery/quality/gates/mutation/tolerance/value",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/mutation/properties/tolerance/properties/value/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err311];}else {vErrors.push(err311);}errors++;}}else {const err312 = {instancePath:instancePath+"/delivery/quality/gates/mutation/tolerance/value",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/mutation/properties/tolerance/properties/value/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err312];}else {vErrors.push(err312);}errors++;}}}else {const err313 = {instancePath:instancePath+"/delivery/quality/gates/mutation/tolerance",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/mutation/properties/tolerance/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err313];}else {vErrors.push(err313);}errors++;}}if(data151.floors !== undefined){let data157 = data151.floors;if(data157 && typeof data157 == "object" && !Array.isArray(data157)){for(const key42 in data157){let data158 = data157[key42];if(data158 && typeof data158 == "object" && !Array.isArray(data158)){for(const key43 in data158){let data159 = data158[key43];if(!((typeof data159 == "number") && (isFinite(data159)))){const err314 = {instancePath:instancePath+"/delivery/quality/gates/mutation/floors/" + key42.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + key43.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/mutation/properties/floors/additionalProperties/additionalProperties/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err314];}else {vErrors.push(err314);}errors++;}}}else {const err315 = {instancePath:instancePath+"/delivery/quality/gates/mutation/floors/" + key42.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/mutation/properties/floors/additionalProperties/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err315];}else {vErrors.push(err315);}errors++;}}}else {const err316 = {instancePath:instancePath+"/delivery/quality/gates/mutation/floors",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/mutation/properties/floors/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err316];}else {vErrors.push(err316);}errors++;}}if(data151.components !== undefined){let data160 = data151.components;if(data160 && typeof data160 == "object" && !Array.isArray(data160)){for(const key44 in data160){let data161 = data160[key44];if(Array.isArray(data161)){const len22 = data161.length;for(let i25=0; i25<len22; i25++){let data162 = data161[i25];if(typeof data162 === "string"){if(func2(data162) < 1){const err317 = {instancePath:instancePath+"/delivery/quality/gates/mutation/components/" + key44.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + i25,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/mutation/properties/components/additionalProperties/items/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err317];}else {vErrors.push(err317);}errors++;}}else {const err318 = {instancePath:instancePath+"/delivery/quality/gates/mutation/components/" + key44.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + i25,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/mutation/properties/components/additionalProperties/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err318];}else {vErrors.push(err318);}errors++;}}}else {const err319 = {instancePath:instancePath+"/delivery/quality/gates/mutation/components/" + key44.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/mutation/properties/components/additionalProperties/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err319];}else {vErrors.push(err319);}errors++;}}}else {const err320 = {instancePath:instancePath+"/delivery/quality/gates/mutation/components",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/mutation/properties/components/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err320];}else {vErrors.push(err320);}errors++;}}}else {const err321 = {instancePath:instancePath+"/delivery/quality/gates/mutation",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/mutation/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err321];}else {vErrors.push(err321);}errors++;}}if(data85["bundle-size"] !== undefined){let data163 = data85["bundle-size"];if(data163 && typeof data163 == "object" && !Array.isArray(data163)){for(const key45 in data163){if(!((((((key45 === "enabled") || (key45 === "baselinePath")) || (key45 === "tolerance")) || (key45 === "floors")) || (key45 === "components")) || (key45 === "bundles"))){const err322 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key45},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err322];}else {vErrors.push(err322);}errors++;}}if(data163.enabled !== undefined){if(typeof data163.enabled !== "boolean"){const err323 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/enabled",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/enabled/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err323];}else {vErrors.push(err323);}errors++;}}if(data163.baselinePath !== undefined){let data165 = data163.baselinePath;const _errs425 = errors;const _errs426 = errors;if(typeof data165 === "string"){if(!pattern0.test(data165)){const err324 = {};if(vErrors === null){vErrors = [err324];}else {vErrors.push(err324);}errors++;}}var valid117 = _errs426 === errors;if(valid117){const err325 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/baselinePath",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/baselinePath/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err325];}else {vErrors.push(err325);}errors++;}else {errors = _errs425;if(vErrors !== null){if(_errs425){vErrors.length = _errs425;}else {vErrors = null;}}}if(typeof data165 === "string"){if(func2(data165) < 1){const err326 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/baselinePath",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/baselinePath/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err326];}else {vErrors.push(err326);}errors++;}}else {const err327 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/baselinePath",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/baselinePath/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err327];}else {vErrors.push(err327);}errors++;}}if(data163.tolerance !== undefined){let data166 = data163.tolerance;if(data166 && typeof data166 == "object" && !Array.isArray(data166)){if(data166.kind === undefined){const err328 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/tolerance",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/tolerance/required",keyword:"required",params:{missingProperty: "kind"},message:"must have required property '"+"kind"+"'"};if(vErrors === null){vErrors = [err328];}else {vErrors.push(err328);}errors++;}if(data166.value === undefined){const err329 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/tolerance",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/tolerance/required",keyword:"required",params:{missingProperty: "value"},message:"must have required property '"+"value"+"'"};if(vErrors === null){vErrors = [err329];}else {vErrors.push(err329);}errors++;}for(const key46 in data166){if(!((key46 === "kind") || (key46 === "value"))){const err330 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/tolerance",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/tolerance/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key46},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err330];}else {vErrors.push(err330);}errors++;}}if(data166.kind !== undefined){let data167 = data166.kind;if(typeof data167 !== "string"){const err331 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/tolerance/kind",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/tolerance/properties/kind/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err331];}else {vErrors.push(err331);}errors++;}if(!((data167 === "absolute") || (data167 === "percent"))){const err332 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/tolerance/kind",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/tolerance/properties/kind/enum",keyword:"enum",params:{allowedValues: schema11.properties.delivery.properties.quality.properties.gates.properties["bundle-size"].properties.tolerance.properties.kind.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err332];}else {vErrors.push(err332);}errors++;}}if(data166.value !== undefined){let data168 = data166.value;if((typeof data168 == "number") && (isFinite(data168))){if(data168 < 0 || isNaN(data168)){const err333 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/tolerance/value",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/tolerance/properties/value/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err333];}else {vErrors.push(err333);}errors++;}}else {const err334 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/tolerance/value",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/tolerance/properties/value/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err334];}else {vErrors.push(err334);}errors++;}}}else {const err335 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/tolerance",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/tolerance/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err335];}else {vErrors.push(err335);}errors++;}}if(data163.floors !== undefined){let data169 = data163.floors;if(data169 && typeof data169 == "object" && !Array.isArray(data169)){for(const key47 in data169){let data170 = data169[key47];if(data170 && typeof data170 == "object" && !Array.isArray(data170)){for(const key48 in data170){let data171 = data170[key48];if(!((typeof data171 == "number") && (isFinite(data171)))){const err336 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/floors/" + key47.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + key48.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/floors/additionalProperties/additionalProperties/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err336];}else {vErrors.push(err336);}errors++;}}}else {const err337 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/floors/" + key47.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/floors/additionalProperties/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err337];}else {vErrors.push(err337);}errors++;}}}else {const err338 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/floors",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/floors/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err338];}else {vErrors.push(err338);}errors++;}}if(data163.components !== undefined){let data172 = data163.components;if(data172 && typeof data172 == "object" && !Array.isArray(data172)){for(const key49 in data172){let data173 = data172[key49];if(Array.isArray(data173)){const len23 = data173.length;for(let i26=0; i26<len23; i26++){let data174 = data173[i26];if(typeof data174 === "string"){if(func2(data174) < 1){const err339 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/components/" + key49.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + i26,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/components/additionalProperties/items/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err339];}else {vErrors.push(err339);}errors++;}}else {const err340 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/components/" + key49.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + i26,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/components/additionalProperties/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err340];}else {vErrors.push(err340);}errors++;}}}else {const err341 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/components/" + key49.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/components/additionalProperties/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err341];}else {vErrors.push(err341);}errors++;}}}else {const err342 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/components",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/components/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err342];}else {vErrors.push(err342);}errors++;}}if(data163.bundles !== undefined){let data175 = data163.bundles;if(Array.isArray(data175)){const len24 = data175.length;for(let i27=0; i27<len24; i27++){let data176 = data175[i27];if(data176 && typeof data176 == "object" && !Array.isArray(data176)){if(data176.name === undefined){const err343 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/bundles/" + i27,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/bundles/items/required",keyword:"required",params:{missingProperty: "name"},message:"must have required property '"+"name"+"'"};if(vErrors === null){vErrors = [err343];}else {vErrors.push(err343);}errors++;}if(data176.path === undefined){const err344 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/bundles/" + i27,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/bundles/items/required",keyword:"required",params:{missingProperty: "path"},message:"must have required property '"+"path"+"'"};if(vErrors === null){vErrors = [err344];}else {vErrors.push(err344);}errors++;}if(data176.limit === undefined){const err345 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/bundles/" + i27,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/bundles/items/required",keyword:"required",params:{missingProperty: "limit"},message:"must have required property '"+"limit"+"'"};if(vErrors === null){vErrors = [err345];}else {vErrors.push(err345);}errors++;}for(const key50 in data176){if(!(((key50 === "name") || (key50 === "path")) || (key50 === "limit"))){const err346 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/bundles/" + i27,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/bundles/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key50},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err346];}else {vErrors.push(err346);}errors++;}}if(data176.name !== undefined){let data177 = data176.name;if(typeof data177 === "string"){if(func2(data177) < 1){const err347 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/bundles/" + i27+"/name",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/bundles/items/properties/name/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err347];}else {vErrors.push(err347);}errors++;}}else {const err348 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/bundles/" + i27+"/name",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/bundles/items/properties/name/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err348];}else {vErrors.push(err348);}errors++;}}if(data176.path !== undefined){let data178 = data176.path;if(typeof data178 === "string"){if(func2(data178) < 1){const err349 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/bundles/" + i27+"/path",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/bundles/items/properties/path/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err349];}else {vErrors.push(err349);}errors++;}}else {const err350 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/bundles/" + i27+"/path",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/bundles/items/properties/path/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err350];}else {vErrors.push(err350);}errors++;}}if(data176.limit !== undefined){let data179 = data176.limit;if(typeof data179 === "string"){if(func2(data179) < 1){const err351 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/bundles/" + i27+"/limit",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/bundles/items/properties/limit/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err351];}else {vErrors.push(err351);}errors++;}}else {const err352 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/bundles/" + i27+"/limit",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/bundles/items/properties/limit/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err352];}else {vErrors.push(err352);}errors++;}}}else {const err353 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/bundles/" + i27,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/bundles/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err353];}else {vErrors.push(err353);}errors++;}}}else {const err354 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/bundles",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/bundles/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err354];}else {vErrors.push(err354);}errors++;}}}else {const err355 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err355];}else {vErrors.push(err355);}errors++;}}if(data85.duplication !== undefined){let data180 = data85.duplication;if(data180 && typeof data180 == "object" && !Array.isArray(data180)){for(const key51 in data180){if(!(((((((key51 === "enabled") || (key51 === "baselinePath")) || (key51 === "tolerance")) || (key51 === "floors")) || (key51 === "components")) || (key51 === "targetDirs")) || (key51 === "ignoreGlobs"))){const err356 = {instancePath:instancePath+"/delivery/quality/gates/duplication",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key51},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err356];}else {vErrors.push(err356);}errors++;}}if(data180.enabled !== undefined){if(typeof data180.enabled !== "boolean"){const err357 = {instancePath:instancePath+"/delivery/quality/gates/duplication/enabled",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/enabled/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err357];}else {vErrors.push(err357);}errors++;}}if(data180.baselinePath !== undefined){let data182 = data180.baselinePath;const _errs467 = errors;const _errs468 = errors;if(typeof data182 === "string"){if(!pattern0.test(data182)){const err358 = {};if(vErrors === null){vErrors = [err358];}else {vErrors.push(err358);}errors++;}}var valid128 = _errs468 === errors;if(valid128){const err359 = {instancePath:instancePath+"/delivery/quality/gates/duplication/baselinePath",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/baselinePath/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err359];}else {vErrors.push(err359);}errors++;}else {errors = _errs467;if(vErrors !== null){if(_errs467){vErrors.length = _errs467;}else {vErrors = null;}}}if(typeof data182 === "string"){if(func2(data182) < 1){const err360 = {instancePath:instancePath+"/delivery/quality/gates/duplication/baselinePath",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/baselinePath/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err360];}else {vErrors.push(err360);}errors++;}}else {const err361 = {instancePath:instancePath+"/delivery/quality/gates/duplication/baselinePath",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/baselinePath/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err361];}else {vErrors.push(err361);}errors++;}}if(data180.tolerance !== undefined){let data183 = data180.tolerance;if(data183 && typeof data183 == "object" && !Array.isArray(data183)){if(data183.kind === undefined){const err362 = {instancePath:instancePath+"/delivery/quality/gates/duplication/tolerance",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/tolerance/required",keyword:"required",params:{missingProperty: "kind"},message:"must have required property '"+"kind"+"'"};if(vErrors === null){vErrors = [err362];}else {vErrors.push(err362);}errors++;}if(data183.value === undefined){const err363 = {instancePath:instancePath+"/delivery/quality/gates/duplication/tolerance",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/tolerance/required",keyword:"required",params:{missingProperty: "value"},message:"must have required property '"+"value"+"'"};if(vErrors === null){vErrors = [err363];}else {vErrors.push(err363);}errors++;}for(const key52 in data183){if(!((key52 === "kind") || (key52 === "value"))){const err364 = {instancePath:instancePath+"/delivery/quality/gates/duplication/tolerance",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/tolerance/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key52},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err364];}else {vErrors.push(err364);}errors++;}}if(data183.kind !== undefined){let data184 = data183.kind;if(typeof data184 !== "string"){const err365 = {instancePath:instancePath+"/delivery/quality/gates/duplication/tolerance/kind",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/tolerance/properties/kind/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err365];}else {vErrors.push(err365);}errors++;}if(!((data184 === "absolute") || (data184 === "percent"))){const err366 = {instancePath:instancePath+"/delivery/quality/gates/duplication/tolerance/kind",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/tolerance/properties/kind/enum",keyword:"enum",params:{allowedValues: schema11.properties.delivery.properties.quality.properties.gates.properties.duplication.properties.tolerance.properties.kind.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err366];}else {vErrors.push(err366);}errors++;}}if(data183.value !== undefined){let data185 = data183.value;if((typeof data185 == "number") && (isFinite(data185))){if(data185 < 0 || isNaN(data185)){const err367 = {instancePath:instancePath+"/delivery/quality/gates/duplication/tolerance/value",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/tolerance/properties/value/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err367];}else {vErrors.push(err367);}errors++;}}else {const err368 = {instancePath:instancePath+"/delivery/quality/gates/duplication/tolerance/value",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/tolerance/properties/value/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err368];}else {vErrors.push(err368);}errors++;}}}else {const err369 = {instancePath:instancePath+"/delivery/quality/gates/duplication/tolerance",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/tolerance/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err369];}else {vErrors.push(err369);}errors++;}}if(data180.floors !== undefined){let data186 = data180.floors;if(data186 && typeof data186 == "object" && !Array.isArray(data186)){for(const key53 in data186){let data187 = data186[key53];if(data187 && typeof data187 == "object" && !Array.isArray(data187)){for(const key54 in data187){let data188 = data187[key54];if(!((typeof data188 == "number") && (isFinite(data188)))){const err370 = {instancePath:instancePath+"/delivery/quality/gates/duplication/floors/" + key53.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + key54.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/floors/additionalProperties/additionalProperties/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err370];}else {vErrors.push(err370);}errors++;}}}else {const err371 = {instancePath:instancePath+"/delivery/quality/gates/duplication/floors/" + key53.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/floors/additionalProperties/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err371];}else {vErrors.push(err371);}errors++;}}}else {const err372 = {instancePath:instancePath+"/delivery/quality/gates/duplication/floors",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/floors/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err372];}else {vErrors.push(err372);}errors++;}}if(data180.components !== undefined){let data189 = data180.components;if(data189 && typeof data189 == "object" && !Array.isArray(data189)){for(const key55 in data189){let data190 = data189[key55];if(Array.isArray(data190)){const len25 = data190.length;for(let i28=0; i28<len25; i28++){let data191 = data190[i28];if(typeof data191 === "string"){if(func2(data191) < 1){const err373 = {instancePath:instancePath+"/delivery/quality/gates/duplication/components/" + key55.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + i28,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/components/additionalProperties/items/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err373];}else {vErrors.push(err373);}errors++;}}else {const err374 = {instancePath:instancePath+"/delivery/quality/gates/duplication/components/" + key55.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + i28,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/components/additionalProperties/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err374];}else {vErrors.push(err374);}errors++;}}}else {const err375 = {instancePath:instancePath+"/delivery/quality/gates/duplication/components/" + key55.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/components/additionalProperties/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err375];}else {vErrors.push(err375);}errors++;}}}else {const err376 = {instancePath:instancePath+"/delivery/quality/gates/duplication/components",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/components/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err376];}else {vErrors.push(err376);}errors++;}}if(data180.targetDirs !== undefined){let data192 = data180.targetDirs;const _errs492 = errors;let valid135 = false;let passing2 = null;const _errs493 = errors;if(Array.isArray(data192)){const len26 = data192.length;for(let i29=0; i29<len26; i29++){if(typeof data192[i29] !== "string"){const err377 = {instancePath:instancePath+"/delivery/quality/gates/duplication/targetDirs/" + i29,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/targetDirs/oneOf/0/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err377];}else {vErrors.push(err377);}errors++;}}}else {const err378 = {instancePath:instancePath+"/delivery/quality/gates/duplication/targetDirs",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/targetDirs/oneOf/0/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err378];}else {vErrors.push(err378);}errors++;}var _valid3 = _errs493 === errors;if(_valid3){valid135 = true;passing2 = 0;}const _errs497 = errors;if(data192 && typeof data192 == "object" && !Array.isArray(data192)){for(const key56 in data192){if(!((key56 === "append") || (key56 === "prepend"))){const err379 = {instancePath:instancePath+"/delivery/quality/gates/duplication/targetDirs",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/targetDirs/oneOf/1/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key56},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err379];}else {vErrors.push(err379);}errors++;}}if(data192.append !== undefined){let data194 = data192.append;if(Array.isArray(data194)){const len27 = data194.length;for(let i30=0; i30<len27; i30++){if(typeof data194[i30] !== "string"){const err380 = {instancePath:instancePath+"/delivery/quality/gates/duplication/targetDirs/append/" + i30,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/targetDirs/oneOf/1/properties/append/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err380];}else {vErrors.push(err380);}errors++;}}}else {const err381 = {instancePath:instancePath+"/delivery/quality/gates/duplication/targetDirs/append",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/targetDirs/oneOf/1/properties/append/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err381];}else {vErrors.push(err381);}errors++;}}if(data192.prepend !== undefined){let data196 = data192.prepend;if(Array.isArray(data196)){const len28 = data196.length;for(let i31=0; i31<len28; i31++){if(typeof data196[i31] !== "string"){const err382 = {instancePath:instancePath+"/delivery/quality/gates/duplication/targetDirs/prepend/" + i31,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/targetDirs/oneOf/1/properties/prepend/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err382];}else {vErrors.push(err382);}errors++;}}}else {const err383 = {instancePath:instancePath+"/delivery/quality/gates/duplication/targetDirs/prepend",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/targetDirs/oneOf/1/properties/prepend/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err383];}else {vErrors.push(err383);}errors++;}}}else {const err384 = {instancePath:instancePath+"/delivery/quality/gates/duplication/targetDirs",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/targetDirs/oneOf/1/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err384];}else {vErrors.push(err384);}errors++;}var _valid3 = _errs497 === errors;if(_valid3 && valid135){valid135 = false;passing2 = [passing2, 1];}else {if(_valid3){valid135 = true;passing2 = 1;}}if(!valid135){const err385 = {instancePath:instancePath+"/delivery/quality/gates/duplication/targetDirs",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/targetDirs/oneOf",keyword:"oneOf",params:{passingSchemas: passing2},message:"must match exactly one schema in oneOf"};if(vErrors === null){vErrors = [err385];}else {vErrors.push(err385);}errors++;}else {errors = _errs492;if(vErrors !== null){if(_errs492){vErrors.length = _errs492;}else {vErrors = null;}}}}if(data180.ignoreGlobs !== undefined){let data198 = data180.ignoreGlobs;if(Array.isArray(data198)){const len29 = data198.length;for(let i32=0; i32<len29; i32++){let data199 = data198[i32];if(typeof data199 === "string"){if(func2(data199) < 1){const err386 = {instancePath:instancePath+"/delivery/quality/gates/duplication/ignoreGlobs/" + i32,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/ignoreGlobs/items/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err386];}else {vErrors.push(err386);}errors++;}}else {const err387 = {instancePath:instancePath+"/delivery/quality/gates/duplication/ignoreGlobs/" + i32,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/ignoreGlobs/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err387];}else {vErrors.push(err387);}errors++;}}}else {const err388 = {instancePath:instancePath+"/delivery/quality/gates/duplication/ignoreGlobs",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/ignoreGlobs/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err388];}else {vErrors.push(err388);}errors++;}}}else {const err389 = {instancePath:instancePath+"/delivery/quality/gates/duplication",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err389];}else {vErrors.push(err389);}errors++;}}}else {const err390 = {instancePath:instancePath+"/delivery/quality/gates",schemaPath:"#/properties/delivery/properties/quality/properties/gates/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err390];}else {vErrors.push(err390);}errors++;}}if(data84.autoRefresh !== undefined){let data200 = data84.autoRefresh;if(data200 && typeof data200 == "object" && !Array.isArray(data200)){for(const key57 in data200){if(!(key57 === "enabled")){const err391 = {instancePath:instancePath+"/delivery/quality/autoRefresh",schemaPath:"#/properties/delivery/properties/quality/properties/autoRefresh/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key57},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err391];}else {vErrors.push(err391);}errors++;}}if(data200.enabled !== undefined){if(typeof data200.enabled !== "boolean"){const err392 = {instancePath:instancePath+"/delivery/quality/autoRefresh/enabled",schemaPath:"#/properties/delivery/properties/quality/properties/autoRefresh/properties/enabled/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err392];}else {vErrors.push(err392);}errors++;}}}else {const err393 = {instancePath:instancePath+"/delivery/quality/autoRefresh",schemaPath:"#/properties/delivery/properties/quality/properties/autoRefresh/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err393];}else {vErrors.push(err393);}errors++;}}if(data84.requireBaselines !== undefined){if(typeof data84.requireBaselines !== "boolean"){const err394 = {instancePath:instancePath+"/delivery/quality/requireBaselines",schemaPath:"#/properties/delivery/properties/quality/properties/requireBaselines/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err394];}else {vErrors.push(err394);}errors++;}}if(data84.navigability !== undefined){let data203 = data84.navigability;if(data203 && typeof data203 == "object" && !Array.isArray(data203)){for(const key58 in data203){if(!(((key58 === "routeGlobs") || (key58 === "navRegistry")) || (key58 === "journeySuite"))){const err395 = {instancePath:instancePath+"/delivery/quality/navigability",schemaPath:"#/properties/delivery/properties/quality/properties/navigability/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key58},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err395];}else {vErrors.push(err395);}errors++;}}if(data203.routeGlobs !== undefined){let data204 = data203.routeGlobs;if(Array.isArray(data204)){const len30 = data204.length;for(let i33=0; i33<len30; i33++){if(typeof data204[i33] !== "string"){const err396 = {instancePath:instancePath+"/delivery/quality/navigability/routeGlobs/" + i33,schemaPath:"#/properties/delivery/properties/quality/properties/navigability/properties/routeGlobs/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err396];}else {vErrors.push(err396);}errors++;}}}else {const err397 = {instancePath:instancePath+"/delivery/quality/navigability/routeGlobs",schemaPath:"#/properties/delivery/properties/quality/properties/navigability/properties/routeGlobs/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err397];}else {vErrors.push(err397);}errors++;}}if(data203.navRegistry !== undefined){let data206 = data203.navRegistry;if(Array.isArray(data206)){const len31 = data206.length;for(let i34=0; i34<len31; i34++){if(typeof data206[i34] !== "string"){const err398 = {instancePath:instancePath+"/delivery/quality/navigability/navRegistry/" + i34,schemaPath:"#/properties/delivery/properties/quality/properties/navigability/properties/navRegistry/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err398];}else {vErrors.push(err398);}errors++;}}}else {const err399 = {instancePath:instancePath+"/delivery/quality/navigability/navRegistry",schemaPath:"#/properties/delivery/properties/quality/properties/navigability/properties/navRegistry/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err399];}else {vErrors.push(err399);}errors++;}}if(data203.journeySuite !== undefined){if(typeof data203.journeySuite !== "string"){const err400 = {instancePath:instancePath+"/delivery/quality/navigability/journeySuite",schemaPath:"#/properties/delivery/properties/quality/properties/navigability/properties/journeySuite/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err400];}else {vErrors.push(err400);}errors++;}}}else {const err401 = {instancePath:instancePath+"/delivery/quality/navigability",schemaPath:"#/properties/delivery/properties/quality/properties/navigability/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err401];}else {vErrors.push(err401);}errors++;}}}else {const err402 = {instancePath:instancePath+"/delivery/quality",schemaPath:"#/properties/delivery/properties/quality/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err402];}else {vErrors.push(err402);}errors++;}}if(data50.mergeWatch !== undefined){let data209 = data50.mergeWatch;if(data209 && typeof data209 == "object" && !Array.isArray(data209)){for(const key59 in data209){if(!(((key59 === "mode") || (key59 === "maxWaitSeconds")) || (key59 === "maxBudgetSeconds"))){const err403 = {instancePath:instancePath+"/delivery/mergeWatch",schemaPath:"#/properties/delivery/properties/mergeWatch/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key59},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err403];}else {vErrors.push(err403);}errors++;}}if(data209.mode !== undefined){let data210 = data209.mode;if(typeof data210 !== "string"){const err404 = {instancePath:instancePath+"/delivery/mergeWatch/mode",schemaPath:"#/properties/delivery/properties/mergeWatch/properties/mode/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err404];}else {vErrors.push(err404);}errors++;}if(!((data210 === "sync") || (data210 === "async"))){const err405 = {instancePath:instancePath+"/delivery/mergeWatch/mode",schemaPath:"#/properties/delivery/properties/mergeWatch/properties/mode/enum",keyword:"enum",params:{allowedValues: schema11.properties.delivery.properties.mergeWatch.properties.mode.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err405];}else {vErrors.push(err405);}errors++;}}if(data209.maxWaitSeconds !== undefined){let data211 = data209.maxWaitSeconds;if(!(((typeof data211 == "number") && (!(data211 % 1) && !isNaN(data211))) && (isFinite(data211)))){const err406 = {instancePath:instancePath+"/delivery/mergeWatch/maxWaitSeconds",schemaPath:"#/properties/delivery/properties/mergeWatch/properties/maxWaitSeconds/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err406];}else {vErrors.push(err406);}errors++;}if((typeof data211 == "number") && (isFinite(data211))){if(data211 < 1 || isNaN(data211)){const err407 = {instancePath:instancePath+"/delivery/mergeWatch/maxWaitSeconds",schemaPath:"#/properties/delivery/properties/mergeWatch/properties/maxWaitSeconds/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"};if(vErrors === null){vErrors = [err407];}else {vErrors.push(err407);}errors++;}}}if(data209.maxBudgetSeconds !== undefined){let data212 = data209.maxBudgetSeconds;if(!(((typeof data212 == "number") && (!(data212 % 1) && !isNaN(data212))) && (isFinite(data212)))){const err408 = {instancePath:instancePath+"/delivery/mergeWatch/maxBudgetSeconds",schemaPath:"#/properties/delivery/properties/mergeWatch/properties/maxBudgetSeconds/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err408];}else {vErrors.push(err408);}errors++;}if((typeof data212 == "number") && (isFinite(data212))){if(data212 < 1 || isNaN(data212)){const err409 = {instancePath:instancePath+"/delivery/mergeWatch/maxBudgetSeconds",schemaPath:"#/properties/delivery/properties/mergeWatch/properties/maxBudgetSeconds/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"};if(vErrors === null){vErrors = [err409];}else {vErrors.push(err409);}errors++;}}}}else {const err410 = {instancePath:instancePath+"/delivery/mergeWatch",schemaPath:"#/properties/delivery/properties/mergeWatch/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err410];}else {vErrors.push(err410);}errors++;}}if(data50.codeReview !== undefined){let data213 = data50.codeReview;if(data213 && typeof data213 == "object" && !Array.isArray(data213)){for(const key60 in data213){if(!((key60 === "providers") || (key60 === "autoFixSeverity"))){const err411 = {instancePath:instancePath+"/delivery/codeReview",schemaPath:"#/properties/delivery/properties/codeReview/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key60},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err411];}else {vErrors.push(err411);}errors++;}}if(data213.providers !== undefined){let data214 = data213.providers;if(Array.isArray(data214)){const len32 = data214.length;for(let i35=0; i35<len32; i35++){let data215 = data214[i35];if(data215 && typeof data215 == "object" && !Array.isArray(data215)){if(data215.name === undefined){const err412 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i35,schemaPath:"#/properties/delivery/properties/codeReview/properties/providers/items/required",keyword:"required",params:{missingProperty: "name"},message:"must have required property '"+"name"+"'"};if(vErrors === null){vErrors = [err412];}else {vErrors.push(err412);}errors++;}for(const key61 in data215){if(!(((((key61 === "name") || (key61 === "scopes")) || (key61 === "optional")) || (key61 === "manualPrompt")) || (key61 === "when"))){const err413 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i35,schemaPath:"#/properties/delivery/properties/codeReview/properties/providers/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key61},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err413];}else {vErrors.push(err413);}errors++;}}if(data215.name !== undefined){let data216 = data215.name;if(typeof data216 !== "string"){const err414 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i35+"/name",schemaPath:"#/properties/delivery/properties/codeReview/properties/providers/items/properties/name/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err414];}else {vErrors.push(err414);}errors++;}if(!((((((data216 === "native") || (data216 === "code-review")) || (data216 === "codex")) || (data216 === "llm-review")) || (data216 === "security-review")) || (data216 === "ultrareview"))){const err415 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i35+"/name",schemaPath:"#/properties/delivery/properties/codeReview/properties/providers/items/properties/name/enum",keyword:"enum",params:{allowedValues: schema11.properties.delivery.properties.codeReview.properties.providers.items.properties.name.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err415];}else {vErrors.push(err415);}errors++;}}if(data215.scopes !== undefined){let data217 = data215.scopes;if(Array.isArray(data217)){const len33 = data217.length;for(let i36=0; i36<len33; i36++){let data218 = data217[i36];if(typeof data218 !== "string"){const err416 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i35+"/scopes/" + i36,schemaPath:"#/properties/delivery/properties/codeReview/properties/providers/items/properties/scopes/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err416];}else {vErrors.push(err416);}errors++;}if(!((data218 === "story") || (data218 === "epic"))){const err417 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i35+"/scopes/" + i36,schemaPath:"#/properties/delivery/properties/codeReview/properties/providers/items/properties/scopes/items/enum",keyword:"enum",params:{allowedValues: schema11.properties.delivery.properties.codeReview.properties.providers.items.properties.scopes.items.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err417];}else {vErrors.push(err417);}errors++;}}}else {const err418 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i35+"/scopes",schemaPath:"#/properties/delivery/properties/codeReview/properties/providers/items/properties/scopes/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err418];}else {vErrors.push(err418);}errors++;}}if(data215.optional !== undefined){if(typeof data215.optional !== "boolean"){const err419 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i35+"/optional",schemaPath:"#/properties/delivery/properties/codeReview/properties/providers/items/properties/optional/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err419];}else {vErrors.push(err419);}errors++;}}if(data215.manualPrompt !== undefined){if(typeof data215.manualPrompt !== "boolean"){const err420 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i35+"/manualPrompt",schemaPath:"#/properties/delivery/properties/codeReview/properties/providers/items/properties/manualPrompt/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err420];}else {vErrors.push(err420);}errors++;}}if(data215.when !== undefined){let data221 = data215.when;if(data221 && typeof data221 == "object" && !Array.isArray(data221)){for(const key62 in data221){if(!((key62 === "label") || (key62 === "labelAny"))){const err421 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i35+"/when",schemaPath:"#/properties/delivery/properties/codeReview/properties/providers/items/properties/when/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key62},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err421];}else {vErrors.push(err421);}errors++;}}if(data221.label !== undefined){let data222 = data221.label;if(typeof data222 === "string"){if(func2(data222) < 1){const err422 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i35+"/when/label",schemaPath:"#/properties/delivery/properties/codeReview/properties/providers/items/properties/when/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err422];}else {vErrors.push(err422);}errors++;}}else {const err423 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i35+"/when/label",schemaPath:"#/properties/delivery/properties/codeReview/properties/providers/items/properties/when/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err423];}else {vErrors.push(err423);}errors++;}}if(data221.labelAny !== undefined){let data223 = data221.labelAny;if(Array.isArray(data223)){if(data223.length < 1){const err424 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i35+"/when/labelAny",schemaPath:"#/properties/delivery/properties/codeReview/properties/providers/items/properties/when/properties/labelAny/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err424];}else {vErrors.push(err424);}errors++;}const len34 = data223.length;for(let i37=0; i37<len34; i37++){let data224 = data223[i37];if(typeof data224 === "string"){if(func2(data224) < 1){const err425 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i35+"/when/labelAny/" + i37,schemaPath:"#/properties/delivery/properties/codeReview/properties/providers/items/properties/when/properties/labelAny/items/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err425];}else {vErrors.push(err425);}errors++;}}else {const err426 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i35+"/when/labelAny/" + i37,schemaPath:"#/properties/delivery/properties/codeReview/properties/providers/items/properties/when/properties/labelAny/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err426];}else {vErrors.push(err426);}errors++;}}}else {const err427 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i35+"/when/labelAny",schemaPath:"#/properties/delivery/properties/codeReview/properties/providers/items/properties/when/properties/labelAny/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err427];}else {vErrors.push(err427);}errors++;}}}else {const err428 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i35+"/when",schemaPath:"#/properties/delivery/properties/codeReview/properties/providers/items/properties/when/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err428];}else {vErrors.push(err428);}errors++;}}}else {const err429 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i35,schemaPath:"#/properties/delivery/properties/codeReview/properties/providers/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err429];}else {vErrors.push(err429);}errors++;}}}else {const err430 = {instancePath:instancePath+"/delivery/codeReview/providers",schemaPath:"#/properties/delivery/properties/codeReview/properties/providers/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err430];}else {vErrors.push(err430);}errors++;}}if(data213.autoFixSeverity !== undefined){let data225 = data213.autoFixSeverity;if(typeof data225 !== "string"){const err431 = {instancePath:instancePath+"/delivery/codeReview/autoFixSeverity",schemaPath:"#/properties/delivery/properties/codeReview/properties/autoFixSeverity/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err431];}else {vErrors.push(err431);}errors++;}if(!((data225 === "high") || (data225 === "medium"))){const err432 = {instancePath:instancePath+"/delivery/codeReview/autoFixSeverity",schemaPath:"#/properties/delivery/properties/codeReview/properties/autoFixSeverity/enum",keyword:"enum",params:{allowedValues: schema11.properties.delivery.properties.codeReview.properties.autoFixSeverity.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err432];}else {vErrors.push(err432);}errors++;}}}else {const err433 = {instancePath:instancePath+"/delivery/codeReview",schemaPath:"#/properties/delivery/properties/codeReview/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err433];}else {vErrors.push(err433);}errors++;}}if(data50.refactorStage !== undefined){let data226 = data50.refactorStage;if(data226 && typeof data226 == "object" && !Array.isArray(data226)){for(const key63 in data226){if(!(key63 === "enabled")){const err434 = {instancePath:instancePath+"/delivery/refactorStage",schemaPath:"#/properties/delivery/properties/refactorStage/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key63},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err434];}else {vErrors.push(err434);}errors++;}}if(data226.enabled !== undefined){if(typeof data226.enabled !== "boolean"){const err435 = {instancePath:instancePath+"/delivery/refactorStage/enabled",schemaPath:"#/properties/delivery/properties/refactorStage/properties/enabled/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err435];}else {vErrors.push(err435);}errors++;}}}else {const err436 = {instancePath:instancePath+"/delivery/refactorStage",schemaPath:"#/properties/delivery/properties/refactorStage/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err436];}else {vErrors.push(err436);}errors++;}}if(data50.acceptanceEval !== undefined){let data228 = data50.acceptanceEval;if(data228 && typeof data228 == "object" && !Array.isArray(data228)){for(const key64 in data228){if(!(key64 === "maxRounds")){const err437 = {instancePath:instancePath+"/delivery/acceptanceEval",schemaPath:"#/properties/delivery/properties/acceptanceEval/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key64},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err437];}else {vErrors.push(err437);}errors++;}}if(data228.maxRounds !== undefined){let data229 = data228.maxRounds;if(!(((typeof data229 == "number") && (!(data229 % 1) && !isNaN(data229))) && (isFinite(data229)))){const err438 = {instancePath:instancePath+"/delivery/acceptanceEval/maxRounds",schemaPath:"#/properties/delivery/properties/acceptanceEval/properties/maxRounds/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err438];}else {vErrors.push(err438);}errors++;}if((typeof data229 == "number") && (isFinite(data229))){if(data229 < 0 || isNaN(data229)){const err439 = {instancePath:instancePath+"/delivery/acceptanceEval/maxRounds",schemaPath:"#/properties/delivery/properties/acceptanceEval/properties/maxRounds/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err439];}else {vErrors.push(err439);}errors++;}}}}else {const err440 = {instancePath:instancePath+"/delivery/acceptanceEval",schemaPath:"#/properties/delivery/properties/acceptanceEval/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err440];}else {vErrors.push(err440);}errors++;}}if(data50.feedbackLoop !== undefined){let data230 = data50.feedbackLoop;if(data230 && typeof data230 == "object" && !Array.isArray(data230)){for(const key65 in data230){if(!(key65 === "retroProposals")){const err441 = {instancePath:instancePath+"/delivery/feedbackLoop",schemaPath:"#/properties/delivery/properties/feedbackLoop/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key65},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err441];}else {vErrors.push(err441);}errors++;}}if(data230.retroProposals !== undefined){if(typeof data230.retroProposals !== "boolean"){const err442 = {instancePath:instancePath+"/delivery/feedbackLoop/retroProposals",schemaPath:"#/properties/delivery/properties/feedbackLoop/properties/retroProposals/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err442];}else {vErrors.push(err442);}errors++;}}}else {const err443 = {instancePath:instancePath+"/delivery/feedbackLoop",schemaPath:"#/properties/delivery/properties/feedbackLoop/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err443];}else {vErrors.push(err443);}errors++;}}if(data50.ci !== undefined){let data232 = data50.ci;if(data232 && typeof data232 == "object" && !Array.isArray(data232)){for(const key66 in data232){if(!((((key66 === "autoMerge") || (key66 === "blockOnAdvisoryFailure")) || (key66 === "advisoryAllowlist")) || (key66 === "rerunAdvisory"))){const err444 = {instancePath:instancePath+"/delivery/ci",schemaPath:"#/properties/delivery/properties/ci/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key66},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err444];}else {vErrors.push(err444);}errors++;}}if(data232.autoMerge !== undefined){let data233 = data232.autoMerge;if(typeof data233 !== "string"){const err445 = {instancePath:instancePath+"/delivery/ci/autoMerge",schemaPath:"#/properties/delivery/properties/ci/properties/autoMerge/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err445];}else {vErrors.push(err445);}errors++;}if(!((data233 === "trust-ci") || (data233 === "strict"))){const err446 = {instancePath:instancePath+"/delivery/ci/autoMerge",schemaPath:"#/properties/delivery/properties/ci/properties/autoMerge/enum",keyword:"enum",params:{allowedValues: schema11.properties.delivery.properties.ci.properties.autoMerge.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err446];}else {vErrors.push(err446);}errors++;}}if(data232.blockOnAdvisoryFailure !== undefined){if(typeof data232.blockOnAdvisoryFailure !== "boolean"){const err447 = {instancePath:instancePath+"/delivery/ci/blockOnAdvisoryFailure",schemaPath:"#/properties/delivery/properties/ci/properties/blockOnAdvisoryFailure/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err447];}else {vErrors.push(err447);}errors++;}}if(data232.advisoryAllowlist !== undefined){let data235 = data232.advisoryAllowlist;if(Array.isArray(data235)){const len35 = data235.length;for(let i38=0; i38<len35; i38++){if(typeof data235[i38] !== "string"){const err448 = {instancePath:instancePath+"/delivery/ci/advisoryAllowlist/" + i38,schemaPath:"#/properties/delivery/properties/ci/properties/advisoryAllowlist/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err448];}else {vErrors.push(err448);}errors++;}}}else {const err449 = {instancePath:instancePath+"/delivery/ci/advisoryAllowlist",schemaPath:"#/properties/delivery/properties/ci/properties/advisoryAllowlist/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err449];}else {vErrors.push(err449);}errors++;}}if(data232.rerunAdvisory !== undefined){let data237 = data232.rerunAdvisory;if(!(((typeof data237 == "number") && (!(data237 % 1) && !isNaN(data237))) && (isFinite(data237)))){const err450 = {instancePath:instancePath+"/delivery/ci/rerunAdvisory",schemaPath:"#/properties/delivery/properties/ci/properties/rerunAdvisory/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err450];}else {vErrors.push(err450);}errors++;}if((typeof data237 == "number") && (isFinite(data237))){if(data237 < 0 || isNaN(data237)){const err451 = {instancePath:instancePath+"/delivery/ci/rerunAdvisory",schemaPath:"#/properties/delivery/properties/ci/properties/rerunAdvisory/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err451];}else {vErrors.push(err451);}errors++;}}}}else {const err452 = {instancePath:instancePath+"/delivery/ci",schemaPath:"#/properties/delivery/properties/ci/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err452];}else {vErrors.push(err452);}errors++;}}if(data50.routing !== undefined){let data238 = data50.routing;if(data238 && typeof data238 == "object" && !Array.isArray(data238)){for(const key67 in data238){if(!((((key67 === "roleScopedAgents") || (key67 === "ceremonyProfile")) || (key67 === "closeAndLand")) || (key67 === "agentModels"))){const err453 = {instancePath:instancePath+"/delivery/routing",schemaPath:"#/properties/delivery/properties/routing/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key67},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err453];}else {vErrors.push(err453);}errors++;}}if(data238.roleScopedAgents !== undefined){if(typeof data238.roleScopedAgents !== "boolean"){const err454 = {instancePath:instancePath+"/delivery/routing/roleScopedAgents",schemaPath:"#/properties/delivery/properties/routing/properties/roleScopedAgents/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err454];}else {vErrors.push(err454);}errors++;}}if(data238.ceremonyProfile !== undefined){let data240 = data238.ceremonyProfile;if(typeof data240 !== "string"){const err455 = {instancePath:instancePath+"/delivery/routing/ceremonyProfile",schemaPath:"#/properties/delivery/properties/routing/properties/ceremonyProfile/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err455];}else {vErrors.push(err455);}errors++;}if(!(((data240 === "minimal") || (data240 === "standard")) || (data240 === "strict"))){const err456 = {instancePath:instancePath+"/delivery/routing/ceremonyProfile",schemaPath:"#/properties/delivery/properties/routing/properties/ceremonyProfile/enum",keyword:"enum",params:{allowedValues: schema11.properties.delivery.properties.routing.properties.ceremonyProfile.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err456];}else {vErrors.push(err456);}errors++;}}if(data238.closeAndLand !== undefined){if(typeof data238.closeAndLand !== "boolean"){const err457 = {instancePath:instancePath+"/delivery/routing/closeAndLand",schemaPath:"#/properties/delivery/properties/routing/properties/closeAndLand/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err457];}else {vErrors.push(err457);}errors++;}}if(data238.agentModels !== undefined){let data242 = data238.agentModels;if(data242 && typeof data242 == "object" && !Array.isArray(data242)){for(const key68 in data242){const _errs609 = errors;if(!((((key68 === "story-worker") || (key68 === "acceptance-critic")) || (key68 === "plan-critic")) || (key68 === "auditor"))){const err458 = {instancePath:instancePath+"/delivery/routing/agentModels",schemaPath:"#/properties/delivery/properties/routing/properties/agentModels/propertyNames/enum",keyword:"enum",params:{allowedValues: schema11.properties.delivery.properties.routing.properties.agentModels.propertyNames.enum},message:"must be equal to one of the allowed values",propertyName:key68};if(vErrors === null){vErrors = [err458];}else {vErrors.push(err458);}errors++;}var valid168 = _errs609 === errors;if(!valid168){const err459 = {instancePath:instancePath+"/delivery/routing/agentModels",schemaPath:"#/properties/delivery/properties/routing/properties/agentModels/propertyNames",keyword:"propertyNames",params:{propertyName: key68},message:"property name must be valid"};if(vErrors === null){vErrors = [err459];}else {vErrors.push(err459);}errors++;}}for(const key69 in data242){let data243 = data242[key69];if(typeof data243 === "string"){if(!pattern24.test(data243)){const err460 = {instancePath:instancePath+"/delivery/routing/agentModels/" + key69.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/delivery/properties/routing/properties/agentModels/additionalProperties/pattern",keyword:"pattern",params:{pattern: "^[A-Za-z0-9][A-Za-z0-9._:-]*$"},message:"must match pattern \""+"^[A-Za-z0-9][A-Za-z0-9._:-]*$"+"\""};if(vErrors === null){vErrors = [err460];}else {vErrors.push(err460);}errors++;}}else {const err461 = {instancePath:instancePath+"/delivery/routing/agentModels/" + key69.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/delivery/properties/routing/properties/agentModels/additionalProperties/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err461];}else {vErrors.push(err461);}errors++;}}}else {const err462 = {instancePath:instancePath+"/delivery/routing/agentModels",schemaPath:"#/properties/delivery/properties/routing/properties/agentModels/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err462];}else {vErrors.push(err462);}errors++;}}}else {const err463 = {instancePath:instancePath+"/delivery/routing",schemaPath:"#/properties/delivery/properties/routing/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err463];}else {vErrors.push(err463);}errors++;}}}else {const err464 = {instancePath:instancePath+"/delivery",schemaPath:"#/properties/delivery/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err464];}else {vErrors.push(err464);}errors++;}}if(data.qa !== undefined){let data244 = data.qa;if(data244 && typeof data244 == "object" && !Array.isArray(data244)){for(const key70 in data244){if(!(((((((key70 === "featureRoot") || (key70 === "fixturesManifest")) || (key70 === "environments")) || (key70 === "personas")) || (key70 === "gherkinLint")) || (key70 === "consoleAllowlist")) || (key70 === "designTokens"))){const err465 = {instancePath:instancePath+"/qa",schemaPath:"#/properties/qa/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key70},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err465];}else {vErrors.push(err465);}errors++;}}if(data244.featureRoot !== undefined){let data245 = data244.featureRoot;const _errs618 = errors;const _errs619 = errors;if(typeof data245 === "string"){if(!pattern0.test(data245)){const err466 = {};if(vErrors === null){vErrors = [err466];}else {vErrors.push(err466);}errors++;}}var valid171 = _errs619 === errors;if(valid171){const err467 = {instancePath:instancePath+"/qa/featureRoot",schemaPath:"#/properties/qa/properties/featureRoot/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err467];}else {vErrors.push(err467);}errors++;}else {errors = _errs618;if(vErrors !== null){if(_errs618){vErrors.length = _errs618;}else {vErrors = null;}}}if(typeof data245 === "string"){if(func2(data245) < 1){const err468 = {instancePath:instancePath+"/qa/featureRoot",schemaPath:"#/properties/qa/properties/featureRoot/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err468];}else {vErrors.push(err468);}errors++;}}else {const err469 = {instancePath:instancePath+"/qa/featureRoot",schemaPath:"#/properties/qa/properties/featureRoot/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err469];}else {vErrors.push(err469);}errors++;}}if(data244.fixturesManifest !== undefined){let data246 = data244.fixturesManifest;const _errs622 = errors;const _errs623 = errors;if(typeof data246 === "string"){if(!pattern0.test(data246)){const err470 = {};if(vErrors === null){vErrors = [err470];}else {vErrors.push(err470);}errors++;}}var valid172 = _errs623 === errors;if(valid172){const err471 = {instancePath:instancePath+"/qa/fixturesManifest",schemaPath:"#/properties/qa/properties/fixturesManifest/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err471];}else {vErrors.push(err471);}errors++;}else {errors = _errs622;if(vErrors !== null){if(_errs622){vErrors.length = _errs622;}else {vErrors = null;}}}if(typeof data246 === "string"){if(func2(data246) < 1){const err472 = {instancePath:instancePath+"/qa/fixturesManifest",schemaPath:"#/properties/qa/properties/fixturesManifest/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err472];}else {vErrors.push(err472);}errors++;}}else {const err473 = {instancePath:instancePath+"/qa/fixturesManifest",schemaPath:"#/properties/qa/properties/fixturesManifest/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err473];}else {vErrors.push(err473);}errors++;}}if(data244.environments !== undefined){let data247 = data244.environments;if(data247 && typeof data247 == "object" && !Array.isArray(data247)){if(Object.keys(data247).length < 1){const err474 = {instancePath:instancePath+"/qa/environments",schemaPath:"#/properties/qa/properties/environments/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err474];}else {vErrors.push(err474);}errors++;}for(const key71 in data247){let data248 = data247[key71];if(data248 && typeof data248 == "object" && !Array.isArray(data248)){if(data248.baseUrl === undefined){const err475 = {instancePath:instancePath+"/qa/environments/" + key71.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/qa/properties/environments/additionalProperties/required",keyword:"required",params:{missingProperty: "baseUrl"},message:"must have required property '"+"baseUrl"+"'"};if(vErrors === null){vErrors = [err475];}else {vErrors.push(err475);}errors++;}for(const key72 in data248){if(!((((key72 === "baseUrl") || (key72 === "signInSeam")) || (key72 === "allowWrites")) || (key72 === "database"))){const err476 = {instancePath:instancePath+"/qa/environments/" + key71.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/qa/properties/environments/additionalProperties/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key72},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err476];}else {vErrors.push(err476);}errors++;}}if(data248.baseUrl !== undefined){let data249 = data248.baseUrl;const _errs632 = errors;const _errs633 = errors;if(typeof data249 === "string"){if(!pattern0.test(data249)){const err477 = {};if(vErrors === null){vErrors = [err477];}else {vErrors.push(err477);}errors++;}}var valid175 = _errs633 === errors;if(valid175){const err478 = {instancePath:instancePath+"/qa/environments/" + key71.replace(/~/g, "~0").replace(/\//g, "~1")+"/baseUrl",schemaPath:"#/properties/qa/properties/environments/additionalProperties/properties/baseUrl/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err478];}else {vErrors.push(err478);}errors++;}else {errors = _errs632;if(vErrors !== null){if(_errs632){vErrors.length = _errs632;}else {vErrors = null;}}}if(typeof data249 === "string"){if(func2(data249) < 1){const err479 = {instancePath:instancePath+"/qa/environments/" + key71.replace(/~/g, "~0").replace(/\//g, "~1")+"/baseUrl",schemaPath:"#/properties/qa/properties/environments/additionalProperties/properties/baseUrl/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err479];}else {vErrors.push(err479);}errors++;}}else {const err480 = {instancePath:instancePath+"/qa/environments/" + key71.replace(/~/g, "~0").replace(/\//g, "~1")+"/baseUrl",schemaPath:"#/properties/qa/properties/environments/additionalProperties/properties/baseUrl/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err480];}else {vErrors.push(err480);}errors++;}}if(data248.signInSeam !== undefined){let data250 = data248.signInSeam;const _errs635 = errors;let valid176 = false;let passing3 = null;const _errs636 = errors;if(data250 && typeof data250 == "object" && !Array.isArray(data250)){if(data250.urlTemplate === undefined){const err481 = {instancePath:instancePath+"/qa/environments/" + key71.replace(/~/g, "~0").replace(/\//g, "~1")+"/signInSeam",schemaPath:"#/properties/qa/properties/environments/additionalProperties/properties/signInSeam/oneOf/0/required",keyword:"required",params:{missingProperty: "urlTemplate"},message:"must have required property '"+"urlTemplate"+"'"};if(vErrors === null){vErrors = [err481];}else {vErrors.push(err481);}errors++;}for(const key73 in data250){if(!(key73 === "urlTemplate")){const err482 = {instancePath:instancePath+"/qa/environments/" + key71.replace(/~/g, "~0").replace(/\//g, "~1")+"/signInSeam",schemaPath:"#/properties/qa/properties/environments/additionalProperties/properties/signInSeam/oneOf/0/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key73},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err482];}else {vErrors.push(err482);}errors++;}}if(data250.urlTemplate !== undefined){let data251 = data250.urlTemplate;const _errs641 = errors;const _errs642 = errors;if(typeof data251 === "string"){if(!pattern0.test(data251)){const err483 = {};if(vErrors === null){vErrors = [err483];}else {vErrors.push(err483);}errors++;}}var valid178 = _errs642 === errors;if(valid178){const err484 = {instancePath:instancePath+"/qa/environments/" + key71.replace(/~/g, "~0").replace(/\//g, "~1")+"/signInSeam/urlTemplate",schemaPath:"#/properties/qa/properties/environments/additionalProperties/properties/signInSeam/oneOf/0/properties/urlTemplate/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err484];}else {vErrors.push(err484);}errors++;}else {errors = _errs641;if(vErrors !== null){if(_errs641){vErrors.length = _errs641;}else {vErrors = null;}}}if(typeof data251 === "string"){if(func2(data251) < 1){const err485 = {instancePath:instancePath+"/qa/environments/" + key71.replace(/~/g, "~0").replace(/\//g, "~1")+"/signInSeam/urlTemplate",schemaPath:"#/properties/qa/properties/environments/additionalProperties/properties/signInSeam/oneOf/0/properties/urlTemplate/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err485];}else {vErrors.push(err485);}errors++;}}else {const err486 = {instancePath:instancePath+"/qa/environments/" + key71.replace(/~/g, "~0").replace(/\//g, "~1")+"/signInSeam/urlTemplate",schemaPath:"#/properties/qa/properties/environments/additionalProperties/properties/signInSeam/oneOf/0/properties/urlTemplate/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err486];}else {vErrors.push(err486);}errors++;}}}else {const err487 = {instancePath:instancePath+"/qa/environments/" + key71.replace(/~/g, "~0").replace(/\//g, "~1")+"/signInSeam",schemaPath:"#/properties/qa/properties/environments/additionalProperties/properties/signInSeam/oneOf/0/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err487];}else {vErrors.push(err487);}errors++;}var _valid4 = _errs636 === errors;if(_valid4){valid176 = true;passing3 = 0;}const _errs643 = errors;if(data250 && typeof data250 == "object" && !Array.isArray(data250)){if(data250.skill === undefined){const err488 = {instancePath:instancePath+"/qa/environments/" + key71.replace(/~/g, "~0").replace(/\//g, "~1")+"/signInSeam",schemaPath:"#/properties/qa/properties/environments/additionalProperties/properties/signInSeam/oneOf/1/required",keyword:"required",params:{missingProperty: "skill"},message:"must have required property '"+"skill"+"'"};if(vErrors === null){vErrors = [err488];}else {vErrors.push(err488);}errors++;}for(const key74 in data250){if(!(key74 === "skill")){const err489 = {instancePath:instancePath+"/qa/environments/" + key71.replace(/~/g, "~0").replace(/\//g, "~1")+"/signInSeam",schemaPath:"#/properties/qa/properties/environments/additionalProperties/properties/signInSeam/oneOf/1/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key74},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err489];}else {vErrors.push(err489);}errors++;}}if(data250.skill !== undefined){let data252 = data250.skill;const _errs648 = errors;const _errs649 = errors;if(typeof data252 === "string"){if(!pattern0.test(data252)){const err490 = {};if(vErrors === null){vErrors = [err490];}else {vErrors.push(err490);}errors++;}}var valid180 = _errs649 === errors;if(valid180){const err491 = {instancePath:instancePath+"/qa/environments/" + key71.replace(/~/g, "~0").replace(/\//g, "~1")+"/signInSeam/skill",schemaPath:"#/properties/qa/properties/environments/additionalProperties/properties/signInSeam/oneOf/1/properties/skill/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err491];}else {vErrors.push(err491);}errors++;}else {errors = _errs648;if(vErrors !== null){if(_errs648){vErrors.length = _errs648;}else {vErrors = null;}}}if(typeof data252 === "string"){if(func2(data252) < 1){const err492 = {instancePath:instancePath+"/qa/environments/" + key71.replace(/~/g, "~0").replace(/\//g, "~1")+"/signInSeam/skill",schemaPath:"#/properties/qa/properties/environments/additionalProperties/properties/signInSeam/oneOf/1/properties/skill/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err492];}else {vErrors.push(err492);}errors++;}if(!pattern30.test(data252)){const err493 = {instancePath:instancePath+"/qa/environments/" + key71.replace(/~/g, "~0").replace(/\//g, "~1")+"/signInSeam/skill",schemaPath:"#/properties/qa/properties/environments/additionalProperties/properties/signInSeam/oneOf/1/properties/skill/pattern",keyword:"pattern",params:{pattern: "^[a-z0-9][a-z0-9._-]*(?:\\/[a-z0-9][a-z0-9._-]*)+$"},message:"must match pattern \""+"^[a-z0-9][a-z0-9._-]*(?:\\/[a-z0-9][a-z0-9._-]*)+$"+"\""};if(vErrors === null){vErrors = [err493];}else {vErrors.push(err493);}errors++;}}else {const err494 = {instancePath:instancePath+"/qa/environments/" + key71.replace(/~/g, "~0").replace(/\//g, "~1")+"/signInSeam/skill",schemaPath:"#/properties/qa/properties/environments/additionalProperties/properties/signInSeam/oneOf/1/properties/skill/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err494];}else {vErrors.push(err494);}errors++;}}}else {const err495 = {instancePath:instancePath+"/qa/environments/" + key71.replace(/~/g, "~0").replace(/\//g, "~1")+"/signInSeam",schemaPath:"#/properties/qa/properties/environments/additionalProperties/properties/signInSeam/oneOf/1/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err495];}else {vErrors.push(err495);}errors++;}var _valid4 = _errs643 === errors;if(_valid4 && valid176){valid176 = false;passing3 = [passing3, 1];}else {if(_valid4){valid176 = true;passing3 = 1;}}if(!valid176){const err496 = {instancePath:instancePath+"/qa/environments/" + key71.replace(/~/g, "~0").replace(/\//g, "~1")+"/signInSeam",schemaPath:"#/properties/qa/properties/environments/additionalProperties/properties/signInSeam/oneOf",keyword:"oneOf",params:{passingSchemas: passing3},message:"must match exactly one schema in oneOf"};if(vErrors === null){vErrors = [err496];}else {vErrors.push(err496);}errors++;}else {errors = _errs635;if(vErrors !== null){if(_errs635){vErrors.length = _errs635;}else {vErrors = null;}}}}if(data248.allowWrites !== undefined){if(typeof data248.allowWrites !== "boolean"){const err497 = {instancePath:instancePath+"/qa/environments/" + key71.replace(/~/g, "~0").replace(/\//g, "~1")+"/allowWrites",schemaPath:"#/properties/qa/properties/environments/additionalProperties/properties/allowWrites/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err497];}else {vErrors.push(err497);}errors++;}}if(data248.database !== undefined){let data254 = data248.database;if(data254 && typeof data254 == "object" && !Array.isArray(data254)){if(data254.urlEnv === undefined){const err498 = {instancePath:instancePath+"/qa/environments/" + key71.replace(/~/g, "~0").replace(/\//g, "~1")+"/database",schemaPath:"#/properties/qa/properties/environments/additionalProperties/properties/database/required",keyword:"required",params:{missingProperty: "urlEnv"},message:"must have required property '"+"urlEnv"+"'"};if(vErrors === null){vErrors = [err498];}else {vErrors.push(err498);}errors++;}for(const key75 in data254){if(!((key75 === "urlEnv") || (key75 === "allowAudit"))){const err499 = {instancePath:instancePath+"/qa/environments/" + key71.replace(/~/g, "~0").replace(/\//g, "~1")+"/database",schemaPath:"#/properties/qa/properties/environments/additionalProperties/properties/database/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key75},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err499];}else {vErrors.push(err499);}errors++;}}if(data254.urlEnv !== undefined){let data255 = data254.urlEnv;if(typeof data255 === "string"){if(!pattern31.test(data255)){const err500 = {instancePath:instancePath+"/qa/environments/" + key71.replace(/~/g, "~0").replace(/\//g, "~1")+"/database/urlEnv",schemaPath:"#/properties/qa/properties/environments/additionalProperties/properties/database/properties/urlEnv/pattern",keyword:"pattern",params:{pattern: "^[A-Z_][A-Z0-9_]*$"},message:"must match pattern \""+"^[A-Z_][A-Z0-9_]*$"+"\""};if(vErrors === null){vErrors = [err500];}else {vErrors.push(err500);}errors++;}}else {const err501 = {instancePath:instancePath+"/qa/environments/" + key71.replace(/~/g, "~0").replace(/\//g, "~1")+"/database/urlEnv",schemaPath:"#/properties/qa/properties/environments/additionalProperties/properties/database/properties/urlEnv/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err501];}else {vErrors.push(err501);}errors++;}}if(data254.allowAudit !== undefined){if(typeof data254.allowAudit !== "boolean"){const err502 = {instancePath:instancePath+"/qa/environments/" + key71.replace(/~/g, "~0").replace(/\//g, "~1")+"/database/allowAudit",schemaPath:"#/properties/qa/properties/environments/additionalProperties/properties/database/properties/allowAudit/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err502];}else {vErrors.push(err502);}errors++;}}}else {const err503 = {instancePath:instancePath+"/qa/environments/" + key71.replace(/~/g, "~0").replace(/\//g, "~1")+"/database",schemaPath:"#/properties/qa/properties/environments/additionalProperties/properties/database/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err503];}else {vErrors.push(err503);}errors++;}}}else {const err504 = {instancePath:instancePath+"/qa/environments/" + key71.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/qa/properties/environments/additionalProperties/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err504];}else {vErrors.push(err504);}errors++;}}}else {const err505 = {instancePath:instancePath+"/qa/environments",schemaPath:"#/properties/qa/properties/environments/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err505];}else {vErrors.push(err505);}errors++;}}if(data244.personas !== undefined){let data257 = data244.personas;const _errs660 = errors;let valid182 = false;let passing4 = null;const _errs661 = errors;if(Array.isArray(data257)){if(data257.length < 1){const err506 = {instancePath:instancePath+"/qa/personas",schemaPath:"#/properties/qa/properties/personas/oneOf/0/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err506];}else {vErrors.push(err506);}errors++;}const len36 = data257.length;for(let i39=0; i39<len36; i39++){let data258 = data257[i39];const _errs665 = errors;const _errs666 = errors;if(typeof data258 === "string"){if(!pattern0.test(data258)){const err507 = {};if(vErrors === null){vErrors = [err507];}else {vErrors.push(err507);}errors++;}}var valid185 = _errs666 === errors;if(valid185){const err508 = {instancePath:instancePath+"/qa/personas/" + i39,schemaPath:"#/properties/qa/properties/personas/oneOf/0/items/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err508];}else {vErrors.push(err508);}errors++;}else {errors = _errs665;if(vErrors !== null){if(_errs665){vErrors.length = _errs665;}else {vErrors = null;}}}if(typeof data258 === "string"){if(func2(data258) < 1){const err509 = {instancePath:instancePath+"/qa/personas/" + i39,schemaPath:"#/properties/qa/properties/personas/oneOf/0/items/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err509];}else {vErrors.push(err509);}errors++;}}else {const err510 = {instancePath:instancePath+"/qa/personas/" + i39,schemaPath:"#/properties/qa/properties/personas/oneOf/0/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err510];}else {vErrors.push(err510);}errors++;}}}else {const err511 = {instancePath:instancePath+"/qa/personas",schemaPath:"#/properties/qa/properties/personas/oneOf/0/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err511];}else {vErrors.push(err511);}errors++;}var _valid5 = _errs661 === errors;if(_valid5){valid182 = true;passing4 = 0;}const _errs667 = errors;if(data257 && typeof data257 == "object" && !Array.isArray(data257)){if(Object.keys(data257).length < 1){const err512 = {instancePath:instancePath+"/qa/personas",schemaPath:"#/properties/qa/properties/personas/oneOf/1/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err512];}else {vErrors.push(err512);}errors++;}for(const key76 in data257){let data259 = data257[key76];const _errs671 = errors;let valid187 = false;let passing5 = null;const _errs672 = errors;if(data259 && typeof data259 == "object" && !Array.isArray(data259)){if(data259.credentialRef === undefined){const err513 = {instancePath:instancePath+"/qa/personas/" + key76.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/qa/properties/personas/oneOf/1/additionalProperties/oneOf/0/required",keyword:"required",params:{missingProperty: "credentialRef"},message:"must have required property '"+"credentialRef"+"'"};if(vErrors === null){vErrors = [err513];}else {vErrors.push(err513);}errors++;}for(const key77 in data259){if(!(key77 === "credentialRef")){const err514 = {instancePath:instancePath+"/qa/personas/" + key76.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/qa/properties/personas/oneOf/1/additionalProperties/oneOf/0/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key77},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err514];}else {vErrors.push(err514);}errors++;}}if(data259.credentialRef !== undefined){let data260 = data259.credentialRef;const _errs677 = errors;const _errs678 = errors;if(typeof data260 === "string"){if(!pattern0.test(data260)){const err515 = {};if(vErrors === null){vErrors = [err515];}else {vErrors.push(err515);}errors++;}}var valid189 = _errs678 === errors;if(valid189){const err516 = {instancePath:instancePath+"/qa/personas/" + key76.replace(/~/g, "~0").replace(/\//g, "~1")+"/credentialRef",schemaPath:"#/properties/qa/properties/personas/oneOf/1/additionalProperties/oneOf/0/properties/credentialRef/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err516];}else {vErrors.push(err516);}errors++;}else {errors = _errs677;if(vErrors !== null){if(_errs677){vErrors.length = _errs677;}else {vErrors = null;}}}if(typeof data260 === "string"){if(func2(data260) < 1){const err517 = {instancePath:instancePath+"/qa/personas/" + key76.replace(/~/g, "~0").replace(/\//g, "~1")+"/credentialRef",schemaPath:"#/properties/qa/properties/personas/oneOf/1/additionalProperties/oneOf/0/properties/credentialRef/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err517];}else {vErrors.push(err517);}errors++;}}else {const err518 = {instancePath:instancePath+"/qa/personas/" + key76.replace(/~/g, "~0").replace(/\//g, "~1")+"/credentialRef",schemaPath:"#/properties/qa/properties/personas/oneOf/1/additionalProperties/oneOf/0/properties/credentialRef/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err518];}else {vErrors.push(err518);}errors++;}}}else {const err519 = {instancePath:instancePath+"/qa/personas/" + key76.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/qa/properties/personas/oneOf/1/additionalProperties/oneOf/0/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err519];}else {vErrors.push(err519);}errors++;}var _valid6 = _errs672 === errors;if(_valid6){valid187 = true;passing5 = 0;}const _errs679 = errors;if(data259 && typeof data259 == "object" && !Array.isArray(data259)){if(data259.signInSkill === undefined){const err520 = {instancePath:instancePath+"/qa/personas/" + key76.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/qa/properties/personas/oneOf/1/additionalProperties/oneOf/1/required",keyword:"required",params:{missingProperty: "signInSkill"},message:"must have required property '"+"signInSkill"+"'"};if(vErrors === null){vErrors = [err520];}else {vErrors.push(err520);}errors++;}for(const key78 in data259){if(!(key78 === "signInSkill")){const err521 = {instancePath:instancePath+"/qa/personas/" + key76.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/qa/properties/personas/oneOf/1/additionalProperties/oneOf/1/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key78},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err521];}else {vErrors.push(err521);}errors++;}}if(data259.signInSkill !== undefined){let data261 = data259.signInSkill;const _errs684 = errors;const _errs685 = errors;if(typeof data261 === "string"){if(!pattern0.test(data261)){const err522 = {};if(vErrors === null){vErrors = [err522];}else {vErrors.push(err522);}errors++;}}var valid191 = _errs685 === errors;if(valid191){const err523 = {instancePath:instancePath+"/qa/personas/" + key76.replace(/~/g, "~0").replace(/\//g, "~1")+"/signInSkill",schemaPath:"#/properties/qa/properties/personas/oneOf/1/additionalProperties/oneOf/1/properties/signInSkill/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err523];}else {vErrors.push(err523);}errors++;}else {errors = _errs684;if(vErrors !== null){if(_errs684){vErrors.length = _errs684;}else {vErrors = null;}}}if(typeof data261 === "string"){if(func2(data261) < 1){const err524 = {instancePath:instancePath+"/qa/personas/" + key76.replace(/~/g, "~0").replace(/\//g, "~1")+"/signInSkill",schemaPath:"#/properties/qa/properties/personas/oneOf/1/additionalProperties/oneOf/1/properties/signInSkill/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err524];}else {vErrors.push(err524);}errors++;}}else {const err525 = {instancePath:instancePath+"/qa/personas/" + key76.replace(/~/g, "~0").replace(/\//g, "~1")+"/signInSkill",schemaPath:"#/properties/qa/properties/personas/oneOf/1/additionalProperties/oneOf/1/properties/signInSkill/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err525];}else {vErrors.push(err525);}errors++;}}}else {const err526 = {instancePath:instancePath+"/qa/personas/" + key76.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/qa/properties/personas/oneOf/1/additionalProperties/oneOf/1/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err526];}else {vErrors.push(err526);}errors++;}var _valid6 = _errs679 === errors;if(_valid6 && valid187){valid187 = false;passing5 = [passing5, 1];}else {if(_valid6){valid187 = true;passing5 = 1;}}if(!valid187){const err527 = {instancePath:instancePath+"/qa/personas/" + key76.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/qa/properties/personas/oneOf/1/additionalProperties/oneOf",keyword:"oneOf",params:{passingSchemas: passing5},message:"must match exactly one schema in oneOf"};if(vErrors === null){vErrors = [err527];}else {vErrors.push(err527);}errors++;}else {errors = _errs671;if(vErrors !== null){if(_errs671){vErrors.length = _errs671;}else {vErrors = null;}}}}}else {const err528 = {instancePath:instancePath+"/qa/personas",schemaPath:"#/properties/qa/properties/personas/oneOf/1/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err528];}else {vErrors.push(err528);}errors++;}var _valid5 = _errs667 === errors;if(_valid5 && valid182){valid182 = false;passing4 = [passing4, 1];}else {if(_valid5){valid182 = true;passing4 = 1;}}if(!valid182){const err529 = {instancePath:instancePath+"/qa/personas",schemaPath:"#/properties/qa/properties/personas/oneOf",keyword:"oneOf",params:{passingSchemas: passing4},message:"must match exactly one schema in oneOf"};if(vErrors === null){vErrors = [err529];}else {vErrors.push(err529);}errors++;}else {errors = _errs660;if(vErrors !== null){if(_errs660){vErrors.length = _errs660;}else {vErrors = null;}}}}if(data244.gherkinLint !== undefined){let data262 = data244.gherkinLint;if(data262 && typeof data262 == "object" && !Array.isArray(data262)){if(data262.scopes === undefined){const err530 = {instancePath:instancePath+"/qa/gherkinLint",schemaPath:"#/properties/qa/properties/gherkinLint/required",keyword:"required",params:{missingProperty: "scopes"},message:"must have required property '"+"scopes"+"'"};if(vErrors === null){vErrors = [err530];}else {vErrors.push(err530);}errors++;}for(const key79 in data262){if(!(((key79 === "scopes") || (key79 === "exemptionTags")) || (key79 === "stepWaivers"))){const err531 = {instancePath:instancePath+"/qa/gherkinLint",schemaPath:"#/properties/qa/properties/gherkinLint/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key79},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err531];}else {vErrors.push(err531);}errors++;}}if(data262.scopes !== undefined){let data263 = data262.scopes;if(data263 && typeof data263 == "object" && !Array.isArray(data263)){if(Object.keys(data263).length < 1){const err532 = {instancePath:instancePath+"/qa/gherkinLint/scopes",schemaPath:"#/properties/qa/properties/gherkinLint/properties/scopes/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err532];}else {vErrors.push(err532);}errors++;}for(const key80 in data263){let data264 = data263[key80];if(data264 && typeof data264 == "object" && !Array.isArray(data264)){if(data264.featureRoots === undefined){const err533 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key80.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/qa/properties/gherkinLint/properties/scopes/additionalProperties/required",keyword:"required",params:{missingProperty: "featureRoots"},message:"must have required property '"+"featureRoots"+"'"};if(vErrors === null){vErrors = [err533];}else {vErrors.push(err533);}errors++;}if(data264.stepRoots === undefined){const err534 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key80.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/qa/properties/gherkinLint/properties/scopes/additionalProperties/required",keyword:"required",params:{missingProperty: "stepRoots"},message:"must have required property '"+"stepRoots"+"'"};if(vErrors === null){vErrors = [err534];}else {vErrors.push(err534);}errors++;}for(const key81 in data264){if(!((key81 === "featureRoots") || (key81 === "stepRoots"))){const err535 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key80.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/qa/properties/gherkinLint/properties/scopes/additionalProperties/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key81},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err535];}else {vErrors.push(err535);}errors++;}}if(data264.featureRoots !== undefined){let data265 = data264.featureRoots;if(Array.isArray(data265)){if(data265.length < 1){const err536 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key80.replace(/~/g, "~0").replace(/\//g, "~1")+"/featureRoots",schemaPath:"#/properties/qa/properties/gherkinLint/properties/scopes/additionalProperties/properties/featureRoots/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err536];}else {vErrors.push(err536);}errors++;}const len37 = data265.length;for(let i40=0; i40<len37; i40++){let data266 = data265[i40];const _errs699 = errors;const _errs700 = errors;if(typeof data266 === "string"){if(!pattern0.test(data266)){const err537 = {};if(vErrors === null){vErrors = [err537];}else {vErrors.push(err537);}errors++;}}var valid197 = _errs700 === errors;if(valid197){const err538 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key80.replace(/~/g, "~0").replace(/\//g, "~1")+"/featureRoots/" + i40,schemaPath:"#/properties/qa/properties/gherkinLint/properties/scopes/additionalProperties/properties/featureRoots/items/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err538];}else {vErrors.push(err538);}errors++;}else {errors = _errs699;if(vErrors !== null){if(_errs699){vErrors.length = _errs699;}else {vErrors = null;}}}if(typeof data266 === "string"){if(func2(data266) < 1){const err539 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key80.replace(/~/g, "~0").replace(/\//g, "~1")+"/featureRoots/" + i40,schemaPath:"#/properties/qa/properties/gherkinLint/properties/scopes/additionalProperties/properties/featureRoots/items/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err539];}else {vErrors.push(err539);}errors++;}}else {const err540 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key80.replace(/~/g, "~0").replace(/\//g, "~1")+"/featureRoots/" + i40,schemaPath:"#/properties/qa/properties/gherkinLint/properties/scopes/additionalProperties/properties/featureRoots/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err540];}else {vErrors.push(err540);}errors++;}}}else {const err541 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key80.replace(/~/g, "~0").replace(/\//g, "~1")+"/featureRoots",schemaPath:"#/properties/qa/properties/gherkinLint/properties/scopes/additionalProperties/properties/featureRoots/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err541];}else {vErrors.push(err541);}errors++;}}if(data264.stepRoots !== undefined){let data267 = data264.stepRoots;if(Array.isArray(data267)){if(data267.length < 1){const err542 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key80.replace(/~/g, "~0").replace(/\//g, "~1")+"/stepRoots",schemaPath:"#/properties/qa/properties/gherkinLint/properties/scopes/additionalProperties/properties/stepRoots/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err542];}else {vErrors.push(err542);}errors++;}const len38 = data267.length;for(let i41=0; i41<len38; i41++){let data268 = data267[i41];const _errs705 = errors;const _errs706 = errors;if(typeof data268 === "string"){if(!pattern0.test(data268)){const err543 = {};if(vErrors === null){vErrors = [err543];}else {vErrors.push(err543);}errors++;}}var valid200 = _errs706 === errors;if(valid200){const err544 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key80.replace(/~/g, "~0").replace(/\//g, "~1")+"/stepRoots/" + i41,schemaPath:"#/properties/qa/properties/gherkinLint/properties/scopes/additionalProperties/properties/stepRoots/items/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err544];}else {vErrors.push(err544);}errors++;}else {errors = _errs705;if(vErrors !== null){if(_errs705){vErrors.length = _errs705;}else {vErrors = null;}}}if(typeof data268 === "string"){if(func2(data268) < 1){const err545 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key80.replace(/~/g, "~0").replace(/\//g, "~1")+"/stepRoots/" + i41,schemaPath:"#/properties/qa/properties/gherkinLint/properties/scopes/additionalProperties/properties/stepRoots/items/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err545];}else {vErrors.push(err545);}errors++;}}else {const err546 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key80.replace(/~/g, "~0").replace(/\//g, "~1")+"/stepRoots/" + i41,schemaPath:"#/properties/qa/properties/gherkinLint/properties/scopes/additionalProperties/properties/stepRoots/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err546];}else {vErrors.push(err546);}errors++;}}}else {const err547 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key80.replace(/~/g, "~0").replace(/\//g, "~1")+"/stepRoots",schemaPath:"#/properties/qa/properties/gherkinLint/properties/scopes/additionalProperties/properties/stepRoots/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err547];}else {vErrors.push(err547);}errors++;}}}else {const err548 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key80.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/qa/properties/gherkinLint/properties/scopes/additionalProperties/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err548];}else {vErrors.push(err548);}errors++;}}}else {const err549 = {instancePath:instancePath+"/qa/gherkinLint/scopes",schemaPath:"#/properties/qa/properties/gherkinLint/properties/scopes/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err549];}else {vErrors.push(err549);}errors++;}}if(data262.exemptionTags !== undefined){let data269 = data262.exemptionTags;if(Array.isArray(data269)){const len39 = data269.length;for(let i42=0; i42<len39; i42++){let data270 = data269[i42];const _errs711 = errors;const _errs712 = errors;if(typeof data270 === "string"){if(!pattern0.test(data270)){const err550 = {};if(vErrors === null){vErrors = [err550];}else {vErrors.push(err550);}errors++;}}var valid203 = _errs712 === errors;if(valid203){const err551 = {instancePath:instancePath+"/qa/gherkinLint/exemptionTags/" + i42,schemaPath:"#/properties/qa/properties/gherkinLint/properties/exemptionTags/items/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err551];}else {vErrors.push(err551);}errors++;}else {errors = _errs711;if(vErrors !== null){if(_errs711){vErrors.length = _errs711;}else {vErrors = null;}}}if(typeof data270 === "string"){if(func2(data270) < 1){const err552 = {instancePath:instancePath+"/qa/gherkinLint/exemptionTags/" + i42,schemaPath:"#/properties/qa/properties/gherkinLint/properties/exemptionTags/items/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err552];}else {vErrors.push(err552);}errors++;}}else {const err553 = {instancePath:instancePath+"/qa/gherkinLint/exemptionTags/" + i42,schemaPath:"#/properties/qa/properties/gherkinLint/properties/exemptionTags/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err553];}else {vErrors.push(err553);}errors++;}}}else {const err554 = {instancePath:instancePath+"/qa/gherkinLint/exemptionTags",schemaPath:"#/properties/qa/properties/gherkinLint/properties/exemptionTags/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err554];}else {vErrors.push(err554);}errors++;}}if(data262.stepWaivers !== undefined){let data271 = data262.stepWaivers;if(Array.isArray(data271)){const len40 = data271.length;for(let i43=0; i43<len40; i43++){let data272 = data271[i43];if(typeof data272 === "string"){if(func2(data272) < 1){const err555 = {instancePath:instancePath+"/qa/gherkinLint/stepWaivers/" + i43,schemaPath:"#/properties/qa/properties/gherkinLint/properties/stepWaivers/items/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err555];}else {vErrors.push(err555);}errors++;}}else {const err556 = {instancePath:instancePath+"/qa/gherkinLint/stepWaivers/" + i43,schemaPath:"#/properties/qa/properties/gherkinLint/properties/stepWaivers/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err556];}else {vErrors.push(err556);}errors++;}}}else {const err557 = {instancePath:instancePath+"/qa/gherkinLint/stepWaivers",schemaPath:"#/properties/qa/properties/gherkinLint/properties/stepWaivers/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err557];}else {vErrors.push(err557);}errors++;}}}else {const err558 = {instancePath:instancePath+"/qa/gherkinLint",schemaPath:"#/properties/qa/properties/gherkinLint/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err558];}else {vErrors.push(err558);}errors++;}}if(data244.consoleAllowlist !== undefined){let data273 = data244.consoleAllowlist;if(Array.isArray(data273)){const len41 = data273.length;for(let i44=0; i44<len41; i44++){let data274 = data273[i44];const _errs721 = errors;const _errs722 = errors;if(typeof data274 === "string"){if(!pattern0.test(data274)){const err559 = {};if(vErrors === null){vErrors = [err559];}else {vErrors.push(err559);}errors++;}}var valid208 = _errs722 === errors;if(valid208){const err560 = {instancePath:instancePath+"/qa/consoleAllowlist/" + i44,schemaPath:"#/properties/qa/properties/consoleAllowlist/items/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err560];}else {vErrors.push(err560);}errors++;}else {errors = _errs721;if(vErrors !== null){if(_errs721){vErrors.length = _errs721;}else {vErrors = null;}}}if(typeof data274 === "string"){if(func2(data274) < 1){const err561 = {instancePath:instancePath+"/qa/consoleAllowlist/" + i44,schemaPath:"#/properties/qa/properties/consoleAllowlist/items/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err561];}else {vErrors.push(err561);}errors++;}}else {const err562 = {instancePath:instancePath+"/qa/consoleAllowlist/" + i44,schemaPath:"#/properties/qa/properties/consoleAllowlist/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err562];}else {vErrors.push(err562);}errors++;}}}else {const err563 = {instancePath:instancePath+"/qa/consoleAllowlist",schemaPath:"#/properties/qa/properties/consoleAllowlist/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err563];}else {vErrors.push(err563);}errors++;}}if(data244.designTokens !== undefined){let data275 = data244.designTokens;const _errs725 = errors;const _errs726 = errors;if(typeof data275 === "string"){if(!pattern0.test(data275)){const err564 = {};if(vErrors === null){vErrors = [err564];}else {vErrors.push(err564);}errors++;}}var valid209 = _errs726 === errors;if(valid209){const err565 = {instancePath:instancePath+"/qa/designTokens",schemaPath:"#/properties/qa/properties/designTokens/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err565];}else {vErrors.push(err565);}errors++;}else {errors = _errs725;if(vErrors !== null){if(_errs725){vErrors.length = _errs725;}else {vErrors = null;}}}if(typeof data275 === "string"){if(func2(data275) < 1){const err566 = {instancePath:instancePath+"/qa/designTokens",schemaPath:"#/properties/qa/properties/designTokens/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err566];}else {vErrors.push(err566);}errors++;}}else {const err567 = {instancePath:instancePath+"/qa/designTokens",schemaPath:"#/properties/qa/properties/designTokens/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err567];}else {vErrors.push(err567);}errors++;}}}else {const err568 = {instancePath:instancePath+"/qa",schemaPath:"#/properties/qa/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err568];}else {vErrors.push(err568);}errors++;}}}else {const err569 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err569];}else {vErrors.push(err569);}errors++;}validate10.errors = vErrors;return errors === 0;}
|
|
19
|
+
deps: "coveragePath"},message:"must have property coveragePath when property captureScript is present"};if(vErrors === null){vErrors = [err227];}else {vErrors.push(err227);}errors++;}}if(data109.enabled !== undefined){if(typeof data109.enabled !== "boolean"){const err228 = {instancePath:instancePath+"/delivery/quality/gates/crap/enabled",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/enabled/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err228];}else {vErrors.push(err228);}errors++;}}if(data109.baselinePath !== undefined){let data111 = data109.baselinePath;const _errs290 = errors;const _errs291 = errors;if(typeof data111 === "string"){if(!pattern0.test(data111)){const err229 = {};if(vErrors === null){vErrors = [err229];}else {vErrors.push(err229);}errors++;}}var valid79 = _errs291 === errors;if(valid79){const err230 = {instancePath:instancePath+"/delivery/quality/gates/crap/baselinePath",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/baselinePath/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err230];}else {vErrors.push(err230);}errors++;}else {errors = _errs290;if(vErrors !== null){if(_errs290){vErrors.length = _errs290;}else {vErrors = null;}}}if(typeof data111 === "string"){if(func2(data111) < 1){const err231 = {instancePath:instancePath+"/delivery/quality/gates/crap/baselinePath",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/baselinePath/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err231];}else {vErrors.push(err231);}errors++;}}else {const err232 = {instancePath:instancePath+"/delivery/quality/gates/crap/baselinePath",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/baselinePath/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err232];}else {vErrors.push(err232);}errors++;}}if(data109.tolerance !== undefined){let data112 = data109.tolerance;if(data112 && typeof data112 == "object" && !Array.isArray(data112)){if(data112.kind === undefined){const err233 = {instancePath:instancePath+"/delivery/quality/gates/crap/tolerance",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/tolerance/required",keyword:"required",params:{missingProperty: "kind"},message:"must have required property '"+"kind"+"'"};if(vErrors === null){vErrors = [err233];}else {vErrors.push(err233);}errors++;}if(data112.value === undefined){const err234 = {instancePath:instancePath+"/delivery/quality/gates/crap/tolerance",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/tolerance/required",keyword:"required",params:{missingProperty: "value"},message:"must have required property '"+"value"+"'"};if(vErrors === null){vErrors = [err234];}else {vErrors.push(err234);}errors++;}for(const key29 in data112){if(!((key29 === "kind") || (key29 === "value"))){const err235 = {instancePath:instancePath+"/delivery/quality/gates/crap/tolerance",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/tolerance/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key29},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err235];}else {vErrors.push(err235);}errors++;}}if(data112.kind !== undefined){let data113 = data112.kind;if(typeof data113 !== "string"){const err236 = {instancePath:instancePath+"/delivery/quality/gates/crap/tolerance/kind",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/tolerance/properties/kind/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err236];}else {vErrors.push(err236);}errors++;}if(!((data113 === "absolute") || (data113 === "percent"))){const err237 = {instancePath:instancePath+"/delivery/quality/gates/crap/tolerance/kind",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/tolerance/properties/kind/enum",keyword:"enum",params:{allowedValues: schema11.properties.delivery.properties.quality.properties.gates.properties.crap.properties.tolerance.properties.kind.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err237];}else {vErrors.push(err237);}errors++;}}if(data112.value !== undefined){let data114 = data112.value;if((typeof data114 == "number") && (isFinite(data114))){if(data114 < 0 || isNaN(data114)){const err238 = {instancePath:instancePath+"/delivery/quality/gates/crap/tolerance/value",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/tolerance/properties/value/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err238];}else {vErrors.push(err238);}errors++;}}else {const err239 = {instancePath:instancePath+"/delivery/quality/gates/crap/tolerance/value",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/tolerance/properties/value/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err239];}else {vErrors.push(err239);}errors++;}}}else {const err240 = {instancePath:instancePath+"/delivery/quality/gates/crap/tolerance",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/tolerance/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err240];}else {vErrors.push(err240);}errors++;}}if(data109.floors !== undefined){let data115 = data109.floors;if(data115 && typeof data115 == "object" && !Array.isArray(data115)){for(const key30 in data115){let data116 = data115[key30];if(data116 && typeof data116 == "object" && !Array.isArray(data116)){for(const key31 in data116){let data117 = data116[key31];if(!((typeof data117 == "number") && (isFinite(data117)))){const err241 = {instancePath:instancePath+"/delivery/quality/gates/crap/floors/" + key30.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + key31.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/floors/additionalProperties/additionalProperties/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err241];}else {vErrors.push(err241);}errors++;}}}else {const err242 = {instancePath:instancePath+"/delivery/quality/gates/crap/floors/" + key30.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/floors/additionalProperties/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err242];}else {vErrors.push(err242);}errors++;}}}else {const err243 = {instancePath:instancePath+"/delivery/quality/gates/crap/floors",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/floors/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err243];}else {vErrors.push(err243);}errors++;}}if(data109.components !== undefined){let data118 = data109.components;if(data118 && typeof data118 == "object" && !Array.isArray(data118)){for(const key32 in data118){let data119 = data118[key32];if(Array.isArray(data119)){const len14 = data119.length;for(let i17=0; i17<len14; i17++){let data120 = data119[i17];if(typeof data120 === "string"){if(func2(data120) < 1){const err244 = {instancePath:instancePath+"/delivery/quality/gates/crap/components/" + key32.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + i17,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/components/additionalProperties/items/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err244];}else {vErrors.push(err244);}errors++;}}else {const err245 = {instancePath:instancePath+"/delivery/quality/gates/crap/components/" + key32.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + i17,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/components/additionalProperties/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err245];}else {vErrors.push(err245);}errors++;}}}else {const err246 = {instancePath:instancePath+"/delivery/quality/gates/crap/components/" + key32.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/components/additionalProperties/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err246];}else {vErrors.push(err246);}errors++;}}}else {const err247 = {instancePath:instancePath+"/delivery/quality/gates/crap/components",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/components/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err247];}else {vErrors.push(err247);}errors++;}}if(data109.targetDirs !== undefined){let data121 = data109.targetDirs;const _errs315 = errors;let valid86 = false;let passing0 = null;const _errs316 = errors;if(Array.isArray(data121)){const len15 = data121.length;for(let i18=0; i18<len15; i18++){if(typeof data121[i18] !== "string"){const err248 = {instancePath:instancePath+"/delivery/quality/gates/crap/targetDirs/" + i18,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/targetDirs/oneOf/0/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err248];}else {vErrors.push(err248);}errors++;}}}else {const err249 = {instancePath:instancePath+"/delivery/quality/gates/crap/targetDirs",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/targetDirs/oneOf/0/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err249];}else {vErrors.push(err249);}errors++;}var _valid1 = _errs316 === errors;if(_valid1){valid86 = true;passing0 = 0;}const _errs320 = errors;if(data121 && typeof data121 == "object" && !Array.isArray(data121)){for(const key33 in data121){if(!((key33 === "append") || (key33 === "prepend"))){const err250 = {instancePath:instancePath+"/delivery/quality/gates/crap/targetDirs",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/targetDirs/oneOf/1/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key33},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err250];}else {vErrors.push(err250);}errors++;}}if(data121.append !== undefined){let data123 = data121.append;if(Array.isArray(data123)){const len16 = data123.length;for(let i19=0; i19<len16; i19++){if(typeof data123[i19] !== "string"){const err251 = {instancePath:instancePath+"/delivery/quality/gates/crap/targetDirs/append/" + i19,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/targetDirs/oneOf/1/properties/append/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err251];}else {vErrors.push(err251);}errors++;}}}else {const err252 = {instancePath:instancePath+"/delivery/quality/gates/crap/targetDirs/append",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/targetDirs/oneOf/1/properties/append/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err252];}else {vErrors.push(err252);}errors++;}}if(data121.prepend !== undefined){let data125 = data121.prepend;if(Array.isArray(data125)){const len17 = data125.length;for(let i20=0; i20<len17; i20++){if(typeof data125[i20] !== "string"){const err253 = {instancePath:instancePath+"/delivery/quality/gates/crap/targetDirs/prepend/" + i20,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/targetDirs/oneOf/1/properties/prepend/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err253];}else {vErrors.push(err253);}errors++;}}}else {const err254 = {instancePath:instancePath+"/delivery/quality/gates/crap/targetDirs/prepend",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/targetDirs/oneOf/1/properties/prepend/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err254];}else {vErrors.push(err254);}errors++;}}}else {const err255 = {instancePath:instancePath+"/delivery/quality/gates/crap/targetDirs",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/targetDirs/oneOf/1/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err255];}else {vErrors.push(err255);}errors++;}var _valid1 = _errs320 === errors;if(_valid1 && valid86){valid86 = false;passing0 = [passing0, 1];}else {if(_valid1){valid86 = true;passing0 = 1;}}if(!valid86){const err256 = {instancePath:instancePath+"/delivery/quality/gates/crap/targetDirs",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/targetDirs/oneOf",keyword:"oneOf",params:{passingSchemas: passing0},message:"must match exactly one schema in oneOf"};if(vErrors === null){vErrors = [err256];}else {vErrors.push(err256);}errors++;}else {errors = _errs315;if(vErrors !== null){if(_errs315){vErrors.length = _errs315;}else {vErrors = null;}}}}if(data109.newMethodCeiling !== undefined){let data127 = data109.newMethodCeiling;if(!(((typeof data127 == "number") && (!(data127 % 1) && !isNaN(data127))) && (isFinite(data127)))){const err257 = {instancePath:instancePath+"/delivery/quality/gates/crap/newMethodCeiling",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/newMethodCeiling/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err257];}else {vErrors.push(err257);}errors++;}if((typeof data127 == "number") && (isFinite(data127))){if(data127 < 1 || isNaN(data127)){const err258 = {instancePath:instancePath+"/delivery/quality/gates/crap/newMethodCeiling",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/newMethodCeiling/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"};if(vErrors === null){vErrors = [err258];}else {vErrors.push(err258);}errors++;}}}if(data109.requireCoverage !== undefined){if(typeof data109.requireCoverage !== "boolean"){const err259 = {instancePath:instancePath+"/delivery/quality/gates/crap/requireCoverage",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/requireCoverage/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err259];}else {vErrors.push(err259);}errors++;}}if(data109.minMethodResolutionRate !== undefined){let data129 = data109.minMethodResolutionRate;if((typeof data129 == "number") && (isFinite(data129))){if(data129 > 1 || isNaN(data129)){const err260 = {instancePath:instancePath+"/delivery/quality/gates/crap/minMethodResolutionRate",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/minMethodResolutionRate/maximum",keyword:"maximum",params:{comparison: "<=", limit: 1},message:"must be <= 1"};if(vErrors === null){vErrors = [err260];}else {vErrors.push(err260);}errors++;}if(data129 < 0 || isNaN(data129)){const err261 = {instancePath:instancePath+"/delivery/quality/gates/crap/minMethodResolutionRate",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/minMethodResolutionRate/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err261];}else {vErrors.push(err261);}errors++;}}else {const err262 = {instancePath:instancePath+"/delivery/quality/gates/crap/minMethodResolutionRate",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/minMethodResolutionRate/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err262];}else {vErrors.push(err262);}errors++;}}if(data109.ignoreGlobs !== undefined){let data130 = data109.ignoreGlobs;if(Array.isArray(data130)){const len18 = data130.length;for(let i21=0; i21<len18; i21++){let data131 = data130[i21];if(typeof data131 === "string"){if(func2(data131) < 1){const err263 = {instancePath:instancePath+"/delivery/quality/gates/crap/ignoreGlobs/" + i21,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/ignoreGlobs/items/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err263];}else {vErrors.push(err263);}errors++;}}else {const err264 = {instancePath:instancePath+"/delivery/quality/gates/crap/ignoreGlobs/" + i21,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/ignoreGlobs/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err264];}else {vErrors.push(err264);}errors++;}}}else {const err265 = {instancePath:instancePath+"/delivery/quality/gates/crap/ignoreGlobs",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/ignoreGlobs/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err265];}else {vErrors.push(err265);}errors++;}}if(data109.incrementalCoverage !== undefined){let data132 = data109.incrementalCoverage;if(data132 && typeof data132 == "object" && !Array.isArray(data132)){for(const key34 in data132){if(!(((key34 === "skipWhenUnchanged") || (key34 === "baselineJoin")) || (key34 === "baseRef"))){const err266 = {instancePath:instancePath+"/delivery/quality/gates/crap/incrementalCoverage",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/incrementalCoverage/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key34},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err266];}else {vErrors.push(err266);}errors++;}}if(data132.skipWhenUnchanged !== undefined){if(typeof data132.skipWhenUnchanged !== "boolean"){const err267 = {instancePath:instancePath+"/delivery/quality/gates/crap/incrementalCoverage/skipWhenUnchanged",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/incrementalCoverage/properties/skipWhenUnchanged/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err267];}else {vErrors.push(err267);}errors++;}}if(data132.baselineJoin !== undefined){if(typeof data132.baselineJoin !== "boolean"){const err268 = {instancePath:instancePath+"/delivery/quality/gates/crap/incrementalCoverage/baselineJoin",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/incrementalCoverage/properties/baselineJoin/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err268];}else {vErrors.push(err268);}errors++;}}if(data132.baseRef !== undefined){let data135 = data132.baseRef;if(typeof data135 === "string"){if(func2(data135) < 1){const err269 = {instancePath:instancePath+"/delivery/quality/gates/crap/incrementalCoverage/baseRef",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/incrementalCoverage/properties/baseRef/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err269];}else {vErrors.push(err269);}errors++;}}else {const err270 = {instancePath:instancePath+"/delivery/quality/gates/crap/incrementalCoverage/baseRef",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/incrementalCoverage/properties/baseRef/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err270];}else {vErrors.push(err270);}errors++;}}}else {const err271 = {instancePath:instancePath+"/delivery/quality/gates/crap/incrementalCoverage",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/incrementalCoverage/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err271];}else {vErrors.push(err271);}errors++;}}if(data109.coveragePath !== undefined){let data136 = data109.coveragePath;if((typeof data136 !== "string") && (data136 !== null)){const err272 = {instancePath:instancePath+"/delivery/quality/gates/crap/coveragePath",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/coveragePath/type",keyword:"type",params:{type: schema11.properties.delivery.properties.quality.properties.gates.properties.crap.properties.coveragePath.type},message:"must be string,null"};if(vErrors === null){vErrors = [err272];}else {vErrors.push(err272);}errors++;}if(typeof data136 === "string"){if(func2(data136) < 1){const err273 = {instancePath:instancePath+"/delivery/quality/gates/crap/coveragePath",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/coveragePath/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err273];}else {vErrors.push(err273);}errors++;}}}if(data109.captureScript !== undefined){let data137 = data109.captureScript;if(typeof data137 === "string"){if(func2(data137) < 1){const err274 = {instancePath:instancePath+"/delivery/quality/gates/crap/captureScript",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/captureScript/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err274];}else {vErrors.push(err274);}errors++;}if(!pattern19.test(data137)){const err275 = {instancePath:instancePath+"/delivery/quality/gates/crap/captureScript",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/captureScript/pattern",keyword:"pattern",params:{pattern: "^[A-Za-z0-9@:._/-]+$"},message:"must match pattern \""+"^[A-Za-z0-9@:._/-]+$"+"\""};if(vErrors === null){vErrors = [err275];}else {vErrors.push(err275);}errors++;}}else {const err276 = {instancePath:instancePath+"/delivery/quality/gates/crap/captureScript",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/captureScript/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err276];}else {vErrors.push(err276);}errors++;}}}else {const err277 = {instancePath:instancePath+"/delivery/quality/gates/crap",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err277];}else {vErrors.push(err277);}errors++;}}if(data92.maintainability !== undefined){let data138 = data92.maintainability;if(data138 && typeof data138 == "object" && !Array.isArray(data138)){for(const key35 in data138){if(!(((((((key35 === "enabled") || (key35 === "baselinePath")) || (key35 === "tolerance")) || (key35 === "floors")) || (key35 === "components")) || (key35 === "targetDirs")) || (key35 === "ignoreGlobs"))){const err278 = {instancePath:instancePath+"/delivery/quality/gates/maintainability",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key35},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err278];}else {vErrors.push(err278);}errors++;}}if(data138.enabled !== undefined){if(typeof data138.enabled !== "boolean"){const err279 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/enabled",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/enabled/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err279];}else {vErrors.push(err279);}errors++;}}if(data138.baselinePath !== undefined){let data140 = data138.baselinePath;const _errs361 = errors;const _errs362 = errors;if(typeof data140 === "string"){if(!pattern0.test(data140)){const err280 = {};if(vErrors === null){vErrors = [err280];}else {vErrors.push(err280);}errors++;}}var valid98 = _errs362 === errors;if(valid98){const err281 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/baselinePath",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/baselinePath/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err281];}else {vErrors.push(err281);}errors++;}else {errors = _errs361;if(vErrors !== null){if(_errs361){vErrors.length = _errs361;}else {vErrors = null;}}}if(typeof data140 === "string"){if(func2(data140) < 1){const err282 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/baselinePath",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/baselinePath/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err282];}else {vErrors.push(err282);}errors++;}}else {const err283 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/baselinePath",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/baselinePath/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err283];}else {vErrors.push(err283);}errors++;}}if(data138.tolerance !== undefined){let data141 = data138.tolerance;if(data141 && typeof data141 == "object" && !Array.isArray(data141)){if(data141.kind === undefined){const err284 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/tolerance",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/tolerance/required",keyword:"required",params:{missingProperty: "kind"},message:"must have required property '"+"kind"+"'"};if(vErrors === null){vErrors = [err284];}else {vErrors.push(err284);}errors++;}if(data141.value === undefined){const err285 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/tolerance",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/tolerance/required",keyword:"required",params:{missingProperty: "value"},message:"must have required property '"+"value"+"'"};if(vErrors === null){vErrors = [err285];}else {vErrors.push(err285);}errors++;}for(const key36 in data141){if(!((key36 === "kind") || (key36 === "value"))){const err286 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/tolerance",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/tolerance/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key36},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err286];}else {vErrors.push(err286);}errors++;}}if(data141.kind !== undefined){let data142 = data141.kind;if(typeof data142 !== "string"){const err287 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/tolerance/kind",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/tolerance/properties/kind/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err287];}else {vErrors.push(err287);}errors++;}if(!((data142 === "absolute") || (data142 === "percent"))){const err288 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/tolerance/kind",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/tolerance/properties/kind/enum",keyword:"enum",params:{allowedValues: schema11.properties.delivery.properties.quality.properties.gates.properties.maintainability.properties.tolerance.properties.kind.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err288];}else {vErrors.push(err288);}errors++;}}if(data141.value !== undefined){let data143 = data141.value;if((typeof data143 == "number") && (isFinite(data143))){if(data143 < 0 || isNaN(data143)){const err289 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/tolerance/value",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/tolerance/properties/value/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err289];}else {vErrors.push(err289);}errors++;}}else {const err290 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/tolerance/value",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/tolerance/properties/value/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err290];}else {vErrors.push(err290);}errors++;}}}else {const err291 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/tolerance",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/tolerance/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err291];}else {vErrors.push(err291);}errors++;}}if(data138.floors !== undefined){let data144 = data138.floors;if(data144 && typeof data144 == "object" && !Array.isArray(data144)){for(const key37 in data144){let data145 = data144[key37];if(data145 && typeof data145 == "object" && !Array.isArray(data145)){for(const key38 in data145){let data146 = data145[key38];if(!((typeof data146 == "number") && (isFinite(data146)))){const err292 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/floors/" + key37.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + key38.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/floors/additionalProperties/additionalProperties/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err292];}else {vErrors.push(err292);}errors++;}}}else {const err293 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/floors/" + key37.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/floors/additionalProperties/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err293];}else {vErrors.push(err293);}errors++;}}}else {const err294 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/floors",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/floors/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err294];}else {vErrors.push(err294);}errors++;}}if(data138.components !== undefined){let data147 = data138.components;if(data147 && typeof data147 == "object" && !Array.isArray(data147)){for(const key39 in data147){let data148 = data147[key39];if(Array.isArray(data148)){const len19 = data148.length;for(let i22=0; i22<len19; i22++){let data149 = data148[i22];if(typeof data149 === "string"){if(func2(data149) < 1){const err295 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/components/" + key39.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + i22,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/components/additionalProperties/items/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err295];}else {vErrors.push(err295);}errors++;}}else {const err296 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/components/" + key39.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + i22,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/components/additionalProperties/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err296];}else {vErrors.push(err296);}errors++;}}}else {const err297 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/components/" + key39.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/components/additionalProperties/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err297];}else {vErrors.push(err297);}errors++;}}}else {const err298 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/components",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/components/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err298];}else {vErrors.push(err298);}errors++;}}if(data138.targetDirs !== undefined){let data150 = data138.targetDirs;const _errs386 = errors;let valid105 = false;let passing1 = null;const _errs387 = errors;if(Array.isArray(data150)){const len20 = data150.length;for(let i23=0; i23<len20; i23++){if(typeof data150[i23] !== "string"){const err299 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/targetDirs/" + i23,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/targetDirs/oneOf/0/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err299];}else {vErrors.push(err299);}errors++;}}}else {const err300 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/targetDirs",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/targetDirs/oneOf/0/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err300];}else {vErrors.push(err300);}errors++;}var _valid2 = _errs387 === errors;if(_valid2){valid105 = true;passing1 = 0;}const _errs391 = errors;if(data150 && typeof data150 == "object" && !Array.isArray(data150)){for(const key40 in data150){if(!((key40 === "append") || (key40 === "prepend"))){const err301 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/targetDirs",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/targetDirs/oneOf/1/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key40},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err301];}else {vErrors.push(err301);}errors++;}}if(data150.append !== undefined){let data152 = data150.append;if(Array.isArray(data152)){const len21 = data152.length;for(let i24=0; i24<len21; i24++){if(typeof data152[i24] !== "string"){const err302 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/targetDirs/append/" + i24,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/targetDirs/oneOf/1/properties/append/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err302];}else {vErrors.push(err302);}errors++;}}}else {const err303 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/targetDirs/append",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/targetDirs/oneOf/1/properties/append/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err303];}else {vErrors.push(err303);}errors++;}}if(data150.prepend !== undefined){let data154 = data150.prepend;if(Array.isArray(data154)){const len22 = data154.length;for(let i25=0; i25<len22; i25++){if(typeof data154[i25] !== "string"){const err304 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/targetDirs/prepend/" + i25,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/targetDirs/oneOf/1/properties/prepend/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err304];}else {vErrors.push(err304);}errors++;}}}else {const err305 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/targetDirs/prepend",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/targetDirs/oneOf/1/properties/prepend/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err305];}else {vErrors.push(err305);}errors++;}}}else {const err306 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/targetDirs",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/targetDirs/oneOf/1/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err306];}else {vErrors.push(err306);}errors++;}var _valid2 = _errs391 === errors;if(_valid2 && valid105){valid105 = false;passing1 = [passing1, 1];}else {if(_valid2){valid105 = true;passing1 = 1;}}if(!valid105){const err307 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/targetDirs",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/targetDirs/oneOf",keyword:"oneOf",params:{passingSchemas: passing1},message:"must match exactly one schema in oneOf"};if(vErrors === null){vErrors = [err307];}else {vErrors.push(err307);}errors++;}else {errors = _errs386;if(vErrors !== null){if(_errs386){vErrors.length = _errs386;}else {vErrors = null;}}}}if(data138.ignoreGlobs !== undefined){let data156 = data138.ignoreGlobs;if(Array.isArray(data156)){const len23 = data156.length;for(let i26=0; i26<len23; i26++){let data157 = data156[i26];if(typeof data157 === "string"){if(func2(data157) < 1){const err308 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/ignoreGlobs/" + i26,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/ignoreGlobs/items/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err308];}else {vErrors.push(err308);}errors++;}}else {const err309 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/ignoreGlobs/" + i26,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/ignoreGlobs/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err309];}else {vErrors.push(err309);}errors++;}}}else {const err310 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/ignoreGlobs",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/ignoreGlobs/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err310];}else {vErrors.push(err310);}errors++;}}}else {const err311 = {instancePath:instancePath+"/delivery/quality/gates/maintainability",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err311];}else {vErrors.push(err311);}errors++;}}if(data92.mutation !== undefined){let data158 = data92.mutation;if(data158 && typeof data158 == "object" && !Array.isArray(data158)){for(const key41 in data158){if(!(((((key41 === "enabled") || (key41 === "baselinePath")) || (key41 === "tolerance")) || (key41 === "floors")) || (key41 === "components"))){const err312 = {instancePath:instancePath+"/delivery/quality/gates/mutation",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/mutation/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key41},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err312];}else {vErrors.push(err312);}errors++;}}if(data158.enabled !== undefined){if(typeof data158.enabled !== "boolean"){const err313 = {instancePath:instancePath+"/delivery/quality/gates/mutation/enabled",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/mutation/properties/enabled/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err313];}else {vErrors.push(err313);}errors++;}}if(data158.baselinePath !== undefined){let data160 = data158.baselinePath;const _errs413 = errors;const _errs414 = errors;if(typeof data160 === "string"){if(!pattern0.test(data160)){const err314 = {};if(vErrors === null){vErrors = [err314];}else {vErrors.push(err314);}errors++;}}var valid116 = _errs414 === errors;if(valid116){const err315 = {instancePath:instancePath+"/delivery/quality/gates/mutation/baselinePath",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/mutation/properties/baselinePath/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err315];}else {vErrors.push(err315);}errors++;}else {errors = _errs413;if(vErrors !== null){if(_errs413){vErrors.length = _errs413;}else {vErrors = null;}}}if(typeof data160 === "string"){if(func2(data160) < 1){const err316 = {instancePath:instancePath+"/delivery/quality/gates/mutation/baselinePath",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/mutation/properties/baselinePath/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err316];}else {vErrors.push(err316);}errors++;}}else {const err317 = {instancePath:instancePath+"/delivery/quality/gates/mutation/baselinePath",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/mutation/properties/baselinePath/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err317];}else {vErrors.push(err317);}errors++;}}if(data158.tolerance !== undefined){let data161 = data158.tolerance;if(data161 && typeof data161 == "object" && !Array.isArray(data161)){if(data161.kind === undefined){const err318 = {instancePath:instancePath+"/delivery/quality/gates/mutation/tolerance",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/mutation/properties/tolerance/required",keyword:"required",params:{missingProperty: "kind"},message:"must have required property '"+"kind"+"'"};if(vErrors === null){vErrors = [err318];}else {vErrors.push(err318);}errors++;}if(data161.value === undefined){const err319 = {instancePath:instancePath+"/delivery/quality/gates/mutation/tolerance",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/mutation/properties/tolerance/required",keyword:"required",params:{missingProperty: "value"},message:"must have required property '"+"value"+"'"};if(vErrors === null){vErrors = [err319];}else {vErrors.push(err319);}errors++;}for(const key42 in data161){if(!((key42 === "kind") || (key42 === "value"))){const err320 = {instancePath:instancePath+"/delivery/quality/gates/mutation/tolerance",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/mutation/properties/tolerance/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key42},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err320];}else {vErrors.push(err320);}errors++;}}if(data161.kind !== undefined){let data162 = data161.kind;if(typeof data162 !== "string"){const err321 = {instancePath:instancePath+"/delivery/quality/gates/mutation/tolerance/kind",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/mutation/properties/tolerance/properties/kind/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err321];}else {vErrors.push(err321);}errors++;}if(!((data162 === "absolute") || (data162 === "percent"))){const err322 = {instancePath:instancePath+"/delivery/quality/gates/mutation/tolerance/kind",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/mutation/properties/tolerance/properties/kind/enum",keyword:"enum",params:{allowedValues: schema11.properties.delivery.properties.quality.properties.gates.properties.mutation.properties.tolerance.properties.kind.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err322];}else {vErrors.push(err322);}errors++;}}if(data161.value !== undefined){let data163 = data161.value;if((typeof data163 == "number") && (isFinite(data163))){if(data163 < 0 || isNaN(data163)){const err323 = {instancePath:instancePath+"/delivery/quality/gates/mutation/tolerance/value",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/mutation/properties/tolerance/properties/value/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err323];}else {vErrors.push(err323);}errors++;}}else {const err324 = {instancePath:instancePath+"/delivery/quality/gates/mutation/tolerance/value",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/mutation/properties/tolerance/properties/value/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err324];}else {vErrors.push(err324);}errors++;}}}else {const err325 = {instancePath:instancePath+"/delivery/quality/gates/mutation/tolerance",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/mutation/properties/tolerance/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err325];}else {vErrors.push(err325);}errors++;}}if(data158.floors !== undefined){let data164 = data158.floors;if(data164 && typeof data164 == "object" && !Array.isArray(data164)){for(const key43 in data164){let data165 = data164[key43];if(data165 && typeof data165 == "object" && !Array.isArray(data165)){for(const key44 in data165){let data166 = data165[key44];if(!((typeof data166 == "number") && (isFinite(data166)))){const err326 = {instancePath:instancePath+"/delivery/quality/gates/mutation/floors/" + key43.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + key44.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/mutation/properties/floors/additionalProperties/additionalProperties/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err326];}else {vErrors.push(err326);}errors++;}}}else {const err327 = {instancePath:instancePath+"/delivery/quality/gates/mutation/floors/" + key43.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/mutation/properties/floors/additionalProperties/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err327];}else {vErrors.push(err327);}errors++;}}}else {const err328 = {instancePath:instancePath+"/delivery/quality/gates/mutation/floors",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/mutation/properties/floors/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err328];}else {vErrors.push(err328);}errors++;}}if(data158.components !== undefined){let data167 = data158.components;if(data167 && typeof data167 == "object" && !Array.isArray(data167)){for(const key45 in data167){let data168 = data167[key45];if(Array.isArray(data168)){const len24 = data168.length;for(let i27=0; i27<len24; i27++){let data169 = data168[i27];if(typeof data169 === "string"){if(func2(data169) < 1){const err329 = {instancePath:instancePath+"/delivery/quality/gates/mutation/components/" + key45.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + i27,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/mutation/properties/components/additionalProperties/items/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err329];}else {vErrors.push(err329);}errors++;}}else {const err330 = {instancePath:instancePath+"/delivery/quality/gates/mutation/components/" + key45.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + i27,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/mutation/properties/components/additionalProperties/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err330];}else {vErrors.push(err330);}errors++;}}}else {const err331 = {instancePath:instancePath+"/delivery/quality/gates/mutation/components/" + key45.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/mutation/properties/components/additionalProperties/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err331];}else {vErrors.push(err331);}errors++;}}}else {const err332 = {instancePath:instancePath+"/delivery/quality/gates/mutation/components",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/mutation/properties/components/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err332];}else {vErrors.push(err332);}errors++;}}}else {const err333 = {instancePath:instancePath+"/delivery/quality/gates/mutation",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/mutation/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err333];}else {vErrors.push(err333);}errors++;}}if(data92["bundle-size"] !== undefined){let data170 = data92["bundle-size"];if(data170 && typeof data170 == "object" && !Array.isArray(data170)){for(const key46 in data170){if(!((((((key46 === "enabled") || (key46 === "baselinePath")) || (key46 === "tolerance")) || (key46 === "floors")) || (key46 === "components")) || (key46 === "bundles"))){const err334 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key46},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err334];}else {vErrors.push(err334);}errors++;}}if(data170.enabled !== undefined){if(typeof data170.enabled !== "boolean"){const err335 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/enabled",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/enabled/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err335];}else {vErrors.push(err335);}errors++;}}if(data170.baselinePath !== undefined){let data172 = data170.baselinePath;const _errs444 = errors;const _errs445 = errors;if(typeof data172 === "string"){if(!pattern0.test(data172)){const err336 = {};if(vErrors === null){vErrors = [err336];}else {vErrors.push(err336);}errors++;}}var valid124 = _errs445 === errors;if(valid124){const err337 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/baselinePath",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/baselinePath/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err337];}else {vErrors.push(err337);}errors++;}else {errors = _errs444;if(vErrors !== null){if(_errs444){vErrors.length = _errs444;}else {vErrors = null;}}}if(typeof data172 === "string"){if(func2(data172) < 1){const err338 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/baselinePath",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/baselinePath/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err338];}else {vErrors.push(err338);}errors++;}}else {const err339 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/baselinePath",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/baselinePath/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err339];}else {vErrors.push(err339);}errors++;}}if(data170.tolerance !== undefined){let data173 = data170.tolerance;if(data173 && typeof data173 == "object" && !Array.isArray(data173)){if(data173.kind === undefined){const err340 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/tolerance",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/tolerance/required",keyword:"required",params:{missingProperty: "kind"},message:"must have required property '"+"kind"+"'"};if(vErrors === null){vErrors = [err340];}else {vErrors.push(err340);}errors++;}if(data173.value === undefined){const err341 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/tolerance",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/tolerance/required",keyword:"required",params:{missingProperty: "value"},message:"must have required property '"+"value"+"'"};if(vErrors === null){vErrors = [err341];}else {vErrors.push(err341);}errors++;}for(const key47 in data173){if(!((key47 === "kind") || (key47 === "value"))){const err342 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/tolerance",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/tolerance/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key47},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err342];}else {vErrors.push(err342);}errors++;}}if(data173.kind !== undefined){let data174 = data173.kind;if(typeof data174 !== "string"){const err343 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/tolerance/kind",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/tolerance/properties/kind/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err343];}else {vErrors.push(err343);}errors++;}if(!((data174 === "absolute") || (data174 === "percent"))){const err344 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/tolerance/kind",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/tolerance/properties/kind/enum",keyword:"enum",params:{allowedValues: schema11.properties.delivery.properties.quality.properties.gates.properties["bundle-size"].properties.tolerance.properties.kind.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err344];}else {vErrors.push(err344);}errors++;}}if(data173.value !== undefined){let data175 = data173.value;if((typeof data175 == "number") && (isFinite(data175))){if(data175 < 0 || isNaN(data175)){const err345 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/tolerance/value",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/tolerance/properties/value/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err345];}else {vErrors.push(err345);}errors++;}}else {const err346 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/tolerance/value",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/tolerance/properties/value/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err346];}else {vErrors.push(err346);}errors++;}}}else {const err347 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/tolerance",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/tolerance/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err347];}else {vErrors.push(err347);}errors++;}}if(data170.floors !== undefined){let data176 = data170.floors;if(data176 && typeof data176 == "object" && !Array.isArray(data176)){for(const key48 in data176){let data177 = data176[key48];if(data177 && typeof data177 == "object" && !Array.isArray(data177)){for(const key49 in data177){let data178 = data177[key49];if(!((typeof data178 == "number") && (isFinite(data178)))){const err348 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/floors/" + key48.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + key49.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/floors/additionalProperties/additionalProperties/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err348];}else {vErrors.push(err348);}errors++;}}}else {const err349 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/floors/" + key48.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/floors/additionalProperties/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err349];}else {vErrors.push(err349);}errors++;}}}else {const err350 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/floors",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/floors/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err350];}else {vErrors.push(err350);}errors++;}}if(data170.components !== undefined){let data179 = data170.components;if(data179 && typeof data179 == "object" && !Array.isArray(data179)){for(const key50 in data179){let data180 = data179[key50];if(Array.isArray(data180)){const len25 = data180.length;for(let i28=0; i28<len25; i28++){let data181 = data180[i28];if(typeof data181 === "string"){if(func2(data181) < 1){const err351 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/components/" + key50.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + i28,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/components/additionalProperties/items/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err351];}else {vErrors.push(err351);}errors++;}}else {const err352 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/components/" + key50.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + i28,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/components/additionalProperties/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err352];}else {vErrors.push(err352);}errors++;}}}else {const err353 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/components/" + key50.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/components/additionalProperties/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err353];}else {vErrors.push(err353);}errors++;}}}else {const err354 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/components",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/components/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err354];}else {vErrors.push(err354);}errors++;}}if(data170.bundles !== undefined){let data182 = data170.bundles;if(Array.isArray(data182)){const len26 = data182.length;for(let i29=0; i29<len26; i29++){let data183 = data182[i29];if(data183 && typeof data183 == "object" && !Array.isArray(data183)){if(data183.name === undefined){const err355 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/bundles/" + i29,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/bundles/items/required",keyword:"required",params:{missingProperty: "name"},message:"must have required property '"+"name"+"'"};if(vErrors === null){vErrors = [err355];}else {vErrors.push(err355);}errors++;}if(data183.path === undefined){const err356 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/bundles/" + i29,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/bundles/items/required",keyword:"required",params:{missingProperty: "path"},message:"must have required property '"+"path"+"'"};if(vErrors === null){vErrors = [err356];}else {vErrors.push(err356);}errors++;}if(data183.limit === undefined){const err357 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/bundles/" + i29,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/bundles/items/required",keyword:"required",params:{missingProperty: "limit"},message:"must have required property '"+"limit"+"'"};if(vErrors === null){vErrors = [err357];}else {vErrors.push(err357);}errors++;}for(const key51 in data183){if(!(((key51 === "name") || (key51 === "path")) || (key51 === "limit"))){const err358 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/bundles/" + i29,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/bundles/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key51},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err358];}else {vErrors.push(err358);}errors++;}}if(data183.name !== undefined){let data184 = data183.name;if(typeof data184 === "string"){if(func2(data184) < 1){const err359 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/bundles/" + i29+"/name",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/bundles/items/properties/name/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err359];}else {vErrors.push(err359);}errors++;}}else {const err360 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/bundles/" + i29+"/name",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/bundles/items/properties/name/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err360];}else {vErrors.push(err360);}errors++;}}if(data183.path !== undefined){let data185 = data183.path;if(typeof data185 === "string"){if(func2(data185) < 1){const err361 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/bundles/" + i29+"/path",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/bundles/items/properties/path/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err361];}else {vErrors.push(err361);}errors++;}}else {const err362 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/bundles/" + i29+"/path",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/bundles/items/properties/path/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err362];}else {vErrors.push(err362);}errors++;}}if(data183.limit !== undefined){let data186 = data183.limit;if(typeof data186 === "string"){if(func2(data186) < 1){const err363 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/bundles/" + i29+"/limit",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/bundles/items/properties/limit/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err363];}else {vErrors.push(err363);}errors++;}}else {const err364 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/bundles/" + i29+"/limit",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/bundles/items/properties/limit/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err364];}else {vErrors.push(err364);}errors++;}}}else {const err365 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/bundles/" + i29,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/bundles/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err365];}else {vErrors.push(err365);}errors++;}}}else {const err366 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/bundles",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/bundles/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err366];}else {vErrors.push(err366);}errors++;}}}else {const err367 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err367];}else {vErrors.push(err367);}errors++;}}if(data92.duplication !== undefined){let data187 = data92.duplication;if(data187 && typeof data187 == "object" && !Array.isArray(data187)){for(const key52 in data187){if(!((((((((key52 === "enabled") || (key52 === "baselinePath")) || (key52 === "tolerance")) || (key52 === "floors")) || (key52 === "components")) || (key52 === "targetDirs")) || (key52 === "additionalFormats")) || (key52 === "ignoreGlobs"))){const err368 = {instancePath:instancePath+"/delivery/quality/gates/duplication",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key52},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err368];}else {vErrors.push(err368);}errors++;}}if(data187.enabled !== undefined){if(typeof data187.enabled !== "boolean"){const err369 = {instancePath:instancePath+"/delivery/quality/gates/duplication/enabled",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/enabled/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err369];}else {vErrors.push(err369);}errors++;}}if(data187.baselinePath !== undefined){let data189 = data187.baselinePath;const _errs486 = errors;const _errs487 = errors;if(typeof data189 === "string"){if(!pattern0.test(data189)){const err370 = {};if(vErrors === null){vErrors = [err370];}else {vErrors.push(err370);}errors++;}}var valid135 = _errs487 === errors;if(valid135){const err371 = {instancePath:instancePath+"/delivery/quality/gates/duplication/baselinePath",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/baselinePath/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err371];}else {vErrors.push(err371);}errors++;}else {errors = _errs486;if(vErrors !== null){if(_errs486){vErrors.length = _errs486;}else {vErrors = null;}}}if(typeof data189 === "string"){if(func2(data189) < 1){const err372 = {instancePath:instancePath+"/delivery/quality/gates/duplication/baselinePath",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/baselinePath/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err372];}else {vErrors.push(err372);}errors++;}}else {const err373 = {instancePath:instancePath+"/delivery/quality/gates/duplication/baselinePath",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/baselinePath/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err373];}else {vErrors.push(err373);}errors++;}}if(data187.tolerance !== undefined){let data190 = data187.tolerance;if(data190 && typeof data190 == "object" && !Array.isArray(data190)){if(data190.kind === undefined){const err374 = {instancePath:instancePath+"/delivery/quality/gates/duplication/tolerance",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/tolerance/required",keyword:"required",params:{missingProperty: "kind"},message:"must have required property '"+"kind"+"'"};if(vErrors === null){vErrors = [err374];}else {vErrors.push(err374);}errors++;}if(data190.value === undefined){const err375 = {instancePath:instancePath+"/delivery/quality/gates/duplication/tolerance",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/tolerance/required",keyword:"required",params:{missingProperty: "value"},message:"must have required property '"+"value"+"'"};if(vErrors === null){vErrors = [err375];}else {vErrors.push(err375);}errors++;}for(const key53 in data190){if(!((key53 === "kind") || (key53 === "value"))){const err376 = {instancePath:instancePath+"/delivery/quality/gates/duplication/tolerance",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/tolerance/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key53},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err376];}else {vErrors.push(err376);}errors++;}}if(data190.kind !== undefined){let data191 = data190.kind;if(typeof data191 !== "string"){const err377 = {instancePath:instancePath+"/delivery/quality/gates/duplication/tolerance/kind",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/tolerance/properties/kind/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err377];}else {vErrors.push(err377);}errors++;}if(!((data191 === "absolute") || (data191 === "percent"))){const err378 = {instancePath:instancePath+"/delivery/quality/gates/duplication/tolerance/kind",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/tolerance/properties/kind/enum",keyword:"enum",params:{allowedValues: schema11.properties.delivery.properties.quality.properties.gates.properties.duplication.properties.tolerance.properties.kind.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err378];}else {vErrors.push(err378);}errors++;}}if(data190.value !== undefined){let data192 = data190.value;if((typeof data192 == "number") && (isFinite(data192))){if(data192 < 0 || isNaN(data192)){const err379 = {instancePath:instancePath+"/delivery/quality/gates/duplication/tolerance/value",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/tolerance/properties/value/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err379];}else {vErrors.push(err379);}errors++;}}else {const err380 = {instancePath:instancePath+"/delivery/quality/gates/duplication/tolerance/value",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/tolerance/properties/value/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err380];}else {vErrors.push(err380);}errors++;}}}else {const err381 = {instancePath:instancePath+"/delivery/quality/gates/duplication/tolerance",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/tolerance/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err381];}else {vErrors.push(err381);}errors++;}}if(data187.floors !== undefined){let data193 = data187.floors;if(data193 && typeof data193 == "object" && !Array.isArray(data193)){for(const key54 in data193){let data194 = data193[key54];if(data194 && typeof data194 == "object" && !Array.isArray(data194)){for(const key55 in data194){let data195 = data194[key55];if(!((typeof data195 == "number") && (isFinite(data195)))){const err382 = {instancePath:instancePath+"/delivery/quality/gates/duplication/floors/" + key54.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + key55.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/floors/additionalProperties/additionalProperties/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err382];}else {vErrors.push(err382);}errors++;}}}else {const err383 = {instancePath:instancePath+"/delivery/quality/gates/duplication/floors/" + key54.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/floors/additionalProperties/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err383];}else {vErrors.push(err383);}errors++;}}}else {const err384 = {instancePath:instancePath+"/delivery/quality/gates/duplication/floors",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/floors/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err384];}else {vErrors.push(err384);}errors++;}}if(data187.components !== undefined){let data196 = data187.components;if(data196 && typeof data196 == "object" && !Array.isArray(data196)){for(const key56 in data196){let data197 = data196[key56];if(Array.isArray(data197)){const len27 = data197.length;for(let i30=0; i30<len27; i30++){let data198 = data197[i30];if(typeof data198 === "string"){if(func2(data198) < 1){const err385 = {instancePath:instancePath+"/delivery/quality/gates/duplication/components/" + key56.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + i30,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/components/additionalProperties/items/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err385];}else {vErrors.push(err385);}errors++;}}else {const err386 = {instancePath:instancePath+"/delivery/quality/gates/duplication/components/" + key56.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + i30,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/components/additionalProperties/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err386];}else {vErrors.push(err386);}errors++;}}}else {const err387 = {instancePath:instancePath+"/delivery/quality/gates/duplication/components/" + key56.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/components/additionalProperties/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err387];}else {vErrors.push(err387);}errors++;}}}else {const err388 = {instancePath:instancePath+"/delivery/quality/gates/duplication/components",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/components/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err388];}else {vErrors.push(err388);}errors++;}}if(data187.targetDirs !== undefined){let data199 = data187.targetDirs;const _errs511 = errors;let valid142 = false;let passing2 = null;const _errs512 = errors;if(Array.isArray(data199)){const len28 = data199.length;for(let i31=0; i31<len28; i31++){if(typeof data199[i31] !== "string"){const err389 = {instancePath:instancePath+"/delivery/quality/gates/duplication/targetDirs/" + i31,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/targetDirs/oneOf/0/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err389];}else {vErrors.push(err389);}errors++;}}}else {const err390 = {instancePath:instancePath+"/delivery/quality/gates/duplication/targetDirs",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/targetDirs/oneOf/0/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err390];}else {vErrors.push(err390);}errors++;}var _valid3 = _errs512 === errors;if(_valid3){valid142 = true;passing2 = 0;}const _errs516 = errors;if(data199 && typeof data199 == "object" && !Array.isArray(data199)){for(const key57 in data199){if(!((key57 === "append") || (key57 === "prepend"))){const err391 = {instancePath:instancePath+"/delivery/quality/gates/duplication/targetDirs",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/targetDirs/oneOf/1/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key57},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err391];}else {vErrors.push(err391);}errors++;}}if(data199.append !== undefined){let data201 = data199.append;if(Array.isArray(data201)){const len29 = data201.length;for(let i32=0; i32<len29; i32++){if(typeof data201[i32] !== "string"){const err392 = {instancePath:instancePath+"/delivery/quality/gates/duplication/targetDirs/append/" + i32,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/targetDirs/oneOf/1/properties/append/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err392];}else {vErrors.push(err392);}errors++;}}}else {const err393 = {instancePath:instancePath+"/delivery/quality/gates/duplication/targetDirs/append",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/targetDirs/oneOf/1/properties/append/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err393];}else {vErrors.push(err393);}errors++;}}if(data199.prepend !== undefined){let data203 = data199.prepend;if(Array.isArray(data203)){const len30 = data203.length;for(let i33=0; i33<len30; i33++){if(typeof data203[i33] !== "string"){const err394 = {instancePath:instancePath+"/delivery/quality/gates/duplication/targetDirs/prepend/" + i33,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/targetDirs/oneOf/1/properties/prepend/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err394];}else {vErrors.push(err394);}errors++;}}}else {const err395 = {instancePath:instancePath+"/delivery/quality/gates/duplication/targetDirs/prepend",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/targetDirs/oneOf/1/properties/prepend/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err395];}else {vErrors.push(err395);}errors++;}}}else {const err396 = {instancePath:instancePath+"/delivery/quality/gates/duplication/targetDirs",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/targetDirs/oneOf/1/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err396];}else {vErrors.push(err396);}errors++;}var _valid3 = _errs516 === errors;if(_valid3 && valid142){valid142 = false;passing2 = [passing2, 1];}else {if(_valid3){valid142 = true;passing2 = 1;}}if(!valid142){const err397 = {instancePath:instancePath+"/delivery/quality/gates/duplication/targetDirs",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/targetDirs/oneOf",keyword:"oneOf",params:{passingSchemas: passing2},message:"must match exactly one schema in oneOf"};if(vErrors === null){vErrors = [err397];}else {vErrors.push(err397);}errors++;}else {errors = _errs511;if(vErrors !== null){if(_errs511){vErrors.length = _errs511;}else {vErrors = null;}}}}if(data187.additionalFormats !== undefined){let data205 = data187.additionalFormats;if(Array.isArray(data205)){const len31 = data205.length;for(let i34=0; i34<len31; i34++){let data206 = data205[i34];if(typeof data206 === "string"){if(func2(data206) < 1){const err398 = {instancePath:instancePath+"/delivery/quality/gates/duplication/additionalFormats/" + i34,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/additionalFormats/items/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err398];}else {vErrors.push(err398);}errors++;}}else {const err399 = {instancePath:instancePath+"/delivery/quality/gates/duplication/additionalFormats/" + i34,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/additionalFormats/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err399];}else {vErrors.push(err399);}errors++;}}}else {const err400 = {instancePath:instancePath+"/delivery/quality/gates/duplication/additionalFormats",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/additionalFormats/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err400];}else {vErrors.push(err400);}errors++;}}if(data187.ignoreGlobs !== undefined){let data207 = data187.ignoreGlobs;if(Array.isArray(data207)){const len32 = data207.length;for(let i35=0; i35<len32; i35++){let data208 = data207[i35];if(typeof data208 === "string"){if(func2(data208) < 1){const err401 = {instancePath:instancePath+"/delivery/quality/gates/duplication/ignoreGlobs/" + i35,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/ignoreGlobs/items/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err401];}else {vErrors.push(err401);}errors++;}}else {const err402 = {instancePath:instancePath+"/delivery/quality/gates/duplication/ignoreGlobs/" + i35,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/ignoreGlobs/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err402];}else {vErrors.push(err402);}errors++;}}}else {const err403 = {instancePath:instancePath+"/delivery/quality/gates/duplication/ignoreGlobs",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/ignoreGlobs/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err403];}else {vErrors.push(err403);}errors++;}}}else {const err404 = {instancePath:instancePath+"/delivery/quality/gates/duplication",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err404];}else {vErrors.push(err404);}errors++;}}}else {const err405 = {instancePath:instancePath+"/delivery/quality/gates",schemaPath:"#/properties/delivery/properties/quality/properties/gates/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err405];}else {vErrors.push(err405);}errors++;}}if(data91.autoRefresh !== undefined){let data209 = data91.autoRefresh;if(data209 && typeof data209 == "object" && !Array.isArray(data209)){for(const key58 in data209){if(!(key58 === "enabled")){const err406 = {instancePath:instancePath+"/delivery/quality/autoRefresh",schemaPath:"#/properties/delivery/properties/quality/properties/autoRefresh/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key58},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err406];}else {vErrors.push(err406);}errors++;}}if(data209.enabled !== undefined){if(typeof data209.enabled !== "boolean"){const err407 = {instancePath:instancePath+"/delivery/quality/autoRefresh/enabled",schemaPath:"#/properties/delivery/properties/quality/properties/autoRefresh/properties/enabled/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err407];}else {vErrors.push(err407);}errors++;}}}else {const err408 = {instancePath:instancePath+"/delivery/quality/autoRefresh",schemaPath:"#/properties/delivery/properties/quality/properties/autoRefresh/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err408];}else {vErrors.push(err408);}errors++;}}if(data91.requireBaselines !== undefined){if(typeof data91.requireBaselines !== "boolean"){const err409 = {instancePath:instancePath+"/delivery/quality/requireBaselines",schemaPath:"#/properties/delivery/properties/quality/properties/requireBaselines/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err409];}else {vErrors.push(err409);}errors++;}}}else {const err410 = {instancePath:instancePath+"/delivery/quality",schemaPath:"#/properties/delivery/properties/quality/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err410];}else {vErrors.push(err410);}errors++;}}if(data57.mergeWatch !== undefined){let data212 = data57.mergeWatch;if(data212 && typeof data212 == "object" && !Array.isArray(data212)){for(const key59 in data212){if(!(((key59 === "mode") || (key59 === "maxWaitSeconds")) || (key59 === "maxBudgetSeconds"))){const err411 = {instancePath:instancePath+"/delivery/mergeWatch",schemaPath:"#/properties/delivery/properties/mergeWatch/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key59},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err411];}else {vErrors.push(err411);}errors++;}}if(data212.mode !== undefined){let data213 = data212.mode;if(typeof data213 !== "string"){const err412 = {instancePath:instancePath+"/delivery/mergeWatch/mode",schemaPath:"#/properties/delivery/properties/mergeWatch/properties/mode/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err412];}else {vErrors.push(err412);}errors++;}if(!((data213 === "sync") || (data213 === "async"))){const err413 = {instancePath:instancePath+"/delivery/mergeWatch/mode",schemaPath:"#/properties/delivery/properties/mergeWatch/properties/mode/enum",keyword:"enum",params:{allowedValues: schema11.properties.delivery.properties.mergeWatch.properties.mode.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err413];}else {vErrors.push(err413);}errors++;}}if(data212.maxWaitSeconds !== undefined){let data214 = data212.maxWaitSeconds;if(!(((typeof data214 == "number") && (!(data214 % 1) && !isNaN(data214))) && (isFinite(data214)))){const err414 = {instancePath:instancePath+"/delivery/mergeWatch/maxWaitSeconds",schemaPath:"#/properties/delivery/properties/mergeWatch/properties/maxWaitSeconds/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err414];}else {vErrors.push(err414);}errors++;}if((typeof data214 == "number") && (isFinite(data214))){if(data214 < 1 || isNaN(data214)){const err415 = {instancePath:instancePath+"/delivery/mergeWatch/maxWaitSeconds",schemaPath:"#/properties/delivery/properties/mergeWatch/properties/maxWaitSeconds/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"};if(vErrors === null){vErrors = [err415];}else {vErrors.push(err415);}errors++;}}}if(data212.maxBudgetSeconds !== undefined){let data215 = data212.maxBudgetSeconds;if(!(((typeof data215 == "number") && (!(data215 % 1) && !isNaN(data215))) && (isFinite(data215)))){const err416 = {instancePath:instancePath+"/delivery/mergeWatch/maxBudgetSeconds",schemaPath:"#/properties/delivery/properties/mergeWatch/properties/maxBudgetSeconds/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err416];}else {vErrors.push(err416);}errors++;}if((typeof data215 == "number") && (isFinite(data215))){if(data215 < 1 || isNaN(data215)){const err417 = {instancePath:instancePath+"/delivery/mergeWatch/maxBudgetSeconds",schemaPath:"#/properties/delivery/properties/mergeWatch/properties/maxBudgetSeconds/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"};if(vErrors === null){vErrors = [err417];}else {vErrors.push(err417);}errors++;}}}}else {const err418 = {instancePath:instancePath+"/delivery/mergeWatch",schemaPath:"#/properties/delivery/properties/mergeWatch/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err418];}else {vErrors.push(err418);}errors++;}}if(data57.codeReview !== undefined){let data216 = data57.codeReview;if(data216 && typeof data216 == "object" && !Array.isArray(data216)){for(const key60 in data216){if(!((key60 === "providers") || (key60 === "autoFixSeverity"))){const err419 = {instancePath:instancePath+"/delivery/codeReview",schemaPath:"#/properties/delivery/properties/codeReview/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key60},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err419];}else {vErrors.push(err419);}errors++;}}if(data216.providers !== undefined){let data217 = data216.providers;if(Array.isArray(data217)){const len33 = data217.length;for(let i36=0; i36<len33; i36++){let data218 = data217[i36];if(data218 && typeof data218 == "object" && !Array.isArray(data218)){if(data218.name === undefined){const err420 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i36,schemaPath:"#/properties/delivery/properties/codeReview/properties/providers/items/required",keyword:"required",params:{missingProperty: "name"},message:"must have required property '"+"name"+"'"};if(vErrors === null){vErrors = [err420];}else {vErrors.push(err420);}errors++;}for(const key61 in data218){if(!(((((key61 === "name") || (key61 === "scopes")) || (key61 === "optional")) || (key61 === "manualPrompt")) || (key61 === "when"))){const err421 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i36,schemaPath:"#/properties/delivery/properties/codeReview/properties/providers/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key61},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err421];}else {vErrors.push(err421);}errors++;}}if(data218.name !== undefined){let data219 = data218.name;if(typeof data219 !== "string"){const err422 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i36+"/name",schemaPath:"#/properties/delivery/properties/codeReview/properties/providers/items/properties/name/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err422];}else {vErrors.push(err422);}errors++;}if(!((((((data219 === "native") || (data219 === "code-review")) || (data219 === "codex")) || (data219 === "llm-review")) || (data219 === "security-review")) || (data219 === "ultrareview"))){const err423 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i36+"/name",schemaPath:"#/properties/delivery/properties/codeReview/properties/providers/items/properties/name/enum",keyword:"enum",params:{allowedValues: schema11.properties.delivery.properties.codeReview.properties.providers.items.properties.name.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err423];}else {vErrors.push(err423);}errors++;}}if(data218.scopes !== undefined){let data220 = data218.scopes;if(Array.isArray(data220)){const len34 = data220.length;for(let i37=0; i37<len34; i37++){let data221 = data220[i37];if(typeof data221 !== "string"){const err424 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i36+"/scopes/" + i37,schemaPath:"#/properties/delivery/properties/codeReview/properties/providers/items/properties/scopes/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err424];}else {vErrors.push(err424);}errors++;}if(!((data221 === "story") || (data221 === "epic"))){const err425 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i36+"/scopes/" + i37,schemaPath:"#/properties/delivery/properties/codeReview/properties/providers/items/properties/scopes/items/enum",keyword:"enum",params:{allowedValues: schema11.properties.delivery.properties.codeReview.properties.providers.items.properties.scopes.items.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err425];}else {vErrors.push(err425);}errors++;}}}else {const err426 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i36+"/scopes",schemaPath:"#/properties/delivery/properties/codeReview/properties/providers/items/properties/scopes/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err426];}else {vErrors.push(err426);}errors++;}}if(data218.optional !== undefined){if(typeof data218.optional !== "boolean"){const err427 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i36+"/optional",schemaPath:"#/properties/delivery/properties/codeReview/properties/providers/items/properties/optional/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err427];}else {vErrors.push(err427);}errors++;}}if(data218.manualPrompt !== undefined){if(typeof data218.manualPrompt !== "boolean"){const err428 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i36+"/manualPrompt",schemaPath:"#/properties/delivery/properties/codeReview/properties/providers/items/properties/manualPrompt/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err428];}else {vErrors.push(err428);}errors++;}}if(data218.when !== undefined){let data224 = data218.when;if(data224 && typeof data224 == "object" && !Array.isArray(data224)){for(const key62 in data224){if(!((key62 === "label") || (key62 === "labelAny"))){const err429 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i36+"/when",schemaPath:"#/properties/delivery/properties/codeReview/properties/providers/items/properties/when/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key62},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err429];}else {vErrors.push(err429);}errors++;}}if(data224.label !== undefined){let data225 = data224.label;if(typeof data225 === "string"){if(func2(data225) < 1){const err430 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i36+"/when/label",schemaPath:"#/properties/delivery/properties/codeReview/properties/providers/items/properties/when/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err430];}else {vErrors.push(err430);}errors++;}}else {const err431 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i36+"/when/label",schemaPath:"#/properties/delivery/properties/codeReview/properties/providers/items/properties/when/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err431];}else {vErrors.push(err431);}errors++;}}if(data224.labelAny !== undefined){let data226 = data224.labelAny;if(Array.isArray(data226)){if(data226.length < 1){const err432 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i36+"/when/labelAny",schemaPath:"#/properties/delivery/properties/codeReview/properties/providers/items/properties/when/properties/labelAny/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err432];}else {vErrors.push(err432);}errors++;}const len35 = data226.length;for(let i38=0; i38<len35; i38++){let data227 = data226[i38];if(typeof data227 === "string"){if(func2(data227) < 1){const err433 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i36+"/when/labelAny/" + i38,schemaPath:"#/properties/delivery/properties/codeReview/properties/providers/items/properties/when/properties/labelAny/items/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err433];}else {vErrors.push(err433);}errors++;}}else {const err434 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i36+"/when/labelAny/" + i38,schemaPath:"#/properties/delivery/properties/codeReview/properties/providers/items/properties/when/properties/labelAny/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err434];}else {vErrors.push(err434);}errors++;}}}else {const err435 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i36+"/when/labelAny",schemaPath:"#/properties/delivery/properties/codeReview/properties/providers/items/properties/when/properties/labelAny/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err435];}else {vErrors.push(err435);}errors++;}}}else {const err436 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i36+"/when",schemaPath:"#/properties/delivery/properties/codeReview/properties/providers/items/properties/when/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err436];}else {vErrors.push(err436);}errors++;}}}else {const err437 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i36,schemaPath:"#/properties/delivery/properties/codeReview/properties/providers/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err437];}else {vErrors.push(err437);}errors++;}}}else {const err438 = {instancePath:instancePath+"/delivery/codeReview/providers",schemaPath:"#/properties/delivery/properties/codeReview/properties/providers/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err438];}else {vErrors.push(err438);}errors++;}}if(data216.autoFixSeverity !== undefined){let data228 = data216.autoFixSeverity;if(typeof data228 !== "string"){const err439 = {instancePath:instancePath+"/delivery/codeReview/autoFixSeverity",schemaPath:"#/properties/delivery/properties/codeReview/properties/autoFixSeverity/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err439];}else {vErrors.push(err439);}errors++;}if(!((data228 === "high") || (data228 === "medium"))){const err440 = {instancePath:instancePath+"/delivery/codeReview/autoFixSeverity",schemaPath:"#/properties/delivery/properties/codeReview/properties/autoFixSeverity/enum",keyword:"enum",params:{allowedValues: schema11.properties.delivery.properties.codeReview.properties.autoFixSeverity.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err440];}else {vErrors.push(err440);}errors++;}}}else {const err441 = {instancePath:instancePath+"/delivery/codeReview",schemaPath:"#/properties/delivery/properties/codeReview/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err441];}else {vErrors.push(err441);}errors++;}}if(data57.refactorStage !== undefined){let data229 = data57.refactorStage;if(data229 && typeof data229 == "object" && !Array.isArray(data229)){for(const key63 in data229){if(!(key63 === "enabled")){const err442 = {instancePath:instancePath+"/delivery/refactorStage",schemaPath:"#/properties/delivery/properties/refactorStage/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key63},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err442];}else {vErrors.push(err442);}errors++;}}if(data229.enabled !== undefined){if(typeof data229.enabled !== "boolean"){const err443 = {instancePath:instancePath+"/delivery/refactorStage/enabled",schemaPath:"#/properties/delivery/properties/refactorStage/properties/enabled/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err443];}else {vErrors.push(err443);}errors++;}}}else {const err444 = {instancePath:instancePath+"/delivery/refactorStage",schemaPath:"#/properties/delivery/properties/refactorStage/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err444];}else {vErrors.push(err444);}errors++;}}if(data57.acceptanceEval !== undefined){let data231 = data57.acceptanceEval;if(data231 && typeof data231 == "object" && !Array.isArray(data231)){for(const key64 in data231){if(!(key64 === "maxRounds")){const err445 = {instancePath:instancePath+"/delivery/acceptanceEval",schemaPath:"#/properties/delivery/properties/acceptanceEval/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key64},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err445];}else {vErrors.push(err445);}errors++;}}if(data231.maxRounds !== undefined){let data232 = data231.maxRounds;if(!(((typeof data232 == "number") && (!(data232 % 1) && !isNaN(data232))) && (isFinite(data232)))){const err446 = {instancePath:instancePath+"/delivery/acceptanceEval/maxRounds",schemaPath:"#/properties/delivery/properties/acceptanceEval/properties/maxRounds/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err446];}else {vErrors.push(err446);}errors++;}if((typeof data232 == "number") && (isFinite(data232))){if(data232 < 0 || isNaN(data232)){const err447 = {instancePath:instancePath+"/delivery/acceptanceEval/maxRounds",schemaPath:"#/properties/delivery/properties/acceptanceEval/properties/maxRounds/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err447];}else {vErrors.push(err447);}errors++;}}}}else {const err448 = {instancePath:instancePath+"/delivery/acceptanceEval",schemaPath:"#/properties/delivery/properties/acceptanceEval/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err448];}else {vErrors.push(err448);}errors++;}}if(data57.feedbackLoop !== undefined){let data233 = data57.feedbackLoop;if(data233 && typeof data233 == "object" && !Array.isArray(data233)){for(const key65 in data233){if(!(key65 === "retroProposals")){const err449 = {instancePath:instancePath+"/delivery/feedbackLoop",schemaPath:"#/properties/delivery/properties/feedbackLoop/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key65},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err449];}else {vErrors.push(err449);}errors++;}}if(data233.retroProposals !== undefined){if(typeof data233.retroProposals !== "boolean"){const err450 = {instancePath:instancePath+"/delivery/feedbackLoop/retroProposals",schemaPath:"#/properties/delivery/properties/feedbackLoop/properties/retroProposals/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err450];}else {vErrors.push(err450);}errors++;}}}else {const err451 = {instancePath:instancePath+"/delivery/feedbackLoop",schemaPath:"#/properties/delivery/properties/feedbackLoop/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err451];}else {vErrors.push(err451);}errors++;}}if(data57.ci !== undefined){let data235 = data57.ci;if(data235 && typeof data235 == "object" && !Array.isArray(data235)){for(const key66 in data235){if(!((((key66 === "autoMerge") || (key66 === "blockOnAdvisoryFailure")) || (key66 === "advisoryAllowlist")) || (key66 === "rerunAdvisory"))){const err452 = {instancePath:instancePath+"/delivery/ci",schemaPath:"#/properties/delivery/properties/ci/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key66},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err452];}else {vErrors.push(err452);}errors++;}}if(data235.autoMerge !== undefined){let data236 = data235.autoMerge;if(typeof data236 !== "string"){const err453 = {instancePath:instancePath+"/delivery/ci/autoMerge",schemaPath:"#/properties/delivery/properties/ci/properties/autoMerge/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err453];}else {vErrors.push(err453);}errors++;}if(!((data236 === "trust-ci") || (data236 === "strict"))){const err454 = {instancePath:instancePath+"/delivery/ci/autoMerge",schemaPath:"#/properties/delivery/properties/ci/properties/autoMerge/enum",keyword:"enum",params:{allowedValues: schema11.properties.delivery.properties.ci.properties.autoMerge.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err454];}else {vErrors.push(err454);}errors++;}}if(data235.blockOnAdvisoryFailure !== undefined){if(typeof data235.blockOnAdvisoryFailure !== "boolean"){const err455 = {instancePath:instancePath+"/delivery/ci/blockOnAdvisoryFailure",schemaPath:"#/properties/delivery/properties/ci/properties/blockOnAdvisoryFailure/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err455];}else {vErrors.push(err455);}errors++;}}if(data235.advisoryAllowlist !== undefined){let data238 = data235.advisoryAllowlist;if(Array.isArray(data238)){const len36 = data238.length;for(let i39=0; i39<len36; i39++){if(typeof data238[i39] !== "string"){const err456 = {instancePath:instancePath+"/delivery/ci/advisoryAllowlist/" + i39,schemaPath:"#/properties/delivery/properties/ci/properties/advisoryAllowlist/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err456];}else {vErrors.push(err456);}errors++;}}}else {const err457 = {instancePath:instancePath+"/delivery/ci/advisoryAllowlist",schemaPath:"#/properties/delivery/properties/ci/properties/advisoryAllowlist/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err457];}else {vErrors.push(err457);}errors++;}}if(data235.rerunAdvisory !== undefined){let data240 = data235.rerunAdvisory;if(!(((typeof data240 == "number") && (!(data240 % 1) && !isNaN(data240))) && (isFinite(data240)))){const err458 = {instancePath:instancePath+"/delivery/ci/rerunAdvisory",schemaPath:"#/properties/delivery/properties/ci/properties/rerunAdvisory/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err458];}else {vErrors.push(err458);}errors++;}if((typeof data240 == "number") && (isFinite(data240))){if(data240 < 0 || isNaN(data240)){const err459 = {instancePath:instancePath+"/delivery/ci/rerunAdvisory",schemaPath:"#/properties/delivery/properties/ci/properties/rerunAdvisory/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err459];}else {vErrors.push(err459);}errors++;}}}}else {const err460 = {instancePath:instancePath+"/delivery/ci",schemaPath:"#/properties/delivery/properties/ci/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err460];}else {vErrors.push(err460);}errors++;}}if(data57.routing !== undefined){let data241 = data57.routing;if(data241 && typeof data241 == "object" && !Array.isArray(data241)){for(const key67 in data241){if(!((((key67 === "roleScopedAgents") || (key67 === "ceremonyProfile")) || (key67 === "closeAndLand")) || (key67 === "agentModels"))){const err461 = {instancePath:instancePath+"/delivery/routing",schemaPath:"#/properties/delivery/properties/routing/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key67},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err461];}else {vErrors.push(err461);}errors++;}}if(data241.roleScopedAgents !== undefined){if(typeof data241.roleScopedAgents !== "boolean"){const err462 = {instancePath:instancePath+"/delivery/routing/roleScopedAgents",schemaPath:"#/properties/delivery/properties/routing/properties/roleScopedAgents/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err462];}else {vErrors.push(err462);}errors++;}}if(data241.ceremonyProfile !== undefined){let data243 = data241.ceremonyProfile;if(typeof data243 !== "string"){const err463 = {instancePath:instancePath+"/delivery/routing/ceremonyProfile",schemaPath:"#/properties/delivery/properties/routing/properties/ceremonyProfile/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err463];}else {vErrors.push(err463);}errors++;}if(!(((data243 === "minimal") || (data243 === "standard")) || (data243 === "strict"))){const err464 = {instancePath:instancePath+"/delivery/routing/ceremonyProfile",schemaPath:"#/properties/delivery/properties/routing/properties/ceremonyProfile/enum",keyword:"enum",params:{allowedValues: schema11.properties.delivery.properties.routing.properties.ceremonyProfile.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err464];}else {vErrors.push(err464);}errors++;}}if(data241.closeAndLand !== undefined){if(typeof data241.closeAndLand !== "boolean"){const err465 = {instancePath:instancePath+"/delivery/routing/closeAndLand",schemaPath:"#/properties/delivery/properties/routing/properties/closeAndLand/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err465];}else {vErrors.push(err465);}errors++;}}if(data241.agentModels !== undefined){let data245 = data241.agentModels;if(data245 && typeof data245 == "object" && !Array.isArray(data245)){for(const key68 in data245){const _errs619 = errors;if(!((((key68 === "story-worker") || (key68 === "acceptance-critic")) || (key68 === "plan-critic")) || (key68 === "auditor"))){const err466 = {instancePath:instancePath+"/delivery/routing/agentModels",schemaPath:"#/properties/delivery/properties/routing/properties/agentModels/propertyNames/enum",keyword:"enum",params:{allowedValues: schema11.properties.delivery.properties.routing.properties.agentModels.propertyNames.enum},message:"must be equal to one of the allowed values",propertyName:key68};if(vErrors === null){vErrors = [err466];}else {vErrors.push(err466);}errors++;}var valid172 = _errs619 === errors;if(!valid172){const err467 = {instancePath:instancePath+"/delivery/routing/agentModels",schemaPath:"#/properties/delivery/properties/routing/properties/agentModels/propertyNames",keyword:"propertyNames",params:{propertyName: key68},message:"property name must be valid"};if(vErrors === null){vErrors = [err467];}else {vErrors.push(err467);}errors++;}}for(const key69 in data245){let data246 = data245[key69];if(typeof data246 === "string"){if(!pattern26.test(data246)){const err468 = {instancePath:instancePath+"/delivery/routing/agentModels/" + key69.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/delivery/properties/routing/properties/agentModels/additionalProperties/pattern",keyword:"pattern",params:{pattern: "^[A-Za-z0-9][A-Za-z0-9._:-]*$"},message:"must match pattern \""+"^[A-Za-z0-9][A-Za-z0-9._:-]*$"+"\""};if(vErrors === null){vErrors = [err468];}else {vErrors.push(err468);}errors++;}}else {const err469 = {instancePath:instancePath+"/delivery/routing/agentModels/" + key69.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/delivery/properties/routing/properties/agentModels/additionalProperties/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err469];}else {vErrors.push(err469);}errors++;}}}else {const err470 = {instancePath:instancePath+"/delivery/routing/agentModels",schemaPath:"#/properties/delivery/properties/routing/properties/agentModels/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err470];}else {vErrors.push(err470);}errors++;}}}else {const err471 = {instancePath:instancePath+"/delivery/routing",schemaPath:"#/properties/delivery/properties/routing/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err471];}else {vErrors.push(err471);}errors++;}}}else {const err472 = {instancePath:instancePath+"/delivery",schemaPath:"#/properties/delivery/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err472];}else {vErrors.push(err472);}errors++;}}if(data.qa !== undefined){let data247 = data.qa;if(data247 && typeof data247 == "object" && !Array.isArray(data247)){for(const key70 in data247){if(!(((((((key70 === "featureRoot") || (key70 === "fixturesManifest")) || (key70 === "environments")) || (key70 === "personas")) || (key70 === "gherkinLint")) || (key70 === "consoleAllowlist")) || (key70 === "designTokens"))){const err473 = {instancePath:instancePath+"/qa",schemaPath:"#/properties/qa/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key70},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err473];}else {vErrors.push(err473);}errors++;}}if(data247.featureRoot !== undefined){let data248 = data247.featureRoot;const _errs628 = errors;const _errs629 = errors;if(typeof data248 === "string"){if(!pattern0.test(data248)){const err474 = {};if(vErrors === null){vErrors = [err474];}else {vErrors.push(err474);}errors++;}}var valid175 = _errs629 === errors;if(valid175){const err475 = {instancePath:instancePath+"/qa/featureRoot",schemaPath:"#/properties/qa/properties/featureRoot/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err475];}else {vErrors.push(err475);}errors++;}else {errors = _errs628;if(vErrors !== null){if(_errs628){vErrors.length = _errs628;}else {vErrors = null;}}}if(typeof data248 === "string"){if(func2(data248) < 1){const err476 = {instancePath:instancePath+"/qa/featureRoot",schemaPath:"#/properties/qa/properties/featureRoot/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err476];}else {vErrors.push(err476);}errors++;}}else {const err477 = {instancePath:instancePath+"/qa/featureRoot",schemaPath:"#/properties/qa/properties/featureRoot/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err477];}else {vErrors.push(err477);}errors++;}}if(data247.fixturesManifest !== undefined){let data249 = data247.fixturesManifest;const _errs632 = errors;const _errs633 = errors;if(typeof data249 === "string"){if(!pattern0.test(data249)){const err478 = {};if(vErrors === null){vErrors = [err478];}else {vErrors.push(err478);}errors++;}}var valid176 = _errs633 === errors;if(valid176){const err479 = {instancePath:instancePath+"/qa/fixturesManifest",schemaPath:"#/properties/qa/properties/fixturesManifest/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err479];}else {vErrors.push(err479);}errors++;}else {errors = _errs632;if(vErrors !== null){if(_errs632){vErrors.length = _errs632;}else {vErrors = null;}}}if(typeof data249 === "string"){if(func2(data249) < 1){const err480 = {instancePath:instancePath+"/qa/fixturesManifest",schemaPath:"#/properties/qa/properties/fixturesManifest/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err480];}else {vErrors.push(err480);}errors++;}}else {const err481 = {instancePath:instancePath+"/qa/fixturesManifest",schemaPath:"#/properties/qa/properties/fixturesManifest/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err481];}else {vErrors.push(err481);}errors++;}}if(data247.environments !== undefined){let data250 = data247.environments;if(data250 && typeof data250 == "object" && !Array.isArray(data250)){if(Object.keys(data250).length < 1){const err482 = {instancePath:instancePath+"/qa/environments",schemaPath:"#/properties/qa/properties/environments/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err482];}else {vErrors.push(err482);}errors++;}for(const key71 in data250){let data251 = data250[key71];if(data251 && typeof data251 == "object" && !Array.isArray(data251)){if(data251.baseUrl === undefined){const err483 = {instancePath:instancePath+"/qa/environments/" + key71.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/qa/properties/environments/additionalProperties/required",keyword:"required",params:{missingProperty: "baseUrl"},message:"must have required property '"+"baseUrl"+"'"};if(vErrors === null){vErrors = [err483];}else {vErrors.push(err483);}errors++;}for(const key72 in data251){if(!((((key72 === "baseUrl") || (key72 === "signInSeam")) || (key72 === "allowWrites")) || (key72 === "database"))){const err484 = {instancePath:instancePath+"/qa/environments/" + key71.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/qa/properties/environments/additionalProperties/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key72},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err484];}else {vErrors.push(err484);}errors++;}}if(data251.baseUrl !== undefined){let data252 = data251.baseUrl;const _errs642 = errors;const _errs643 = errors;if(typeof data252 === "string"){if(!pattern0.test(data252)){const err485 = {};if(vErrors === null){vErrors = [err485];}else {vErrors.push(err485);}errors++;}}var valid179 = _errs643 === errors;if(valid179){const err486 = {instancePath:instancePath+"/qa/environments/" + key71.replace(/~/g, "~0").replace(/\//g, "~1")+"/baseUrl",schemaPath:"#/properties/qa/properties/environments/additionalProperties/properties/baseUrl/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err486];}else {vErrors.push(err486);}errors++;}else {errors = _errs642;if(vErrors !== null){if(_errs642){vErrors.length = _errs642;}else {vErrors = null;}}}if(typeof data252 === "string"){if(func2(data252) < 1){const err487 = {instancePath:instancePath+"/qa/environments/" + key71.replace(/~/g, "~0").replace(/\//g, "~1")+"/baseUrl",schemaPath:"#/properties/qa/properties/environments/additionalProperties/properties/baseUrl/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err487];}else {vErrors.push(err487);}errors++;}}else {const err488 = {instancePath:instancePath+"/qa/environments/" + key71.replace(/~/g, "~0").replace(/\//g, "~1")+"/baseUrl",schemaPath:"#/properties/qa/properties/environments/additionalProperties/properties/baseUrl/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err488];}else {vErrors.push(err488);}errors++;}}if(data251.signInSeam !== undefined){let data253 = data251.signInSeam;const _errs645 = errors;let valid180 = false;let passing3 = null;const _errs646 = errors;if(data253 && typeof data253 == "object" && !Array.isArray(data253)){if(data253.urlTemplate === undefined){const err489 = {instancePath:instancePath+"/qa/environments/" + key71.replace(/~/g, "~0").replace(/\//g, "~1")+"/signInSeam",schemaPath:"#/properties/qa/properties/environments/additionalProperties/properties/signInSeam/oneOf/0/required",keyword:"required",params:{missingProperty: "urlTemplate"},message:"must have required property '"+"urlTemplate"+"'"};if(vErrors === null){vErrors = [err489];}else {vErrors.push(err489);}errors++;}for(const key73 in data253){if(!(key73 === "urlTemplate")){const err490 = {instancePath:instancePath+"/qa/environments/" + key71.replace(/~/g, "~0").replace(/\//g, "~1")+"/signInSeam",schemaPath:"#/properties/qa/properties/environments/additionalProperties/properties/signInSeam/oneOf/0/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key73},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err490];}else {vErrors.push(err490);}errors++;}}if(data253.urlTemplate !== undefined){let data254 = data253.urlTemplate;const _errs651 = errors;const _errs652 = errors;if(typeof data254 === "string"){if(!pattern0.test(data254)){const err491 = {};if(vErrors === null){vErrors = [err491];}else {vErrors.push(err491);}errors++;}}var valid182 = _errs652 === errors;if(valid182){const err492 = {instancePath:instancePath+"/qa/environments/" + key71.replace(/~/g, "~0").replace(/\//g, "~1")+"/signInSeam/urlTemplate",schemaPath:"#/properties/qa/properties/environments/additionalProperties/properties/signInSeam/oneOf/0/properties/urlTemplate/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err492];}else {vErrors.push(err492);}errors++;}else {errors = _errs651;if(vErrors !== null){if(_errs651){vErrors.length = _errs651;}else {vErrors = null;}}}if(typeof data254 === "string"){if(func2(data254) < 1){const err493 = {instancePath:instancePath+"/qa/environments/" + key71.replace(/~/g, "~0").replace(/\//g, "~1")+"/signInSeam/urlTemplate",schemaPath:"#/properties/qa/properties/environments/additionalProperties/properties/signInSeam/oneOf/0/properties/urlTemplate/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err493];}else {vErrors.push(err493);}errors++;}}else {const err494 = {instancePath:instancePath+"/qa/environments/" + key71.replace(/~/g, "~0").replace(/\//g, "~1")+"/signInSeam/urlTemplate",schemaPath:"#/properties/qa/properties/environments/additionalProperties/properties/signInSeam/oneOf/0/properties/urlTemplate/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err494];}else {vErrors.push(err494);}errors++;}}}else {const err495 = {instancePath:instancePath+"/qa/environments/" + key71.replace(/~/g, "~0").replace(/\//g, "~1")+"/signInSeam",schemaPath:"#/properties/qa/properties/environments/additionalProperties/properties/signInSeam/oneOf/0/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err495];}else {vErrors.push(err495);}errors++;}var _valid4 = _errs646 === errors;if(_valid4){valid180 = true;passing3 = 0;}const _errs653 = errors;if(data253 && typeof data253 == "object" && !Array.isArray(data253)){if(data253.skill === undefined){const err496 = {instancePath:instancePath+"/qa/environments/" + key71.replace(/~/g, "~0").replace(/\//g, "~1")+"/signInSeam",schemaPath:"#/properties/qa/properties/environments/additionalProperties/properties/signInSeam/oneOf/1/required",keyword:"required",params:{missingProperty: "skill"},message:"must have required property '"+"skill"+"'"};if(vErrors === null){vErrors = [err496];}else {vErrors.push(err496);}errors++;}for(const key74 in data253){if(!(key74 === "skill")){const err497 = {instancePath:instancePath+"/qa/environments/" + key71.replace(/~/g, "~0").replace(/\//g, "~1")+"/signInSeam",schemaPath:"#/properties/qa/properties/environments/additionalProperties/properties/signInSeam/oneOf/1/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key74},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err497];}else {vErrors.push(err497);}errors++;}}if(data253.skill !== undefined){let data255 = data253.skill;const _errs658 = errors;const _errs659 = errors;if(typeof data255 === "string"){if(!pattern0.test(data255)){const err498 = {};if(vErrors === null){vErrors = [err498];}else {vErrors.push(err498);}errors++;}}var valid184 = _errs659 === errors;if(valid184){const err499 = {instancePath:instancePath+"/qa/environments/" + key71.replace(/~/g, "~0").replace(/\//g, "~1")+"/signInSeam/skill",schemaPath:"#/properties/qa/properties/environments/additionalProperties/properties/signInSeam/oneOf/1/properties/skill/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err499];}else {vErrors.push(err499);}errors++;}else {errors = _errs658;if(vErrors !== null){if(_errs658){vErrors.length = _errs658;}else {vErrors = null;}}}if(typeof data255 === "string"){if(func2(data255) < 1){const err500 = {instancePath:instancePath+"/qa/environments/" + key71.replace(/~/g, "~0").replace(/\//g, "~1")+"/signInSeam/skill",schemaPath:"#/properties/qa/properties/environments/additionalProperties/properties/signInSeam/oneOf/1/properties/skill/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err500];}else {vErrors.push(err500);}errors++;}if(!pattern32.test(data255)){const err501 = {instancePath:instancePath+"/qa/environments/" + key71.replace(/~/g, "~0").replace(/\//g, "~1")+"/signInSeam/skill",schemaPath:"#/properties/qa/properties/environments/additionalProperties/properties/signInSeam/oneOf/1/properties/skill/pattern",keyword:"pattern",params:{pattern: "^[a-z0-9][a-z0-9._-]*(?:\\/[a-z0-9][a-z0-9._-]*)+$"},message:"must match pattern \""+"^[a-z0-9][a-z0-9._-]*(?:\\/[a-z0-9][a-z0-9._-]*)+$"+"\""};if(vErrors === null){vErrors = [err501];}else {vErrors.push(err501);}errors++;}}else {const err502 = {instancePath:instancePath+"/qa/environments/" + key71.replace(/~/g, "~0").replace(/\//g, "~1")+"/signInSeam/skill",schemaPath:"#/properties/qa/properties/environments/additionalProperties/properties/signInSeam/oneOf/1/properties/skill/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err502];}else {vErrors.push(err502);}errors++;}}}else {const err503 = {instancePath:instancePath+"/qa/environments/" + key71.replace(/~/g, "~0").replace(/\//g, "~1")+"/signInSeam",schemaPath:"#/properties/qa/properties/environments/additionalProperties/properties/signInSeam/oneOf/1/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err503];}else {vErrors.push(err503);}errors++;}var _valid4 = _errs653 === errors;if(_valid4 && valid180){valid180 = false;passing3 = [passing3, 1];}else {if(_valid4){valid180 = true;passing3 = 1;}}if(!valid180){const err504 = {instancePath:instancePath+"/qa/environments/" + key71.replace(/~/g, "~0").replace(/\//g, "~1")+"/signInSeam",schemaPath:"#/properties/qa/properties/environments/additionalProperties/properties/signInSeam/oneOf",keyword:"oneOf",params:{passingSchemas: passing3},message:"must match exactly one schema in oneOf"};if(vErrors === null){vErrors = [err504];}else {vErrors.push(err504);}errors++;}else {errors = _errs645;if(vErrors !== null){if(_errs645){vErrors.length = _errs645;}else {vErrors = null;}}}}if(data251.allowWrites !== undefined){if(typeof data251.allowWrites !== "boolean"){const err505 = {instancePath:instancePath+"/qa/environments/" + key71.replace(/~/g, "~0").replace(/\//g, "~1")+"/allowWrites",schemaPath:"#/properties/qa/properties/environments/additionalProperties/properties/allowWrites/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err505];}else {vErrors.push(err505);}errors++;}}if(data251.database !== undefined){let data257 = data251.database;if(data257 && typeof data257 == "object" && !Array.isArray(data257)){if(data257.urlEnv === undefined){const err506 = {instancePath:instancePath+"/qa/environments/" + key71.replace(/~/g, "~0").replace(/\//g, "~1")+"/database",schemaPath:"#/properties/qa/properties/environments/additionalProperties/properties/database/required",keyword:"required",params:{missingProperty: "urlEnv"},message:"must have required property '"+"urlEnv"+"'"};if(vErrors === null){vErrors = [err506];}else {vErrors.push(err506);}errors++;}for(const key75 in data257){if(!((key75 === "urlEnv") || (key75 === "allowAudit"))){const err507 = {instancePath:instancePath+"/qa/environments/" + key71.replace(/~/g, "~0").replace(/\//g, "~1")+"/database",schemaPath:"#/properties/qa/properties/environments/additionalProperties/properties/database/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key75},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err507];}else {vErrors.push(err507);}errors++;}}if(data257.urlEnv !== undefined){let data258 = data257.urlEnv;if(typeof data258 === "string"){if(!pattern33.test(data258)){const err508 = {instancePath:instancePath+"/qa/environments/" + key71.replace(/~/g, "~0").replace(/\//g, "~1")+"/database/urlEnv",schemaPath:"#/properties/qa/properties/environments/additionalProperties/properties/database/properties/urlEnv/pattern",keyword:"pattern",params:{pattern: "^[A-Z_][A-Z0-9_]*$"},message:"must match pattern \""+"^[A-Z_][A-Z0-9_]*$"+"\""};if(vErrors === null){vErrors = [err508];}else {vErrors.push(err508);}errors++;}}else {const err509 = {instancePath:instancePath+"/qa/environments/" + key71.replace(/~/g, "~0").replace(/\//g, "~1")+"/database/urlEnv",schemaPath:"#/properties/qa/properties/environments/additionalProperties/properties/database/properties/urlEnv/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err509];}else {vErrors.push(err509);}errors++;}}if(data257.allowAudit !== undefined){if(typeof data257.allowAudit !== "boolean"){const err510 = {instancePath:instancePath+"/qa/environments/" + key71.replace(/~/g, "~0").replace(/\//g, "~1")+"/database/allowAudit",schemaPath:"#/properties/qa/properties/environments/additionalProperties/properties/database/properties/allowAudit/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err510];}else {vErrors.push(err510);}errors++;}}}else {const err511 = {instancePath:instancePath+"/qa/environments/" + key71.replace(/~/g, "~0").replace(/\//g, "~1")+"/database",schemaPath:"#/properties/qa/properties/environments/additionalProperties/properties/database/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err511];}else {vErrors.push(err511);}errors++;}}}else {const err512 = {instancePath:instancePath+"/qa/environments/" + key71.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/qa/properties/environments/additionalProperties/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err512];}else {vErrors.push(err512);}errors++;}}}else {const err513 = {instancePath:instancePath+"/qa/environments",schemaPath:"#/properties/qa/properties/environments/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err513];}else {vErrors.push(err513);}errors++;}}if(data247.personas !== undefined){let data260 = data247.personas;const _errs670 = errors;let valid186 = false;let passing4 = null;const _errs671 = errors;if(Array.isArray(data260)){if(data260.length < 1){const err514 = {instancePath:instancePath+"/qa/personas",schemaPath:"#/properties/qa/properties/personas/oneOf/0/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err514];}else {vErrors.push(err514);}errors++;}const len37 = data260.length;for(let i40=0; i40<len37; i40++){let data261 = data260[i40];const _errs675 = errors;const _errs676 = errors;if(typeof data261 === "string"){if(!pattern0.test(data261)){const err515 = {};if(vErrors === null){vErrors = [err515];}else {vErrors.push(err515);}errors++;}}var valid189 = _errs676 === errors;if(valid189){const err516 = {instancePath:instancePath+"/qa/personas/" + i40,schemaPath:"#/properties/qa/properties/personas/oneOf/0/items/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err516];}else {vErrors.push(err516);}errors++;}else {errors = _errs675;if(vErrors !== null){if(_errs675){vErrors.length = _errs675;}else {vErrors = null;}}}if(typeof data261 === "string"){if(func2(data261) < 1){const err517 = {instancePath:instancePath+"/qa/personas/" + i40,schemaPath:"#/properties/qa/properties/personas/oneOf/0/items/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err517];}else {vErrors.push(err517);}errors++;}}else {const err518 = {instancePath:instancePath+"/qa/personas/" + i40,schemaPath:"#/properties/qa/properties/personas/oneOf/0/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err518];}else {vErrors.push(err518);}errors++;}}}else {const err519 = {instancePath:instancePath+"/qa/personas",schemaPath:"#/properties/qa/properties/personas/oneOf/0/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err519];}else {vErrors.push(err519);}errors++;}var _valid5 = _errs671 === errors;if(_valid5){valid186 = true;passing4 = 0;}const _errs677 = errors;if(data260 && typeof data260 == "object" && !Array.isArray(data260)){if(Object.keys(data260).length < 1){const err520 = {instancePath:instancePath+"/qa/personas",schemaPath:"#/properties/qa/properties/personas/oneOf/1/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err520];}else {vErrors.push(err520);}errors++;}for(const key76 in data260){let data262 = data260[key76];const _errs681 = errors;let valid191 = false;let passing5 = null;const _errs682 = errors;if(data262 && typeof data262 == "object" && !Array.isArray(data262)){if(data262.credentialRef === undefined){const err521 = {instancePath:instancePath+"/qa/personas/" + key76.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/qa/properties/personas/oneOf/1/additionalProperties/oneOf/0/required",keyword:"required",params:{missingProperty: "credentialRef"},message:"must have required property '"+"credentialRef"+"'"};if(vErrors === null){vErrors = [err521];}else {vErrors.push(err521);}errors++;}for(const key77 in data262){if(!(key77 === "credentialRef")){const err522 = {instancePath:instancePath+"/qa/personas/" + key76.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/qa/properties/personas/oneOf/1/additionalProperties/oneOf/0/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key77},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err522];}else {vErrors.push(err522);}errors++;}}if(data262.credentialRef !== undefined){let data263 = data262.credentialRef;const _errs687 = errors;const _errs688 = errors;if(typeof data263 === "string"){if(!pattern0.test(data263)){const err523 = {};if(vErrors === null){vErrors = [err523];}else {vErrors.push(err523);}errors++;}}var valid193 = _errs688 === errors;if(valid193){const err524 = {instancePath:instancePath+"/qa/personas/" + key76.replace(/~/g, "~0").replace(/\//g, "~1")+"/credentialRef",schemaPath:"#/properties/qa/properties/personas/oneOf/1/additionalProperties/oneOf/0/properties/credentialRef/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err524];}else {vErrors.push(err524);}errors++;}else {errors = _errs687;if(vErrors !== null){if(_errs687){vErrors.length = _errs687;}else {vErrors = null;}}}if(typeof data263 === "string"){if(func2(data263) < 1){const err525 = {instancePath:instancePath+"/qa/personas/" + key76.replace(/~/g, "~0").replace(/\//g, "~1")+"/credentialRef",schemaPath:"#/properties/qa/properties/personas/oneOf/1/additionalProperties/oneOf/0/properties/credentialRef/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err525];}else {vErrors.push(err525);}errors++;}}else {const err526 = {instancePath:instancePath+"/qa/personas/" + key76.replace(/~/g, "~0").replace(/\//g, "~1")+"/credentialRef",schemaPath:"#/properties/qa/properties/personas/oneOf/1/additionalProperties/oneOf/0/properties/credentialRef/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err526];}else {vErrors.push(err526);}errors++;}}}else {const err527 = {instancePath:instancePath+"/qa/personas/" + key76.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/qa/properties/personas/oneOf/1/additionalProperties/oneOf/0/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err527];}else {vErrors.push(err527);}errors++;}var _valid6 = _errs682 === errors;if(_valid6){valid191 = true;passing5 = 0;}const _errs689 = errors;if(data262 && typeof data262 == "object" && !Array.isArray(data262)){if(data262.signInSkill === undefined){const err528 = {instancePath:instancePath+"/qa/personas/" + key76.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/qa/properties/personas/oneOf/1/additionalProperties/oneOf/1/required",keyword:"required",params:{missingProperty: "signInSkill"},message:"must have required property '"+"signInSkill"+"'"};if(vErrors === null){vErrors = [err528];}else {vErrors.push(err528);}errors++;}for(const key78 in data262){if(!(key78 === "signInSkill")){const err529 = {instancePath:instancePath+"/qa/personas/" + key76.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/qa/properties/personas/oneOf/1/additionalProperties/oneOf/1/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key78},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err529];}else {vErrors.push(err529);}errors++;}}if(data262.signInSkill !== undefined){let data264 = data262.signInSkill;const _errs694 = errors;const _errs695 = errors;if(typeof data264 === "string"){if(!pattern0.test(data264)){const err530 = {};if(vErrors === null){vErrors = [err530];}else {vErrors.push(err530);}errors++;}}var valid195 = _errs695 === errors;if(valid195){const err531 = {instancePath:instancePath+"/qa/personas/" + key76.replace(/~/g, "~0").replace(/\//g, "~1")+"/signInSkill",schemaPath:"#/properties/qa/properties/personas/oneOf/1/additionalProperties/oneOf/1/properties/signInSkill/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err531];}else {vErrors.push(err531);}errors++;}else {errors = _errs694;if(vErrors !== null){if(_errs694){vErrors.length = _errs694;}else {vErrors = null;}}}if(typeof data264 === "string"){if(func2(data264) < 1){const err532 = {instancePath:instancePath+"/qa/personas/" + key76.replace(/~/g, "~0").replace(/\//g, "~1")+"/signInSkill",schemaPath:"#/properties/qa/properties/personas/oneOf/1/additionalProperties/oneOf/1/properties/signInSkill/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err532];}else {vErrors.push(err532);}errors++;}}else {const err533 = {instancePath:instancePath+"/qa/personas/" + key76.replace(/~/g, "~0").replace(/\//g, "~1")+"/signInSkill",schemaPath:"#/properties/qa/properties/personas/oneOf/1/additionalProperties/oneOf/1/properties/signInSkill/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err533];}else {vErrors.push(err533);}errors++;}}}else {const err534 = {instancePath:instancePath+"/qa/personas/" + key76.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/qa/properties/personas/oneOf/1/additionalProperties/oneOf/1/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err534];}else {vErrors.push(err534);}errors++;}var _valid6 = _errs689 === errors;if(_valid6 && valid191){valid191 = false;passing5 = [passing5, 1];}else {if(_valid6){valid191 = true;passing5 = 1;}}if(!valid191){const err535 = {instancePath:instancePath+"/qa/personas/" + key76.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/qa/properties/personas/oneOf/1/additionalProperties/oneOf",keyword:"oneOf",params:{passingSchemas: passing5},message:"must match exactly one schema in oneOf"};if(vErrors === null){vErrors = [err535];}else {vErrors.push(err535);}errors++;}else {errors = _errs681;if(vErrors !== null){if(_errs681){vErrors.length = _errs681;}else {vErrors = null;}}}}}else {const err536 = {instancePath:instancePath+"/qa/personas",schemaPath:"#/properties/qa/properties/personas/oneOf/1/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err536];}else {vErrors.push(err536);}errors++;}var _valid5 = _errs677 === errors;if(_valid5 && valid186){valid186 = false;passing4 = [passing4, 1];}else {if(_valid5){valid186 = true;passing4 = 1;}}if(!valid186){const err537 = {instancePath:instancePath+"/qa/personas",schemaPath:"#/properties/qa/properties/personas/oneOf",keyword:"oneOf",params:{passingSchemas: passing4},message:"must match exactly one schema in oneOf"};if(vErrors === null){vErrors = [err537];}else {vErrors.push(err537);}errors++;}else {errors = _errs670;if(vErrors !== null){if(_errs670){vErrors.length = _errs670;}else {vErrors = null;}}}}if(data247.gherkinLint !== undefined){let data265 = data247.gherkinLint;if(data265 && typeof data265 == "object" && !Array.isArray(data265)){if(data265.scopes === undefined){const err538 = {instancePath:instancePath+"/qa/gherkinLint",schemaPath:"#/properties/qa/properties/gherkinLint/required",keyword:"required",params:{missingProperty: "scopes"},message:"must have required property '"+"scopes"+"'"};if(vErrors === null){vErrors = [err538];}else {vErrors.push(err538);}errors++;}for(const key79 in data265){if(!(((key79 === "scopes") || (key79 === "exemptionTags")) || (key79 === "stepWaivers"))){const err539 = {instancePath:instancePath+"/qa/gherkinLint",schemaPath:"#/properties/qa/properties/gherkinLint/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key79},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err539];}else {vErrors.push(err539);}errors++;}}if(data265.scopes !== undefined){let data266 = data265.scopes;if(data266 && typeof data266 == "object" && !Array.isArray(data266)){if(Object.keys(data266).length < 1){const err540 = {instancePath:instancePath+"/qa/gherkinLint/scopes",schemaPath:"#/properties/qa/properties/gherkinLint/properties/scopes/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err540];}else {vErrors.push(err540);}errors++;}for(const key80 in data266){let data267 = data266[key80];if(data267 && typeof data267 == "object" && !Array.isArray(data267)){if(data267.featureRoots === undefined){const err541 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key80.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/qa/properties/gherkinLint/properties/scopes/additionalProperties/required",keyword:"required",params:{missingProperty: "featureRoots"},message:"must have required property '"+"featureRoots"+"'"};if(vErrors === null){vErrors = [err541];}else {vErrors.push(err541);}errors++;}if(data267.stepRoots === undefined){const err542 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key80.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/qa/properties/gherkinLint/properties/scopes/additionalProperties/required",keyword:"required",params:{missingProperty: "stepRoots"},message:"must have required property '"+"stepRoots"+"'"};if(vErrors === null){vErrors = [err542];}else {vErrors.push(err542);}errors++;}for(const key81 in data267){if(!((key81 === "featureRoots") || (key81 === "stepRoots"))){const err543 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key80.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/qa/properties/gherkinLint/properties/scopes/additionalProperties/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key81},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err543];}else {vErrors.push(err543);}errors++;}}if(data267.featureRoots !== undefined){let data268 = data267.featureRoots;if(Array.isArray(data268)){if(data268.length < 1){const err544 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key80.replace(/~/g, "~0").replace(/\//g, "~1")+"/featureRoots",schemaPath:"#/properties/qa/properties/gherkinLint/properties/scopes/additionalProperties/properties/featureRoots/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err544];}else {vErrors.push(err544);}errors++;}const len38 = data268.length;for(let i41=0; i41<len38; i41++){let data269 = data268[i41];const _errs709 = errors;const _errs710 = errors;if(typeof data269 === "string"){if(!pattern0.test(data269)){const err545 = {};if(vErrors === null){vErrors = [err545];}else {vErrors.push(err545);}errors++;}}var valid201 = _errs710 === errors;if(valid201){const err546 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key80.replace(/~/g, "~0").replace(/\//g, "~1")+"/featureRoots/" + i41,schemaPath:"#/properties/qa/properties/gherkinLint/properties/scopes/additionalProperties/properties/featureRoots/items/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err546];}else {vErrors.push(err546);}errors++;}else {errors = _errs709;if(vErrors !== null){if(_errs709){vErrors.length = _errs709;}else {vErrors = null;}}}if(typeof data269 === "string"){if(func2(data269) < 1){const err547 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key80.replace(/~/g, "~0").replace(/\//g, "~1")+"/featureRoots/" + i41,schemaPath:"#/properties/qa/properties/gherkinLint/properties/scopes/additionalProperties/properties/featureRoots/items/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err547];}else {vErrors.push(err547);}errors++;}}else {const err548 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key80.replace(/~/g, "~0").replace(/\//g, "~1")+"/featureRoots/" + i41,schemaPath:"#/properties/qa/properties/gherkinLint/properties/scopes/additionalProperties/properties/featureRoots/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err548];}else {vErrors.push(err548);}errors++;}}}else {const err549 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key80.replace(/~/g, "~0").replace(/\//g, "~1")+"/featureRoots",schemaPath:"#/properties/qa/properties/gherkinLint/properties/scopes/additionalProperties/properties/featureRoots/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err549];}else {vErrors.push(err549);}errors++;}}if(data267.stepRoots !== undefined){let data270 = data267.stepRoots;if(Array.isArray(data270)){if(data270.length < 1){const err550 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key80.replace(/~/g, "~0").replace(/\//g, "~1")+"/stepRoots",schemaPath:"#/properties/qa/properties/gherkinLint/properties/scopes/additionalProperties/properties/stepRoots/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err550];}else {vErrors.push(err550);}errors++;}const len39 = data270.length;for(let i42=0; i42<len39; i42++){let data271 = data270[i42];const _errs715 = errors;const _errs716 = errors;if(typeof data271 === "string"){if(!pattern0.test(data271)){const err551 = {};if(vErrors === null){vErrors = [err551];}else {vErrors.push(err551);}errors++;}}var valid204 = _errs716 === errors;if(valid204){const err552 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key80.replace(/~/g, "~0").replace(/\//g, "~1")+"/stepRoots/" + i42,schemaPath:"#/properties/qa/properties/gherkinLint/properties/scopes/additionalProperties/properties/stepRoots/items/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err552];}else {vErrors.push(err552);}errors++;}else {errors = _errs715;if(vErrors !== null){if(_errs715){vErrors.length = _errs715;}else {vErrors = null;}}}if(typeof data271 === "string"){if(func2(data271) < 1){const err553 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key80.replace(/~/g, "~0").replace(/\//g, "~1")+"/stepRoots/" + i42,schemaPath:"#/properties/qa/properties/gherkinLint/properties/scopes/additionalProperties/properties/stepRoots/items/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err553];}else {vErrors.push(err553);}errors++;}}else {const err554 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key80.replace(/~/g, "~0").replace(/\//g, "~1")+"/stepRoots/" + i42,schemaPath:"#/properties/qa/properties/gherkinLint/properties/scopes/additionalProperties/properties/stepRoots/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err554];}else {vErrors.push(err554);}errors++;}}}else {const err555 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key80.replace(/~/g, "~0").replace(/\//g, "~1")+"/stepRoots",schemaPath:"#/properties/qa/properties/gherkinLint/properties/scopes/additionalProperties/properties/stepRoots/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err555];}else {vErrors.push(err555);}errors++;}}}else {const err556 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key80.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/qa/properties/gherkinLint/properties/scopes/additionalProperties/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err556];}else {vErrors.push(err556);}errors++;}}}else {const err557 = {instancePath:instancePath+"/qa/gherkinLint/scopes",schemaPath:"#/properties/qa/properties/gherkinLint/properties/scopes/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err557];}else {vErrors.push(err557);}errors++;}}if(data265.exemptionTags !== undefined){let data272 = data265.exemptionTags;if(Array.isArray(data272)){const len40 = data272.length;for(let i43=0; i43<len40; i43++){let data273 = data272[i43];const _errs721 = errors;const _errs722 = errors;if(typeof data273 === "string"){if(!pattern0.test(data273)){const err558 = {};if(vErrors === null){vErrors = [err558];}else {vErrors.push(err558);}errors++;}}var valid207 = _errs722 === errors;if(valid207){const err559 = {instancePath:instancePath+"/qa/gherkinLint/exemptionTags/" + i43,schemaPath:"#/properties/qa/properties/gherkinLint/properties/exemptionTags/items/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err559];}else {vErrors.push(err559);}errors++;}else {errors = _errs721;if(vErrors !== null){if(_errs721){vErrors.length = _errs721;}else {vErrors = null;}}}if(typeof data273 === "string"){if(func2(data273) < 1){const err560 = {instancePath:instancePath+"/qa/gherkinLint/exemptionTags/" + i43,schemaPath:"#/properties/qa/properties/gherkinLint/properties/exemptionTags/items/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err560];}else {vErrors.push(err560);}errors++;}}else {const err561 = {instancePath:instancePath+"/qa/gherkinLint/exemptionTags/" + i43,schemaPath:"#/properties/qa/properties/gherkinLint/properties/exemptionTags/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err561];}else {vErrors.push(err561);}errors++;}}}else {const err562 = {instancePath:instancePath+"/qa/gherkinLint/exemptionTags",schemaPath:"#/properties/qa/properties/gherkinLint/properties/exemptionTags/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err562];}else {vErrors.push(err562);}errors++;}}if(data265.stepWaivers !== undefined){let data274 = data265.stepWaivers;if(Array.isArray(data274)){const len41 = data274.length;for(let i44=0; i44<len41; i44++){let data275 = data274[i44];if(typeof data275 === "string"){if(func2(data275) < 1){const err563 = {instancePath:instancePath+"/qa/gherkinLint/stepWaivers/" + i44,schemaPath:"#/properties/qa/properties/gherkinLint/properties/stepWaivers/items/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err563];}else {vErrors.push(err563);}errors++;}}else {const err564 = {instancePath:instancePath+"/qa/gherkinLint/stepWaivers/" + i44,schemaPath:"#/properties/qa/properties/gherkinLint/properties/stepWaivers/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err564];}else {vErrors.push(err564);}errors++;}}}else {const err565 = {instancePath:instancePath+"/qa/gherkinLint/stepWaivers",schemaPath:"#/properties/qa/properties/gherkinLint/properties/stepWaivers/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err565];}else {vErrors.push(err565);}errors++;}}}else {const err566 = {instancePath:instancePath+"/qa/gherkinLint",schemaPath:"#/properties/qa/properties/gherkinLint/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err566];}else {vErrors.push(err566);}errors++;}}if(data247.consoleAllowlist !== undefined){let data276 = data247.consoleAllowlist;if(Array.isArray(data276)){const len42 = data276.length;for(let i45=0; i45<len42; i45++){let data277 = data276[i45];const _errs731 = errors;const _errs732 = errors;if(typeof data277 === "string"){if(!pattern0.test(data277)){const err567 = {};if(vErrors === null){vErrors = [err567];}else {vErrors.push(err567);}errors++;}}var valid212 = _errs732 === errors;if(valid212){const err568 = {instancePath:instancePath+"/qa/consoleAllowlist/" + i45,schemaPath:"#/properties/qa/properties/consoleAllowlist/items/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err568];}else {vErrors.push(err568);}errors++;}else {errors = _errs731;if(vErrors !== null){if(_errs731){vErrors.length = _errs731;}else {vErrors = null;}}}if(typeof data277 === "string"){if(func2(data277) < 1){const err569 = {instancePath:instancePath+"/qa/consoleAllowlist/" + i45,schemaPath:"#/properties/qa/properties/consoleAllowlist/items/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err569];}else {vErrors.push(err569);}errors++;}}else {const err570 = {instancePath:instancePath+"/qa/consoleAllowlist/" + i45,schemaPath:"#/properties/qa/properties/consoleAllowlist/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err570];}else {vErrors.push(err570);}errors++;}}}else {const err571 = {instancePath:instancePath+"/qa/consoleAllowlist",schemaPath:"#/properties/qa/properties/consoleAllowlist/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err571];}else {vErrors.push(err571);}errors++;}}if(data247.designTokens !== undefined){let data278 = data247.designTokens;const _errs735 = errors;const _errs736 = errors;if(typeof data278 === "string"){if(!pattern0.test(data278)){const err572 = {};if(vErrors === null){vErrors = [err572];}else {vErrors.push(err572);}errors++;}}var valid213 = _errs736 === errors;if(valid213){const err573 = {instancePath:instancePath+"/qa/designTokens",schemaPath:"#/properties/qa/properties/designTokens/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err573];}else {vErrors.push(err573);}errors++;}else {errors = _errs735;if(vErrors !== null){if(_errs735){vErrors.length = _errs735;}else {vErrors = null;}}}if(typeof data278 === "string"){if(func2(data278) < 1){const err574 = {instancePath:instancePath+"/qa/designTokens",schemaPath:"#/properties/qa/properties/designTokens/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err574];}else {vErrors.push(err574);}errors++;}}else {const err575 = {instancePath:instancePath+"/qa/designTokens",schemaPath:"#/properties/qa/properties/designTokens/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err575];}else {vErrors.push(err575);}errors++;}}}else {const err576 = {instancePath:instancePath+"/qa",schemaPath:"#/properties/qa/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err576];}else {vErrors.push(err576);}errors++;}}}else {const err577 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err577];}else {vErrors.push(err577);}errors++;}validate10.errors = vErrors;return errors === 0;}
|