mandrel 2.120.0 → 2.121.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.
Files changed (32) hide show
  1. package/.agents/agents/acceptance-critic.md +4 -0
  2. package/.agents/agents/story-worker.md +1 -1
  3. package/.agents/docs/agentrc-reference.json +1 -0
  4. package/.agents/docs/configuration.md +1 -0
  5. package/.agents/schemas/acceptance-eval-verdict.schema.json +6 -1
  6. package/.agents/schemas/agentrc.schema.json +9 -0
  7. package/.agents/scripts/acceptance-eval.js +125 -13
  8. package/.agents/scripts/evidence-gate.js +15 -2
  9. package/.agents/scripts/lib/baselines/crap-preview-scan.js +1 -0
  10. package/.agents/scripts/lib/baselines/git-base.js +43 -0
  11. package/.agents/scripts/lib/baselines/kinds/_crap-new-method-gate.js +29 -5
  12. package/.agents/scripts/lib/baselines/kinds/crap.js +7 -1
  13. package/.agents/scripts/lib/baselines/kinds/kind-factory.js +81 -52
  14. package/.agents/scripts/lib/close-validation/projections/advisories.js +1 -0
  15. package/.agents/scripts/lib/close-validation/projections/crap.js +3 -0
  16. package/.agents/scripts/lib/config/gates/crap.schema.js +7 -0
  17. package/.agents/scripts/lib/config/quality.js +13 -6
  18. package/.agents/scripts/lib/generated/agentrc-validator.js +2 -2
  19. package/.agents/scripts/lib/orchestration/acceptance-eval-decision.js +65 -6
  20. package/.agents/scripts/lib/orchestration/check-baselines/phases/compare.js +34 -2
  21. package/.agents/scripts/lib/orchestration/check-baselines/phases/fail-detail.js +7 -2
  22. package/.agents/scripts/lib/orchestration/handoff-gates.js +2 -0
  23. package/.agents/scripts/lib/orchestration/preflight-lanes.js +2 -0
  24. package/.agents/scripts/lib/orchestration/ticket-validator.js +35 -0
  25. package/.agents/scripts/lib/orchestration/verify-credit.js +144 -0
  26. package/.agents/scripts/lib/validation-evidence.js +27 -0
  27. package/.agents/workflows/helpers/acceptance-self-eval.md +9 -1
  28. package/.agents/workflows/helpers/deliver-digest.md +7 -8
  29. package/.agents/workflows/helpers/deliver-story-reference.md +1 -1
  30. package/.agents/workflows/helpers/plan-reference.md +3 -1
  31. package/docs/CHANGELOG.md +15 -0
  32. 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},"testChanged":{"type":["string","null"],"minLength":1,"not":{"type":"string","pattern":"([;&|`]|\\$\\()"}},"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-]*$"}},"tiers":{"type":"array","minItems":1,"items":{"type":"object","required":["maxFiles","weight"],"properties":{"maxFiles":{"type":"integer","minimum":0},"weight":{"type":"integer","minimum":1}},"additionalProperties":false}},"sizeCommand":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1},"backfill":{"type":"boolean"}},"dependencies":{"tiers":["sizeCommand"],"sizeCommand":["tiers"]},"additionalProperties":false}},"preflightConcurrency":{"type":"integer","minimum":1}},"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},"onOverBudget":{"type":"string","enum":["block","defer-to-ci"]},"suiteOfRecord":{"type":"string","enum":["local","ci"]},"ciRatchetCheck":{"type":["string","null"],"minLength":1},"nonInputGlobs":{"type":"array","items":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1}},"captureHandlesConfigChanges":{"type":"boolean"},"ownFixDeltaMaxFiles":{"type":"integer","minimum":0,"maximum":50}},"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},"previewScope":{"type":"string","enum":["file","touched-methods"]},"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}},"scanHeapMb":{"type":"integer","minimum":256},"ignoreGlobs":{"type":"array","items":{"type":"string","minLength":1}}},"additionalProperties":false}},"additionalProperties":false},"autoRefresh":{"type":"object","properties":{"enabled":{"type":"boolean"}},"additionalProperties":false},"ratchets":{"type":"object","properties":{"coveredByLint":{"type":"array","uniqueItems":true,"items":{"type":"string","enum":["dead-exports","dead-exports-production","arch-cycles","cyclomatic"]}}},"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},"close":{"type":"object","properties":{"baseSync":{"type":"string","enum":["always","on-conflict"]},"revalidateAfterBaseSync":{"type":"string","enum":["full","ci"]},"revalidateCiChecks":{"type":"array","items":{"type":"string","minLength":1},"uniqueItems":true},"revalidateAlwaysPaths":{"type":"array","items":{"type":"string","minLength":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"]},"sensitivePaths":{"type":"object","propertyNames":{"pattern":"^[a-z0-9][a-z0-9-]*$"},"additionalProperties":{"type":"object","required":["filePatterns"],"properties":{"description":{"type":"string"},"filePatterns":{"type":"array","minItems":1,"items":{"type":"string","minLength":1}}},"additionalProperties":false}},"effortByDepth":{"type":"object","propertyNames":{"enum":["light","standard","deep"]},"additionalProperties":{"type":"string","enum":["low","medium","high","xhigh","max"]}},"guidanceFile":{"type":"string","minLength":1},"onNoVerdict":{"type":"string","enum":["report","block"]},"skipPaths":{"type":"array","items":{"type":"string","minLength":1}}},"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"},"outcomeRecord":{"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},"pullRequest":{"type":"object","properties":{"bodyTrailers":{"type":"array","items":{"type":"string","pattern":"^[A-Za-z][A-Za-z0-9-]*$"},"uniqueItems":true}},"additionalProperties":false},"handoff":{"type":"object","properties":{"postSeatChecks":{"type":"array","items":{"type":"object","properties":{"cmd":{"type":"string","minLength":1},"args":{"type":"array","items":{"type":"string"}}},"required":["cmd"],"additionalProperties":false}}},"additionalProperties":false},"orchestrate":{"type":"object","properties":{"requeueCommand":{"type":"object","properties":{"cmd":{"type":"string","minLength":1},"args":{"type":"array","items":{"type":"string"}}},"required":["cmd"],"additionalProperties":false},"releaseVeto":{"type":"object","properties":{"prLabel":{"type":"string","minLength":1},"cmd":{"type":"string","minLength":1},"args":{"type":"array","items":{"type":"string"}}},"required":["prLabel","cmd"],"additionalProperties":false}},"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 pattern12 = new RegExp("^@.+", "u");const pattern13 = new RegExp("^[^/\\s]+/[^/\\s]+$", "u");const pattern16 = new RegExp("^[a-z0-9][a-z0-9-]*$", "u");const pattern21 = new RegExp("^[A-Za-z0-9@:._/-]+$", "u");const pattern30 = new RegExp("^[A-Za-z][A-Za-z0-9-]*$", "u");const pattern31 = new RegExp("^[A-Za-z0-9][A-Za-z0-9._:-]*$", "u");const pattern37 = new RegExp("^[a-z0-9][a-z0-9._-]*(?:\\/[a-z0-9][a-z0-9._-]*)+$", "u");const pattern38 = new RegExp("^[A-Z_][A-Z0-9_]*$", "u");const func2 = require("ajv/dist/runtime/ucs2length").default;const func11 = 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 === "testChanged")) || (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.testChanged !== undefined){let data11 = data9.testChanged;if((typeof data11 !== "string") && (data11 !== null)){const err32 = {instancePath:instancePath+"/project/commands/testChanged",schemaPath:"#/properties/project/properties/commands/properties/testChanged/type",keyword:"type",params:{type: schema11.properties.project.properties.commands.properties.testChanged.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/testChanged",schemaPath:"#/properties/project/properties/commands/properties/testChanged/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/testChanged",schemaPath:"#/properties/project/properties/commands/properties/testChanged/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.typecheck !== undefined){let data12 = data9.typecheck;if((typeof data12 !== "string") && (data12 !== null)){const err37 = {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 = [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/typecheck",schemaPath:"#/properties/project/properties/commands/properties/typecheck/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/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 = [err41];}else {vErrors.push(err41);}errors++;}}}if(data9.lint !== undefined){let data13 = data9.lint;if((typeof data13 !== "string") && (data13 !== null)){const err42 = {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 = [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/lint",schemaPath:"#/properties/project/properties/commands/properties/lint/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/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 = [err46];}else {vErrors.push(err46);}errors++;}}}if(data9.formatCheck !== undefined){let data14 = data9.formatCheck;if((typeof data14 !== "string") && (data14 !== null)){const err47 = {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 = [err47];}else {vErrors.push(err47);}errors++;}const _errs54 = errors;const _errs55 = errors;if(errors === _errs55){if(typeof data14 === "string"){if(!pattern0.test(data14)){const err48 = {};if(vErrors === null){vErrors = [err48];}else {vErrors.push(err48);}errors++;}}else {const err49 = {};if(vErrors === null){vErrors = [err49];}else {vErrors.push(err49);}errors++;}}var valid14 = _errs55 === errors;if(valid14){const err50 = {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 = [err50];}else {vErrors.push(err50);}errors++;}else {errors = _errs54;if(vErrors !== null){if(_errs54){vErrors.length = _errs54;}else {vErrors = null;}}}if(typeof data14 === "string"){if(func2(data14) < 1){const err51 = {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 = [err51];}else {vErrors.push(err51);}errors++;}}}if(data9.formatWrite !== undefined){let data15 = data9.formatWrite;const _errs59 = errors;const _errs60 = errors;if(typeof data15 === "string"){if(!pattern0.test(data15)){const err52 = {};if(vErrors === null){vErrors = [err52];}else {vErrors.push(err52);}errors++;}}var valid15 = _errs60 === errors;if(valid15){const err53 = {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 = [err53];}else {vErrors.push(err53);}errors++;}else {errors = _errs59;if(vErrors !== null){if(_errs59){vErrors.length = _errs59;}else {vErrors = null;}}}if(typeof data15 === "string"){if(func2(data15) < 1){const err54 = {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 = [err54];}else {vErrors.push(err54);}errors++;}}else {const err55 = {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 = [err55];}else {vErrors.push(err55);}errors++;}}}else {const err56 = {instancePath:instancePath+"/project/commands",schemaPath:"#/properties/project/properties/commands/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err56];}else {vErrors.push(err56);}errors++;}}if(data1.policies !== undefined){let data16 = data1.policies;if(data16 && typeof data16 == "object" && !Array.isArray(data16)){for(const key4 in data16){if(!((((key4 === "corpusGlobs") || (key4 === "impactMap")) || (key4 === "backingDocs")) || (key4 === "acceptedFindings"))){const err57 = {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 = [err57];}else {vErrors.push(err57);}errors++;}}if(data16.corpusGlobs !== undefined){let data17 = data16.corpusGlobs;if(Array.isArray(data17)){const len1 = data17.length;for(let i1=0; i1<len1; i1++){if(typeof data17[i1] !== "string"){const err58 = {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 = [err58];}else {vErrors.push(err58);}errors++;}}}else {const err59 = {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 = [err59];}else {vErrors.push(err59);}errors++;}}if(data16.impactMap !== undefined){let data19 = data16.impactMap;if(typeof data19 !== "string"){const err60 = {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 = [err60];}else {vErrors.push(err60);}errors++;}const _errs70 = errors;const _errs71 = errors;if(typeof data19 === "string"){if(!pattern0.test(data19)){const err61 = {};if(vErrors === null){vErrors = [err61];}else {vErrors.push(err61);}errors++;}}var valid19 = _errs71 === errors;if(valid19){const err62 = {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 = [err62];}else {vErrors.push(err62);}errors++;}else {errors = _errs70;if(vErrors !== null){if(_errs70){vErrors.length = _errs70;}else {vErrors = null;}}}}if(data16.backingDocs !== undefined){let data20 = data16.backingDocs;if(Array.isArray(data20)){const len2 = data20.length;for(let i2=0; i2<len2; i2++){if(typeof data20[i2] !== "string"){const err63 = {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 = [err63];}else {vErrors.push(err63);}errors++;}}}else {const err64 = {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 = [err64];}else {vErrors.push(err64);}errors++;}}if(data16.acceptedFindings !== undefined){let data22 = data16.acceptedFindings;if(typeof data22 !== "string"){const err65 = {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 = [err65];}else {vErrors.push(err65);}errors++;}const _errs78 = errors;const _errs79 = errors;if(typeof data22 === "string"){if(!pattern0.test(data22)){const err66 = {};if(vErrors === null){vErrors = [err66];}else {vErrors.push(err66);}errors++;}}var valid22 = _errs79 === errors;if(valid22){const err67 = {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 = [err67];}else {vErrors.push(err67);}errors++;}else {errors = _errs78;if(vErrors !== null){if(_errs78){vErrors.length = _errs78;}else {vErrors = null;}}}}}else {const err68 = {instancePath:instancePath+"/project/policies",schemaPath:"#/properties/project/properties/policies/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err68];}else {vErrors.push(err68);}errors++;}}}else {const err69 = {instancePath:instancePath+"/project",schemaPath:"#/properties/project/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err69];}else {vErrors.push(err69);}errors++;}}if(data.github !== undefined){let data23 = data.github;if(data23 && typeof data23 == "object" && !Array.isArray(data23)){if(data23.owner === undefined){const err70 = {instancePath:instancePath+"/github",schemaPath:"#/properties/github/required",keyword:"required",params:{missingProperty: "owner"},message:"must have required property '"+"owner"+"'"};if(vErrors === null){vErrors = [err70];}else {vErrors.push(err70);}errors++;}if(data23.repo === undefined){const err71 = {instancePath:instancePath+"/github",schemaPath:"#/properties/github/required",keyword:"required",params:{missingProperty: "repo"},message:"must have required property '"+"repo"+"'"};if(vErrors === null){vErrors = [err71];}else {vErrors.push(err71);}errors++;}if(data23.operatorHandle === undefined){const err72 = {instancePath:instancePath+"/github",schemaPath:"#/properties/github/required",keyword:"required",params:{missingProperty: "operatorHandle"},message:"must have required property '"+"operatorHandle"+"'"};if(vErrors === null){vErrors = [err72];}else {vErrors.push(err72);}errors++;}for(const key5 in data23){if(!(func11.call(schema11.properties.github.properties, key5))){const err73 = {instancePath:instancePath+"/github",schemaPath:"#/properties/github/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key5},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err73];}else {vErrors.push(err73);}errors++;}}if(data23.owner !== undefined){let data24 = data23.owner;if(typeof data24 === "string"){if(func2(data24) < 1){const err74 = {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 = [err74];}else {vErrors.push(err74);}errors++;}}else {const err75 = {instancePath:instancePath+"/github/owner",schemaPath:"#/properties/github/properties/owner/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err75];}else {vErrors.push(err75);}errors++;}}if(data23.repo !== undefined){let data25 = data23.repo;if(typeof data25 === "string"){if(func2(data25) < 1){const err76 = {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 = [err76];}else {vErrors.push(err76);}errors++;}}else {const err77 = {instancePath:instancePath+"/github/repo",schemaPath:"#/properties/github/properties/repo/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err77];}else {vErrors.push(err77);}errors++;}}if(data23.projectNumber !== undefined){let data26 = data23.projectNumber;if((!(((typeof data26 == "number") && (!(data26 % 1) && !isNaN(data26))) && (isFinite(data26)))) && (data26 !== null)){const err78 = {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 = [err78];}else {vErrors.push(err78);}errors++;}if((typeof data26 == "number") && (isFinite(data26))){if(data26 < 1 || isNaN(data26)){const err79 = {instancePath:instancePath+"/github/projectNumber",schemaPath:"#/properties/github/properties/projectNumber/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"};if(vErrors === null){vErrors = [err79];}else {vErrors.push(err79);}errors++;}}}if(data23.projectOwner !== undefined){let data27 = data23.projectOwner;if((typeof data27 !== "string") && (data27 !== null)){const err80 = {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 = [err80];}else {vErrors.push(err80);}errors++;}if(typeof data27 === "string"){if(func2(data27) < 1){const err81 = {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 = [err81];}else {vErrors.push(err81);}errors++;}}}if(data23.operatorHandle !== undefined){let data28 = data23.operatorHandle;if(typeof data28 === "string"){if(!pattern12.test(data28)){const err82 = {instancePath:instancePath+"/github/operatorHandle",schemaPath:"#/properties/github/properties/operatorHandle/pattern",keyword:"pattern",params:{pattern: "^@.+"},message:"must match pattern \""+"^@.+"+"\""};if(vErrors === null){vErrors = [err82];}else {vErrors.push(err82);}errors++;}}else {const err83 = {instancePath:instancePath+"/github/operatorHandle",schemaPath:"#/properties/github/properties/operatorHandle/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err83];}else {vErrors.push(err83);}errors++;}}if(data23.cliConfigDir !== undefined){let data29 = data23.cliConfigDir;if((typeof data29 !== "string") && (data29 !== null)){const err84 = {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 = [err84];}else {vErrors.push(err84);}errors++;}if(typeof data29 === "string"){if(func2(data29) < 1){const err85 = {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 = [err85];}else {vErrors.push(err85);}errors++;}}}if(data23.followUpRepos !== undefined){let data30 = data23.followUpRepos;if(data30 && typeof data30 == "object" && !Array.isArray(data30)){for(const key6 in data30){if(!((key6 === "framework") || (key6 === "platform"))){const err86 = {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 = [err86];}else {vErrors.push(err86);}errors++;}}if(data30.framework !== undefined){let data31 = data30.framework;if(typeof data31 === "string"){if(!pattern13.test(data31)){const err87 = {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 = [err87];}else {vErrors.push(err87);}errors++;}}else {const err88 = {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 = [err88];}else {vErrors.push(err88);}errors++;}}if(data30.platform !== undefined){let data32 = data30.platform;if((typeof data32 !== "string") && (data32 !== null)){const err89 = {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 = [err89];}else {vErrors.push(err89);}errors++;}if(typeof data32 === "string"){if(!pattern13.test(data32)){const err90 = {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 = [err90];}else {vErrors.push(err90);}errors++;}}}}else {const err91 = {instancePath:instancePath+"/github/followUpRepos",schemaPath:"#/properties/github/properties/followUpRepos/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err91];}else {vErrors.push(err91);}errors++;}}if(data23.branchProtection !== undefined){let data33 = data23.branchProtection;if(data33 && typeof data33 == "object" && !Array.isArray(data33)){for(const key7 in data33){if(!((key7 === "enforce") || (key7 === "requiredChecks"))){const err92 = {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 = [err92];}else {vErrors.push(err92);}errors++;}}if(data33.enforce !== undefined){if(typeof data33.enforce !== "boolean"){const err93 = {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 = [err93];}else {vErrors.push(err93);}errors++;}}if(data33.requiredChecks !== undefined){let data35 = data33.requiredChecks;if(Array.isArray(data35)){const len3 = data35.length;for(let i3=0; i3<len3; i3++){let data36 = data35[i3];if(data36 && typeof data36 == "object" && !Array.isArray(data36)){if(data36.name === undefined){const err94 = {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 = [err94];}else {vErrors.push(err94);}errors++;}if(data36.cmd === undefined){const err95 = {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 = [err95];}else {vErrors.push(err95);}errors++;}for(const key8 in data36){if(!((key8 === "name") || (key8 === "cmd"))){const err96 = {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 = [err96];}else {vErrors.push(err96);}errors++;}}if(data36.name !== undefined){let data37 = data36.name;if(typeof data37 === "string"){if(func2(data37) < 1){const err97 = {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 = [err97];}else {vErrors.push(err97);}errors++;}}else {const err98 = {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 = [err98];}else {vErrors.push(err98);}errors++;}}if(data36.cmd !== undefined){let data38 = data36.cmd;if(Array.isArray(data38)){if(data38.length < 1){const err99 = {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 = [err99];}else {vErrors.push(err99);}errors++;}const len4 = data38.length;for(let i4=0; i4<len4; i4++){let data39 = data38[i4];if(typeof data39 === "string"){if(func2(data39) < 1){const err100 = {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 = [err100];}else {vErrors.push(err100);}errors++;}}else {const err101 = {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 = [err101];}else {vErrors.push(err101);}errors++;}}}else {const err102 = {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 = [err102];}else {vErrors.push(err102);}errors++;}}}else {const err103 = {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 = [err103];}else {vErrors.push(err103);}errors++;}}}else {const err104 = {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 = [err104];}else {vErrors.push(err104);}errors++;}}}else {const err105 = {instancePath:instancePath+"/github/branchProtection",schemaPath:"#/properties/github/properties/branchProtection/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err105];}else {vErrors.push(err105);}errors++;}}if(data23.mergeMethods !== undefined){let data40 = data23.mergeMethods;if(data40 && typeof data40 == "object" && !Array.isArray(data40)){for(const key9 in data40){if(!(((((key9 === "allow_squash_merge") || (key9 === "allow_rebase_merge")) || (key9 === "allow_merge_commit")) || (key9 === "allow_auto_merge")) || (key9 === "delete_branch_on_merge"))){const err106 = {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 = [err106];}else {vErrors.push(err106);}errors++;}}if(data40.allow_squash_merge !== undefined){if(typeof data40.allow_squash_merge !== "boolean"){const err107 = {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 = [err107];}else {vErrors.push(err107);}errors++;}}if(data40.allow_rebase_merge !== undefined){if(typeof data40.allow_rebase_merge !== "boolean"){const err108 = {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 = [err108];}else {vErrors.push(err108);}errors++;}}if(data40.allow_merge_commit !== undefined){if(typeof data40.allow_merge_commit !== "boolean"){const err109 = {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 = [err109];}else {vErrors.push(err109);}errors++;}}if(data40.allow_auto_merge !== undefined){if(typeof data40.allow_auto_merge !== "boolean"){const err110 = {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 = [err110];}else {vErrors.push(err110);}errors++;}}if(data40.delete_branch_on_merge !== undefined){if(typeof data40.delete_branch_on_merge !== "boolean"){const err111 = {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 = [err111];}else {vErrors.push(err111);}errors++;}}}else {const err112 = {instancePath:instancePath+"/github/mergeMethods",schemaPath:"#/properties/github/properties/mergeMethods/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err112];}else {vErrors.push(err112);}errors++;}}if(data23.notifications !== undefined){let data46 = data23.notifications;if(data46 && typeof data46 == "object" && !Array.isArray(data46)){for(const key10 in data46){if(!(((key10 === "mentionOperator") || (key10 === "commentEvents")) || (key10 === "webhookEvents"))){const err113 = {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 = [err113];}else {vErrors.push(err113);}errors++;}}if(data46.mentionOperator !== undefined){if(typeof data46.mentionOperator !== "boolean"){const err114 = {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 = [err114];}else {vErrors.push(err114);}errors++;}}if(data46.commentEvents !== undefined){let data48 = data46.commentEvents;if(Array.isArray(data48)){const len5 = data48.length;for(let i5=0; i5<len5; i5++){let data49 = data48[i5];if(typeof data49 !== "string"){const err115 = {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 = [err115];}else {vErrors.push(err115);}errors++;}if(!((((data49 === "state-transition") || (data49 === "story-merged")) || (data49 === "story-closing")) || (data49 === "operator-message"))){const err116 = {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 = [err116];}else {vErrors.push(err116);}errors++;}}let i6 = data48.length;let j0;if(i6 > 1){const indices0 = {};for(;i6--;){let item0 = data48[i6];if(typeof item0 !== "string"){continue;}if(typeof indices0[item0] == "number"){j0 = indices0[item0];const err117 = {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 = [err117];}else {vErrors.push(err117);}errors++;break;}indices0[item0] = i6;}}}else {const err118 = {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 = [err118];}else {vErrors.push(err118);}errors++;}}if(data46.webhookEvents !== undefined){let data50 = data46.webhookEvents;if(Array.isArray(data50)){const len6 = data50.length;for(let i7=0; i7<len6; i7++){let data51 = data50[i7];if(typeof data51 !== "string"){const err119 = {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 = [err119];}else {vErrors.push(err119);}errors++;}if(!((((((data51 === "state-transition") || (data51 === "story-merged")) || (data51 === "story-closing")) || (data51 === "operator-message")) || (data51 === "merge.unlanded")) || (data51 === "merge.flip-failed"))){const err120 = {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 = [err120];}else {vErrors.push(err120);}errors++;}}let i8 = data50.length;let j1;if(i8 > 1){const indices1 = {};for(;i8--;){let item1 = data50[i8];if(typeof item1 !== "string"){continue;}if(typeof indices1[item1] == "number"){j1 = indices1[item1];const err121 = {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 = [err121];}else {vErrors.push(err121);}errors++;break;}indices1[item1] = i8;}}}else {const err122 = {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 = [err122];}else {vErrors.push(err122);}errors++;}}}else {const err123 = {instancePath:instancePath+"/github/notifications",schemaPath:"#/properties/github/properties/notifications/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err123];}else {vErrors.push(err123);}errors++;}}}else {const err124 = {instancePath:instancePath+"/github",schemaPath:"#/properties/github/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err124];}else {vErrors.push(err124);}errors++;}}if(data.planning !== undefined){let data52 = data.planning;if(data52 && typeof data52 == "object" && !Array.isArray(data52)){for(const key11 in data52){if(!(key11 === "navigation")){const err125 = {instancePath:instancePath+"/planning",schemaPath:"#/properties/planning/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key11},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err125];}else {vErrors.push(err125);}errors++;}}if(data52.navigation !== undefined){let data53 = data52.navigation;if(data53 && typeof data53 == "object" && !Array.isArray(data53)){for(const key12 in data53){if(!((key12 === "routeGlobs") || (key12 === "navRegistry"))){const err126 = {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 = [err126];}else {vErrors.push(err126);}errors++;}}if(data53.routeGlobs !== undefined){let data54 = data53.routeGlobs;if(Array.isArray(data54)){const len7 = data54.length;for(let i9=0; i9<len7; i9++){if(typeof data54[i9] !== "string"){const err127 = {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 = [err127];}else {vErrors.push(err127);}errors++;}}}else {const err128 = {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 = [err128];}else {vErrors.push(err128);}errors++;}}if(data53.navRegistry !== undefined){let data56 = data53.navRegistry;if(Array.isArray(data56)){const len8 = data56.length;for(let i10=0; i10<len8; i10++){if(typeof data56[i10] !== "string"){const err129 = {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 = [err129];}else {vErrors.push(err129);}errors++;}}}else {const err130 = {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 = [err130];}else {vErrors.push(err130);}errors++;}}}else {const err131 = {instancePath:instancePath+"/planning/navigation",schemaPath:"#/properties/planning/properties/navigation/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err131];}else {vErrors.push(err131);}errors++;}}}else {const err132 = {instancePath:instancePath+"/planning",schemaPath:"#/properties/planning/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err132];}else {vErrors.push(err132);}errors++;}}if(data.delivery !== undefined){let data58 = data.delivery;if(data58 && typeof data58 == "object" && !Array.isArray(data58)){for(const key13 in data58){if(!(func11.call(schema11.properties.delivery.properties, key13))){const err133 = {instancePath:instancePath+"/delivery",schemaPath:"#/properties/delivery/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key13},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err133];}else {vErrors.push(err133);}errors++;}}if(data58.execution !== undefined){let data59 = data58.execution;if(data59 && typeof data59 == "object" && !Array.isArray(data59)){for(const key14 in data59){if(!((((key14 === "fullSuiteLock") || (key14 === "capacity")) || (key14 === "workloads")) || (key14 === "preflightConcurrency"))){const err134 = {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 = [err134];}else {vErrors.push(err134);}errors++;}}if(data59.fullSuiteLock !== undefined){if(typeof data59.fullSuiteLock !== "boolean"){const err135 = {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 = [err135];}else {vErrors.push(err135);}errors++;}}if(data59.capacity !== undefined){let data61 = data59.capacity;if(!(((typeof data61 == "number") && (!(data61 % 1) && !isNaN(data61))) && (isFinite(data61)))){const err136 = {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 = [err136];}else {vErrors.push(err136);}errors++;}if((typeof data61 == "number") && (isFinite(data61))){if(data61 < 1 || isNaN(data61)){const err137 = {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 = [err137];}else {vErrors.push(err137);}errors++;}}}if(data59.workloads !== undefined){let data62 = data59.workloads;if(Array.isArray(data62)){const len9 = data62.length;for(let i11=0; i11<len9; i11++){let data63 = data62[i11];if(data63 && typeof data63 == "object" && !Array.isArray(data63)){if(data63.command === undefined){const err138 = {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 = [err138];}else {vErrors.push(err138);}errors++;}if(data63.weight === undefined){const err139 = {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 = [err139];}else {vErrors.push(err139);}errors++;}for(const key15 in data63){if(!((((((key15 === "command") || (key15 === "weight")) || (key15 === "resources")) || (key15 === "tiers")) || (key15 === "sizeCommand")) || (key15 === "backfill"))){const err140 = {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 = [err140];}else {vErrors.push(err140);}errors++;}}if(data63.tiers !== undefined){if(data63.sizeCommand === undefined){const err141 = {instancePath:instancePath+"/delivery/execution/workloads/" + i11,schemaPath:"#/properties/delivery/properties/execution/properties/workloads/items/dependencies",keyword:"dependencies",params:{property: "tiers",
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},"testChanged":{"type":["string","null"],"minLength":1,"not":{"type":"string","pattern":"([;&|`]|\\$\\()"}},"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-]*$"}},"tiers":{"type":"array","minItems":1,"items":{"type":"object","required":["maxFiles","weight"],"properties":{"maxFiles":{"type":"integer","minimum":0},"weight":{"type":"integer","minimum":1}},"additionalProperties":false}},"sizeCommand":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1},"backfill":{"type":"boolean"}},"dependencies":{"tiers":["sizeCommand"],"sizeCommand":["tiers"]},"additionalProperties":false}},"preflightConcurrency":{"type":"integer","minimum":1}},"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},"onOverBudget":{"type":"string","enum":["block","defer-to-ci"]},"suiteOfRecord":{"type":"string","enum":["local","ci"]},"ciRatchetCheck":{"type":["string","null"],"minLength":1},"nonInputGlobs":{"type":"array","items":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1}},"captureHandlesConfigChanges":{"type":"boolean"},"ownFixDeltaMaxFiles":{"type":"integer","minimum":0,"maximum":50}},"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}},"untestableWiringGlobs":{"type":"array","items":{"type":"string","minLength":1}},"incrementalCoverage":{"type":"object","properties":{"skipWhenUnchanged":{"type":"boolean"},"baselineJoin":{"type":"boolean"},"baseRef":{"type":"string","minLength":1}},"additionalProperties":false},"previewScope":{"type":"string","enum":["file","touched-methods"]},"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}},"scanHeapMb":{"type":"integer","minimum":256},"ignoreGlobs":{"type":"array","items":{"type":"string","minLength":1}}},"additionalProperties":false}},"additionalProperties":false},"autoRefresh":{"type":"object","properties":{"enabled":{"type":"boolean"}},"additionalProperties":false},"ratchets":{"type":"object","properties":{"coveredByLint":{"type":"array","uniqueItems":true,"items":{"type":"string","enum":["dead-exports","dead-exports-production","arch-cycles","cyclomatic"]}}},"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},"close":{"type":"object","properties":{"baseSync":{"type":"string","enum":["always","on-conflict"]},"revalidateAfterBaseSync":{"type":"string","enum":["full","ci"]},"revalidateCiChecks":{"type":"array","items":{"type":"string","minLength":1},"uniqueItems":true},"revalidateAlwaysPaths":{"type":"array","items":{"type":"string","minLength":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"]},"sensitivePaths":{"type":"object","propertyNames":{"pattern":"^[a-z0-9][a-z0-9-]*$"},"additionalProperties":{"type":"object","required":["filePatterns"],"properties":{"description":{"type":"string"},"filePatterns":{"type":"array","minItems":1,"items":{"type":"string","minLength":1}}},"additionalProperties":false}},"effortByDepth":{"type":"object","propertyNames":{"enum":["light","standard","deep"]},"additionalProperties":{"type":"string","enum":["low","medium","high","xhigh","max"]}},"guidanceFile":{"type":"string","minLength":1},"onNoVerdict":{"type":"string","enum":["report","block"]},"skipPaths":{"type":"array","items":{"type":"string","minLength":1}}},"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"},"outcomeRecord":{"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},"pullRequest":{"type":"object","properties":{"bodyTrailers":{"type":"array","items":{"type":"string","pattern":"^[A-Za-z][A-Za-z0-9-]*$"},"uniqueItems":true}},"additionalProperties":false},"handoff":{"type":"object","properties":{"postSeatChecks":{"type":"array","items":{"type":"object","properties":{"cmd":{"type":"string","minLength":1},"args":{"type":"array","items":{"type":"string"}}},"required":["cmd"],"additionalProperties":false}}},"additionalProperties":false},"orchestrate":{"type":"object","properties":{"requeueCommand":{"type":"object","properties":{"cmd":{"type":"string","minLength":1},"args":{"type":"array","items":{"type":"string"}}},"required":["cmd"],"additionalProperties":false},"releaseVeto":{"type":"object","properties":{"prLabel":{"type":"string","minLength":1},"cmd":{"type":"string","minLength":1},"args":{"type":"array","items":{"type":"string"}}},"required":["prLabel","cmd"],"additionalProperties":false}},"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 pattern12 = new RegExp("^@.+", "u");const pattern13 = new RegExp("^[^/\\s]+/[^/\\s]+$", "u");const pattern16 = new RegExp("^[a-z0-9][a-z0-9-]*$", "u");const pattern21 = new RegExp("^[A-Za-z0-9@:._/-]+$", "u");const pattern30 = new RegExp("^[A-Za-z][A-Za-z0-9-]*$", "u");const pattern31 = new RegExp("^[A-Za-z0-9][A-Za-z0-9._:-]*$", "u");const pattern37 = new RegExp("^[a-z0-9][a-z0-9._-]*(?:\\/[a-z0-9][a-z0-9._-]*)+$", "u");const pattern38 = new RegExp("^[A-Z_][A-Z0-9_]*$", "u");const func2 = require("ajv/dist/runtime/ucs2length").default;const func11 = 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 === "testChanged")) || (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.testChanged !== undefined){let data11 = data9.testChanged;if((typeof data11 !== "string") && (data11 !== null)){const err32 = {instancePath:instancePath+"/project/commands/testChanged",schemaPath:"#/properties/project/properties/commands/properties/testChanged/type",keyword:"type",params:{type: schema11.properties.project.properties.commands.properties.testChanged.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/testChanged",schemaPath:"#/properties/project/properties/commands/properties/testChanged/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/testChanged",schemaPath:"#/properties/project/properties/commands/properties/testChanged/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.typecheck !== undefined){let data12 = data9.typecheck;if((typeof data12 !== "string") && (data12 !== null)){const err37 = {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 = [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/typecheck",schemaPath:"#/properties/project/properties/commands/properties/typecheck/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/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 = [err41];}else {vErrors.push(err41);}errors++;}}}if(data9.lint !== undefined){let data13 = data9.lint;if((typeof data13 !== "string") && (data13 !== null)){const err42 = {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 = [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/lint",schemaPath:"#/properties/project/properties/commands/properties/lint/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/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 = [err46];}else {vErrors.push(err46);}errors++;}}}if(data9.formatCheck !== undefined){let data14 = data9.formatCheck;if((typeof data14 !== "string") && (data14 !== null)){const err47 = {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 = [err47];}else {vErrors.push(err47);}errors++;}const _errs54 = errors;const _errs55 = errors;if(errors === _errs55){if(typeof data14 === "string"){if(!pattern0.test(data14)){const err48 = {};if(vErrors === null){vErrors = [err48];}else {vErrors.push(err48);}errors++;}}else {const err49 = {};if(vErrors === null){vErrors = [err49];}else {vErrors.push(err49);}errors++;}}var valid14 = _errs55 === errors;if(valid14){const err50 = {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 = [err50];}else {vErrors.push(err50);}errors++;}else {errors = _errs54;if(vErrors !== null){if(_errs54){vErrors.length = _errs54;}else {vErrors = null;}}}if(typeof data14 === "string"){if(func2(data14) < 1){const err51 = {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 = [err51];}else {vErrors.push(err51);}errors++;}}}if(data9.formatWrite !== undefined){let data15 = data9.formatWrite;const _errs59 = errors;const _errs60 = errors;if(typeof data15 === "string"){if(!pattern0.test(data15)){const err52 = {};if(vErrors === null){vErrors = [err52];}else {vErrors.push(err52);}errors++;}}var valid15 = _errs60 === errors;if(valid15){const err53 = {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 = [err53];}else {vErrors.push(err53);}errors++;}else {errors = _errs59;if(vErrors !== null){if(_errs59){vErrors.length = _errs59;}else {vErrors = null;}}}if(typeof data15 === "string"){if(func2(data15) < 1){const err54 = {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 = [err54];}else {vErrors.push(err54);}errors++;}}else {const err55 = {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 = [err55];}else {vErrors.push(err55);}errors++;}}}else {const err56 = {instancePath:instancePath+"/project/commands",schemaPath:"#/properties/project/properties/commands/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err56];}else {vErrors.push(err56);}errors++;}}if(data1.policies !== undefined){let data16 = data1.policies;if(data16 && typeof data16 == "object" && !Array.isArray(data16)){for(const key4 in data16){if(!((((key4 === "corpusGlobs") || (key4 === "impactMap")) || (key4 === "backingDocs")) || (key4 === "acceptedFindings"))){const err57 = {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 = [err57];}else {vErrors.push(err57);}errors++;}}if(data16.corpusGlobs !== undefined){let data17 = data16.corpusGlobs;if(Array.isArray(data17)){const len1 = data17.length;for(let i1=0; i1<len1; i1++){if(typeof data17[i1] !== "string"){const err58 = {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 = [err58];}else {vErrors.push(err58);}errors++;}}}else {const err59 = {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 = [err59];}else {vErrors.push(err59);}errors++;}}if(data16.impactMap !== undefined){let data19 = data16.impactMap;if(typeof data19 !== "string"){const err60 = {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 = [err60];}else {vErrors.push(err60);}errors++;}const _errs70 = errors;const _errs71 = errors;if(typeof data19 === "string"){if(!pattern0.test(data19)){const err61 = {};if(vErrors === null){vErrors = [err61];}else {vErrors.push(err61);}errors++;}}var valid19 = _errs71 === errors;if(valid19){const err62 = {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 = [err62];}else {vErrors.push(err62);}errors++;}else {errors = _errs70;if(vErrors !== null){if(_errs70){vErrors.length = _errs70;}else {vErrors = null;}}}}if(data16.backingDocs !== undefined){let data20 = data16.backingDocs;if(Array.isArray(data20)){const len2 = data20.length;for(let i2=0; i2<len2; i2++){if(typeof data20[i2] !== "string"){const err63 = {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 = [err63];}else {vErrors.push(err63);}errors++;}}}else {const err64 = {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 = [err64];}else {vErrors.push(err64);}errors++;}}if(data16.acceptedFindings !== undefined){let data22 = data16.acceptedFindings;if(typeof data22 !== "string"){const err65 = {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 = [err65];}else {vErrors.push(err65);}errors++;}const _errs78 = errors;const _errs79 = errors;if(typeof data22 === "string"){if(!pattern0.test(data22)){const err66 = {};if(vErrors === null){vErrors = [err66];}else {vErrors.push(err66);}errors++;}}var valid22 = _errs79 === errors;if(valid22){const err67 = {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 = [err67];}else {vErrors.push(err67);}errors++;}else {errors = _errs78;if(vErrors !== null){if(_errs78){vErrors.length = _errs78;}else {vErrors = null;}}}}}else {const err68 = {instancePath:instancePath+"/project/policies",schemaPath:"#/properties/project/properties/policies/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err68];}else {vErrors.push(err68);}errors++;}}}else {const err69 = {instancePath:instancePath+"/project",schemaPath:"#/properties/project/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err69];}else {vErrors.push(err69);}errors++;}}if(data.github !== undefined){let data23 = data.github;if(data23 && typeof data23 == "object" && !Array.isArray(data23)){if(data23.owner === undefined){const err70 = {instancePath:instancePath+"/github",schemaPath:"#/properties/github/required",keyword:"required",params:{missingProperty: "owner"},message:"must have required property '"+"owner"+"'"};if(vErrors === null){vErrors = [err70];}else {vErrors.push(err70);}errors++;}if(data23.repo === undefined){const err71 = {instancePath:instancePath+"/github",schemaPath:"#/properties/github/required",keyword:"required",params:{missingProperty: "repo"},message:"must have required property '"+"repo"+"'"};if(vErrors === null){vErrors = [err71];}else {vErrors.push(err71);}errors++;}if(data23.operatorHandle === undefined){const err72 = {instancePath:instancePath+"/github",schemaPath:"#/properties/github/required",keyword:"required",params:{missingProperty: "operatorHandle"},message:"must have required property '"+"operatorHandle"+"'"};if(vErrors === null){vErrors = [err72];}else {vErrors.push(err72);}errors++;}for(const key5 in data23){if(!(func11.call(schema11.properties.github.properties, key5))){const err73 = {instancePath:instancePath+"/github",schemaPath:"#/properties/github/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key5},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err73];}else {vErrors.push(err73);}errors++;}}if(data23.owner !== undefined){let data24 = data23.owner;if(typeof data24 === "string"){if(func2(data24) < 1){const err74 = {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 = [err74];}else {vErrors.push(err74);}errors++;}}else {const err75 = {instancePath:instancePath+"/github/owner",schemaPath:"#/properties/github/properties/owner/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err75];}else {vErrors.push(err75);}errors++;}}if(data23.repo !== undefined){let data25 = data23.repo;if(typeof data25 === "string"){if(func2(data25) < 1){const err76 = {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 = [err76];}else {vErrors.push(err76);}errors++;}}else {const err77 = {instancePath:instancePath+"/github/repo",schemaPath:"#/properties/github/properties/repo/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err77];}else {vErrors.push(err77);}errors++;}}if(data23.projectNumber !== undefined){let data26 = data23.projectNumber;if((!(((typeof data26 == "number") && (!(data26 % 1) && !isNaN(data26))) && (isFinite(data26)))) && (data26 !== null)){const err78 = {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 = [err78];}else {vErrors.push(err78);}errors++;}if((typeof data26 == "number") && (isFinite(data26))){if(data26 < 1 || isNaN(data26)){const err79 = {instancePath:instancePath+"/github/projectNumber",schemaPath:"#/properties/github/properties/projectNumber/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"};if(vErrors === null){vErrors = [err79];}else {vErrors.push(err79);}errors++;}}}if(data23.projectOwner !== undefined){let data27 = data23.projectOwner;if((typeof data27 !== "string") && (data27 !== null)){const err80 = {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 = [err80];}else {vErrors.push(err80);}errors++;}if(typeof data27 === "string"){if(func2(data27) < 1){const err81 = {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 = [err81];}else {vErrors.push(err81);}errors++;}}}if(data23.operatorHandle !== undefined){let data28 = data23.operatorHandle;if(typeof data28 === "string"){if(!pattern12.test(data28)){const err82 = {instancePath:instancePath+"/github/operatorHandle",schemaPath:"#/properties/github/properties/operatorHandle/pattern",keyword:"pattern",params:{pattern: "^@.+"},message:"must match pattern \""+"^@.+"+"\""};if(vErrors === null){vErrors = [err82];}else {vErrors.push(err82);}errors++;}}else {const err83 = {instancePath:instancePath+"/github/operatorHandle",schemaPath:"#/properties/github/properties/operatorHandle/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err83];}else {vErrors.push(err83);}errors++;}}if(data23.cliConfigDir !== undefined){let data29 = data23.cliConfigDir;if((typeof data29 !== "string") && (data29 !== null)){const err84 = {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 = [err84];}else {vErrors.push(err84);}errors++;}if(typeof data29 === "string"){if(func2(data29) < 1){const err85 = {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 = [err85];}else {vErrors.push(err85);}errors++;}}}if(data23.followUpRepos !== undefined){let data30 = data23.followUpRepos;if(data30 && typeof data30 == "object" && !Array.isArray(data30)){for(const key6 in data30){if(!((key6 === "framework") || (key6 === "platform"))){const err86 = {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 = [err86];}else {vErrors.push(err86);}errors++;}}if(data30.framework !== undefined){let data31 = data30.framework;if(typeof data31 === "string"){if(!pattern13.test(data31)){const err87 = {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 = [err87];}else {vErrors.push(err87);}errors++;}}else {const err88 = {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 = [err88];}else {vErrors.push(err88);}errors++;}}if(data30.platform !== undefined){let data32 = data30.platform;if((typeof data32 !== "string") && (data32 !== null)){const err89 = {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 = [err89];}else {vErrors.push(err89);}errors++;}if(typeof data32 === "string"){if(!pattern13.test(data32)){const err90 = {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 = [err90];}else {vErrors.push(err90);}errors++;}}}}else {const err91 = {instancePath:instancePath+"/github/followUpRepos",schemaPath:"#/properties/github/properties/followUpRepos/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err91];}else {vErrors.push(err91);}errors++;}}if(data23.branchProtection !== undefined){let data33 = data23.branchProtection;if(data33 && typeof data33 == "object" && !Array.isArray(data33)){for(const key7 in data33){if(!((key7 === "enforce") || (key7 === "requiredChecks"))){const err92 = {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 = [err92];}else {vErrors.push(err92);}errors++;}}if(data33.enforce !== undefined){if(typeof data33.enforce !== "boolean"){const err93 = {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 = [err93];}else {vErrors.push(err93);}errors++;}}if(data33.requiredChecks !== undefined){let data35 = data33.requiredChecks;if(Array.isArray(data35)){const len3 = data35.length;for(let i3=0; i3<len3; i3++){let data36 = data35[i3];if(data36 && typeof data36 == "object" && !Array.isArray(data36)){if(data36.name === undefined){const err94 = {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 = [err94];}else {vErrors.push(err94);}errors++;}if(data36.cmd === undefined){const err95 = {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 = [err95];}else {vErrors.push(err95);}errors++;}for(const key8 in data36){if(!((key8 === "name") || (key8 === "cmd"))){const err96 = {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 = [err96];}else {vErrors.push(err96);}errors++;}}if(data36.name !== undefined){let data37 = data36.name;if(typeof data37 === "string"){if(func2(data37) < 1){const err97 = {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 = [err97];}else {vErrors.push(err97);}errors++;}}else {const err98 = {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 = [err98];}else {vErrors.push(err98);}errors++;}}if(data36.cmd !== undefined){let data38 = data36.cmd;if(Array.isArray(data38)){if(data38.length < 1){const err99 = {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 = [err99];}else {vErrors.push(err99);}errors++;}const len4 = data38.length;for(let i4=0; i4<len4; i4++){let data39 = data38[i4];if(typeof data39 === "string"){if(func2(data39) < 1){const err100 = {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 = [err100];}else {vErrors.push(err100);}errors++;}}else {const err101 = {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 = [err101];}else {vErrors.push(err101);}errors++;}}}else {const err102 = {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 = [err102];}else {vErrors.push(err102);}errors++;}}}else {const err103 = {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 = [err103];}else {vErrors.push(err103);}errors++;}}}else {const err104 = {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 = [err104];}else {vErrors.push(err104);}errors++;}}}else {const err105 = {instancePath:instancePath+"/github/branchProtection",schemaPath:"#/properties/github/properties/branchProtection/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err105];}else {vErrors.push(err105);}errors++;}}if(data23.mergeMethods !== undefined){let data40 = data23.mergeMethods;if(data40 && typeof data40 == "object" && !Array.isArray(data40)){for(const key9 in data40){if(!(((((key9 === "allow_squash_merge") || (key9 === "allow_rebase_merge")) || (key9 === "allow_merge_commit")) || (key9 === "allow_auto_merge")) || (key9 === "delete_branch_on_merge"))){const err106 = {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 = [err106];}else {vErrors.push(err106);}errors++;}}if(data40.allow_squash_merge !== undefined){if(typeof data40.allow_squash_merge !== "boolean"){const err107 = {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 = [err107];}else {vErrors.push(err107);}errors++;}}if(data40.allow_rebase_merge !== undefined){if(typeof data40.allow_rebase_merge !== "boolean"){const err108 = {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 = [err108];}else {vErrors.push(err108);}errors++;}}if(data40.allow_merge_commit !== undefined){if(typeof data40.allow_merge_commit !== "boolean"){const err109 = {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 = [err109];}else {vErrors.push(err109);}errors++;}}if(data40.allow_auto_merge !== undefined){if(typeof data40.allow_auto_merge !== "boolean"){const err110 = {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 = [err110];}else {vErrors.push(err110);}errors++;}}if(data40.delete_branch_on_merge !== undefined){if(typeof data40.delete_branch_on_merge !== "boolean"){const err111 = {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 = [err111];}else {vErrors.push(err111);}errors++;}}}else {const err112 = {instancePath:instancePath+"/github/mergeMethods",schemaPath:"#/properties/github/properties/mergeMethods/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err112];}else {vErrors.push(err112);}errors++;}}if(data23.notifications !== undefined){let data46 = data23.notifications;if(data46 && typeof data46 == "object" && !Array.isArray(data46)){for(const key10 in data46){if(!(((key10 === "mentionOperator") || (key10 === "commentEvents")) || (key10 === "webhookEvents"))){const err113 = {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 = [err113];}else {vErrors.push(err113);}errors++;}}if(data46.mentionOperator !== undefined){if(typeof data46.mentionOperator !== "boolean"){const err114 = {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 = [err114];}else {vErrors.push(err114);}errors++;}}if(data46.commentEvents !== undefined){let data48 = data46.commentEvents;if(Array.isArray(data48)){const len5 = data48.length;for(let i5=0; i5<len5; i5++){let data49 = data48[i5];if(typeof data49 !== "string"){const err115 = {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 = [err115];}else {vErrors.push(err115);}errors++;}if(!((((data49 === "state-transition") || (data49 === "story-merged")) || (data49 === "story-closing")) || (data49 === "operator-message"))){const err116 = {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 = [err116];}else {vErrors.push(err116);}errors++;}}let i6 = data48.length;let j0;if(i6 > 1){const indices0 = {};for(;i6--;){let item0 = data48[i6];if(typeof item0 !== "string"){continue;}if(typeof indices0[item0] == "number"){j0 = indices0[item0];const err117 = {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 = [err117];}else {vErrors.push(err117);}errors++;break;}indices0[item0] = i6;}}}else {const err118 = {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 = [err118];}else {vErrors.push(err118);}errors++;}}if(data46.webhookEvents !== undefined){let data50 = data46.webhookEvents;if(Array.isArray(data50)){const len6 = data50.length;for(let i7=0; i7<len6; i7++){let data51 = data50[i7];if(typeof data51 !== "string"){const err119 = {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 = [err119];}else {vErrors.push(err119);}errors++;}if(!((((((data51 === "state-transition") || (data51 === "story-merged")) || (data51 === "story-closing")) || (data51 === "operator-message")) || (data51 === "merge.unlanded")) || (data51 === "merge.flip-failed"))){const err120 = {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 = [err120];}else {vErrors.push(err120);}errors++;}}let i8 = data50.length;let j1;if(i8 > 1){const indices1 = {};for(;i8--;){let item1 = data50[i8];if(typeof item1 !== "string"){continue;}if(typeof indices1[item1] == "number"){j1 = indices1[item1];const err121 = {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 = [err121];}else {vErrors.push(err121);}errors++;break;}indices1[item1] = i8;}}}else {const err122 = {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 = [err122];}else {vErrors.push(err122);}errors++;}}}else {const err123 = {instancePath:instancePath+"/github/notifications",schemaPath:"#/properties/github/properties/notifications/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err123];}else {vErrors.push(err123);}errors++;}}}else {const err124 = {instancePath:instancePath+"/github",schemaPath:"#/properties/github/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err124];}else {vErrors.push(err124);}errors++;}}if(data.planning !== undefined){let data52 = data.planning;if(data52 && typeof data52 == "object" && !Array.isArray(data52)){for(const key11 in data52){if(!(key11 === "navigation")){const err125 = {instancePath:instancePath+"/planning",schemaPath:"#/properties/planning/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key11},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err125];}else {vErrors.push(err125);}errors++;}}if(data52.navigation !== undefined){let data53 = data52.navigation;if(data53 && typeof data53 == "object" && !Array.isArray(data53)){for(const key12 in data53){if(!((key12 === "routeGlobs") || (key12 === "navRegistry"))){const err126 = {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 = [err126];}else {vErrors.push(err126);}errors++;}}if(data53.routeGlobs !== undefined){let data54 = data53.routeGlobs;if(Array.isArray(data54)){const len7 = data54.length;for(let i9=0; i9<len7; i9++){if(typeof data54[i9] !== "string"){const err127 = {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 = [err127];}else {vErrors.push(err127);}errors++;}}}else {const err128 = {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 = [err128];}else {vErrors.push(err128);}errors++;}}if(data53.navRegistry !== undefined){let data56 = data53.navRegistry;if(Array.isArray(data56)){const len8 = data56.length;for(let i10=0; i10<len8; i10++){if(typeof data56[i10] !== "string"){const err129 = {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 = [err129];}else {vErrors.push(err129);}errors++;}}}else {const err130 = {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 = [err130];}else {vErrors.push(err130);}errors++;}}}else {const err131 = {instancePath:instancePath+"/planning/navigation",schemaPath:"#/properties/planning/properties/navigation/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err131];}else {vErrors.push(err131);}errors++;}}}else {const err132 = {instancePath:instancePath+"/planning",schemaPath:"#/properties/planning/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err132];}else {vErrors.push(err132);}errors++;}}if(data.delivery !== undefined){let data58 = data.delivery;if(data58 && typeof data58 == "object" && !Array.isArray(data58)){for(const key13 in data58){if(!(func11.call(schema11.properties.delivery.properties, key13))){const err133 = {instancePath:instancePath+"/delivery",schemaPath:"#/properties/delivery/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key13},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err133];}else {vErrors.push(err133);}errors++;}}if(data58.execution !== undefined){let data59 = data58.execution;if(data59 && typeof data59 == "object" && !Array.isArray(data59)){for(const key14 in data59){if(!((((key14 === "fullSuiteLock") || (key14 === "capacity")) || (key14 === "workloads")) || (key14 === "preflightConcurrency"))){const err134 = {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 = [err134];}else {vErrors.push(err134);}errors++;}}if(data59.fullSuiteLock !== undefined){if(typeof data59.fullSuiteLock !== "boolean"){const err135 = {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 = [err135];}else {vErrors.push(err135);}errors++;}}if(data59.capacity !== undefined){let data61 = data59.capacity;if(!(((typeof data61 == "number") && (!(data61 % 1) && !isNaN(data61))) && (isFinite(data61)))){const err136 = {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 = [err136];}else {vErrors.push(err136);}errors++;}if((typeof data61 == "number") && (isFinite(data61))){if(data61 < 1 || isNaN(data61)){const err137 = {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 = [err137];}else {vErrors.push(err137);}errors++;}}}if(data59.workloads !== undefined){let data62 = data59.workloads;if(Array.isArray(data62)){const len9 = data62.length;for(let i11=0; i11<len9; i11++){let data63 = data62[i11];if(data63 && typeof data63 == "object" && !Array.isArray(data63)){if(data63.command === undefined){const err138 = {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 = [err138];}else {vErrors.push(err138);}errors++;}if(data63.weight === undefined){const err139 = {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 = [err139];}else {vErrors.push(err139);}errors++;}for(const key15 in data63){if(!((((((key15 === "command") || (key15 === "weight")) || (key15 === "resources")) || (key15 === "tiers")) || (key15 === "sizeCommand")) || (key15 === "backfill"))){const err140 = {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 = [err140];}else {vErrors.push(err140);}errors++;}}if(data63.tiers !== undefined){if(data63.sizeCommand === undefined){const err141 = {instancePath:instancePath+"/delivery/execution/workloads/" + i11,schemaPath:"#/properties/delivery/properties/execution/properties/workloads/items/dependencies",keyword:"dependencies",params:{property: "tiers",
17
17
  missingProperty: "sizeCommand",
18
18
  depsCount: 1,
19
19
  deps: "sizeCommand"},message:"must have property sizeCommand when property tiers is present"};if(vErrors === null){vErrors = [err141];}else {vErrors.push(err141);}errors++;}}if(data63.sizeCommand !== undefined){if(data63.tiers === undefined){const err142 = {instancePath:instancePath+"/delivery/execution/workloads/" + i11,schemaPath:"#/properties/delivery/properties/execution/properties/workloads/items/dependencies",keyword:"dependencies",params:{property: "sizeCommand",
@@ -22,4 +22,4 @@ const require = createRequire(import.meta.url);
22
22
  deps: "tiers"},message:"must have property tiers when property sizeCommand is present"};if(vErrors === null){vErrors = [err142];}else {vErrors.push(err142);}errors++;}}if(data63.command !== undefined){let data64 = data63.command;const _errs175 = errors;const _errs176 = errors;if(typeof data64 === "string"){if(!pattern0.test(data64)){const err143 = {};if(vErrors === null){vErrors = [err143];}else {vErrors.push(err143);}errors++;}}var valid51 = _errs176 === errors;if(valid51){const err144 = {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 = [err144];}else {vErrors.push(err144);}errors++;}else {errors = _errs175;if(vErrors !== null){if(_errs175){vErrors.length = _errs175;}else {vErrors = null;}}}if(typeof data64 === "string"){if(func2(data64) < 1){const err145 = {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 = [err145];}else {vErrors.push(err145);}errors++;}}else {const err146 = {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 = [err146];}else {vErrors.push(err146);}errors++;}}if(data63.weight !== undefined){let data65 = data63.weight;if(!(((typeof data65 == "number") && (!(data65 % 1) && !isNaN(data65))) && (isFinite(data65)))){const err147 = {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 = [err147];}else {vErrors.push(err147);}errors++;}if((typeof data65 == "number") && (isFinite(data65))){if(data65 < 1 || isNaN(data65)){const err148 = {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 = [err148];}else {vErrors.push(err148);}errors++;}}}if(data63.resources !== undefined){let data66 = data63.resources;if(Array.isArray(data66)){const len10 = data66.length;for(let i12=0; i12<len10; i12++){let data67 = data66[i12];if(typeof data67 === "string"){if(!pattern16.test(data67)){const err149 = {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 = [err149];}else {vErrors.push(err149);}errors++;}}else {const err150 = {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 = [err150];}else {vErrors.push(err150);}errors++;}}let i13 = data66.length;let j2;if(i13 > 1){const indices2 = {};for(;i13--;){let item2 = data66[i13];if(typeof item2 !== "string"){continue;}if(typeof indices2[item2] == "number"){j2 = indices2[item2];const err151 = {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 = [err151];}else {vErrors.push(err151);}errors++;break;}indices2[item2] = i13;}}}else {const err152 = {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 = [err152];}else {vErrors.push(err152);}errors++;}}if(data63.tiers !== undefined){let data68 = data63.tiers;if(Array.isArray(data68)){if(data68.length < 1){const err153 = {instancePath:instancePath+"/delivery/execution/workloads/" + i11+"/tiers",schemaPath:"#/properties/delivery/properties/execution/properties/workloads/items/properties/tiers/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err153];}else {vErrors.push(err153);}errors++;}const len11 = data68.length;for(let i14=0; i14<len11; i14++){let data69 = data68[i14];if(data69 && typeof data69 == "object" && !Array.isArray(data69)){if(data69.maxFiles === undefined){const err154 = {instancePath:instancePath+"/delivery/execution/workloads/" + i11+"/tiers/" + i14,schemaPath:"#/properties/delivery/properties/execution/properties/workloads/items/properties/tiers/items/required",keyword:"required",params:{missingProperty: "maxFiles"},message:"must have required property '"+"maxFiles"+"'"};if(vErrors === null){vErrors = [err154];}else {vErrors.push(err154);}errors++;}if(data69.weight === undefined){const err155 = {instancePath:instancePath+"/delivery/execution/workloads/" + i11+"/tiers/" + i14,schemaPath:"#/properties/delivery/properties/execution/properties/workloads/items/properties/tiers/items/required",keyword:"required",params:{missingProperty: "weight"},message:"must have required property '"+"weight"+"'"};if(vErrors === null){vErrors = [err155];}else {vErrors.push(err155);}errors++;}for(const key16 in data69){if(!((key16 === "maxFiles") || (key16 === "weight"))){const err156 = {instancePath:instancePath+"/delivery/execution/workloads/" + i11+"/tiers/" + i14,schemaPath:"#/properties/delivery/properties/execution/properties/workloads/items/properties/tiers/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key16},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err156];}else {vErrors.push(err156);}errors++;}}if(data69.maxFiles !== undefined){let data70 = data69.maxFiles;if(!(((typeof data70 == "number") && (!(data70 % 1) && !isNaN(data70))) && (isFinite(data70)))){const err157 = {instancePath:instancePath+"/delivery/execution/workloads/" + i11+"/tiers/" + i14+"/maxFiles",schemaPath:"#/properties/delivery/properties/execution/properties/workloads/items/properties/tiers/items/properties/maxFiles/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err157];}else {vErrors.push(err157);}errors++;}if((typeof data70 == "number") && (isFinite(data70))){if(data70 < 0 || isNaN(data70)){const err158 = {instancePath:instancePath+"/delivery/execution/workloads/" + i11+"/tiers/" + i14+"/maxFiles",schemaPath:"#/properties/delivery/properties/execution/properties/workloads/items/properties/tiers/items/properties/maxFiles/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err158];}else {vErrors.push(err158);}errors++;}}}if(data69.weight !== undefined){let data71 = data69.weight;if(!(((typeof data71 == "number") && (!(data71 % 1) && !isNaN(data71))) && (isFinite(data71)))){const err159 = {instancePath:instancePath+"/delivery/execution/workloads/" + i11+"/tiers/" + i14+"/weight",schemaPath:"#/properties/delivery/properties/execution/properties/workloads/items/properties/tiers/items/properties/weight/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err159];}else {vErrors.push(err159);}errors++;}if((typeof data71 == "number") && (isFinite(data71))){if(data71 < 1 || isNaN(data71)){const err160 = {instancePath:instancePath+"/delivery/execution/workloads/" + i11+"/tiers/" + i14+"/weight",schemaPath:"#/properties/delivery/properties/execution/properties/workloads/items/properties/tiers/items/properties/weight/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"};if(vErrors === null){vErrors = [err160];}else {vErrors.push(err160);}errors++;}}}}else {const err161 = {instancePath:instancePath+"/delivery/execution/workloads/" + i11+"/tiers/" + i14,schemaPath:"#/properties/delivery/properties/execution/properties/workloads/items/properties/tiers/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err161];}else {vErrors.push(err161);}errors++;}}}else {const err162 = {instancePath:instancePath+"/delivery/execution/workloads/" + i11+"/tiers",schemaPath:"#/properties/delivery/properties/execution/properties/workloads/items/properties/tiers/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err162];}else {vErrors.push(err162);}errors++;}}if(data63.sizeCommand !== undefined){let data72 = data63.sizeCommand;const _errs194 = errors;const _errs195 = errors;if(typeof data72 === "string"){if(!pattern0.test(data72)){const err163 = {};if(vErrors === null){vErrors = [err163];}else {vErrors.push(err163);}errors++;}}var valid58 = _errs195 === errors;if(valid58){const err164 = {instancePath:instancePath+"/delivery/execution/workloads/" + i11+"/sizeCommand",schemaPath:"#/properties/delivery/properties/execution/properties/workloads/items/properties/sizeCommand/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err164];}else {vErrors.push(err164);}errors++;}else {errors = _errs194;if(vErrors !== null){if(_errs194){vErrors.length = _errs194;}else {vErrors = null;}}}if(typeof data72 === "string"){if(func2(data72) < 1){const err165 = {instancePath:instancePath+"/delivery/execution/workloads/" + i11+"/sizeCommand",schemaPath:"#/properties/delivery/properties/execution/properties/workloads/items/properties/sizeCommand/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err165];}else {vErrors.push(err165);}errors++;}}else {const err166 = {instancePath:instancePath+"/delivery/execution/workloads/" + i11+"/sizeCommand",schemaPath:"#/properties/delivery/properties/execution/properties/workloads/items/properties/sizeCommand/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err166];}else {vErrors.push(err166);}errors++;}}if(data63.backfill !== undefined){if(typeof data63.backfill !== "boolean"){const err167 = {instancePath:instancePath+"/delivery/execution/workloads/" + i11+"/backfill",schemaPath:"#/properties/delivery/properties/execution/properties/workloads/items/properties/backfill/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err167];}else {vErrors.push(err167);}errors++;}}}else {const err168 = {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 = [err168];}else {vErrors.push(err168);}errors++;}}}else {const err169 = {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 = [err169];}else {vErrors.push(err169);}errors++;}}if(data59.preflightConcurrency !== undefined){let data74 = data59.preflightConcurrency;if(!(((typeof data74 == "number") && (!(data74 % 1) && !isNaN(data74))) && (isFinite(data74)))){const err170 = {instancePath:instancePath+"/delivery/execution/preflightConcurrency",schemaPath:"#/properties/delivery/properties/execution/properties/preflightConcurrency/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err170];}else {vErrors.push(err170);}errors++;}if((typeof data74 == "number") && (isFinite(data74))){if(data74 < 1 || isNaN(data74)){const err171 = {instancePath:instancePath+"/delivery/execution/preflightConcurrency",schemaPath:"#/properties/delivery/properties/execution/properties/preflightConcurrency/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"};if(vErrors === null){vErrors = [err171];}else {vErrors.push(err171);}errors++;}}}}else {const err172 = {instancePath:instancePath+"/delivery/execution",schemaPath:"#/properties/delivery/properties/execution/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err172];}else {vErrors.push(err172);}errors++;}}if(data58.docsFreshness !== undefined){let data75 = data58.docsFreshness;if(data75 && typeof data75 == "object" && !Array.isArray(data75)){for(const key17 in data75){if(!(key17 === "paths")){const err173 = {instancePath:instancePath+"/delivery/docsFreshness",schemaPath:"#/properties/delivery/properties/docsFreshness/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key17},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err173];}else {vErrors.push(err173);}errors++;}}if(data75.paths !== undefined){let data76 = data75.paths;if(Array.isArray(data76)){const len12 = data76.length;for(let i15=0; i15<len12; i15++){let data77 = data76[i15];const _errs207 = errors;const _errs208 = errors;if(typeof data77 === "string"){if(!pattern0.test(data77)){const err174 = {};if(vErrors === null){vErrors = [err174];}else {vErrors.push(err174);}errors++;}}var valid62 = _errs208 === errors;if(valid62){const err175 = {instancePath:instancePath+"/delivery/docsFreshness/paths/" + i15,schemaPath:"#/properties/delivery/properties/docsFreshness/properties/paths/items/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err175];}else {vErrors.push(err175);}errors++;}else {errors = _errs207;if(vErrors !== null){if(_errs207){vErrors.length = _errs207;}else {vErrors = null;}}}if(typeof data77 === "string"){if(func2(data77) < 1){const err176 = {instancePath:instancePath+"/delivery/docsFreshness/paths/" + i15,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 = [err176];}else {vErrors.push(err176);}errors++;}}else {const err177 = {instancePath:instancePath+"/delivery/docsFreshness/paths/" + i15,schemaPath:"#/properties/delivery/properties/docsFreshness/properties/paths/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err177];}else {vErrors.push(err177);}errors++;}}}else {const err178 = {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 = [err178];}else {vErrors.push(err178);}errors++;}}}else {const err179 = {instancePath:instancePath+"/delivery/docsFreshness",schemaPath:"#/properties/delivery/properties/docsFreshness/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err179];}else {vErrors.push(err179);}errors++;}}if(data58.tempRetention !== undefined){let data78 = data58.tempRetention;if(data78 && typeof data78 == "object" && !Array.isArray(data78)){for(const key18 in data78){if(!((key18 === "enabled") || (key18 === "classes"))){const err180 = {instancePath:instancePath+"/delivery/tempRetention",schemaPath:"#/properties/delivery/properties/tempRetention/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key18},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err180];}else {vErrors.push(err180);}errors++;}}if(data78.enabled !== undefined){if(typeof data78.enabled !== "boolean"){const err181 = {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 = [err181];}else {vErrors.push(err181);}errors++;}}if(data78.classes !== undefined){let data80 = data78.classes;if(data80 && typeof data80 == "object" && !Array.isArray(data80)){for(const key19 in data80){if(!(((((key19 === "orchestrationLogs") || (key19 === "validationEvidence")) || (key19 === "auditResults")) || (key19 === "planDirs")) || (key19 === "scratch"))){const err182 = {instancePath:instancePath+"/delivery/tempRetention/classes",schemaPath:"#/properties/delivery/properties/tempRetention/properties/classes/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key19},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err182];}else {vErrors.push(err182);}errors++;}}if(data80.orchestrationLogs !== undefined){if(typeof data80.orchestrationLogs !== "boolean"){const err183 = {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 = [err183];}else {vErrors.push(err183);}errors++;}}if(data80.validationEvidence !== undefined){if(typeof data80.validationEvidence !== "boolean"){const err184 = {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 = [err184];}else {vErrors.push(err184);}errors++;}}if(data80.auditResults !== undefined){if(typeof data80.auditResults !== "boolean"){const err185 = {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 = [err185];}else {vErrors.push(err185);}errors++;}}if(data80.planDirs !== undefined){if(typeof data80.planDirs !== "boolean"){const err186 = {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 = [err186];}else {vErrors.push(err186);}errors++;}}if(data80.scratch !== undefined){if(typeof data80.scratch !== "boolean"){const err187 = {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 = [err187];}else {vErrors.push(err187);}errors++;}}}else {const err188 = {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 = [err188];}else {vErrors.push(err188);}errors++;}}}else {const err189 = {instancePath:instancePath+"/delivery/tempRetention",schemaPath:"#/properties/delivery/properties/tempRetention/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err189];}else {vErrors.push(err189);}errors++;}}if(data58.deliverRunner !== undefined){let data86 = data58.deliverRunner;if(data86 && typeof data86 == "object" && !Array.isArray(data86)){for(const key20 in data86){if(!((key20 === "concurrencyCap") || (key20 === "footprintGuard"))){const err190 = {instancePath:instancePath+"/delivery/deliverRunner",schemaPath:"#/properties/delivery/properties/deliverRunner/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key20},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err190];}else {vErrors.push(err190);}errors++;}}if(data86.concurrencyCap !== undefined){let data87 = data86.concurrencyCap;if(!(((typeof data87 == "number") && (!(data87 % 1) && !isNaN(data87))) && (isFinite(data87)))){const err191 = {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 = [err191];}else {vErrors.push(err191);}errors++;}if((typeof data87 == "number") && (isFinite(data87))){if(data87 < 1 || isNaN(data87)){const err192 = {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 = [err192];}else {vErrors.push(err192);}errors++;}}}if(data86.footprintGuard !== undefined){let data88 = data86.footprintGuard;if(typeof data88 !== "string"){const err193 = {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 = [err193];}else {vErrors.push(err193);}errors++;}if(!((data88 === "enforce") || (data88 === "advisory"))){const err194 = {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 = [err194];}else {vErrors.push(err194);}errors++;}}}else {const err195 = {instancePath:instancePath+"/delivery/deliverRunner",schemaPath:"#/properties/delivery/properties/deliverRunner/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err195];}else {vErrors.push(err195);}errors++;}}if(data58.worktreeIsolation !== undefined){let data89 = data58.worktreeIsolation;const _errs237 = errors;let valid67 = true;const _errs238 = errors;if(data89 && typeof data89 == "object" && !Array.isArray(data89)){let missing1;if((data89.enabled === undefined) && (missing1 = "enabled")){const err196 = {};if(vErrors === null){vErrors = [err196];}else {vErrors.push(err196);}errors++;}else {if(data89.enabled !== undefined){if(true !== data89.enabled){const err197 = {};if(vErrors === null){vErrors = [err197];}else {vErrors.push(err197);}errors++;}}}}var _valid0 = _errs238 === errors;errors = _errs237;if(vErrors !== null){if(_errs237){vErrors.length = _errs237;}else {vErrors = null;}}if(_valid0){const _errs240 = errors;if(data89 && typeof data89 == "object" && !Array.isArray(data89)){if(data89.root === undefined){const err198 = {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 = [err198];}else {vErrors.push(err198);}errors++;}}var _valid0 = _errs240 === errors;valid67 = _valid0;}if(!valid67){const err199 = {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 = [err199];}else {vErrors.push(err199);}errors++;}if(data89 && typeof data89 == "object" && !Array.isArray(data89)){for(const key21 in data89){if(!(((((((key21 === "enabled") || (key21 === "root")) || (key21 === "nodeModulesStrategy")) || (key21 === "primeFromPath")) || (key21 === "allowSymlinkOnWindows")) || (key21 === "reapOnSuccess")) || (key21 === "bootstrapFiles"))){const err200 = {instancePath:instancePath+"/delivery/worktreeIsolation",schemaPath:"#/properties/delivery/properties/worktreeIsolation/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key21},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err200];}else {vErrors.push(err200);}errors++;}}if(data89.enabled !== undefined){if(typeof data89.enabled !== "boolean"){const err201 = {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 = [err201];}else {vErrors.push(err201);}errors++;}}if(data89.root !== undefined){let data92 = data89.root;if(typeof data92 === "string"){if(func2(data92) < 1){const err202 = {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 = [err202];}else {vErrors.push(err202);}errors++;}}else {const err203 = {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 = [err203];}else {vErrors.push(err203);}errors++;}}if(data89.nodeModulesStrategy !== undefined){let data93 = data89.nodeModulesStrategy;if(typeof data93 !== "string"){const err204 = {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 = [err204];}else {vErrors.push(err204);}errors++;}if(!((((data93 === "per-worktree") || (data93 === "clone")) || (data93 === "symlink")) || (data93 === "pnpm-store"))){const err205 = {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 = [err205];}else {vErrors.push(err205);}errors++;}}if(data89.primeFromPath !== undefined){let data94 = data89.primeFromPath;if((typeof data94 !== "string") && (data94 !== null)){const err206 = {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 = [err206];}else {vErrors.push(err206);}errors++;}if(typeof data94 === "string"){if(func2(data94) < 1){const err207 = {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 = [err207];}else {vErrors.push(err207);}errors++;}}}if(data89.allowSymlinkOnWindows !== undefined){if(typeof data89.allowSymlinkOnWindows !== "boolean"){const err208 = {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 = [err208];}else {vErrors.push(err208);}errors++;}}if(data89.reapOnSuccess !== undefined){if(typeof data89.reapOnSuccess !== "boolean"){const err209 = {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 = [err209];}else {vErrors.push(err209);}errors++;}}if(data89.bootstrapFiles !== undefined){let data97 = data89.bootstrapFiles;if(Array.isArray(data97)){const len13 = data97.length;for(let i16=0; i16<len13; i16++){let data98 = data97[i16];if(typeof data98 === "string"){if(func2(data98) < 1){const err210 = {instancePath:instancePath+"/delivery/worktreeIsolation/bootstrapFiles/" + i16,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 = [err210];}else {vErrors.push(err210);}errors++;}}else {const err211 = {instancePath:instancePath+"/delivery/worktreeIsolation/bootstrapFiles/" + i16,schemaPath:"#/properties/delivery/properties/worktreeIsolation/properties/bootstrapFiles/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err211];}else {vErrors.push(err211);}errors++;}}}else {const err212 = {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 = [err212];}else {vErrors.push(err212);}errors++;}}}else {const err213 = {instancePath:instancePath+"/delivery/worktreeIsolation",schemaPath:"#/properties/delivery/properties/worktreeIsolation/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err213];}else {vErrors.push(err213);}errors++;}}if(data58.quality !== undefined){let data99 = data58.quality;if(data99 && typeof data99 == "object" && !Array.isArray(data99)){for(const key22 in data99){if(!((((key22 === "gates") || (key22 === "autoRefresh")) || (key22 === "ratchets")) || (key22 === "requireBaselines"))){const err214 = {instancePath:instancePath+"/delivery/quality",schemaPath:"#/properties/delivery/properties/quality/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key22},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err214];}else {vErrors.push(err214);}errors++;}}if(data99.gates !== undefined){let data100 = data99.gates;if(data100 && typeof data100 == "object" && !Array.isArray(data100)){for(const key23 in data100){if(!((((((key23 === "coverage") || (key23 === "crap")) || (key23 === "maintainability")) || (key23 === "mutation")) || (key23 === "bundle-size")) || (key23 === "duplication"))){const err215 = {instancePath:instancePath+"/delivery/quality/gates",schemaPath:"#/properties/delivery/properties/quality/properties/gates/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key23},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err215];}else {vErrors.push(err215);}errors++;}}if(data100.coverage !== undefined){let data101 = data100.coverage;if(data101 && typeof data101 == "object" && !Array.isArray(data101)){for(const key24 in data101){if(!(func11.call(schema11.properties.delivery.properties.quality.properties.gates.properties.coverage.properties, key24))){const err216 = {instancePath:instancePath+"/delivery/quality/gates/coverage",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key24},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err216];}else {vErrors.push(err216);}errors++;}}if(data101.enabled !== undefined){if(typeof data101.enabled !== "boolean"){const err217 = {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 = [err217];}else {vErrors.push(err217);}errors++;}}if(data101.baselinePath !== undefined){let data103 = data101.baselinePath;const _errs271 = errors;const _errs272 = errors;if(typeof data103 === "string"){if(!pattern0.test(data103)){const err218 = {};if(vErrors === null){vErrors = [err218];}else {vErrors.push(err218);}errors++;}}var valid75 = _errs272 === errors;if(valid75){const err219 = {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 = [err219];}else {vErrors.push(err219);}errors++;}else {errors = _errs271;if(vErrors !== null){if(_errs271){vErrors.length = _errs271;}else {vErrors = null;}}}if(typeof data103 === "string"){if(func2(data103) < 1){const err220 = {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 = [err220];}else {vErrors.push(err220);}errors++;}}else {const err221 = {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 = [err221];}else {vErrors.push(err221);}errors++;}}if(data101.tolerance !== undefined){let data104 = data101.tolerance;if(data104 && typeof data104 == "object" && !Array.isArray(data104)){if(data104.kind === undefined){const err222 = {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 = [err222];}else {vErrors.push(err222);}errors++;}if(data104.value === undefined){const err223 = {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 = [err223];}else {vErrors.push(err223);}errors++;}for(const key25 in data104){if(!((key25 === "kind") || (key25 === "value"))){const err224 = {instancePath:instancePath+"/delivery/quality/gates/coverage/tolerance",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/tolerance/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key25},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err224];}else {vErrors.push(err224);}errors++;}}if(data104.kind !== undefined){let data105 = data104.kind;if(typeof data105 !== "string"){const err225 = {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 = [err225];}else {vErrors.push(err225);}errors++;}if(!((data105 === "absolute") || (data105 === "percent"))){const err226 = {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 = [err226];}else {vErrors.push(err226);}errors++;}}if(data104.value !== undefined){let data106 = data104.value;if((typeof data106 == "number") && (isFinite(data106))){if(data106 < 0 || isNaN(data106)){const err227 = {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 = [err227];}else {vErrors.push(err227);}errors++;}}else {const err228 = {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 = [err228];}else {vErrors.push(err228);}errors++;}}}else {const err229 = {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 = [err229];}else {vErrors.push(err229);}errors++;}}if(data101.floors !== undefined){let data107 = data101.floors;if(data107 && typeof data107 == "object" && !Array.isArray(data107)){for(const key26 in data107){let data108 = data107[key26];if(data108 && typeof data108 == "object" && !Array.isArray(data108)){for(const key27 in data108){let data109 = data108[key27];if(!((typeof data109 == "number") && (isFinite(data109)))){const err230 = {instancePath:instancePath+"/delivery/quality/gates/coverage/floors/" + key26.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + key27.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 = [err230];}else {vErrors.push(err230);}errors++;}}}else {const err231 = {instancePath:instancePath+"/delivery/quality/gates/coverage/floors/" + key26.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 = [err231];}else {vErrors.push(err231);}errors++;}}}else {const err232 = {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 = [err232];}else {vErrors.push(err232);}errors++;}}if(data101.components !== undefined){let data110 = data101.components;if(data110 && typeof data110 == "object" && !Array.isArray(data110)){for(const key28 in data110){let data111 = data110[key28];if(Array.isArray(data111)){const len14 = data111.length;for(let i17=0; i17<len14; i17++){let data112 = data111[i17];if(typeof data112 === "string"){if(func2(data112) < 1){const err233 = {instancePath:instancePath+"/delivery/quality/gates/coverage/components/" + key28.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + i17,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 = [err233];}else {vErrors.push(err233);}errors++;}}else {const err234 = {instancePath:instancePath+"/delivery/quality/gates/coverage/components/" + key28.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + i17,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 = [err234];}else {vErrors.push(err234);}errors++;}}}else {const err235 = {instancePath:instancePath+"/delivery/quality/gates/coverage/components/" + key28.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 = [err235];}else {vErrors.push(err235);}errors++;}}}else {const err236 = {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 = [err236];}else {vErrors.push(err236);}errors++;}}if(data101.coveragePath !== undefined){let data113 = data101.coveragePath;const _errs297 = errors;const _errs298 = errors;if(typeof data113 === "string"){if(!pattern0.test(data113)){const err237 = {};if(vErrors === null){vErrors = [err237];}else {vErrors.push(err237);}errors++;}}var valid82 = _errs298 === errors;if(valid82){const err238 = {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 = [err238];}else {vErrors.push(err238);}errors++;}else {errors = _errs297;if(vErrors !== null){if(_errs297){vErrors.length = _errs297;}else {vErrors = null;}}}if(typeof data113 === "string"){if(func2(data113) < 1){const err239 = {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 = [err239];}else {vErrors.push(err239);}errors++;}}else {const err240 = {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 = [err240];}else {vErrors.push(err240);}errors++;}}if(data101.captureScript !== undefined){let data114 = data101.captureScript;if(typeof data114 === "string"){if(func2(data114) < 1){const err241 = {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 = [err241];}else {vErrors.push(err241);}errors++;}if(!pattern21.test(data114)){const err242 = {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 = [err242];}else {vErrors.push(err242);}errors++;}}else {const err243 = {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 = [err243];}else {vErrors.push(err243);}errors++;}}if(data101.captureScope !== undefined){let data115 = data101.captureScope;if(typeof data115 !== "string"){const err244 = {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 = [err244];}else {vErrors.push(err244);}errors++;}if(!((data115 === "full") || (data115 === "affected"))){const err245 = {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 = [err245];}else {vErrors.push(err245);}errors++;}}if(data101.timeoutMs !== undefined){let data116 = data101.timeoutMs;if(!(((typeof data116 == "number") && (!(data116 % 1) && !isNaN(data116))) && (isFinite(data116)))){const err246 = {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 = [err246];}else {vErrors.push(err246);}errors++;}if((typeof data116 == "number") && (isFinite(data116))){if(data116 > 7200000 || isNaN(data116)){const err247 = {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 = [err247];}else {vErrors.push(err247);}errors++;}if(data116 < 60000 || isNaN(data116)){const err248 = {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 = [err248];}else {vErrors.push(err248);}errors++;}}}if(data101.onOverBudget !== undefined){let data117 = data101.onOverBudget;if(typeof data117 !== "string"){const err249 = {instancePath:instancePath+"/delivery/quality/gates/coverage/onOverBudget",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/onOverBudget/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err249];}else {vErrors.push(err249);}errors++;}if(!((data117 === "block") || (data117 === "defer-to-ci"))){const err250 = {instancePath:instancePath+"/delivery/quality/gates/coverage/onOverBudget",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/onOverBudget/enum",keyword:"enum",params:{allowedValues: schema11.properties.delivery.properties.quality.properties.gates.properties.coverage.properties.onOverBudget.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err250];}else {vErrors.push(err250);}errors++;}}if(data101.suiteOfRecord !== undefined){let data118 = data101.suiteOfRecord;if(typeof data118 !== "string"){const err251 = {instancePath:instancePath+"/delivery/quality/gates/coverage/suiteOfRecord",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/suiteOfRecord/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err251];}else {vErrors.push(err251);}errors++;}if(!((data118 === "local") || (data118 === "ci"))){const err252 = {instancePath:instancePath+"/delivery/quality/gates/coverage/suiteOfRecord",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/suiteOfRecord/enum",keyword:"enum",params:{allowedValues: schema11.properties.delivery.properties.quality.properties.gates.properties.coverage.properties.suiteOfRecord.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err252];}else {vErrors.push(err252);}errors++;}}if(data101.ciRatchetCheck !== undefined){let data119 = data101.ciRatchetCheck;if((typeof data119 !== "string") && (data119 !== null)){const err253 = {instancePath:instancePath+"/delivery/quality/gates/coverage/ciRatchetCheck",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/ciRatchetCheck/type",keyword:"type",params:{type: schema11.properties.delivery.properties.quality.properties.gates.properties.coverage.properties.ciRatchetCheck.type},message:"must be string,null"};if(vErrors === null){vErrors = [err253];}else {vErrors.push(err253);}errors++;}if(typeof data119 === "string"){if(func2(data119) < 1){const err254 = {instancePath:instancePath+"/delivery/quality/gates/coverage/ciRatchetCheck",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/ciRatchetCheck/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err254];}else {vErrors.push(err254);}errors++;}}}if(data101.nonInputGlobs !== undefined){let data120 = data101.nonInputGlobs;if(Array.isArray(data120)){const len15 = data120.length;for(let i18=0; i18<len15; i18++){let data121 = data120[i18];const _errs315 = errors;const _errs316 = errors;if(typeof data121 === "string"){if(!pattern0.test(data121)){const err255 = {};if(vErrors === null){vErrors = [err255];}else {vErrors.push(err255);}errors++;}}var valid85 = _errs316 === errors;if(valid85){const err256 = {instancePath:instancePath+"/delivery/quality/gates/coverage/nonInputGlobs/" + i18,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/nonInputGlobs/items/not",keyword:"not",params:{},message:"must NOT be valid"};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(typeof data121 === "string"){if(func2(data121) < 1){const err257 = {instancePath:instancePath+"/delivery/quality/gates/coverage/nonInputGlobs/" + i18,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/nonInputGlobs/items/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/coverage/nonInputGlobs/" + i18,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/nonInputGlobs/items/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/coverage/nonInputGlobs",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/nonInputGlobs/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err259];}else {vErrors.push(err259);}errors++;}}if(data101.captureHandlesConfigChanges !== undefined){if(typeof data101.captureHandlesConfigChanges !== "boolean"){const err260 = {instancePath:instancePath+"/delivery/quality/gates/coverage/captureHandlesConfigChanges",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/captureHandlesConfigChanges/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err260];}else {vErrors.push(err260);}errors++;}}if(data101.ownFixDeltaMaxFiles !== undefined){let data123 = data101.ownFixDeltaMaxFiles;if(!(((typeof data123 == "number") && (!(data123 % 1) && !isNaN(data123))) && (isFinite(data123)))){const err261 = {instancePath:instancePath+"/delivery/quality/gates/coverage/ownFixDeltaMaxFiles",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/ownFixDeltaMaxFiles/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err261];}else {vErrors.push(err261);}errors++;}if((typeof data123 == "number") && (isFinite(data123))){if(data123 > 50 || isNaN(data123)){const err262 = {instancePath:instancePath+"/delivery/quality/gates/coverage/ownFixDeltaMaxFiles",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/ownFixDeltaMaxFiles/maximum",keyword:"maximum",params:{comparison: "<=", limit: 50},message:"must be <= 50"};if(vErrors === null){vErrors = [err262];}else {vErrors.push(err262);}errors++;}if(data123 < 0 || isNaN(data123)){const err263 = {instancePath:instancePath+"/delivery/quality/gates/coverage/ownFixDeltaMaxFiles",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/ownFixDeltaMaxFiles/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err263];}else {vErrors.push(err263);}errors++;}}}}else {const err264 = {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 = [err264];}else {vErrors.push(err264);}errors++;}}if(data100.crap !== undefined){let data124 = data100.crap;if(data124 && typeof data124 == "object" && !Array.isArray(data124)){for(const key29 in data124){if(!(func11.call(schema11.properties.delivery.properties.quality.properties.gates.properties.crap.properties, key29))){const err265 = {instancePath:instancePath+"/delivery/quality/gates/crap",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key29},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err265];}else {vErrors.push(err265);}errors++;}}if(data124.captureScript !== undefined){if(data124.coveragePath === undefined){const err266 = {instancePath:instancePath+"/delivery/quality/gates/crap",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/dependencies",keyword:"dependencies",params:{property: "captureScript",
23
23
  missingProperty: "coveragePath",
24
24
  depsCount: 1,
25
- deps: "coveragePath"},message:"must have property coveragePath when property captureScript is present"};if(vErrors === null){vErrors = [err266];}else {vErrors.push(err266);}errors++;}}if(data124.enabled !== undefined){if(typeof data124.enabled !== "boolean"){const err267 = {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 = [err267];}else {vErrors.push(err267);}errors++;}}if(data124.baselinePath !== undefined){let data126 = data124.baselinePath;const _errs328 = errors;const _errs329 = errors;if(typeof data126 === "string"){if(!pattern0.test(data126)){const err268 = {};if(vErrors === null){vErrors = [err268];}else {vErrors.push(err268);}errors++;}}var valid88 = _errs329 === errors;if(valid88){const err269 = {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 = [err269];}else {vErrors.push(err269);}errors++;}else {errors = _errs328;if(vErrors !== null){if(_errs328){vErrors.length = _errs328;}else {vErrors = null;}}}if(typeof data126 === "string"){if(func2(data126) < 1){const err270 = {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 = [err270];}else {vErrors.push(err270);}errors++;}}else {const err271 = {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 = [err271];}else {vErrors.push(err271);}errors++;}}if(data124.tolerance !== undefined){let data127 = data124.tolerance;if(data127 && typeof data127 == "object" && !Array.isArray(data127)){if(data127.kind === undefined){const err272 = {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 = [err272];}else {vErrors.push(err272);}errors++;}if(data127.value === undefined){const err273 = {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 = [err273];}else {vErrors.push(err273);}errors++;}for(const key30 in data127){if(!((key30 === "kind") || (key30 === "value"))){const err274 = {instancePath:instancePath+"/delivery/quality/gates/crap/tolerance",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/tolerance/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key30},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err274];}else {vErrors.push(err274);}errors++;}}if(data127.kind !== undefined){let data128 = data127.kind;if(typeof data128 !== "string"){const err275 = {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 = [err275];}else {vErrors.push(err275);}errors++;}if(!((data128 === "absolute") || (data128 === "percent"))){const err276 = {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 = [err276];}else {vErrors.push(err276);}errors++;}}if(data127.value !== undefined){let data129 = data127.value;if((typeof data129 == "number") && (isFinite(data129))){if(data129 < 0 || isNaN(data129)){const err277 = {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 = [err277];}else {vErrors.push(err277);}errors++;}}else {const err278 = {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 = [err278];}else {vErrors.push(err278);}errors++;}}}else {const err279 = {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 = [err279];}else {vErrors.push(err279);}errors++;}}if(data124.floors !== undefined){let data130 = data124.floors;if(data130 && typeof data130 == "object" && !Array.isArray(data130)){for(const key31 in data130){let data131 = data130[key31];if(data131 && typeof data131 == "object" && !Array.isArray(data131)){for(const key32 in data131){let data132 = data131[key32];if(!((typeof data132 == "number") && (isFinite(data132)))){const err280 = {instancePath:instancePath+"/delivery/quality/gates/crap/floors/" + key31.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + key32.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 = [err280];}else {vErrors.push(err280);}errors++;}}}else {const err281 = {instancePath:instancePath+"/delivery/quality/gates/crap/floors/" + key31.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 = [err281];}else {vErrors.push(err281);}errors++;}}}else {const err282 = {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 = [err282];}else {vErrors.push(err282);}errors++;}}if(data124.components !== undefined){let data133 = data124.components;if(data133 && typeof data133 == "object" && !Array.isArray(data133)){for(const key33 in data133){let data134 = data133[key33];if(Array.isArray(data134)){const len16 = data134.length;for(let i19=0; i19<len16; i19++){let data135 = data134[i19];if(typeof data135 === "string"){if(func2(data135) < 1){const err283 = {instancePath:instancePath+"/delivery/quality/gates/crap/components/" + key33.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + i19,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 = [err283];}else {vErrors.push(err283);}errors++;}}else {const err284 = {instancePath:instancePath+"/delivery/quality/gates/crap/components/" + key33.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + i19,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 = [err284];}else {vErrors.push(err284);}errors++;}}}else {const err285 = {instancePath:instancePath+"/delivery/quality/gates/crap/components/" + key33.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 = [err285];}else {vErrors.push(err285);}errors++;}}}else {const err286 = {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 = [err286];}else {vErrors.push(err286);}errors++;}}if(data124.targetDirs !== undefined){let data136 = data124.targetDirs;const _errs353 = errors;let valid95 = false;let passing0 = null;const _errs354 = errors;if(Array.isArray(data136)){const len17 = data136.length;for(let i20=0; i20<len17; i20++){if(typeof data136[i20] !== "string"){const err287 = {instancePath:instancePath+"/delivery/quality/gates/crap/targetDirs/" + i20,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 = [err287];}else {vErrors.push(err287);}errors++;}}}else {const err288 = {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 = [err288];}else {vErrors.push(err288);}errors++;}var _valid1 = _errs354 === errors;if(_valid1){valid95 = true;passing0 = 0;}const _errs358 = errors;if(data136 && typeof data136 == "object" && !Array.isArray(data136)){for(const key34 in data136){if(!((key34 === "append") || (key34 === "prepend"))){const err289 = {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: key34},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err289];}else {vErrors.push(err289);}errors++;}}if(data136.append !== undefined){let data138 = data136.append;if(Array.isArray(data138)){const len18 = data138.length;for(let i21=0; i21<len18; i21++){if(typeof data138[i21] !== "string"){const err290 = {instancePath:instancePath+"/delivery/quality/gates/crap/targetDirs/append/" + i21,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 = [err290];}else {vErrors.push(err290);}errors++;}}}else {const err291 = {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 = [err291];}else {vErrors.push(err291);}errors++;}}if(data136.prepend !== undefined){let data140 = data136.prepend;if(Array.isArray(data140)){const len19 = data140.length;for(let i22=0; i22<len19; i22++){if(typeof data140[i22] !== "string"){const err292 = {instancePath:instancePath+"/delivery/quality/gates/crap/targetDirs/prepend/" + i22,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 = [err292];}else {vErrors.push(err292);}errors++;}}}else {const err293 = {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 = [err293];}else {vErrors.push(err293);}errors++;}}}else {const err294 = {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 = [err294];}else {vErrors.push(err294);}errors++;}var _valid1 = _errs358 === errors;if(_valid1 && valid95){valid95 = false;passing0 = [passing0, 1];}else {if(_valid1){valid95 = true;passing0 = 1;}}if(!valid95){const err295 = {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 = [err295];}else {vErrors.push(err295);}errors++;}else {errors = _errs353;if(vErrors !== null){if(_errs353){vErrors.length = _errs353;}else {vErrors = null;}}}}if(data124.newMethodCeiling !== undefined){let data142 = data124.newMethodCeiling;if(!(((typeof data142 == "number") && (!(data142 % 1) && !isNaN(data142))) && (isFinite(data142)))){const err296 = {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 = [err296];}else {vErrors.push(err296);}errors++;}if((typeof data142 == "number") && (isFinite(data142))){if(data142 < 1 || isNaN(data142)){const err297 = {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 = [err297];}else {vErrors.push(err297);}errors++;}}}if(data124.requireCoverage !== undefined){if(typeof data124.requireCoverage !== "boolean"){const err298 = {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 = [err298];}else {vErrors.push(err298);}errors++;}}if(data124.minMethodResolutionRate !== undefined){let data144 = data124.minMethodResolutionRate;if((typeof data144 == "number") && (isFinite(data144))){if(data144 > 1 || isNaN(data144)){const err299 = {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 = [err299];}else {vErrors.push(err299);}errors++;}if(data144 < 0 || isNaN(data144)){const err300 = {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 = [err300];}else {vErrors.push(err300);}errors++;}}else {const err301 = {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 = [err301];}else {vErrors.push(err301);}errors++;}}if(data124.ignoreGlobs !== undefined){let data145 = data124.ignoreGlobs;if(Array.isArray(data145)){const len20 = data145.length;for(let i23=0; i23<len20; i23++){let data146 = data145[i23];if(typeof data146 === "string"){if(func2(data146) < 1){const err302 = {instancePath:instancePath+"/delivery/quality/gates/crap/ignoreGlobs/" + i23,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 = [err302];}else {vErrors.push(err302);}errors++;}}else {const err303 = {instancePath:instancePath+"/delivery/quality/gates/crap/ignoreGlobs/" + i23,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 = [err303];}else {vErrors.push(err303);}errors++;}}}else {const err304 = {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 = [err304];}else {vErrors.push(err304);}errors++;}}if(data124.incrementalCoverage !== undefined){let data147 = data124.incrementalCoverage;if(data147 && typeof data147 == "object" && !Array.isArray(data147)){for(const key35 in data147){if(!(((key35 === "skipWhenUnchanged") || (key35 === "baselineJoin")) || (key35 === "baseRef"))){const err305 = {instancePath:instancePath+"/delivery/quality/gates/crap/incrementalCoverage",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/incrementalCoverage/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key35},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err305];}else {vErrors.push(err305);}errors++;}}if(data147.skipWhenUnchanged !== undefined){if(typeof data147.skipWhenUnchanged !== "boolean"){const err306 = {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 = [err306];}else {vErrors.push(err306);}errors++;}}if(data147.baselineJoin !== undefined){if(typeof data147.baselineJoin !== "boolean"){const err307 = {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 = [err307];}else {vErrors.push(err307);}errors++;}}if(data147.baseRef !== undefined){let data150 = data147.baseRef;if(typeof data150 === "string"){if(func2(data150) < 1){const err308 = {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 = [err308];}else {vErrors.push(err308);}errors++;}}else {const err309 = {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 = [err309];}else {vErrors.push(err309);}errors++;}}}else {const err310 = {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 = [err310];}else {vErrors.push(err310);}errors++;}}if(data124.previewScope !== undefined){let data151 = data124.previewScope;if(typeof data151 !== "string"){const err311 = {instancePath:instancePath+"/delivery/quality/gates/crap/previewScope",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/previewScope/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err311];}else {vErrors.push(err311);}errors++;}if(!((data151 === "file") || (data151 === "touched-methods"))){const err312 = {instancePath:instancePath+"/delivery/quality/gates/crap/previewScope",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/previewScope/enum",keyword:"enum",params:{allowedValues: schema11.properties.delivery.properties.quality.properties.gates.properties.crap.properties.previewScope.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err312];}else {vErrors.push(err312);}errors++;}}if(data124.coveragePath !== undefined){let data152 = data124.coveragePath;if((typeof data152 !== "string") && (data152 !== null)){const err313 = {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 = [err313];}else {vErrors.push(err313);}errors++;}if(typeof data152 === "string"){if(func2(data152) < 1){const err314 = {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 = [err314];}else {vErrors.push(err314);}errors++;}}}if(data124.captureScript !== undefined){let data153 = data124.captureScript;if(typeof data153 === "string"){if(func2(data153) < 1){const err315 = {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 = [err315];}else {vErrors.push(err315);}errors++;}if(!pattern21.test(data153)){const err316 = {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 = [err316];}else {vErrors.push(err316);}errors++;}}else {const err317 = {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 = [err317];}else {vErrors.push(err317);}errors++;}}}else {const err318 = {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 = [err318];}else {vErrors.push(err318);}errors++;}}if(data100.maintainability !== undefined){let data154 = data100.maintainability;if(data154 && typeof data154 == "object" && !Array.isArray(data154)){for(const key36 in data154){if(!(((((((key36 === "enabled") || (key36 === "baselinePath")) || (key36 === "tolerance")) || (key36 === "floors")) || (key36 === "components")) || (key36 === "targetDirs")) || (key36 === "ignoreGlobs"))){const err319 = {instancePath:instancePath+"/delivery/quality/gates/maintainability",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key36},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err319];}else {vErrors.push(err319);}errors++;}}if(data154.enabled !== undefined){if(typeof data154.enabled !== "boolean"){const err320 = {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 = [err320];}else {vErrors.push(err320);}errors++;}}if(data154.baselinePath !== undefined){let data156 = data154.baselinePath;const _errs401 = errors;const _errs402 = errors;if(typeof data156 === "string"){if(!pattern0.test(data156)){const err321 = {};if(vErrors === null){vErrors = [err321];}else {vErrors.push(err321);}errors++;}}var valid107 = _errs402 === errors;if(valid107){const err322 = {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 = [err322];}else {vErrors.push(err322);}errors++;}else {errors = _errs401;if(vErrors !== null){if(_errs401){vErrors.length = _errs401;}else {vErrors = null;}}}if(typeof data156 === "string"){if(func2(data156) < 1){const err323 = {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 = [err323];}else {vErrors.push(err323);}errors++;}}else {const err324 = {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 = [err324];}else {vErrors.push(err324);}errors++;}}if(data154.tolerance !== undefined){let data157 = data154.tolerance;if(data157 && typeof data157 == "object" && !Array.isArray(data157)){if(data157.kind === undefined){const err325 = {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 = [err325];}else {vErrors.push(err325);}errors++;}if(data157.value === undefined){const err326 = {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 = [err326];}else {vErrors.push(err326);}errors++;}for(const key37 in data157){if(!((key37 === "kind") || (key37 === "value"))){const err327 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/tolerance",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/tolerance/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key37},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err327];}else {vErrors.push(err327);}errors++;}}if(data157.kind !== undefined){let data158 = data157.kind;if(typeof data158 !== "string"){const err328 = {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 = [err328];}else {vErrors.push(err328);}errors++;}if(!((data158 === "absolute") || (data158 === "percent"))){const err329 = {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 = [err329];}else {vErrors.push(err329);}errors++;}}if(data157.value !== undefined){let data159 = data157.value;if((typeof data159 == "number") && (isFinite(data159))){if(data159 < 0 || isNaN(data159)){const err330 = {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 = [err330];}else {vErrors.push(err330);}errors++;}}else {const err331 = {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 = [err331];}else {vErrors.push(err331);}errors++;}}}else {const err332 = {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 = [err332];}else {vErrors.push(err332);}errors++;}}if(data154.floors !== undefined){let data160 = data154.floors;if(data160 && typeof data160 == "object" && !Array.isArray(data160)){for(const key38 in data160){let data161 = data160[key38];if(data161 && typeof data161 == "object" && !Array.isArray(data161)){for(const key39 in data161){let data162 = data161[key39];if(!((typeof data162 == "number") && (isFinite(data162)))){const err333 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/floors/" + key38.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + key39.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 = [err333];}else {vErrors.push(err333);}errors++;}}}else {const err334 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/floors/" + key38.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 = [err334];}else {vErrors.push(err334);}errors++;}}}else {const err335 = {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 = [err335];}else {vErrors.push(err335);}errors++;}}if(data154.components !== undefined){let data163 = data154.components;if(data163 && typeof data163 == "object" && !Array.isArray(data163)){for(const key40 in data163){let data164 = data163[key40];if(Array.isArray(data164)){const len21 = data164.length;for(let i24=0; i24<len21; i24++){let data165 = data164[i24];if(typeof data165 === "string"){if(func2(data165) < 1){const err336 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/components/" + key40.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + i24,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 = [err336];}else {vErrors.push(err336);}errors++;}}else {const err337 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/components/" + key40.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + i24,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 = [err337];}else {vErrors.push(err337);}errors++;}}}else {const err338 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/components/" + key40.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 = [err338];}else {vErrors.push(err338);}errors++;}}}else {const err339 = {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 = [err339];}else {vErrors.push(err339);}errors++;}}if(data154.targetDirs !== undefined){let data166 = data154.targetDirs;const _errs426 = errors;let valid114 = false;let passing1 = null;const _errs427 = errors;if(Array.isArray(data166)){const len22 = data166.length;for(let i25=0; i25<len22; i25++){if(typeof data166[i25] !== "string"){const err340 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/targetDirs/" + i25,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 = [err340];}else {vErrors.push(err340);}errors++;}}}else {const err341 = {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 = [err341];}else {vErrors.push(err341);}errors++;}var _valid2 = _errs427 === errors;if(_valid2){valid114 = true;passing1 = 0;}const _errs431 = errors;if(data166 && typeof data166 == "object" && !Array.isArray(data166)){for(const key41 in data166){if(!((key41 === "append") || (key41 === "prepend"))){const err342 = {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: key41},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err342];}else {vErrors.push(err342);}errors++;}}if(data166.append !== undefined){let data168 = data166.append;if(Array.isArray(data168)){const len23 = data168.length;for(let i26=0; i26<len23; i26++){if(typeof data168[i26] !== "string"){const err343 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/targetDirs/append/" + i26,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 = [err343];}else {vErrors.push(err343);}errors++;}}}else {const err344 = {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 = [err344];}else {vErrors.push(err344);}errors++;}}if(data166.prepend !== undefined){let data170 = data166.prepend;if(Array.isArray(data170)){const len24 = data170.length;for(let i27=0; i27<len24; i27++){if(typeof data170[i27] !== "string"){const err345 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/targetDirs/prepend/" + i27,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 = [err345];}else {vErrors.push(err345);}errors++;}}}else {const err346 = {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 = [err346];}else {vErrors.push(err346);}errors++;}}}else {const err347 = {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 = [err347];}else {vErrors.push(err347);}errors++;}var _valid2 = _errs431 === errors;if(_valid2 && valid114){valid114 = false;passing1 = [passing1, 1];}else {if(_valid2){valid114 = true;passing1 = 1;}}if(!valid114){const err348 = {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 = [err348];}else {vErrors.push(err348);}errors++;}else {errors = _errs426;if(vErrors !== null){if(_errs426){vErrors.length = _errs426;}else {vErrors = null;}}}}if(data154.ignoreGlobs !== undefined){let data172 = data154.ignoreGlobs;if(Array.isArray(data172)){const len25 = data172.length;for(let i28=0; i28<len25; i28++){let data173 = data172[i28];if(typeof data173 === "string"){if(func2(data173) < 1){const err349 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/ignoreGlobs/" + i28,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 = [err349];}else {vErrors.push(err349);}errors++;}}else {const err350 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/ignoreGlobs/" + i28,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 = [err350];}else {vErrors.push(err350);}errors++;}}}else {const err351 = {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 = [err351];}else {vErrors.push(err351);}errors++;}}}else {const err352 = {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 = [err352];}else {vErrors.push(err352);}errors++;}}if(data100.mutation !== undefined){let data174 = data100.mutation;if(data174 && typeof data174 == "object" && !Array.isArray(data174)){for(const key42 in data174){if(!(((((key42 === "enabled") || (key42 === "baselinePath")) || (key42 === "tolerance")) || (key42 === "floors")) || (key42 === "components"))){const err353 = {instancePath:instancePath+"/delivery/quality/gates/mutation",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/mutation/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key42},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err353];}else {vErrors.push(err353);}errors++;}}if(data174.enabled !== undefined){if(typeof data174.enabled !== "boolean"){const err354 = {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 = [err354];}else {vErrors.push(err354);}errors++;}}if(data174.baselinePath !== undefined){let data176 = data174.baselinePath;const _errs453 = errors;const _errs454 = errors;if(typeof data176 === "string"){if(!pattern0.test(data176)){const err355 = {};if(vErrors === null){vErrors = [err355];}else {vErrors.push(err355);}errors++;}}var valid125 = _errs454 === errors;if(valid125){const err356 = {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 = [err356];}else {vErrors.push(err356);}errors++;}else {errors = _errs453;if(vErrors !== null){if(_errs453){vErrors.length = _errs453;}else {vErrors = null;}}}if(typeof data176 === "string"){if(func2(data176) < 1){const err357 = {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 = [err357];}else {vErrors.push(err357);}errors++;}}else {const err358 = {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 = [err358];}else {vErrors.push(err358);}errors++;}}if(data174.tolerance !== undefined){let data177 = data174.tolerance;if(data177 && typeof data177 == "object" && !Array.isArray(data177)){if(data177.kind === undefined){const err359 = {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 = [err359];}else {vErrors.push(err359);}errors++;}if(data177.value === undefined){const err360 = {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 = [err360];}else {vErrors.push(err360);}errors++;}for(const key43 in data177){if(!((key43 === "kind") || (key43 === "value"))){const err361 = {instancePath:instancePath+"/delivery/quality/gates/mutation/tolerance",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/mutation/properties/tolerance/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key43},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err361];}else {vErrors.push(err361);}errors++;}}if(data177.kind !== undefined){let data178 = data177.kind;if(typeof data178 !== "string"){const err362 = {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 = [err362];}else {vErrors.push(err362);}errors++;}if(!((data178 === "absolute") || (data178 === "percent"))){const err363 = {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 = [err363];}else {vErrors.push(err363);}errors++;}}if(data177.value !== undefined){let data179 = data177.value;if((typeof data179 == "number") && (isFinite(data179))){if(data179 < 0 || isNaN(data179)){const err364 = {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 = [err364];}else {vErrors.push(err364);}errors++;}}else {const err365 = {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 = [err365];}else {vErrors.push(err365);}errors++;}}}else {const err366 = {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 = [err366];}else {vErrors.push(err366);}errors++;}}if(data174.floors !== undefined){let data180 = data174.floors;if(data180 && typeof data180 == "object" && !Array.isArray(data180)){for(const key44 in data180){let data181 = data180[key44];if(data181 && typeof data181 == "object" && !Array.isArray(data181)){for(const key45 in data181){let data182 = data181[key45];if(!((typeof data182 == "number") && (isFinite(data182)))){const err367 = {instancePath:instancePath+"/delivery/quality/gates/mutation/floors/" + key44.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + key45.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 = [err367];}else {vErrors.push(err367);}errors++;}}}else {const err368 = {instancePath:instancePath+"/delivery/quality/gates/mutation/floors/" + key44.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 = [err368];}else {vErrors.push(err368);}errors++;}}}else {const err369 = {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 = [err369];}else {vErrors.push(err369);}errors++;}}if(data174.components !== undefined){let data183 = data174.components;if(data183 && typeof data183 == "object" && !Array.isArray(data183)){for(const key46 in data183){let data184 = data183[key46];if(Array.isArray(data184)){const len26 = data184.length;for(let i29=0; i29<len26; i29++){let data185 = data184[i29];if(typeof data185 === "string"){if(func2(data185) < 1){const err370 = {instancePath:instancePath+"/delivery/quality/gates/mutation/components/" + key46.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + i29,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 = [err370];}else {vErrors.push(err370);}errors++;}}else {const err371 = {instancePath:instancePath+"/delivery/quality/gates/mutation/components/" + key46.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + i29,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 = [err371];}else {vErrors.push(err371);}errors++;}}}else {const err372 = {instancePath:instancePath+"/delivery/quality/gates/mutation/components/" + key46.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 = [err372];}else {vErrors.push(err372);}errors++;}}}else {const err373 = {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 = [err373];}else {vErrors.push(err373);}errors++;}}}else {const err374 = {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 = [err374];}else {vErrors.push(err374);}errors++;}}if(data100["bundle-size"] !== undefined){let data186 = data100["bundle-size"];if(data186 && typeof data186 == "object" && !Array.isArray(data186)){for(const key47 in data186){if(!((((((key47 === "enabled") || (key47 === "baselinePath")) || (key47 === "tolerance")) || (key47 === "floors")) || (key47 === "components")) || (key47 === "bundles"))){const err375 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key47},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err375];}else {vErrors.push(err375);}errors++;}}if(data186.enabled !== undefined){if(typeof data186.enabled !== "boolean"){const err376 = {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 = [err376];}else {vErrors.push(err376);}errors++;}}if(data186.baselinePath !== undefined){let data188 = data186.baselinePath;const _errs484 = errors;const _errs485 = errors;if(typeof data188 === "string"){if(!pattern0.test(data188)){const err377 = {};if(vErrors === null){vErrors = [err377];}else {vErrors.push(err377);}errors++;}}var valid133 = _errs485 === errors;if(valid133){const err378 = {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 = [err378];}else {vErrors.push(err378);}errors++;}else {errors = _errs484;if(vErrors !== null){if(_errs484){vErrors.length = _errs484;}else {vErrors = null;}}}if(typeof data188 === "string"){if(func2(data188) < 1){const err379 = {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 = [err379];}else {vErrors.push(err379);}errors++;}}else {const err380 = {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 = [err380];}else {vErrors.push(err380);}errors++;}}if(data186.tolerance !== undefined){let data189 = data186.tolerance;if(data189 && typeof data189 == "object" && !Array.isArray(data189)){if(data189.kind === undefined){const err381 = {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 = [err381];}else {vErrors.push(err381);}errors++;}if(data189.value === undefined){const err382 = {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 = [err382];}else {vErrors.push(err382);}errors++;}for(const key48 in data189){if(!((key48 === "kind") || (key48 === "value"))){const err383 = {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: key48},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err383];}else {vErrors.push(err383);}errors++;}}if(data189.kind !== undefined){let data190 = data189.kind;if(typeof data190 !== "string"){const err384 = {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 = [err384];}else {vErrors.push(err384);}errors++;}if(!((data190 === "absolute") || (data190 === "percent"))){const err385 = {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 = [err385];}else {vErrors.push(err385);}errors++;}}if(data189.value !== undefined){let data191 = data189.value;if((typeof data191 == "number") && (isFinite(data191))){if(data191 < 0 || isNaN(data191)){const err386 = {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 = [err386];}else {vErrors.push(err386);}errors++;}}else {const err387 = {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 = [err387];}else {vErrors.push(err387);}errors++;}}}else {const err388 = {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 = [err388];}else {vErrors.push(err388);}errors++;}}if(data186.floors !== undefined){let data192 = data186.floors;if(data192 && typeof data192 == "object" && !Array.isArray(data192)){for(const key49 in data192){let data193 = data192[key49];if(data193 && typeof data193 == "object" && !Array.isArray(data193)){for(const key50 in data193){let data194 = data193[key50];if(!((typeof data194 == "number") && (isFinite(data194)))){const err389 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/floors/" + key49.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + key50.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 = [err389];}else {vErrors.push(err389);}errors++;}}}else {const err390 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/floors/" + key49.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 = [err390];}else {vErrors.push(err390);}errors++;}}}else {const err391 = {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 = [err391];}else {vErrors.push(err391);}errors++;}}if(data186.components !== undefined){let data195 = data186.components;if(data195 && typeof data195 == "object" && !Array.isArray(data195)){for(const key51 in data195){let data196 = data195[key51];if(Array.isArray(data196)){const len27 = data196.length;for(let i30=0; i30<len27; i30++){let data197 = data196[i30];if(typeof data197 === "string"){if(func2(data197) < 1){const err392 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/components/" + key51.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + i30,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 = [err392];}else {vErrors.push(err392);}errors++;}}else {const err393 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/components/" + key51.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + i30,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 = [err393];}else {vErrors.push(err393);}errors++;}}}else {const err394 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/components/" + key51.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 = [err394];}else {vErrors.push(err394);}errors++;}}}else {const err395 = {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 = [err395];}else {vErrors.push(err395);}errors++;}}if(data186.bundles !== undefined){let data198 = data186.bundles;if(Array.isArray(data198)){const len28 = data198.length;for(let i31=0; i31<len28; i31++){let data199 = data198[i31];if(data199 && typeof data199 == "object" && !Array.isArray(data199)){if(data199.name === undefined){const err396 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/bundles/" + i31,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 = [err396];}else {vErrors.push(err396);}errors++;}if(data199.path === undefined){const err397 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/bundles/" + i31,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 = [err397];}else {vErrors.push(err397);}errors++;}if(data199.limit === undefined){const err398 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/bundles/" + i31,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 = [err398];}else {vErrors.push(err398);}errors++;}for(const key52 in data199){if(!(((key52 === "name") || (key52 === "path")) || (key52 === "limit"))){const err399 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/bundles/" + i31,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/bundles/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key52},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err399];}else {vErrors.push(err399);}errors++;}}if(data199.name !== undefined){let data200 = data199.name;if(typeof data200 === "string"){if(func2(data200) < 1){const err400 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/bundles/" + i31+"/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 = [err400];}else {vErrors.push(err400);}errors++;}}else {const err401 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/bundles/" + i31+"/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 = [err401];}else {vErrors.push(err401);}errors++;}}if(data199.path !== undefined){let data201 = data199.path;if(typeof data201 === "string"){if(func2(data201) < 1){const err402 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/bundles/" + i31+"/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 = [err402];}else {vErrors.push(err402);}errors++;}}else {const err403 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/bundles/" + i31+"/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 = [err403];}else {vErrors.push(err403);}errors++;}}if(data199.limit !== undefined){let data202 = data199.limit;if(typeof data202 === "string"){if(func2(data202) < 1){const err404 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/bundles/" + i31+"/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 = [err404];}else {vErrors.push(err404);}errors++;}}else {const err405 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/bundles/" + i31+"/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 = [err405];}else {vErrors.push(err405);}errors++;}}}else {const err406 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/bundles/" + i31,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 = [err406];}else {vErrors.push(err406);}errors++;}}}else {const err407 = {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 = [err407];}else {vErrors.push(err407);}errors++;}}}else {const err408 = {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 = [err408];}else {vErrors.push(err408);}errors++;}}if(data100.duplication !== undefined){let data203 = data100.duplication;if(data203 && typeof data203 == "object" && !Array.isArray(data203)){for(const key53 in data203){if(!(func11.call(schema11.properties.delivery.properties.quality.properties.gates.properties.duplication.properties, key53))){const err409 = {instancePath:instancePath+"/delivery/quality/gates/duplication",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key53},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err409];}else {vErrors.push(err409);}errors++;}}if(data203.enabled !== undefined){if(typeof data203.enabled !== "boolean"){const err410 = {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 = [err410];}else {vErrors.push(err410);}errors++;}}if(data203.baselinePath !== undefined){let data205 = data203.baselinePath;const _errs526 = errors;const _errs527 = errors;if(typeof data205 === "string"){if(!pattern0.test(data205)){const err411 = {};if(vErrors === null){vErrors = [err411];}else {vErrors.push(err411);}errors++;}}var valid144 = _errs527 === errors;if(valid144){const err412 = {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 = [err412];}else {vErrors.push(err412);}errors++;}else {errors = _errs526;if(vErrors !== null){if(_errs526){vErrors.length = _errs526;}else {vErrors = null;}}}if(typeof data205 === "string"){if(func2(data205) < 1){const err413 = {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 = [err413];}else {vErrors.push(err413);}errors++;}}else {const err414 = {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 = [err414];}else {vErrors.push(err414);}errors++;}}if(data203.tolerance !== undefined){let data206 = data203.tolerance;if(data206 && typeof data206 == "object" && !Array.isArray(data206)){if(data206.kind === undefined){const err415 = {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 = [err415];}else {vErrors.push(err415);}errors++;}if(data206.value === undefined){const err416 = {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 = [err416];}else {vErrors.push(err416);}errors++;}for(const key54 in data206){if(!((key54 === "kind") || (key54 === "value"))){const err417 = {instancePath:instancePath+"/delivery/quality/gates/duplication/tolerance",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/tolerance/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key54},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err417];}else {vErrors.push(err417);}errors++;}}if(data206.kind !== undefined){let data207 = data206.kind;if(typeof data207 !== "string"){const err418 = {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 = [err418];}else {vErrors.push(err418);}errors++;}if(!((data207 === "absolute") || (data207 === "percent"))){const err419 = {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 = [err419];}else {vErrors.push(err419);}errors++;}}if(data206.value !== undefined){let data208 = data206.value;if((typeof data208 == "number") && (isFinite(data208))){if(data208 < 0 || isNaN(data208)){const err420 = {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 = [err420];}else {vErrors.push(err420);}errors++;}}else {const err421 = {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 = [err421];}else {vErrors.push(err421);}errors++;}}}else {const err422 = {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 = [err422];}else {vErrors.push(err422);}errors++;}}if(data203.floors !== undefined){let data209 = data203.floors;if(data209 && typeof data209 == "object" && !Array.isArray(data209)){for(const key55 in data209){let data210 = data209[key55];if(data210 && typeof data210 == "object" && !Array.isArray(data210)){for(const key56 in data210){let data211 = data210[key56];if(!((typeof data211 == "number") && (isFinite(data211)))){const err423 = {instancePath:instancePath+"/delivery/quality/gates/duplication/floors/" + key55.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + key56.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 = [err423];}else {vErrors.push(err423);}errors++;}}}else {const err424 = {instancePath:instancePath+"/delivery/quality/gates/duplication/floors/" + key55.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 = [err424];}else {vErrors.push(err424);}errors++;}}}else {const err425 = {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 = [err425];}else {vErrors.push(err425);}errors++;}}if(data203.components !== undefined){let data212 = data203.components;if(data212 && typeof data212 == "object" && !Array.isArray(data212)){for(const key57 in data212){let data213 = data212[key57];if(Array.isArray(data213)){const len29 = data213.length;for(let i32=0; i32<len29; i32++){let data214 = data213[i32];if(typeof data214 === "string"){if(func2(data214) < 1){const err426 = {instancePath:instancePath+"/delivery/quality/gates/duplication/components/" + key57.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + i32,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 = [err426];}else {vErrors.push(err426);}errors++;}}else {const err427 = {instancePath:instancePath+"/delivery/quality/gates/duplication/components/" + key57.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + i32,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 = [err427];}else {vErrors.push(err427);}errors++;}}}else {const err428 = {instancePath:instancePath+"/delivery/quality/gates/duplication/components/" + key57.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 = [err428];}else {vErrors.push(err428);}errors++;}}}else {const err429 = {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 = [err429];}else {vErrors.push(err429);}errors++;}}if(data203.targetDirs !== undefined){let data215 = data203.targetDirs;const _errs551 = errors;let valid151 = false;let passing2 = null;const _errs552 = errors;if(Array.isArray(data215)){const len30 = data215.length;for(let i33=0; i33<len30; i33++){if(typeof data215[i33] !== "string"){const err430 = {instancePath:instancePath+"/delivery/quality/gates/duplication/targetDirs/" + i33,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 = [err430];}else {vErrors.push(err430);}errors++;}}}else {const err431 = {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 = [err431];}else {vErrors.push(err431);}errors++;}var _valid3 = _errs552 === errors;if(_valid3){valid151 = true;passing2 = 0;}const _errs556 = errors;if(data215 && typeof data215 == "object" && !Array.isArray(data215)){for(const key58 in data215){if(!((key58 === "append") || (key58 === "prepend"))){const err432 = {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: key58},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err432];}else {vErrors.push(err432);}errors++;}}if(data215.append !== undefined){let data217 = data215.append;if(Array.isArray(data217)){const len31 = data217.length;for(let i34=0; i34<len31; i34++){if(typeof data217[i34] !== "string"){const err433 = {instancePath:instancePath+"/delivery/quality/gates/duplication/targetDirs/append/" + i34,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 = [err433];}else {vErrors.push(err433);}errors++;}}}else {const err434 = {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 = [err434];}else {vErrors.push(err434);}errors++;}}if(data215.prepend !== undefined){let data219 = data215.prepend;if(Array.isArray(data219)){const len32 = data219.length;for(let i35=0; i35<len32; i35++){if(typeof data219[i35] !== "string"){const err435 = {instancePath:instancePath+"/delivery/quality/gates/duplication/targetDirs/prepend/" + i35,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 = [err435];}else {vErrors.push(err435);}errors++;}}}else {const err436 = {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 = [err436];}else {vErrors.push(err436);}errors++;}}}else {const err437 = {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 = [err437];}else {vErrors.push(err437);}errors++;}var _valid3 = _errs556 === errors;if(_valid3 && valid151){valid151 = false;passing2 = [passing2, 1];}else {if(_valid3){valid151 = true;passing2 = 1;}}if(!valid151){const err438 = {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 = [err438];}else {vErrors.push(err438);}errors++;}else {errors = _errs551;if(vErrors !== null){if(_errs551){vErrors.length = _errs551;}else {vErrors = null;}}}}if(data203.additionalFormats !== undefined){let data221 = data203.additionalFormats;if(Array.isArray(data221)){const len33 = data221.length;for(let i36=0; i36<len33; i36++){let data222 = data221[i36];if(typeof data222 === "string"){if(func2(data222) < 1){const err439 = {instancePath:instancePath+"/delivery/quality/gates/duplication/additionalFormats/" + i36,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 = [err439];}else {vErrors.push(err439);}errors++;}}else {const err440 = {instancePath:instancePath+"/delivery/quality/gates/duplication/additionalFormats/" + i36,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 = [err440];}else {vErrors.push(err440);}errors++;}}}else {const err441 = {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 = [err441];}else {vErrors.push(err441);}errors++;}}if(data203.scanHeapMb !== undefined){let data223 = data203.scanHeapMb;if(!(((typeof data223 == "number") && (!(data223 % 1) && !isNaN(data223))) && (isFinite(data223)))){const err442 = {instancePath:instancePath+"/delivery/quality/gates/duplication/scanHeapMb",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/scanHeapMb/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err442];}else {vErrors.push(err442);}errors++;}if((typeof data223 == "number") && (isFinite(data223))){if(data223 < 256 || isNaN(data223)){const err443 = {instancePath:instancePath+"/delivery/quality/gates/duplication/scanHeapMb",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/scanHeapMb/minimum",keyword:"minimum",params:{comparison: ">=", limit: 256},message:"must be >= 256"};if(vErrors === null){vErrors = [err443];}else {vErrors.push(err443);}errors++;}}}if(data203.ignoreGlobs !== undefined){let data224 = data203.ignoreGlobs;if(Array.isArray(data224)){const len34 = data224.length;for(let i37=0; i37<len34; i37++){let data225 = data224[i37];if(typeof data225 === "string"){if(func2(data225) < 1){const err444 = {instancePath:instancePath+"/delivery/quality/gates/duplication/ignoreGlobs/" + i37,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 = [err444];}else {vErrors.push(err444);}errors++;}}else {const err445 = {instancePath:instancePath+"/delivery/quality/gates/duplication/ignoreGlobs/" + i37,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 = [err445];}else {vErrors.push(err445);}errors++;}}}else {const err446 = {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 = [err446];}else {vErrors.push(err446);}errors++;}}}else {const err447 = {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 = [err447];}else {vErrors.push(err447);}errors++;}}}else {const err448 = {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 = [err448];}else {vErrors.push(err448);}errors++;}}if(data99.autoRefresh !== undefined){let data226 = data99.autoRefresh;if(data226 && typeof data226 == "object" && !Array.isArray(data226)){for(const key59 in data226){if(!(key59 === "enabled")){const err449 = {instancePath:instancePath+"/delivery/quality/autoRefresh",schemaPath:"#/properties/delivery/properties/quality/properties/autoRefresh/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key59},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err449];}else {vErrors.push(err449);}errors++;}}if(data226.enabled !== undefined){if(typeof data226.enabled !== "boolean"){const err450 = {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 = [err450];}else {vErrors.push(err450);}errors++;}}}else {const err451 = {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 = [err451];}else {vErrors.push(err451);}errors++;}}if(data99.ratchets !== undefined){let data228 = data99.ratchets;if(data228 && typeof data228 == "object" && !Array.isArray(data228)){for(const key60 in data228){if(!(key60 === "coveredByLint")){const err452 = {instancePath:instancePath+"/delivery/quality/ratchets",schemaPath:"#/properties/delivery/properties/quality/properties/ratchets/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key60},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err452];}else {vErrors.push(err452);}errors++;}}if(data228.coveredByLint !== undefined){let data229 = data228.coveredByLint;if(Array.isArray(data229)){const len35 = data229.length;for(let i38=0; i38<len35; i38++){let data230 = data229[i38];if(typeof data230 !== "string"){const err453 = {instancePath:instancePath+"/delivery/quality/ratchets/coveredByLint/" + i38,schemaPath:"#/properties/delivery/properties/quality/properties/ratchets/properties/coveredByLint/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err453];}else {vErrors.push(err453);}errors++;}if(!((((data230 === "dead-exports") || (data230 === "dead-exports-production")) || (data230 === "arch-cycles")) || (data230 === "cyclomatic"))){const err454 = {instancePath:instancePath+"/delivery/quality/ratchets/coveredByLint/" + i38,schemaPath:"#/properties/delivery/properties/quality/properties/ratchets/properties/coveredByLint/items/enum",keyword:"enum",params:{allowedValues: schema11.properties.delivery.properties.quality.properties.ratchets.properties.coveredByLint.items.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err454];}else {vErrors.push(err454);}errors++;}}let i39 = data229.length;let j3;if(i39 > 1){const indices3 = {};for(;i39--;){let item3 = data229[i39];if(typeof item3 !== "string"){continue;}if(typeof indices3[item3] == "number"){j3 = indices3[item3];const err455 = {instancePath:instancePath+"/delivery/quality/ratchets/coveredByLint",schemaPath:"#/properties/delivery/properties/quality/properties/ratchets/properties/coveredByLint/uniqueItems",keyword:"uniqueItems",params:{i: i39, j: j3},message:"must NOT have duplicate items (items ## "+j3+" and "+i39+" are identical)"};if(vErrors === null){vErrors = [err455];}else {vErrors.push(err455);}errors++;break;}indices3[item3] = i39;}}}else {const err456 = {instancePath:instancePath+"/delivery/quality/ratchets/coveredByLint",schemaPath:"#/properties/delivery/properties/quality/properties/ratchets/properties/coveredByLint/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err456];}else {vErrors.push(err456);}errors++;}}}else {const err457 = {instancePath:instancePath+"/delivery/quality/ratchets",schemaPath:"#/properties/delivery/properties/quality/properties/ratchets/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err457];}else {vErrors.push(err457);}errors++;}}if(data99.requireBaselines !== undefined){if(typeof data99.requireBaselines !== "boolean"){const err458 = {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 = [err458];}else {vErrors.push(err458);}errors++;}}}else {const err459 = {instancePath:instancePath+"/delivery/quality",schemaPath:"#/properties/delivery/properties/quality/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err459];}else {vErrors.push(err459);}errors++;}}if(data58.mergeWatch !== undefined){let data232 = data58.mergeWatch;if(data232 && typeof data232 == "object" && !Array.isArray(data232)){for(const key61 in data232){if(!(((key61 === "mode") || (key61 === "maxWaitSeconds")) || (key61 === "maxBudgetSeconds"))){const err460 = {instancePath:instancePath+"/delivery/mergeWatch",schemaPath:"#/properties/delivery/properties/mergeWatch/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key61},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err460];}else {vErrors.push(err460);}errors++;}}if(data232.mode !== undefined){let data233 = data232.mode;if(typeof data233 !== "string"){const err461 = {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 = [err461];}else {vErrors.push(err461);}errors++;}if(!((data233 === "sync") || (data233 === "async"))){const err462 = {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 = [err462];}else {vErrors.push(err462);}errors++;}}if(data232.maxWaitSeconds !== undefined){let data234 = data232.maxWaitSeconds;if(!(((typeof data234 == "number") && (!(data234 % 1) && !isNaN(data234))) && (isFinite(data234)))){const err463 = {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 = [err463];}else {vErrors.push(err463);}errors++;}if((typeof data234 == "number") && (isFinite(data234))){if(data234 < 1 || isNaN(data234)){const err464 = {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 = [err464];}else {vErrors.push(err464);}errors++;}}}if(data232.maxBudgetSeconds !== undefined){let data235 = data232.maxBudgetSeconds;if(!(((typeof data235 == "number") && (!(data235 % 1) && !isNaN(data235))) && (isFinite(data235)))){const err465 = {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 = [err465];}else {vErrors.push(err465);}errors++;}if((typeof data235 == "number") && (isFinite(data235))){if(data235 < 1 || isNaN(data235)){const err466 = {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 = [err466];}else {vErrors.push(err466);}errors++;}}}}else {const err467 = {instancePath:instancePath+"/delivery/mergeWatch",schemaPath:"#/properties/delivery/properties/mergeWatch/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err467];}else {vErrors.push(err467);}errors++;}}if(data58.close !== undefined){let data236 = data58.close;if(data236 && typeof data236 == "object" && !Array.isArray(data236)){for(const key62 in data236){if(!((((key62 === "baseSync") || (key62 === "revalidateAfterBaseSync")) || (key62 === "revalidateCiChecks")) || (key62 === "revalidateAlwaysPaths"))){const err468 = {instancePath:instancePath+"/delivery/close",schemaPath:"#/properties/delivery/properties/close/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key62},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err468];}else {vErrors.push(err468);}errors++;}}if(data236.baseSync !== undefined){let data237 = data236.baseSync;if(typeof data237 !== "string"){const err469 = {instancePath:instancePath+"/delivery/close/baseSync",schemaPath:"#/properties/delivery/properties/close/properties/baseSync/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err469];}else {vErrors.push(err469);}errors++;}if(!((data237 === "always") || (data237 === "on-conflict"))){const err470 = {instancePath:instancePath+"/delivery/close/baseSync",schemaPath:"#/properties/delivery/properties/close/properties/baseSync/enum",keyword:"enum",params:{allowedValues: schema11.properties.delivery.properties.close.properties.baseSync.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err470];}else {vErrors.push(err470);}errors++;}}if(data236.revalidateAfterBaseSync !== undefined){let data238 = data236.revalidateAfterBaseSync;if(typeof data238 !== "string"){const err471 = {instancePath:instancePath+"/delivery/close/revalidateAfterBaseSync",schemaPath:"#/properties/delivery/properties/close/properties/revalidateAfterBaseSync/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err471];}else {vErrors.push(err471);}errors++;}if(!((data238 === "full") || (data238 === "ci"))){const err472 = {instancePath:instancePath+"/delivery/close/revalidateAfterBaseSync",schemaPath:"#/properties/delivery/properties/close/properties/revalidateAfterBaseSync/enum",keyword:"enum",params:{allowedValues: schema11.properties.delivery.properties.close.properties.revalidateAfterBaseSync.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err472];}else {vErrors.push(err472);}errors++;}}if(data236.revalidateCiChecks !== undefined){let data239 = data236.revalidateCiChecks;if(Array.isArray(data239)){const len36 = data239.length;for(let i40=0; i40<len36; i40++){let data240 = data239[i40];if(typeof data240 === "string"){if(func2(data240) < 1){const err473 = {instancePath:instancePath+"/delivery/close/revalidateCiChecks/" + i40,schemaPath:"#/properties/delivery/properties/close/properties/revalidateCiChecks/items/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err473];}else {vErrors.push(err473);}errors++;}}else {const err474 = {instancePath:instancePath+"/delivery/close/revalidateCiChecks/" + i40,schemaPath:"#/properties/delivery/properties/close/properties/revalidateCiChecks/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err474];}else {vErrors.push(err474);}errors++;}}let i41 = data239.length;let j4;if(i41 > 1){const indices4 = {};for(;i41--;){let item4 = data239[i41];if(typeof item4 !== "string"){continue;}if(typeof indices4[item4] == "number"){j4 = indices4[item4];const err475 = {instancePath:instancePath+"/delivery/close/revalidateCiChecks",schemaPath:"#/properties/delivery/properties/close/properties/revalidateCiChecks/uniqueItems",keyword:"uniqueItems",params:{i: i41, j: j4},message:"must NOT have duplicate items (items ## "+j4+" and "+i41+" are identical)"};if(vErrors === null){vErrors = [err475];}else {vErrors.push(err475);}errors++;break;}indices4[item4] = i41;}}}else {const err476 = {instancePath:instancePath+"/delivery/close/revalidateCiChecks",schemaPath:"#/properties/delivery/properties/close/properties/revalidateCiChecks/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err476];}else {vErrors.push(err476);}errors++;}}if(data236.revalidateAlwaysPaths !== undefined){let data241 = data236.revalidateAlwaysPaths;if(Array.isArray(data241)){const len37 = data241.length;for(let i42=0; i42<len37; i42++){let data242 = data241[i42];if(typeof data242 === "string"){if(func2(data242) < 1){const err477 = {instancePath:instancePath+"/delivery/close/revalidateAlwaysPaths/" + i42,schemaPath:"#/properties/delivery/properties/close/properties/revalidateAlwaysPaths/items/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err477];}else {vErrors.push(err477);}errors++;}}else {const err478 = {instancePath:instancePath+"/delivery/close/revalidateAlwaysPaths/" + i42,schemaPath:"#/properties/delivery/properties/close/properties/revalidateAlwaysPaths/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err478];}else {vErrors.push(err478);}errors++;}}}else {const err479 = {instancePath:instancePath+"/delivery/close/revalidateAlwaysPaths",schemaPath:"#/properties/delivery/properties/close/properties/revalidateAlwaysPaths/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err479];}else {vErrors.push(err479);}errors++;}}}else {const err480 = {instancePath:instancePath+"/delivery/close",schemaPath:"#/properties/delivery/properties/close/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err480];}else {vErrors.push(err480);}errors++;}}if(data58.codeReview !== undefined){let data243 = data58.codeReview;if(data243 && typeof data243 == "object" && !Array.isArray(data243)){for(const key63 in data243){if(!(((((((key63 === "providers") || (key63 === "autoFixSeverity")) || (key63 === "sensitivePaths")) || (key63 === "effortByDepth")) || (key63 === "guidanceFile")) || (key63 === "onNoVerdict")) || (key63 === "skipPaths"))){const err481 = {instancePath:instancePath+"/delivery/codeReview",schemaPath:"#/properties/delivery/properties/codeReview/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key63},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err481];}else {vErrors.push(err481);}errors++;}}if(data243.providers !== undefined){let data244 = data243.providers;if(Array.isArray(data244)){const len38 = data244.length;for(let i43=0; i43<len38; i43++){let data245 = data244[i43];if(data245 && typeof data245 == "object" && !Array.isArray(data245)){if(data245.name === undefined){const err482 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i43,schemaPath:"#/properties/delivery/properties/codeReview/properties/providers/items/required",keyword:"required",params:{missingProperty: "name"},message:"must have required property '"+"name"+"'"};if(vErrors === null){vErrors = [err482];}else {vErrors.push(err482);}errors++;}for(const key64 in data245){if(!(((((key64 === "name") || (key64 === "scopes")) || (key64 === "optional")) || (key64 === "manualPrompt")) || (key64 === "when"))){const err483 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i43,schemaPath:"#/properties/delivery/properties/codeReview/properties/providers/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key64},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err483];}else {vErrors.push(err483);}errors++;}}if(data245.name !== undefined){let data246 = data245.name;if(typeof data246 !== "string"){const err484 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i43+"/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 = [err484];}else {vErrors.push(err484);}errors++;}if(!((((((data246 === "native") || (data246 === "code-review")) || (data246 === "codex")) || (data246 === "llm-review")) || (data246 === "security-review")) || (data246 === "ultrareview"))){const err485 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i43+"/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 = [err485];}else {vErrors.push(err485);}errors++;}}if(data245.scopes !== undefined){let data247 = data245.scopes;if(Array.isArray(data247)){const len39 = data247.length;for(let i44=0; i44<len39; i44++){let data248 = data247[i44];if(typeof data248 !== "string"){const err486 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i43+"/scopes/" + i44,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 = [err486];}else {vErrors.push(err486);}errors++;}if(!((data248 === "story") || (data248 === "epic"))){const err487 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i43+"/scopes/" + i44,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 = [err487];}else {vErrors.push(err487);}errors++;}}}else {const err488 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i43+"/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 = [err488];}else {vErrors.push(err488);}errors++;}}if(data245.optional !== undefined){if(typeof data245.optional !== "boolean"){const err489 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i43+"/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 = [err489];}else {vErrors.push(err489);}errors++;}}if(data245.manualPrompt !== undefined){if(typeof data245.manualPrompt !== "boolean"){const err490 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i43+"/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 = [err490];}else {vErrors.push(err490);}errors++;}}if(data245.when !== undefined){let data251 = data245.when;if(data251 && typeof data251 == "object" && !Array.isArray(data251)){for(const key65 in data251){if(!((key65 === "label") || (key65 === "labelAny"))){const err491 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i43+"/when",schemaPath:"#/properties/delivery/properties/codeReview/properties/providers/items/properties/when/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key65},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err491];}else {vErrors.push(err491);}errors++;}}if(data251.label !== undefined){let data252 = data251.label;if(typeof data252 === "string"){if(func2(data252) < 1){const err492 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i43+"/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 = [err492];}else {vErrors.push(err492);}errors++;}}else {const err493 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i43+"/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 = [err493];}else {vErrors.push(err493);}errors++;}}if(data251.labelAny !== undefined){let data253 = data251.labelAny;if(Array.isArray(data253)){if(data253.length < 1){const err494 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i43+"/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 = [err494];}else {vErrors.push(err494);}errors++;}const len40 = data253.length;for(let i45=0; i45<len40; i45++){let data254 = data253[i45];if(typeof data254 === "string"){if(func2(data254) < 1){const err495 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i43+"/when/labelAny/" + i45,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 = [err495];}else {vErrors.push(err495);}errors++;}}else {const err496 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i43+"/when/labelAny/" + i45,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 = [err496];}else {vErrors.push(err496);}errors++;}}}else {const err497 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i43+"/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 = [err497];}else {vErrors.push(err497);}errors++;}}}else {const err498 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i43+"/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 = [err498];}else {vErrors.push(err498);}errors++;}}}else {const err499 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i43,schemaPath:"#/properties/delivery/properties/codeReview/properties/providers/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err499];}else {vErrors.push(err499);}errors++;}}}else {const err500 = {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 = [err500];}else {vErrors.push(err500);}errors++;}}if(data243.autoFixSeverity !== undefined){let data255 = data243.autoFixSeverity;if(typeof data255 !== "string"){const err501 = {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 = [err501];}else {vErrors.push(err501);}errors++;}if(!((data255 === "high") || (data255 === "medium"))){const err502 = {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 = [err502];}else {vErrors.push(err502);}errors++;}}if(data243.sensitivePaths !== undefined){let data256 = data243.sensitivePaths;if(data256 && typeof data256 == "object" && !Array.isArray(data256)){for(const key66 in data256){const _errs646 = errors;if(typeof key66 === "string"){if(!pattern16.test(key66)){const err503 = {instancePath:instancePath+"/delivery/codeReview/sensitivePaths",schemaPath:"#/properties/delivery/properties/codeReview/properties/sensitivePaths/propertyNames/pattern",keyword:"pattern",params:{pattern: "^[a-z0-9][a-z0-9-]*$"},message:"must match pattern \""+"^[a-z0-9][a-z0-9-]*$"+"\"",propertyName:key66};if(vErrors === null){vErrors = [err503];}else {vErrors.push(err503);}errors++;}}var valid184 = _errs646 === errors;if(!valid184){const err504 = {instancePath:instancePath+"/delivery/codeReview/sensitivePaths",schemaPath:"#/properties/delivery/properties/codeReview/properties/sensitivePaths/propertyNames",keyword:"propertyNames",params:{propertyName: key66},message:"property name must be valid"};if(vErrors === null){vErrors = [err504];}else {vErrors.push(err504);}errors++;}}for(const key67 in data256){let data257 = data256[key67];if(data257 && typeof data257 == "object" && !Array.isArray(data257)){if(data257.filePatterns === undefined){const err505 = {instancePath:instancePath+"/delivery/codeReview/sensitivePaths/" + key67.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/delivery/properties/codeReview/properties/sensitivePaths/additionalProperties/required",keyword:"required",params:{missingProperty: "filePatterns"},message:"must have required property '"+"filePatterns"+"'"};if(vErrors === null){vErrors = [err505];}else {vErrors.push(err505);}errors++;}for(const key68 in data257){if(!((key68 === "description") || (key68 === "filePatterns"))){const err506 = {instancePath:instancePath+"/delivery/codeReview/sensitivePaths/" + key67.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/delivery/properties/codeReview/properties/sensitivePaths/additionalProperties/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key68},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err506];}else {vErrors.push(err506);}errors++;}}if(data257.description !== undefined){if(typeof data257.description !== "string"){const err507 = {instancePath:instancePath+"/delivery/codeReview/sensitivePaths/" + key67.replace(/~/g, "~0").replace(/\//g, "~1")+"/description",schemaPath:"#/properties/delivery/properties/codeReview/properties/sensitivePaths/additionalProperties/properties/description/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err507];}else {vErrors.push(err507);}errors++;}}if(data257.filePatterns !== undefined){let data259 = data257.filePatterns;if(Array.isArray(data259)){if(data259.length < 1){const err508 = {instancePath:instancePath+"/delivery/codeReview/sensitivePaths/" + key67.replace(/~/g, "~0").replace(/\//g, "~1")+"/filePatterns",schemaPath:"#/properties/delivery/properties/codeReview/properties/sensitivePaths/additionalProperties/properties/filePatterns/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err508];}else {vErrors.push(err508);}errors++;}const len41 = data259.length;for(let i46=0; i46<len41; i46++){let data260 = data259[i46];if(typeof data260 === "string"){if(func2(data260) < 1){const err509 = {instancePath:instancePath+"/delivery/codeReview/sensitivePaths/" + key67.replace(/~/g, "~0").replace(/\//g, "~1")+"/filePatterns/" + i46,schemaPath:"#/properties/delivery/properties/codeReview/properties/sensitivePaths/additionalProperties/properties/filePatterns/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+"/delivery/codeReview/sensitivePaths/" + key67.replace(/~/g, "~0").replace(/\//g, "~1")+"/filePatterns/" + i46,schemaPath:"#/properties/delivery/properties/codeReview/properties/sensitivePaths/additionalProperties/properties/filePatterns/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+"/delivery/codeReview/sensitivePaths/" + key67.replace(/~/g, "~0").replace(/\//g, "~1")+"/filePatterns",schemaPath:"#/properties/delivery/properties/codeReview/properties/sensitivePaths/additionalProperties/properties/filePatterns/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err511];}else {vErrors.push(err511);}errors++;}}}else {const err512 = {instancePath:instancePath+"/delivery/codeReview/sensitivePaths/" + key67.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/delivery/properties/codeReview/properties/sensitivePaths/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+"/delivery/codeReview/sensitivePaths",schemaPath:"#/properties/delivery/properties/codeReview/properties/sensitivePaths/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err513];}else {vErrors.push(err513);}errors++;}}if(data243.effortByDepth !== undefined){let data261 = data243.effortByDepth;if(data261 && typeof data261 == "object" && !Array.isArray(data261)){for(const key69 in data261){const _errs659 = errors;if(!(((key69 === "light") || (key69 === "standard")) || (key69 === "deep"))){const err514 = {instancePath:instancePath+"/delivery/codeReview/effortByDepth",schemaPath:"#/properties/delivery/properties/codeReview/properties/effortByDepth/propertyNames/enum",keyword:"enum",params:{allowedValues: schema11.properties.delivery.properties.codeReview.properties.effortByDepth.propertyNames.enum},message:"must be equal to one of the allowed values",propertyName:key69};if(vErrors === null){vErrors = [err514];}else {vErrors.push(err514);}errors++;}var valid189 = _errs659 === errors;if(!valid189){const err515 = {instancePath:instancePath+"/delivery/codeReview/effortByDepth",schemaPath:"#/properties/delivery/properties/codeReview/properties/effortByDepth/propertyNames",keyword:"propertyNames",params:{propertyName: key69},message:"property name must be valid"};if(vErrors === null){vErrors = [err515];}else {vErrors.push(err515);}errors++;}}for(const key70 in data261){let data262 = data261[key70];if(typeof data262 !== "string"){const err516 = {instancePath:instancePath+"/delivery/codeReview/effortByDepth/" + key70.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/delivery/properties/codeReview/properties/effortByDepth/additionalProperties/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err516];}else {vErrors.push(err516);}errors++;}if(!(((((data262 === "low") || (data262 === "medium")) || (data262 === "high")) || (data262 === "xhigh")) || (data262 === "max"))){const err517 = {instancePath:instancePath+"/delivery/codeReview/effortByDepth/" + key70.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/delivery/properties/codeReview/properties/effortByDepth/additionalProperties/enum",keyword:"enum",params:{allowedValues: schema11.properties.delivery.properties.codeReview.properties.effortByDepth.additionalProperties.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err517];}else {vErrors.push(err517);}errors++;}}}else {const err518 = {instancePath:instancePath+"/delivery/codeReview/effortByDepth",schemaPath:"#/properties/delivery/properties/codeReview/properties/effortByDepth/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err518];}else {vErrors.push(err518);}errors++;}}if(data243.guidanceFile !== undefined){let data263 = data243.guidanceFile;if(typeof data263 === "string"){if(func2(data263) < 1){const err519 = {instancePath:instancePath+"/delivery/codeReview/guidanceFile",schemaPath:"#/properties/delivery/properties/codeReview/properties/guidanceFile/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err519];}else {vErrors.push(err519);}errors++;}}else {const err520 = {instancePath:instancePath+"/delivery/codeReview/guidanceFile",schemaPath:"#/properties/delivery/properties/codeReview/properties/guidanceFile/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err520];}else {vErrors.push(err520);}errors++;}}if(data243.onNoVerdict !== undefined){let data264 = data243.onNoVerdict;if(typeof data264 !== "string"){const err521 = {instancePath:instancePath+"/delivery/codeReview/onNoVerdict",schemaPath:"#/properties/delivery/properties/codeReview/properties/onNoVerdict/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err521];}else {vErrors.push(err521);}errors++;}if(!((data264 === "report") || (data264 === "block"))){const err522 = {instancePath:instancePath+"/delivery/codeReview/onNoVerdict",schemaPath:"#/properties/delivery/properties/codeReview/properties/onNoVerdict/enum",keyword:"enum",params:{allowedValues: schema11.properties.delivery.properties.codeReview.properties.onNoVerdict.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err522];}else {vErrors.push(err522);}errors++;}}if(data243.skipPaths !== undefined){let data265 = data243.skipPaths;if(Array.isArray(data265)){const len42 = data265.length;for(let i47=0; i47<len42; i47++){let data266 = data265[i47];if(typeof data266 === "string"){if(func2(data266) < 1){const err523 = {instancePath:instancePath+"/delivery/codeReview/skipPaths/" + i47,schemaPath:"#/properties/delivery/properties/codeReview/properties/skipPaths/items/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err523];}else {vErrors.push(err523);}errors++;}}else {const err524 = {instancePath:instancePath+"/delivery/codeReview/skipPaths/" + i47,schemaPath:"#/properties/delivery/properties/codeReview/properties/skipPaths/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err524];}else {vErrors.push(err524);}errors++;}}}else {const err525 = {instancePath:instancePath+"/delivery/codeReview/skipPaths",schemaPath:"#/properties/delivery/properties/codeReview/properties/skipPaths/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err525];}else {vErrors.push(err525);}errors++;}}}else {const err526 = {instancePath:instancePath+"/delivery/codeReview",schemaPath:"#/properties/delivery/properties/codeReview/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err526];}else {vErrors.push(err526);}errors++;}}if(data58.refactorStage !== undefined){let data267 = data58.refactorStage;if(data267 && typeof data267 == "object" && !Array.isArray(data267)){for(const key71 in data267){if(!(key71 === "enabled")){const err527 = {instancePath:instancePath+"/delivery/refactorStage",schemaPath:"#/properties/delivery/properties/refactorStage/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key71},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err527];}else {vErrors.push(err527);}errors++;}}if(data267.enabled !== undefined){if(typeof data267.enabled !== "boolean"){const err528 = {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 = [err528];}else {vErrors.push(err528);}errors++;}}}else {const err529 = {instancePath:instancePath+"/delivery/refactorStage",schemaPath:"#/properties/delivery/properties/refactorStage/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err529];}else {vErrors.push(err529);}errors++;}}if(data58.acceptanceEval !== undefined){let data269 = data58.acceptanceEval;if(data269 && typeof data269 == "object" && !Array.isArray(data269)){for(const key72 in data269){if(!(key72 === "maxRounds")){const err530 = {instancePath:instancePath+"/delivery/acceptanceEval",schemaPath:"#/properties/delivery/properties/acceptanceEval/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key72},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err530];}else {vErrors.push(err530);}errors++;}}if(data269.maxRounds !== undefined){let data270 = data269.maxRounds;if(!(((typeof data270 == "number") && (!(data270 % 1) && !isNaN(data270))) && (isFinite(data270)))){const err531 = {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 = [err531];}else {vErrors.push(err531);}errors++;}if((typeof data270 == "number") && (isFinite(data270))){if(data270 < 0 || isNaN(data270)){const err532 = {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 = [err532];}else {vErrors.push(err532);}errors++;}}}}else {const err533 = {instancePath:instancePath+"/delivery/acceptanceEval",schemaPath:"#/properties/delivery/properties/acceptanceEval/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err533];}else {vErrors.push(err533);}errors++;}}if(data58.feedbackLoop !== undefined){let data271 = data58.feedbackLoop;if(data271 && typeof data271 == "object" && !Array.isArray(data271)){for(const key73 in data271){if(!((key73 === "retroProposals") || (key73 === "outcomeRecord"))){const err534 = {instancePath:instancePath+"/delivery/feedbackLoop",schemaPath:"#/properties/delivery/properties/feedbackLoop/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key73},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err534];}else {vErrors.push(err534);}errors++;}}if(data271.retroProposals !== undefined){if(typeof data271.retroProposals !== "boolean"){const err535 = {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 = [err535];}else {vErrors.push(err535);}errors++;}}if(data271.outcomeRecord !== undefined){if(typeof data271.outcomeRecord !== "boolean"){const err536 = {instancePath:instancePath+"/delivery/feedbackLoop/outcomeRecord",schemaPath:"#/properties/delivery/properties/feedbackLoop/properties/outcomeRecord/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err536];}else {vErrors.push(err536);}errors++;}}}else {const err537 = {instancePath:instancePath+"/delivery/feedbackLoop",schemaPath:"#/properties/delivery/properties/feedbackLoop/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err537];}else {vErrors.push(err537);}errors++;}}if(data58.ci !== undefined){let data274 = data58.ci;if(data274 && typeof data274 == "object" && !Array.isArray(data274)){for(const key74 in data274){if(!((((key74 === "autoMerge") || (key74 === "blockOnAdvisoryFailure")) || (key74 === "advisoryAllowlist")) || (key74 === "rerunAdvisory"))){const err538 = {instancePath:instancePath+"/delivery/ci",schemaPath:"#/properties/delivery/properties/ci/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key74},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err538];}else {vErrors.push(err538);}errors++;}}if(data274.autoMerge !== undefined){let data275 = data274.autoMerge;if(typeof data275 !== "string"){const err539 = {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 = [err539];}else {vErrors.push(err539);}errors++;}if(!((data275 === "trust-ci") || (data275 === "strict"))){const err540 = {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 = [err540];}else {vErrors.push(err540);}errors++;}}if(data274.blockOnAdvisoryFailure !== undefined){if(typeof data274.blockOnAdvisoryFailure !== "boolean"){const err541 = {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 = [err541];}else {vErrors.push(err541);}errors++;}}if(data274.advisoryAllowlist !== undefined){let data277 = data274.advisoryAllowlist;if(Array.isArray(data277)){const len43 = data277.length;for(let i48=0; i48<len43; i48++){if(typeof data277[i48] !== "string"){const err542 = {instancePath:instancePath+"/delivery/ci/advisoryAllowlist/" + i48,schemaPath:"#/properties/delivery/properties/ci/properties/advisoryAllowlist/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err542];}else {vErrors.push(err542);}errors++;}}}else {const err543 = {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 = [err543];}else {vErrors.push(err543);}errors++;}}if(data274.rerunAdvisory !== undefined){let data279 = data274.rerunAdvisory;if(!(((typeof data279 == "number") && (!(data279 % 1) && !isNaN(data279))) && (isFinite(data279)))){const err544 = {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 = [err544];}else {vErrors.push(err544);}errors++;}if((typeof data279 == "number") && (isFinite(data279))){if(data279 < 0 || isNaN(data279)){const err545 = {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 = [err545];}else {vErrors.push(err545);}errors++;}}}}else {const err546 = {instancePath:instancePath+"/delivery/ci",schemaPath:"#/properties/delivery/properties/ci/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err546];}else {vErrors.push(err546);}errors++;}}if(data58.pullRequest !== undefined){let data280 = data58.pullRequest;if(data280 && typeof data280 == "object" && !Array.isArray(data280)){for(const key75 in data280){if(!(key75 === "bodyTrailers")){const err547 = {instancePath:instancePath+"/delivery/pullRequest",schemaPath:"#/properties/delivery/properties/pullRequest/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key75},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err547];}else {vErrors.push(err547);}errors++;}}if(data280.bodyTrailers !== undefined){let data281 = data280.bodyTrailers;if(Array.isArray(data281)){const len44 = data281.length;for(let i49=0; i49<len44; i49++){let data282 = data281[i49];if(typeof data282 === "string"){if(!pattern30.test(data282)){const err548 = {instancePath:instancePath+"/delivery/pullRequest/bodyTrailers/" + i49,schemaPath:"#/properties/delivery/properties/pullRequest/properties/bodyTrailers/items/pattern",keyword:"pattern",params:{pattern: "^[A-Za-z][A-Za-z0-9-]*$"},message:"must match pattern \""+"^[A-Za-z][A-Za-z0-9-]*$"+"\""};if(vErrors === null){vErrors = [err548];}else {vErrors.push(err548);}errors++;}}else {const err549 = {instancePath:instancePath+"/delivery/pullRequest/bodyTrailers/" + i49,schemaPath:"#/properties/delivery/properties/pullRequest/properties/bodyTrailers/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err549];}else {vErrors.push(err549);}errors++;}}let i50 = data281.length;let j5;if(i50 > 1){const indices5 = {};for(;i50--;){let item5 = data281[i50];if(typeof item5 !== "string"){continue;}if(typeof indices5[item5] == "number"){j5 = indices5[item5];const err550 = {instancePath:instancePath+"/delivery/pullRequest/bodyTrailers",schemaPath:"#/properties/delivery/properties/pullRequest/properties/bodyTrailers/uniqueItems",keyword:"uniqueItems",params:{i: i50, j: j5},message:"must NOT have duplicate items (items ## "+j5+" and "+i50+" are identical)"};if(vErrors === null){vErrors = [err550];}else {vErrors.push(err550);}errors++;break;}indices5[item5] = i50;}}}else {const err551 = {instancePath:instancePath+"/delivery/pullRequest/bodyTrailers",schemaPath:"#/properties/delivery/properties/pullRequest/properties/bodyTrailers/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err551];}else {vErrors.push(err551);}errors++;}}}else {const err552 = {instancePath:instancePath+"/delivery/pullRequest",schemaPath:"#/properties/delivery/properties/pullRequest/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err552];}else {vErrors.push(err552);}errors++;}}if(data58.handoff !== undefined){let data283 = data58.handoff;if(data283 && typeof data283 == "object" && !Array.isArray(data283)){for(const key76 in data283){if(!(key76 === "postSeatChecks")){const err553 = {instancePath:instancePath+"/delivery/handoff",schemaPath:"#/properties/delivery/properties/handoff/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key76},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err553];}else {vErrors.push(err553);}errors++;}}if(data283.postSeatChecks !== undefined){let data284 = data283.postSeatChecks;if(Array.isArray(data284)){const len45 = data284.length;for(let i51=0; i51<len45; i51++){let data285 = data284[i51];if(data285 && typeof data285 == "object" && !Array.isArray(data285)){if(data285.cmd === undefined){const err554 = {instancePath:instancePath+"/delivery/handoff/postSeatChecks/" + i51,schemaPath:"#/properties/delivery/properties/handoff/properties/postSeatChecks/items/required",keyword:"required",params:{missingProperty: "cmd"},message:"must have required property '"+"cmd"+"'"};if(vErrors === null){vErrors = [err554];}else {vErrors.push(err554);}errors++;}for(const key77 in data285){if(!((key77 === "cmd") || (key77 === "args"))){const err555 = {instancePath:instancePath+"/delivery/handoff/postSeatChecks/" + i51,schemaPath:"#/properties/delivery/properties/handoff/properties/postSeatChecks/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key77},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err555];}else {vErrors.push(err555);}errors++;}}if(data285.cmd !== undefined){let data286 = data285.cmd;if(typeof data286 === "string"){if(func2(data286) < 1){const err556 = {instancePath:instancePath+"/delivery/handoff/postSeatChecks/" + i51+"/cmd",schemaPath:"#/properties/delivery/properties/handoff/properties/postSeatChecks/items/properties/cmd/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err556];}else {vErrors.push(err556);}errors++;}}else {const err557 = {instancePath:instancePath+"/delivery/handoff/postSeatChecks/" + i51+"/cmd",schemaPath:"#/properties/delivery/properties/handoff/properties/postSeatChecks/items/properties/cmd/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err557];}else {vErrors.push(err557);}errors++;}}if(data285.args !== undefined){let data287 = data285.args;if(Array.isArray(data287)){const len46 = data287.length;for(let i52=0; i52<len46; i52++){if(typeof data287[i52] !== "string"){const err558 = {instancePath:instancePath+"/delivery/handoff/postSeatChecks/" + i51+"/args/" + i52,schemaPath:"#/properties/delivery/properties/handoff/properties/postSeatChecks/items/properties/args/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err558];}else {vErrors.push(err558);}errors++;}}}else {const err559 = {instancePath:instancePath+"/delivery/handoff/postSeatChecks/" + i51+"/args",schemaPath:"#/properties/delivery/properties/handoff/properties/postSeatChecks/items/properties/args/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err559];}else {vErrors.push(err559);}errors++;}}}else {const err560 = {instancePath:instancePath+"/delivery/handoff/postSeatChecks/" + i51,schemaPath:"#/properties/delivery/properties/handoff/properties/postSeatChecks/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err560];}else {vErrors.push(err560);}errors++;}}}else {const err561 = {instancePath:instancePath+"/delivery/handoff/postSeatChecks",schemaPath:"#/properties/delivery/properties/handoff/properties/postSeatChecks/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err561];}else {vErrors.push(err561);}errors++;}}}else {const err562 = {instancePath:instancePath+"/delivery/handoff",schemaPath:"#/properties/delivery/properties/handoff/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err562];}else {vErrors.push(err562);}errors++;}}if(data58.orchestrate !== undefined){let data289 = data58.orchestrate;if(data289 && typeof data289 == "object" && !Array.isArray(data289)){for(const key78 in data289){if(!((key78 === "requeueCommand") || (key78 === "releaseVeto"))){const err563 = {instancePath:instancePath+"/delivery/orchestrate",schemaPath:"#/properties/delivery/properties/orchestrate/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key78},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err563];}else {vErrors.push(err563);}errors++;}}if(data289.requeueCommand !== undefined){let data290 = data289.requeueCommand;if(data290 && typeof data290 == "object" && !Array.isArray(data290)){if(data290.cmd === undefined){const err564 = {instancePath:instancePath+"/delivery/orchestrate/requeueCommand",schemaPath:"#/properties/delivery/properties/orchestrate/properties/requeueCommand/required",keyword:"required",params:{missingProperty: "cmd"},message:"must have required property '"+"cmd"+"'"};if(vErrors === null){vErrors = [err564];}else {vErrors.push(err564);}errors++;}for(const key79 in data290){if(!((key79 === "cmd") || (key79 === "args"))){const err565 = {instancePath:instancePath+"/delivery/orchestrate/requeueCommand",schemaPath:"#/properties/delivery/properties/orchestrate/properties/requeueCommand/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key79},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err565];}else {vErrors.push(err565);}errors++;}}if(data290.cmd !== undefined){let data291 = data290.cmd;if(typeof data291 === "string"){if(func2(data291) < 1){const err566 = {instancePath:instancePath+"/delivery/orchestrate/requeueCommand/cmd",schemaPath:"#/properties/delivery/properties/orchestrate/properties/requeueCommand/properties/cmd/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+"/delivery/orchestrate/requeueCommand/cmd",schemaPath:"#/properties/delivery/properties/orchestrate/properties/requeueCommand/properties/cmd/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err567];}else {vErrors.push(err567);}errors++;}}if(data290.args !== undefined){let data292 = data290.args;if(Array.isArray(data292)){const len47 = data292.length;for(let i53=0; i53<len47; i53++){if(typeof data292[i53] !== "string"){const err568 = {instancePath:instancePath+"/delivery/orchestrate/requeueCommand/args/" + i53,schemaPath:"#/properties/delivery/properties/orchestrate/properties/requeueCommand/properties/args/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err568];}else {vErrors.push(err568);}errors++;}}}else {const err569 = {instancePath:instancePath+"/delivery/orchestrate/requeueCommand/args",schemaPath:"#/properties/delivery/properties/orchestrate/properties/requeueCommand/properties/args/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err569];}else {vErrors.push(err569);}errors++;}}}else {const err570 = {instancePath:instancePath+"/delivery/orchestrate/requeueCommand",schemaPath:"#/properties/delivery/properties/orchestrate/properties/requeueCommand/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err570];}else {vErrors.push(err570);}errors++;}}if(data289.releaseVeto !== undefined){let data294 = data289.releaseVeto;if(data294 && typeof data294 == "object" && !Array.isArray(data294)){if(data294.prLabel === undefined){const err571 = {instancePath:instancePath+"/delivery/orchestrate/releaseVeto",schemaPath:"#/properties/delivery/properties/orchestrate/properties/releaseVeto/required",keyword:"required",params:{missingProperty: "prLabel"},message:"must have required property '"+"prLabel"+"'"};if(vErrors === null){vErrors = [err571];}else {vErrors.push(err571);}errors++;}if(data294.cmd === undefined){const err572 = {instancePath:instancePath+"/delivery/orchestrate/releaseVeto",schemaPath:"#/properties/delivery/properties/orchestrate/properties/releaseVeto/required",keyword:"required",params:{missingProperty: "cmd"},message:"must have required property '"+"cmd"+"'"};if(vErrors === null){vErrors = [err572];}else {vErrors.push(err572);}errors++;}for(const key80 in data294){if(!(((key80 === "prLabel") || (key80 === "cmd")) || (key80 === "args"))){const err573 = {instancePath:instancePath+"/delivery/orchestrate/releaseVeto",schemaPath:"#/properties/delivery/properties/orchestrate/properties/releaseVeto/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key80},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err573];}else {vErrors.push(err573);}errors++;}}if(data294.prLabel !== undefined){let data295 = data294.prLabel;if(typeof data295 === "string"){if(func2(data295) < 1){const err574 = {instancePath:instancePath+"/delivery/orchestrate/releaseVeto/prLabel",schemaPath:"#/properties/delivery/properties/orchestrate/properties/releaseVeto/properties/prLabel/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+"/delivery/orchestrate/releaseVeto/prLabel",schemaPath:"#/properties/delivery/properties/orchestrate/properties/releaseVeto/properties/prLabel/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err575];}else {vErrors.push(err575);}errors++;}}if(data294.cmd !== undefined){let data296 = data294.cmd;if(typeof data296 === "string"){if(func2(data296) < 1){const err576 = {instancePath:instancePath+"/delivery/orchestrate/releaseVeto/cmd",schemaPath:"#/properties/delivery/properties/orchestrate/properties/releaseVeto/properties/cmd/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err576];}else {vErrors.push(err576);}errors++;}}else {const err577 = {instancePath:instancePath+"/delivery/orchestrate/releaseVeto/cmd",schemaPath:"#/properties/delivery/properties/orchestrate/properties/releaseVeto/properties/cmd/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err577];}else {vErrors.push(err577);}errors++;}}if(data294.args !== undefined){let data297 = data294.args;if(Array.isArray(data297)){const len48 = data297.length;for(let i54=0; i54<len48; i54++){if(typeof data297[i54] !== "string"){const err578 = {instancePath:instancePath+"/delivery/orchestrate/releaseVeto/args/" + i54,schemaPath:"#/properties/delivery/properties/orchestrate/properties/releaseVeto/properties/args/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err578];}else {vErrors.push(err578);}errors++;}}}else {const err579 = {instancePath:instancePath+"/delivery/orchestrate/releaseVeto/args",schemaPath:"#/properties/delivery/properties/orchestrate/properties/releaseVeto/properties/args/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err579];}else {vErrors.push(err579);}errors++;}}}else {const err580 = {instancePath:instancePath+"/delivery/orchestrate/releaseVeto",schemaPath:"#/properties/delivery/properties/orchestrate/properties/releaseVeto/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err580];}else {vErrors.push(err580);}errors++;}}}else {const err581 = {instancePath:instancePath+"/delivery/orchestrate",schemaPath:"#/properties/delivery/properties/orchestrate/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err581];}else {vErrors.push(err581);}errors++;}}if(data58.routing !== undefined){let data299 = data58.routing;if(data299 && typeof data299 == "object" && !Array.isArray(data299)){for(const key81 in data299){if(!((((key81 === "roleScopedAgents") || (key81 === "ceremonyProfile")) || (key81 === "closeAndLand")) || (key81 === "agentModels"))){const err582 = {instancePath:instancePath+"/delivery/routing",schemaPath:"#/properties/delivery/properties/routing/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key81},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err582];}else {vErrors.push(err582);}errors++;}}if(data299.roleScopedAgents !== undefined){if(typeof data299.roleScopedAgents !== "boolean"){const err583 = {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 = [err583];}else {vErrors.push(err583);}errors++;}}if(data299.ceremonyProfile !== undefined){let data301 = data299.ceremonyProfile;if(typeof data301 !== "string"){const err584 = {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 = [err584];}else {vErrors.push(err584);}errors++;}if(!(((data301 === "minimal") || (data301 === "standard")) || (data301 === "strict"))){const err585 = {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 = [err585];}else {vErrors.push(err585);}errors++;}}if(data299.closeAndLand !== undefined){if(typeof data299.closeAndLand !== "boolean"){const err586 = {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 = [err586];}else {vErrors.push(err586);}errors++;}}if(data299.agentModels !== undefined){let data303 = data299.agentModels;if(data303 && typeof data303 == "object" && !Array.isArray(data303)){for(const key82 in data303){const _errs756 = errors;if(!((((key82 === "story-worker") || (key82 === "acceptance-critic")) || (key82 === "plan-critic")) || (key82 === "auditor"))){const err587 = {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:key82};if(vErrors === null){vErrors = [err587];}else {vErrors.push(err587);}errors++;}var valid217 = _errs756 === errors;if(!valid217){const err588 = {instancePath:instancePath+"/delivery/routing/agentModels",schemaPath:"#/properties/delivery/properties/routing/properties/agentModels/propertyNames",keyword:"propertyNames",params:{propertyName: key82},message:"property name must be valid"};if(vErrors === null){vErrors = [err588];}else {vErrors.push(err588);}errors++;}}for(const key83 in data303){let data304 = data303[key83];if(typeof data304 === "string"){if(!pattern31.test(data304)){const err589 = {instancePath:instancePath+"/delivery/routing/agentModels/" + key83.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 = [err589];}else {vErrors.push(err589);}errors++;}}else {const err590 = {instancePath:instancePath+"/delivery/routing/agentModels/" + key83.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 = [err590];}else {vErrors.push(err590);}errors++;}}}else {const err591 = {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 = [err591];}else {vErrors.push(err591);}errors++;}}}else {const err592 = {instancePath:instancePath+"/delivery/routing",schemaPath:"#/properties/delivery/properties/routing/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err592];}else {vErrors.push(err592);}errors++;}}}else {const err593 = {instancePath:instancePath+"/delivery",schemaPath:"#/properties/delivery/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err593];}else {vErrors.push(err593);}errors++;}}if(data.qa !== undefined){let data305 = data.qa;if(data305 && typeof data305 == "object" && !Array.isArray(data305)){for(const key84 in data305){if(!(((((((key84 === "featureRoot") || (key84 === "fixturesManifest")) || (key84 === "environments")) || (key84 === "personas")) || (key84 === "gherkinLint")) || (key84 === "consoleAllowlist")) || (key84 === "designTokens"))){const err594 = {instancePath:instancePath+"/qa",schemaPath:"#/properties/qa/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key84},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err594];}else {vErrors.push(err594);}errors++;}}if(data305.featureRoot !== undefined){let data306 = data305.featureRoot;const _errs765 = errors;const _errs766 = errors;if(typeof data306 === "string"){if(!pattern0.test(data306)){const err595 = {};if(vErrors === null){vErrors = [err595];}else {vErrors.push(err595);}errors++;}}var valid220 = _errs766 === errors;if(valid220){const err596 = {instancePath:instancePath+"/qa/featureRoot",schemaPath:"#/properties/qa/properties/featureRoot/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err596];}else {vErrors.push(err596);}errors++;}else {errors = _errs765;if(vErrors !== null){if(_errs765){vErrors.length = _errs765;}else {vErrors = null;}}}if(typeof data306 === "string"){if(func2(data306) < 1){const err597 = {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 = [err597];}else {vErrors.push(err597);}errors++;}}else {const err598 = {instancePath:instancePath+"/qa/featureRoot",schemaPath:"#/properties/qa/properties/featureRoot/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err598];}else {vErrors.push(err598);}errors++;}}if(data305.fixturesManifest !== undefined){let data307 = data305.fixturesManifest;const _errs769 = errors;const _errs770 = errors;if(typeof data307 === "string"){if(!pattern0.test(data307)){const err599 = {};if(vErrors === null){vErrors = [err599];}else {vErrors.push(err599);}errors++;}}var valid221 = _errs770 === errors;if(valid221){const err600 = {instancePath:instancePath+"/qa/fixturesManifest",schemaPath:"#/properties/qa/properties/fixturesManifest/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err600];}else {vErrors.push(err600);}errors++;}else {errors = _errs769;if(vErrors !== null){if(_errs769){vErrors.length = _errs769;}else {vErrors = null;}}}if(typeof data307 === "string"){if(func2(data307) < 1){const err601 = {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 = [err601];}else {vErrors.push(err601);}errors++;}}else {const err602 = {instancePath:instancePath+"/qa/fixturesManifest",schemaPath:"#/properties/qa/properties/fixturesManifest/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err602];}else {vErrors.push(err602);}errors++;}}if(data305.environments !== undefined){let data308 = data305.environments;if(data308 && typeof data308 == "object" && !Array.isArray(data308)){if(Object.keys(data308).length < 1){const err603 = {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 = [err603];}else {vErrors.push(err603);}errors++;}for(const key85 in data308){let data309 = data308[key85];if(data309 && typeof data309 == "object" && !Array.isArray(data309)){if(data309.baseUrl === undefined){const err604 = {instancePath:instancePath+"/qa/environments/" + key85.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 = [err604];}else {vErrors.push(err604);}errors++;}for(const key86 in data309){if(!((((key86 === "baseUrl") || (key86 === "signInSeam")) || (key86 === "allowWrites")) || (key86 === "database"))){const err605 = {instancePath:instancePath+"/qa/environments/" + key85.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/qa/properties/environments/additionalProperties/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key86},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err605];}else {vErrors.push(err605);}errors++;}}if(data309.baseUrl !== undefined){let data310 = data309.baseUrl;const _errs779 = errors;const _errs780 = errors;if(typeof data310 === "string"){if(!pattern0.test(data310)){const err606 = {};if(vErrors === null){vErrors = [err606];}else {vErrors.push(err606);}errors++;}}var valid224 = _errs780 === errors;if(valid224){const err607 = {instancePath:instancePath+"/qa/environments/" + key85.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 = [err607];}else {vErrors.push(err607);}errors++;}else {errors = _errs779;if(vErrors !== null){if(_errs779){vErrors.length = _errs779;}else {vErrors = null;}}}if(typeof data310 === "string"){if(func2(data310) < 1){const err608 = {instancePath:instancePath+"/qa/environments/" + key85.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 = [err608];}else {vErrors.push(err608);}errors++;}}else {const err609 = {instancePath:instancePath+"/qa/environments/" + key85.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 = [err609];}else {vErrors.push(err609);}errors++;}}if(data309.signInSeam !== undefined){let data311 = data309.signInSeam;const _errs782 = errors;let valid225 = false;let passing3 = null;const _errs783 = errors;if(data311 && typeof data311 == "object" && !Array.isArray(data311)){if(data311.urlTemplate === undefined){const err610 = {instancePath:instancePath+"/qa/environments/" + key85.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 = [err610];}else {vErrors.push(err610);}errors++;}for(const key87 in data311){if(!(key87 === "urlTemplate")){const err611 = {instancePath:instancePath+"/qa/environments/" + key85.replace(/~/g, "~0").replace(/\//g, "~1")+"/signInSeam",schemaPath:"#/properties/qa/properties/environments/additionalProperties/properties/signInSeam/oneOf/0/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key87},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err611];}else {vErrors.push(err611);}errors++;}}if(data311.urlTemplate !== undefined){let data312 = data311.urlTemplate;const _errs788 = errors;const _errs789 = errors;if(typeof data312 === "string"){if(!pattern0.test(data312)){const err612 = {};if(vErrors === null){vErrors = [err612];}else {vErrors.push(err612);}errors++;}}var valid227 = _errs789 === errors;if(valid227){const err613 = {instancePath:instancePath+"/qa/environments/" + key85.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 = [err613];}else {vErrors.push(err613);}errors++;}else {errors = _errs788;if(vErrors !== null){if(_errs788){vErrors.length = _errs788;}else {vErrors = null;}}}if(typeof data312 === "string"){if(func2(data312) < 1){const err614 = {instancePath:instancePath+"/qa/environments/" + key85.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 = [err614];}else {vErrors.push(err614);}errors++;}}else {const err615 = {instancePath:instancePath+"/qa/environments/" + key85.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 = [err615];}else {vErrors.push(err615);}errors++;}}}else {const err616 = {instancePath:instancePath+"/qa/environments/" + key85.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 = [err616];}else {vErrors.push(err616);}errors++;}var _valid4 = _errs783 === errors;if(_valid4){valid225 = true;passing3 = 0;}const _errs790 = errors;if(data311 && typeof data311 == "object" && !Array.isArray(data311)){if(data311.skill === undefined){const err617 = {instancePath:instancePath+"/qa/environments/" + key85.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 = [err617];}else {vErrors.push(err617);}errors++;}for(const key88 in data311){if(!(key88 === "skill")){const err618 = {instancePath:instancePath+"/qa/environments/" + key85.replace(/~/g, "~0").replace(/\//g, "~1")+"/signInSeam",schemaPath:"#/properties/qa/properties/environments/additionalProperties/properties/signInSeam/oneOf/1/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key88},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err618];}else {vErrors.push(err618);}errors++;}}if(data311.skill !== undefined){let data313 = data311.skill;const _errs795 = errors;const _errs796 = errors;if(typeof data313 === "string"){if(!pattern0.test(data313)){const err619 = {};if(vErrors === null){vErrors = [err619];}else {vErrors.push(err619);}errors++;}}var valid229 = _errs796 === errors;if(valid229){const err620 = {instancePath:instancePath+"/qa/environments/" + key85.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 = [err620];}else {vErrors.push(err620);}errors++;}else {errors = _errs795;if(vErrors !== null){if(_errs795){vErrors.length = _errs795;}else {vErrors = null;}}}if(typeof data313 === "string"){if(func2(data313) < 1){const err621 = {instancePath:instancePath+"/qa/environments/" + key85.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 = [err621];}else {vErrors.push(err621);}errors++;}if(!pattern37.test(data313)){const err622 = {instancePath:instancePath+"/qa/environments/" + key85.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 = [err622];}else {vErrors.push(err622);}errors++;}}else {const err623 = {instancePath:instancePath+"/qa/environments/" + key85.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 = [err623];}else {vErrors.push(err623);}errors++;}}}else {const err624 = {instancePath:instancePath+"/qa/environments/" + key85.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 = [err624];}else {vErrors.push(err624);}errors++;}var _valid4 = _errs790 === errors;if(_valid4 && valid225){valid225 = false;passing3 = [passing3, 1];}else {if(_valid4){valid225 = true;passing3 = 1;}}if(!valid225){const err625 = {instancePath:instancePath+"/qa/environments/" + key85.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 = [err625];}else {vErrors.push(err625);}errors++;}else {errors = _errs782;if(vErrors !== null){if(_errs782){vErrors.length = _errs782;}else {vErrors = null;}}}}if(data309.allowWrites !== undefined){if(typeof data309.allowWrites !== "boolean"){const err626 = {instancePath:instancePath+"/qa/environments/" + key85.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 = [err626];}else {vErrors.push(err626);}errors++;}}if(data309.database !== undefined){let data315 = data309.database;if(data315 && typeof data315 == "object" && !Array.isArray(data315)){if(data315.urlEnv === undefined){const err627 = {instancePath:instancePath+"/qa/environments/" + key85.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 = [err627];}else {vErrors.push(err627);}errors++;}for(const key89 in data315){if(!((key89 === "urlEnv") || (key89 === "allowAudit"))){const err628 = {instancePath:instancePath+"/qa/environments/" + key85.replace(/~/g, "~0").replace(/\//g, "~1")+"/database",schemaPath:"#/properties/qa/properties/environments/additionalProperties/properties/database/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key89},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err628];}else {vErrors.push(err628);}errors++;}}if(data315.urlEnv !== undefined){let data316 = data315.urlEnv;if(typeof data316 === "string"){if(!pattern38.test(data316)){const err629 = {instancePath:instancePath+"/qa/environments/" + key85.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 = [err629];}else {vErrors.push(err629);}errors++;}}else {const err630 = {instancePath:instancePath+"/qa/environments/" + key85.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 = [err630];}else {vErrors.push(err630);}errors++;}}if(data315.allowAudit !== undefined){if(typeof data315.allowAudit !== "boolean"){const err631 = {instancePath:instancePath+"/qa/environments/" + key85.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 = [err631];}else {vErrors.push(err631);}errors++;}}}else {const err632 = {instancePath:instancePath+"/qa/environments/" + key85.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 = [err632];}else {vErrors.push(err632);}errors++;}}}else {const err633 = {instancePath:instancePath+"/qa/environments/" + key85.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 = [err633];}else {vErrors.push(err633);}errors++;}}}else {const err634 = {instancePath:instancePath+"/qa/environments",schemaPath:"#/properties/qa/properties/environments/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err634];}else {vErrors.push(err634);}errors++;}}if(data305.personas !== undefined){let data318 = data305.personas;const _errs807 = errors;let valid231 = false;let passing4 = null;const _errs808 = errors;if(Array.isArray(data318)){if(data318.length < 1){const err635 = {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 = [err635];}else {vErrors.push(err635);}errors++;}const len49 = data318.length;for(let i55=0; i55<len49; i55++){let data319 = data318[i55];const _errs812 = errors;const _errs813 = errors;if(typeof data319 === "string"){if(!pattern0.test(data319)){const err636 = {};if(vErrors === null){vErrors = [err636];}else {vErrors.push(err636);}errors++;}}var valid234 = _errs813 === errors;if(valid234){const err637 = {instancePath:instancePath+"/qa/personas/" + i55,schemaPath:"#/properties/qa/properties/personas/oneOf/0/items/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err637];}else {vErrors.push(err637);}errors++;}else {errors = _errs812;if(vErrors !== null){if(_errs812){vErrors.length = _errs812;}else {vErrors = null;}}}if(typeof data319 === "string"){if(func2(data319) < 1){const err638 = {instancePath:instancePath+"/qa/personas/" + i55,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 = [err638];}else {vErrors.push(err638);}errors++;}}else {const err639 = {instancePath:instancePath+"/qa/personas/" + i55,schemaPath:"#/properties/qa/properties/personas/oneOf/0/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err639];}else {vErrors.push(err639);}errors++;}}}else {const err640 = {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 = [err640];}else {vErrors.push(err640);}errors++;}var _valid5 = _errs808 === errors;if(_valid5){valid231 = true;passing4 = 0;}const _errs814 = errors;if(data318 && typeof data318 == "object" && !Array.isArray(data318)){if(Object.keys(data318).length < 1){const err641 = {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 = [err641];}else {vErrors.push(err641);}errors++;}for(const key90 in data318){let data320 = data318[key90];const _errs818 = errors;let valid236 = false;let passing5 = null;const _errs819 = errors;if(data320 && typeof data320 == "object" && !Array.isArray(data320)){if(data320.credentialRef === undefined){const err642 = {instancePath:instancePath+"/qa/personas/" + key90.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 = [err642];}else {vErrors.push(err642);}errors++;}for(const key91 in data320){if(!(key91 === "credentialRef")){const err643 = {instancePath:instancePath+"/qa/personas/" + key90.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/qa/properties/personas/oneOf/1/additionalProperties/oneOf/0/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key91},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err643];}else {vErrors.push(err643);}errors++;}}if(data320.credentialRef !== undefined){let data321 = data320.credentialRef;const _errs824 = errors;const _errs825 = errors;if(typeof data321 === "string"){if(!pattern0.test(data321)){const err644 = {};if(vErrors === null){vErrors = [err644];}else {vErrors.push(err644);}errors++;}}var valid238 = _errs825 === errors;if(valid238){const err645 = {instancePath:instancePath+"/qa/personas/" + key90.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 = [err645];}else {vErrors.push(err645);}errors++;}else {errors = _errs824;if(vErrors !== null){if(_errs824){vErrors.length = _errs824;}else {vErrors = null;}}}if(typeof data321 === "string"){if(func2(data321) < 1){const err646 = {instancePath:instancePath+"/qa/personas/" + key90.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 = [err646];}else {vErrors.push(err646);}errors++;}}else {const err647 = {instancePath:instancePath+"/qa/personas/" + key90.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 = [err647];}else {vErrors.push(err647);}errors++;}}}else {const err648 = {instancePath:instancePath+"/qa/personas/" + key90.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 = [err648];}else {vErrors.push(err648);}errors++;}var _valid6 = _errs819 === errors;if(_valid6){valid236 = true;passing5 = 0;}const _errs826 = errors;if(data320 && typeof data320 == "object" && !Array.isArray(data320)){if(data320.signInSkill === undefined){const err649 = {instancePath:instancePath+"/qa/personas/" + key90.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 = [err649];}else {vErrors.push(err649);}errors++;}for(const key92 in data320){if(!(key92 === "signInSkill")){const err650 = {instancePath:instancePath+"/qa/personas/" + key90.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/qa/properties/personas/oneOf/1/additionalProperties/oneOf/1/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key92},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err650];}else {vErrors.push(err650);}errors++;}}if(data320.signInSkill !== undefined){let data322 = data320.signInSkill;const _errs831 = errors;const _errs832 = errors;if(typeof data322 === "string"){if(!pattern0.test(data322)){const err651 = {};if(vErrors === null){vErrors = [err651];}else {vErrors.push(err651);}errors++;}}var valid240 = _errs832 === errors;if(valid240){const err652 = {instancePath:instancePath+"/qa/personas/" + key90.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 = [err652];}else {vErrors.push(err652);}errors++;}else {errors = _errs831;if(vErrors !== null){if(_errs831){vErrors.length = _errs831;}else {vErrors = null;}}}if(typeof data322 === "string"){if(func2(data322) < 1){const err653 = {instancePath:instancePath+"/qa/personas/" + key90.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 = [err653];}else {vErrors.push(err653);}errors++;}}else {const err654 = {instancePath:instancePath+"/qa/personas/" + key90.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 = [err654];}else {vErrors.push(err654);}errors++;}}}else {const err655 = {instancePath:instancePath+"/qa/personas/" + key90.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 = [err655];}else {vErrors.push(err655);}errors++;}var _valid6 = _errs826 === errors;if(_valid6 && valid236){valid236 = false;passing5 = [passing5, 1];}else {if(_valid6){valid236 = true;passing5 = 1;}}if(!valid236){const err656 = {instancePath:instancePath+"/qa/personas/" + key90.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 = [err656];}else {vErrors.push(err656);}errors++;}else {errors = _errs818;if(vErrors !== null){if(_errs818){vErrors.length = _errs818;}else {vErrors = null;}}}}}else {const err657 = {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 = [err657];}else {vErrors.push(err657);}errors++;}var _valid5 = _errs814 === errors;if(_valid5 && valid231){valid231 = false;passing4 = [passing4, 1];}else {if(_valid5){valid231 = true;passing4 = 1;}}if(!valid231){const err658 = {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 = [err658];}else {vErrors.push(err658);}errors++;}else {errors = _errs807;if(vErrors !== null){if(_errs807){vErrors.length = _errs807;}else {vErrors = null;}}}}if(data305.gherkinLint !== undefined){let data323 = data305.gherkinLint;if(data323 && typeof data323 == "object" && !Array.isArray(data323)){if(data323.scopes === undefined){const err659 = {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 = [err659];}else {vErrors.push(err659);}errors++;}for(const key93 in data323){if(!(((key93 === "scopes") || (key93 === "exemptionTags")) || (key93 === "stepWaivers"))){const err660 = {instancePath:instancePath+"/qa/gherkinLint",schemaPath:"#/properties/qa/properties/gherkinLint/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key93},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err660];}else {vErrors.push(err660);}errors++;}}if(data323.scopes !== undefined){let data324 = data323.scopes;if(data324 && typeof data324 == "object" && !Array.isArray(data324)){if(Object.keys(data324).length < 1){const err661 = {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 = [err661];}else {vErrors.push(err661);}errors++;}for(const key94 in data324){let data325 = data324[key94];if(data325 && typeof data325 == "object" && !Array.isArray(data325)){if(data325.featureRoots === undefined){const err662 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key94.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 = [err662];}else {vErrors.push(err662);}errors++;}if(data325.stepRoots === undefined){const err663 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key94.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 = [err663];}else {vErrors.push(err663);}errors++;}for(const key95 in data325){if(!((key95 === "featureRoots") || (key95 === "stepRoots"))){const err664 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key94.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/qa/properties/gherkinLint/properties/scopes/additionalProperties/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key95},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err664];}else {vErrors.push(err664);}errors++;}}if(data325.featureRoots !== undefined){let data326 = data325.featureRoots;if(Array.isArray(data326)){if(data326.length < 1){const err665 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key94.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 = [err665];}else {vErrors.push(err665);}errors++;}const len50 = data326.length;for(let i56=0; i56<len50; i56++){let data327 = data326[i56];const _errs846 = errors;const _errs847 = errors;if(typeof data327 === "string"){if(!pattern0.test(data327)){const err666 = {};if(vErrors === null){vErrors = [err666];}else {vErrors.push(err666);}errors++;}}var valid246 = _errs847 === errors;if(valid246){const err667 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key94.replace(/~/g, "~0").replace(/\//g, "~1")+"/featureRoots/" + i56,schemaPath:"#/properties/qa/properties/gherkinLint/properties/scopes/additionalProperties/properties/featureRoots/items/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err667];}else {vErrors.push(err667);}errors++;}else {errors = _errs846;if(vErrors !== null){if(_errs846){vErrors.length = _errs846;}else {vErrors = null;}}}if(typeof data327 === "string"){if(func2(data327) < 1){const err668 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key94.replace(/~/g, "~0").replace(/\//g, "~1")+"/featureRoots/" + i56,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 = [err668];}else {vErrors.push(err668);}errors++;}}else {const err669 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key94.replace(/~/g, "~0").replace(/\//g, "~1")+"/featureRoots/" + i56,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 = [err669];}else {vErrors.push(err669);}errors++;}}}else {const err670 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key94.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 = [err670];}else {vErrors.push(err670);}errors++;}}if(data325.stepRoots !== undefined){let data328 = data325.stepRoots;if(Array.isArray(data328)){if(data328.length < 1){const err671 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key94.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 = [err671];}else {vErrors.push(err671);}errors++;}const len51 = data328.length;for(let i57=0; i57<len51; i57++){let data329 = data328[i57];const _errs852 = errors;const _errs853 = errors;if(typeof data329 === "string"){if(!pattern0.test(data329)){const err672 = {};if(vErrors === null){vErrors = [err672];}else {vErrors.push(err672);}errors++;}}var valid249 = _errs853 === errors;if(valid249){const err673 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key94.replace(/~/g, "~0").replace(/\//g, "~1")+"/stepRoots/" + i57,schemaPath:"#/properties/qa/properties/gherkinLint/properties/scopes/additionalProperties/properties/stepRoots/items/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err673];}else {vErrors.push(err673);}errors++;}else {errors = _errs852;if(vErrors !== null){if(_errs852){vErrors.length = _errs852;}else {vErrors = null;}}}if(typeof data329 === "string"){if(func2(data329) < 1){const err674 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key94.replace(/~/g, "~0").replace(/\//g, "~1")+"/stepRoots/" + i57,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 = [err674];}else {vErrors.push(err674);}errors++;}}else {const err675 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key94.replace(/~/g, "~0").replace(/\//g, "~1")+"/stepRoots/" + i57,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 = [err675];}else {vErrors.push(err675);}errors++;}}}else {const err676 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key94.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 = [err676];}else {vErrors.push(err676);}errors++;}}}else {const err677 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key94.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 = [err677];}else {vErrors.push(err677);}errors++;}}}else {const err678 = {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 = [err678];}else {vErrors.push(err678);}errors++;}}if(data323.exemptionTags !== undefined){let data330 = data323.exemptionTags;if(Array.isArray(data330)){const len52 = data330.length;for(let i58=0; i58<len52; i58++){let data331 = data330[i58];const _errs858 = errors;const _errs859 = errors;if(typeof data331 === "string"){if(!pattern0.test(data331)){const err679 = {};if(vErrors === null){vErrors = [err679];}else {vErrors.push(err679);}errors++;}}var valid252 = _errs859 === errors;if(valid252){const err680 = {instancePath:instancePath+"/qa/gherkinLint/exemptionTags/" + i58,schemaPath:"#/properties/qa/properties/gherkinLint/properties/exemptionTags/items/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err680];}else {vErrors.push(err680);}errors++;}else {errors = _errs858;if(vErrors !== null){if(_errs858){vErrors.length = _errs858;}else {vErrors = null;}}}if(typeof data331 === "string"){if(func2(data331) < 1){const err681 = {instancePath:instancePath+"/qa/gherkinLint/exemptionTags/" + i58,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 = [err681];}else {vErrors.push(err681);}errors++;}}else {const err682 = {instancePath:instancePath+"/qa/gherkinLint/exemptionTags/" + i58,schemaPath:"#/properties/qa/properties/gherkinLint/properties/exemptionTags/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err682];}else {vErrors.push(err682);}errors++;}}}else {const err683 = {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 = [err683];}else {vErrors.push(err683);}errors++;}}if(data323.stepWaivers !== undefined){let data332 = data323.stepWaivers;if(Array.isArray(data332)){const len53 = data332.length;for(let i59=0; i59<len53; i59++){let data333 = data332[i59];if(typeof data333 === "string"){if(func2(data333) < 1){const err684 = {instancePath:instancePath+"/qa/gherkinLint/stepWaivers/" + i59,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 = [err684];}else {vErrors.push(err684);}errors++;}}else {const err685 = {instancePath:instancePath+"/qa/gherkinLint/stepWaivers/" + i59,schemaPath:"#/properties/qa/properties/gherkinLint/properties/stepWaivers/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err685];}else {vErrors.push(err685);}errors++;}}}else {const err686 = {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 = [err686];}else {vErrors.push(err686);}errors++;}}}else {const err687 = {instancePath:instancePath+"/qa/gherkinLint",schemaPath:"#/properties/qa/properties/gherkinLint/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err687];}else {vErrors.push(err687);}errors++;}}if(data305.consoleAllowlist !== undefined){let data334 = data305.consoleAllowlist;if(Array.isArray(data334)){const len54 = data334.length;for(let i60=0; i60<len54; i60++){let data335 = data334[i60];const _errs868 = errors;const _errs869 = errors;if(typeof data335 === "string"){if(!pattern0.test(data335)){const err688 = {};if(vErrors === null){vErrors = [err688];}else {vErrors.push(err688);}errors++;}}var valid257 = _errs869 === errors;if(valid257){const err689 = {instancePath:instancePath+"/qa/consoleAllowlist/" + i60,schemaPath:"#/properties/qa/properties/consoleAllowlist/items/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err689];}else {vErrors.push(err689);}errors++;}else {errors = _errs868;if(vErrors !== null){if(_errs868){vErrors.length = _errs868;}else {vErrors = null;}}}if(typeof data335 === "string"){if(func2(data335) < 1){const err690 = {instancePath:instancePath+"/qa/consoleAllowlist/" + i60,schemaPath:"#/properties/qa/properties/consoleAllowlist/items/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err690];}else {vErrors.push(err690);}errors++;}}else {const err691 = {instancePath:instancePath+"/qa/consoleAllowlist/" + i60,schemaPath:"#/properties/qa/properties/consoleAllowlist/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err691];}else {vErrors.push(err691);}errors++;}}}else {const err692 = {instancePath:instancePath+"/qa/consoleAllowlist",schemaPath:"#/properties/qa/properties/consoleAllowlist/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err692];}else {vErrors.push(err692);}errors++;}}if(data305.designTokens !== undefined){let data336 = data305.designTokens;const _errs872 = errors;const _errs873 = errors;if(typeof data336 === "string"){if(!pattern0.test(data336)){const err693 = {};if(vErrors === null){vErrors = [err693];}else {vErrors.push(err693);}errors++;}}var valid258 = _errs873 === errors;if(valid258){const err694 = {instancePath:instancePath+"/qa/designTokens",schemaPath:"#/properties/qa/properties/designTokens/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err694];}else {vErrors.push(err694);}errors++;}else {errors = _errs872;if(vErrors !== null){if(_errs872){vErrors.length = _errs872;}else {vErrors = null;}}}if(typeof data336 === "string"){if(func2(data336) < 1){const err695 = {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 = [err695];}else {vErrors.push(err695);}errors++;}}else {const err696 = {instancePath:instancePath+"/qa/designTokens",schemaPath:"#/properties/qa/properties/designTokens/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err696];}else {vErrors.push(err696);}errors++;}}}else {const err697 = {instancePath:instancePath+"/qa",schemaPath:"#/properties/qa/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err697];}else {vErrors.push(err697);}errors++;}}}else {const err698 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err698];}else {vErrors.push(err698);}errors++;}validate10.errors = vErrors;return errors === 0;}
25
+ deps: "coveragePath"},message:"must have property coveragePath when property captureScript is present"};if(vErrors === null){vErrors = [err266];}else {vErrors.push(err266);}errors++;}}if(data124.enabled !== undefined){if(typeof data124.enabled !== "boolean"){const err267 = {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 = [err267];}else {vErrors.push(err267);}errors++;}}if(data124.baselinePath !== undefined){let data126 = data124.baselinePath;const _errs328 = errors;const _errs329 = errors;if(typeof data126 === "string"){if(!pattern0.test(data126)){const err268 = {};if(vErrors === null){vErrors = [err268];}else {vErrors.push(err268);}errors++;}}var valid88 = _errs329 === errors;if(valid88){const err269 = {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 = [err269];}else {vErrors.push(err269);}errors++;}else {errors = _errs328;if(vErrors !== null){if(_errs328){vErrors.length = _errs328;}else {vErrors = null;}}}if(typeof data126 === "string"){if(func2(data126) < 1){const err270 = {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 = [err270];}else {vErrors.push(err270);}errors++;}}else {const err271 = {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 = [err271];}else {vErrors.push(err271);}errors++;}}if(data124.tolerance !== undefined){let data127 = data124.tolerance;if(data127 && typeof data127 == "object" && !Array.isArray(data127)){if(data127.kind === undefined){const err272 = {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 = [err272];}else {vErrors.push(err272);}errors++;}if(data127.value === undefined){const err273 = {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 = [err273];}else {vErrors.push(err273);}errors++;}for(const key30 in data127){if(!((key30 === "kind") || (key30 === "value"))){const err274 = {instancePath:instancePath+"/delivery/quality/gates/crap/tolerance",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/tolerance/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key30},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err274];}else {vErrors.push(err274);}errors++;}}if(data127.kind !== undefined){let data128 = data127.kind;if(typeof data128 !== "string"){const err275 = {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 = [err275];}else {vErrors.push(err275);}errors++;}if(!((data128 === "absolute") || (data128 === "percent"))){const err276 = {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 = [err276];}else {vErrors.push(err276);}errors++;}}if(data127.value !== undefined){let data129 = data127.value;if((typeof data129 == "number") && (isFinite(data129))){if(data129 < 0 || isNaN(data129)){const err277 = {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 = [err277];}else {vErrors.push(err277);}errors++;}}else {const err278 = {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 = [err278];}else {vErrors.push(err278);}errors++;}}}else {const err279 = {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 = [err279];}else {vErrors.push(err279);}errors++;}}if(data124.floors !== undefined){let data130 = data124.floors;if(data130 && typeof data130 == "object" && !Array.isArray(data130)){for(const key31 in data130){let data131 = data130[key31];if(data131 && typeof data131 == "object" && !Array.isArray(data131)){for(const key32 in data131){let data132 = data131[key32];if(!((typeof data132 == "number") && (isFinite(data132)))){const err280 = {instancePath:instancePath+"/delivery/quality/gates/crap/floors/" + key31.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + key32.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 = [err280];}else {vErrors.push(err280);}errors++;}}}else {const err281 = {instancePath:instancePath+"/delivery/quality/gates/crap/floors/" + key31.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 = [err281];}else {vErrors.push(err281);}errors++;}}}else {const err282 = {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 = [err282];}else {vErrors.push(err282);}errors++;}}if(data124.components !== undefined){let data133 = data124.components;if(data133 && typeof data133 == "object" && !Array.isArray(data133)){for(const key33 in data133){let data134 = data133[key33];if(Array.isArray(data134)){const len16 = data134.length;for(let i19=0; i19<len16; i19++){let data135 = data134[i19];if(typeof data135 === "string"){if(func2(data135) < 1){const err283 = {instancePath:instancePath+"/delivery/quality/gates/crap/components/" + key33.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + i19,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 = [err283];}else {vErrors.push(err283);}errors++;}}else {const err284 = {instancePath:instancePath+"/delivery/quality/gates/crap/components/" + key33.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + i19,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 = [err284];}else {vErrors.push(err284);}errors++;}}}else {const err285 = {instancePath:instancePath+"/delivery/quality/gates/crap/components/" + key33.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 = [err285];}else {vErrors.push(err285);}errors++;}}}else {const err286 = {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 = [err286];}else {vErrors.push(err286);}errors++;}}if(data124.targetDirs !== undefined){let data136 = data124.targetDirs;const _errs353 = errors;let valid95 = false;let passing0 = null;const _errs354 = errors;if(Array.isArray(data136)){const len17 = data136.length;for(let i20=0; i20<len17; i20++){if(typeof data136[i20] !== "string"){const err287 = {instancePath:instancePath+"/delivery/quality/gates/crap/targetDirs/" + i20,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 = [err287];}else {vErrors.push(err287);}errors++;}}}else {const err288 = {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 = [err288];}else {vErrors.push(err288);}errors++;}var _valid1 = _errs354 === errors;if(_valid1){valid95 = true;passing0 = 0;}const _errs358 = errors;if(data136 && typeof data136 == "object" && !Array.isArray(data136)){for(const key34 in data136){if(!((key34 === "append") || (key34 === "prepend"))){const err289 = {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: key34},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err289];}else {vErrors.push(err289);}errors++;}}if(data136.append !== undefined){let data138 = data136.append;if(Array.isArray(data138)){const len18 = data138.length;for(let i21=0; i21<len18; i21++){if(typeof data138[i21] !== "string"){const err290 = {instancePath:instancePath+"/delivery/quality/gates/crap/targetDirs/append/" + i21,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 = [err290];}else {vErrors.push(err290);}errors++;}}}else {const err291 = {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 = [err291];}else {vErrors.push(err291);}errors++;}}if(data136.prepend !== undefined){let data140 = data136.prepend;if(Array.isArray(data140)){const len19 = data140.length;for(let i22=0; i22<len19; i22++){if(typeof data140[i22] !== "string"){const err292 = {instancePath:instancePath+"/delivery/quality/gates/crap/targetDirs/prepend/" + i22,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 = [err292];}else {vErrors.push(err292);}errors++;}}}else {const err293 = {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 = [err293];}else {vErrors.push(err293);}errors++;}}}else {const err294 = {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 = [err294];}else {vErrors.push(err294);}errors++;}var _valid1 = _errs358 === errors;if(_valid1 && valid95){valid95 = false;passing0 = [passing0, 1];}else {if(_valid1){valid95 = true;passing0 = 1;}}if(!valid95){const err295 = {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 = [err295];}else {vErrors.push(err295);}errors++;}else {errors = _errs353;if(vErrors !== null){if(_errs353){vErrors.length = _errs353;}else {vErrors = null;}}}}if(data124.newMethodCeiling !== undefined){let data142 = data124.newMethodCeiling;if(!(((typeof data142 == "number") && (!(data142 % 1) && !isNaN(data142))) && (isFinite(data142)))){const err296 = {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 = [err296];}else {vErrors.push(err296);}errors++;}if((typeof data142 == "number") && (isFinite(data142))){if(data142 < 1 || isNaN(data142)){const err297 = {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 = [err297];}else {vErrors.push(err297);}errors++;}}}if(data124.requireCoverage !== undefined){if(typeof data124.requireCoverage !== "boolean"){const err298 = {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 = [err298];}else {vErrors.push(err298);}errors++;}}if(data124.minMethodResolutionRate !== undefined){let data144 = data124.minMethodResolutionRate;if((typeof data144 == "number") && (isFinite(data144))){if(data144 > 1 || isNaN(data144)){const err299 = {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 = [err299];}else {vErrors.push(err299);}errors++;}if(data144 < 0 || isNaN(data144)){const err300 = {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 = [err300];}else {vErrors.push(err300);}errors++;}}else {const err301 = {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 = [err301];}else {vErrors.push(err301);}errors++;}}if(data124.ignoreGlobs !== undefined){let data145 = data124.ignoreGlobs;if(Array.isArray(data145)){const len20 = data145.length;for(let i23=0; i23<len20; i23++){let data146 = data145[i23];if(typeof data146 === "string"){if(func2(data146) < 1){const err302 = {instancePath:instancePath+"/delivery/quality/gates/crap/ignoreGlobs/" + i23,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 = [err302];}else {vErrors.push(err302);}errors++;}}else {const err303 = {instancePath:instancePath+"/delivery/quality/gates/crap/ignoreGlobs/" + i23,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 = [err303];}else {vErrors.push(err303);}errors++;}}}else {const err304 = {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 = [err304];}else {vErrors.push(err304);}errors++;}}if(data124.untestableWiringGlobs !== undefined){let data147 = data124.untestableWiringGlobs;if(Array.isArray(data147)){const len21 = data147.length;for(let i24=0; i24<len21; i24++){let data148 = data147[i24];if(typeof data148 === "string"){if(func2(data148) < 1){const err305 = {instancePath:instancePath+"/delivery/quality/gates/crap/untestableWiringGlobs/" + i24,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/untestableWiringGlobs/items/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err305];}else {vErrors.push(err305);}errors++;}}else {const err306 = {instancePath:instancePath+"/delivery/quality/gates/crap/untestableWiringGlobs/" + i24,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/untestableWiringGlobs/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err306];}else {vErrors.push(err306);}errors++;}}}else {const err307 = {instancePath:instancePath+"/delivery/quality/gates/crap/untestableWiringGlobs",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/untestableWiringGlobs/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err307];}else {vErrors.push(err307);}errors++;}}if(data124.incrementalCoverage !== undefined){let data149 = data124.incrementalCoverage;if(data149 && typeof data149 == "object" && !Array.isArray(data149)){for(const key35 in data149){if(!(((key35 === "skipWhenUnchanged") || (key35 === "baselineJoin")) || (key35 === "baseRef"))){const err308 = {instancePath:instancePath+"/delivery/quality/gates/crap/incrementalCoverage",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/incrementalCoverage/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key35},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err308];}else {vErrors.push(err308);}errors++;}}if(data149.skipWhenUnchanged !== undefined){if(typeof data149.skipWhenUnchanged !== "boolean"){const err309 = {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 = [err309];}else {vErrors.push(err309);}errors++;}}if(data149.baselineJoin !== undefined){if(typeof data149.baselineJoin !== "boolean"){const err310 = {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 = [err310];}else {vErrors.push(err310);}errors++;}}if(data149.baseRef !== undefined){let data152 = data149.baseRef;if(typeof data152 === "string"){if(func2(data152) < 1){const err311 = {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 = [err311];}else {vErrors.push(err311);}errors++;}}else {const err312 = {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 = [err312];}else {vErrors.push(err312);}errors++;}}}else {const err313 = {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 = [err313];}else {vErrors.push(err313);}errors++;}}if(data124.previewScope !== undefined){let data153 = data124.previewScope;if(typeof data153 !== "string"){const err314 = {instancePath:instancePath+"/delivery/quality/gates/crap/previewScope",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/previewScope/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err314];}else {vErrors.push(err314);}errors++;}if(!((data153 === "file") || (data153 === "touched-methods"))){const err315 = {instancePath:instancePath+"/delivery/quality/gates/crap/previewScope",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/previewScope/enum",keyword:"enum",params:{allowedValues: schema11.properties.delivery.properties.quality.properties.gates.properties.crap.properties.previewScope.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err315];}else {vErrors.push(err315);}errors++;}}if(data124.coveragePath !== undefined){let data154 = data124.coveragePath;if((typeof data154 !== "string") && (data154 !== null)){const err316 = {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 = [err316];}else {vErrors.push(err316);}errors++;}if(typeof data154 === "string"){if(func2(data154) < 1){const err317 = {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 = [err317];}else {vErrors.push(err317);}errors++;}}}if(data124.captureScript !== undefined){let data155 = data124.captureScript;if(typeof data155 === "string"){if(func2(data155) < 1){const err318 = {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 = [err318];}else {vErrors.push(err318);}errors++;}if(!pattern21.test(data155)){const err319 = {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 = [err319];}else {vErrors.push(err319);}errors++;}}else {const err320 = {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 = [err320];}else {vErrors.push(err320);}errors++;}}}else {const err321 = {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 = [err321];}else {vErrors.push(err321);}errors++;}}if(data100.maintainability !== undefined){let data156 = data100.maintainability;if(data156 && typeof data156 == "object" && !Array.isArray(data156)){for(const key36 in data156){if(!(((((((key36 === "enabled") || (key36 === "baselinePath")) || (key36 === "tolerance")) || (key36 === "floors")) || (key36 === "components")) || (key36 === "targetDirs")) || (key36 === "ignoreGlobs"))){const err322 = {instancePath:instancePath+"/delivery/quality/gates/maintainability",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key36},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err322];}else {vErrors.push(err322);}errors++;}}if(data156.enabled !== undefined){if(typeof data156.enabled !== "boolean"){const err323 = {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 = [err323];}else {vErrors.push(err323);}errors++;}}if(data156.baselinePath !== undefined){let data158 = data156.baselinePath;const _errs405 = errors;const _errs406 = errors;if(typeof data158 === "string"){if(!pattern0.test(data158)){const err324 = {};if(vErrors === null){vErrors = [err324];}else {vErrors.push(err324);}errors++;}}var valid109 = _errs406 === errors;if(valid109){const err325 = {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 = [err325];}else {vErrors.push(err325);}errors++;}else {errors = _errs405;if(vErrors !== null){if(_errs405){vErrors.length = _errs405;}else {vErrors = null;}}}if(typeof data158 === "string"){if(func2(data158) < 1){const err326 = {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 = [err326];}else {vErrors.push(err326);}errors++;}}else {const err327 = {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 = [err327];}else {vErrors.push(err327);}errors++;}}if(data156.tolerance !== undefined){let data159 = data156.tolerance;if(data159 && typeof data159 == "object" && !Array.isArray(data159)){if(data159.kind === undefined){const err328 = {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 = [err328];}else {vErrors.push(err328);}errors++;}if(data159.value === undefined){const err329 = {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 = [err329];}else {vErrors.push(err329);}errors++;}for(const key37 in data159){if(!((key37 === "kind") || (key37 === "value"))){const err330 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/tolerance",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/tolerance/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key37},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err330];}else {vErrors.push(err330);}errors++;}}if(data159.kind !== undefined){let data160 = data159.kind;if(typeof data160 !== "string"){const err331 = {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 = [err331];}else {vErrors.push(err331);}errors++;}if(!((data160 === "absolute") || (data160 === "percent"))){const err332 = {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 = [err332];}else {vErrors.push(err332);}errors++;}}if(data159.value !== undefined){let data161 = data159.value;if((typeof data161 == "number") && (isFinite(data161))){if(data161 < 0 || isNaN(data161)){const err333 = {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 = [err333];}else {vErrors.push(err333);}errors++;}}else {const err334 = {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 = [err334];}else {vErrors.push(err334);}errors++;}}}else {const err335 = {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 = [err335];}else {vErrors.push(err335);}errors++;}}if(data156.floors !== undefined){let data162 = data156.floors;if(data162 && typeof data162 == "object" && !Array.isArray(data162)){for(const key38 in data162){let data163 = data162[key38];if(data163 && typeof data163 == "object" && !Array.isArray(data163)){for(const key39 in data163){let data164 = data163[key39];if(!((typeof data164 == "number") && (isFinite(data164)))){const err336 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/floors/" + key38.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + key39.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 = [err336];}else {vErrors.push(err336);}errors++;}}}else {const err337 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/floors/" + key38.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 = [err337];}else {vErrors.push(err337);}errors++;}}}else {const err338 = {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 = [err338];}else {vErrors.push(err338);}errors++;}}if(data156.components !== undefined){let data165 = data156.components;if(data165 && typeof data165 == "object" && !Array.isArray(data165)){for(const key40 in data165){let data166 = data165[key40];if(Array.isArray(data166)){const len22 = data166.length;for(let i25=0; i25<len22; i25++){let data167 = data166[i25];if(typeof data167 === "string"){if(func2(data167) < 1){const err339 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/components/" + key40.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + i25,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 = [err339];}else {vErrors.push(err339);}errors++;}}else {const err340 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/components/" + key40.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + i25,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 = [err340];}else {vErrors.push(err340);}errors++;}}}else {const err341 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/components/" + key40.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 = [err341];}else {vErrors.push(err341);}errors++;}}}else {const err342 = {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 = [err342];}else {vErrors.push(err342);}errors++;}}if(data156.targetDirs !== undefined){let data168 = data156.targetDirs;const _errs430 = errors;let valid116 = false;let passing1 = null;const _errs431 = errors;if(Array.isArray(data168)){const len23 = data168.length;for(let i26=0; i26<len23; i26++){if(typeof data168[i26] !== "string"){const err343 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/targetDirs/" + i26,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 = [err343];}else {vErrors.push(err343);}errors++;}}}else {const err344 = {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 = [err344];}else {vErrors.push(err344);}errors++;}var _valid2 = _errs431 === errors;if(_valid2){valid116 = true;passing1 = 0;}const _errs435 = errors;if(data168 && typeof data168 == "object" && !Array.isArray(data168)){for(const key41 in data168){if(!((key41 === "append") || (key41 === "prepend"))){const err345 = {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: key41},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err345];}else {vErrors.push(err345);}errors++;}}if(data168.append !== undefined){let data170 = data168.append;if(Array.isArray(data170)){const len24 = data170.length;for(let i27=0; i27<len24; i27++){if(typeof data170[i27] !== "string"){const err346 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/targetDirs/append/" + i27,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 = [err346];}else {vErrors.push(err346);}errors++;}}}else {const err347 = {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 = [err347];}else {vErrors.push(err347);}errors++;}}if(data168.prepend !== undefined){let data172 = data168.prepend;if(Array.isArray(data172)){const len25 = data172.length;for(let i28=0; i28<len25; i28++){if(typeof data172[i28] !== "string"){const err348 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/targetDirs/prepend/" + i28,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 = [err348];}else {vErrors.push(err348);}errors++;}}}else {const err349 = {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 = [err349];}else {vErrors.push(err349);}errors++;}}}else {const err350 = {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 = [err350];}else {vErrors.push(err350);}errors++;}var _valid2 = _errs435 === errors;if(_valid2 && valid116){valid116 = false;passing1 = [passing1, 1];}else {if(_valid2){valid116 = true;passing1 = 1;}}if(!valid116){const err351 = {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 = [err351];}else {vErrors.push(err351);}errors++;}else {errors = _errs430;if(vErrors !== null){if(_errs430){vErrors.length = _errs430;}else {vErrors = null;}}}}if(data156.ignoreGlobs !== undefined){let data174 = data156.ignoreGlobs;if(Array.isArray(data174)){const len26 = data174.length;for(let i29=0; i29<len26; i29++){let data175 = data174[i29];if(typeof data175 === "string"){if(func2(data175) < 1){const err352 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/ignoreGlobs/" + i29,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 = [err352];}else {vErrors.push(err352);}errors++;}}else {const err353 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/ignoreGlobs/" + i29,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 = [err353];}else {vErrors.push(err353);}errors++;}}}else {const err354 = {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 = [err354];}else {vErrors.push(err354);}errors++;}}}else {const err355 = {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 = [err355];}else {vErrors.push(err355);}errors++;}}if(data100.mutation !== undefined){let data176 = data100.mutation;if(data176 && typeof data176 == "object" && !Array.isArray(data176)){for(const key42 in data176){if(!(((((key42 === "enabled") || (key42 === "baselinePath")) || (key42 === "tolerance")) || (key42 === "floors")) || (key42 === "components"))){const err356 = {instancePath:instancePath+"/delivery/quality/gates/mutation",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/mutation/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key42},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err356];}else {vErrors.push(err356);}errors++;}}if(data176.enabled !== undefined){if(typeof data176.enabled !== "boolean"){const err357 = {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 = [err357];}else {vErrors.push(err357);}errors++;}}if(data176.baselinePath !== undefined){let data178 = data176.baselinePath;const _errs457 = errors;const _errs458 = errors;if(typeof data178 === "string"){if(!pattern0.test(data178)){const err358 = {};if(vErrors === null){vErrors = [err358];}else {vErrors.push(err358);}errors++;}}var valid127 = _errs458 === errors;if(valid127){const err359 = {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 = [err359];}else {vErrors.push(err359);}errors++;}else {errors = _errs457;if(vErrors !== null){if(_errs457){vErrors.length = _errs457;}else {vErrors = null;}}}if(typeof data178 === "string"){if(func2(data178) < 1){const err360 = {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 = [err360];}else {vErrors.push(err360);}errors++;}}else {const err361 = {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 = [err361];}else {vErrors.push(err361);}errors++;}}if(data176.tolerance !== undefined){let data179 = data176.tolerance;if(data179 && typeof data179 == "object" && !Array.isArray(data179)){if(data179.kind === undefined){const err362 = {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 = [err362];}else {vErrors.push(err362);}errors++;}if(data179.value === undefined){const err363 = {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 = [err363];}else {vErrors.push(err363);}errors++;}for(const key43 in data179){if(!((key43 === "kind") || (key43 === "value"))){const err364 = {instancePath:instancePath+"/delivery/quality/gates/mutation/tolerance",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/mutation/properties/tolerance/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key43},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err364];}else {vErrors.push(err364);}errors++;}}if(data179.kind !== undefined){let data180 = data179.kind;if(typeof data180 !== "string"){const err365 = {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 = [err365];}else {vErrors.push(err365);}errors++;}if(!((data180 === "absolute") || (data180 === "percent"))){const err366 = {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 = [err366];}else {vErrors.push(err366);}errors++;}}if(data179.value !== undefined){let data181 = data179.value;if((typeof data181 == "number") && (isFinite(data181))){if(data181 < 0 || isNaN(data181)){const err367 = {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 = [err367];}else {vErrors.push(err367);}errors++;}}else {const err368 = {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 = [err368];}else {vErrors.push(err368);}errors++;}}}else {const err369 = {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 = [err369];}else {vErrors.push(err369);}errors++;}}if(data176.floors !== undefined){let data182 = data176.floors;if(data182 && typeof data182 == "object" && !Array.isArray(data182)){for(const key44 in data182){let data183 = data182[key44];if(data183 && typeof data183 == "object" && !Array.isArray(data183)){for(const key45 in data183){let data184 = data183[key45];if(!((typeof data184 == "number") && (isFinite(data184)))){const err370 = {instancePath:instancePath+"/delivery/quality/gates/mutation/floors/" + key44.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + key45.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 = [err370];}else {vErrors.push(err370);}errors++;}}}else {const err371 = {instancePath:instancePath+"/delivery/quality/gates/mutation/floors/" + key44.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 = [err371];}else {vErrors.push(err371);}errors++;}}}else {const err372 = {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 = [err372];}else {vErrors.push(err372);}errors++;}}if(data176.components !== undefined){let data185 = data176.components;if(data185 && typeof data185 == "object" && !Array.isArray(data185)){for(const key46 in data185){let data186 = data185[key46];if(Array.isArray(data186)){const len27 = data186.length;for(let i30=0; i30<len27; i30++){let data187 = data186[i30];if(typeof data187 === "string"){if(func2(data187) < 1){const err373 = {instancePath:instancePath+"/delivery/quality/gates/mutation/components/" + key46.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + i30,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 = [err373];}else {vErrors.push(err373);}errors++;}}else {const err374 = {instancePath:instancePath+"/delivery/quality/gates/mutation/components/" + key46.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + i30,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 = [err374];}else {vErrors.push(err374);}errors++;}}}else {const err375 = {instancePath:instancePath+"/delivery/quality/gates/mutation/components/" + key46.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 = [err375];}else {vErrors.push(err375);}errors++;}}}else {const err376 = {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 = [err376];}else {vErrors.push(err376);}errors++;}}}else {const err377 = {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 = [err377];}else {vErrors.push(err377);}errors++;}}if(data100["bundle-size"] !== undefined){let data188 = data100["bundle-size"];if(data188 && typeof data188 == "object" && !Array.isArray(data188)){for(const key47 in data188){if(!((((((key47 === "enabled") || (key47 === "baselinePath")) || (key47 === "tolerance")) || (key47 === "floors")) || (key47 === "components")) || (key47 === "bundles"))){const err378 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key47},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err378];}else {vErrors.push(err378);}errors++;}}if(data188.enabled !== undefined){if(typeof data188.enabled !== "boolean"){const err379 = {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 = [err379];}else {vErrors.push(err379);}errors++;}}if(data188.baselinePath !== undefined){let data190 = data188.baselinePath;const _errs488 = errors;const _errs489 = errors;if(typeof data190 === "string"){if(!pattern0.test(data190)){const err380 = {};if(vErrors === null){vErrors = [err380];}else {vErrors.push(err380);}errors++;}}var valid135 = _errs489 === errors;if(valid135){const err381 = {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 = [err381];}else {vErrors.push(err381);}errors++;}else {errors = _errs488;if(vErrors !== null){if(_errs488){vErrors.length = _errs488;}else {vErrors = null;}}}if(typeof data190 === "string"){if(func2(data190) < 1){const err382 = {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 = [err382];}else {vErrors.push(err382);}errors++;}}else {const err383 = {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 = [err383];}else {vErrors.push(err383);}errors++;}}if(data188.tolerance !== undefined){let data191 = data188.tolerance;if(data191 && typeof data191 == "object" && !Array.isArray(data191)){if(data191.kind === undefined){const err384 = {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 = [err384];}else {vErrors.push(err384);}errors++;}if(data191.value === undefined){const err385 = {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 = [err385];}else {vErrors.push(err385);}errors++;}for(const key48 in data191){if(!((key48 === "kind") || (key48 === "value"))){const err386 = {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: key48},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err386];}else {vErrors.push(err386);}errors++;}}if(data191.kind !== undefined){let data192 = data191.kind;if(typeof data192 !== "string"){const err387 = {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 = [err387];}else {vErrors.push(err387);}errors++;}if(!((data192 === "absolute") || (data192 === "percent"))){const err388 = {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 = [err388];}else {vErrors.push(err388);}errors++;}}if(data191.value !== undefined){let data193 = data191.value;if((typeof data193 == "number") && (isFinite(data193))){if(data193 < 0 || isNaN(data193)){const err389 = {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 = [err389];}else {vErrors.push(err389);}errors++;}}else {const err390 = {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 = [err390];}else {vErrors.push(err390);}errors++;}}}else {const err391 = {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 = [err391];}else {vErrors.push(err391);}errors++;}}if(data188.floors !== undefined){let data194 = data188.floors;if(data194 && typeof data194 == "object" && !Array.isArray(data194)){for(const key49 in data194){let data195 = data194[key49];if(data195 && typeof data195 == "object" && !Array.isArray(data195)){for(const key50 in data195){let data196 = data195[key50];if(!((typeof data196 == "number") && (isFinite(data196)))){const err392 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/floors/" + key49.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + key50.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 = [err392];}else {vErrors.push(err392);}errors++;}}}else {const err393 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/floors/" + key49.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 = [err393];}else {vErrors.push(err393);}errors++;}}}else {const err394 = {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 = [err394];}else {vErrors.push(err394);}errors++;}}if(data188.components !== undefined){let data197 = data188.components;if(data197 && typeof data197 == "object" && !Array.isArray(data197)){for(const key51 in data197){let data198 = data197[key51];if(Array.isArray(data198)){const len28 = data198.length;for(let i31=0; i31<len28; i31++){let data199 = data198[i31];if(typeof data199 === "string"){if(func2(data199) < 1){const err395 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/components/" + key51.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + i31,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 = [err395];}else {vErrors.push(err395);}errors++;}}else {const err396 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/components/" + key51.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + i31,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 = [err396];}else {vErrors.push(err396);}errors++;}}}else {const err397 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/components/" + key51.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 = [err397];}else {vErrors.push(err397);}errors++;}}}else {const err398 = {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 = [err398];}else {vErrors.push(err398);}errors++;}}if(data188.bundles !== undefined){let data200 = data188.bundles;if(Array.isArray(data200)){const len29 = data200.length;for(let i32=0; i32<len29; i32++){let data201 = data200[i32];if(data201 && typeof data201 == "object" && !Array.isArray(data201)){if(data201.name === undefined){const err399 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/bundles/" + i32,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 = [err399];}else {vErrors.push(err399);}errors++;}if(data201.path === undefined){const err400 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/bundles/" + i32,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 = [err400];}else {vErrors.push(err400);}errors++;}if(data201.limit === undefined){const err401 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/bundles/" + i32,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 = [err401];}else {vErrors.push(err401);}errors++;}for(const key52 in data201){if(!(((key52 === "name") || (key52 === "path")) || (key52 === "limit"))){const err402 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/bundles/" + i32,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/bundles/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key52},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err402];}else {vErrors.push(err402);}errors++;}}if(data201.name !== undefined){let data202 = data201.name;if(typeof data202 === "string"){if(func2(data202) < 1){const err403 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/bundles/" + i32+"/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 = [err403];}else {vErrors.push(err403);}errors++;}}else {const err404 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/bundles/" + i32+"/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 = [err404];}else {vErrors.push(err404);}errors++;}}if(data201.path !== undefined){let data203 = data201.path;if(typeof data203 === "string"){if(func2(data203) < 1){const err405 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/bundles/" + i32+"/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 = [err405];}else {vErrors.push(err405);}errors++;}}else {const err406 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/bundles/" + i32+"/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 = [err406];}else {vErrors.push(err406);}errors++;}}if(data201.limit !== undefined){let data204 = data201.limit;if(typeof data204 === "string"){if(func2(data204) < 1){const err407 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/bundles/" + i32+"/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 = [err407];}else {vErrors.push(err407);}errors++;}}else {const err408 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/bundles/" + i32+"/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 = [err408];}else {vErrors.push(err408);}errors++;}}}else {const err409 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/bundles/" + i32,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 = [err409];}else {vErrors.push(err409);}errors++;}}}else {const err410 = {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 = [err410];}else {vErrors.push(err410);}errors++;}}}else {const err411 = {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 = [err411];}else {vErrors.push(err411);}errors++;}}if(data100.duplication !== undefined){let data205 = data100.duplication;if(data205 && typeof data205 == "object" && !Array.isArray(data205)){for(const key53 in data205){if(!(func11.call(schema11.properties.delivery.properties.quality.properties.gates.properties.duplication.properties, key53))){const err412 = {instancePath:instancePath+"/delivery/quality/gates/duplication",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key53},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err412];}else {vErrors.push(err412);}errors++;}}if(data205.enabled !== undefined){if(typeof data205.enabled !== "boolean"){const err413 = {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 = [err413];}else {vErrors.push(err413);}errors++;}}if(data205.baselinePath !== undefined){let data207 = data205.baselinePath;const _errs530 = errors;const _errs531 = errors;if(typeof data207 === "string"){if(!pattern0.test(data207)){const err414 = {};if(vErrors === null){vErrors = [err414];}else {vErrors.push(err414);}errors++;}}var valid146 = _errs531 === errors;if(valid146){const err415 = {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 = [err415];}else {vErrors.push(err415);}errors++;}else {errors = _errs530;if(vErrors !== null){if(_errs530){vErrors.length = _errs530;}else {vErrors = null;}}}if(typeof data207 === "string"){if(func2(data207) < 1){const err416 = {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 = [err416];}else {vErrors.push(err416);}errors++;}}else {const err417 = {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 = [err417];}else {vErrors.push(err417);}errors++;}}if(data205.tolerance !== undefined){let data208 = data205.tolerance;if(data208 && typeof data208 == "object" && !Array.isArray(data208)){if(data208.kind === undefined){const err418 = {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 = [err418];}else {vErrors.push(err418);}errors++;}if(data208.value === undefined){const err419 = {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 = [err419];}else {vErrors.push(err419);}errors++;}for(const key54 in data208){if(!((key54 === "kind") || (key54 === "value"))){const err420 = {instancePath:instancePath+"/delivery/quality/gates/duplication/tolerance",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/tolerance/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key54},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err420];}else {vErrors.push(err420);}errors++;}}if(data208.kind !== undefined){let data209 = data208.kind;if(typeof data209 !== "string"){const err421 = {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 = [err421];}else {vErrors.push(err421);}errors++;}if(!((data209 === "absolute") || (data209 === "percent"))){const err422 = {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 = [err422];}else {vErrors.push(err422);}errors++;}}if(data208.value !== undefined){let data210 = data208.value;if((typeof data210 == "number") && (isFinite(data210))){if(data210 < 0 || isNaN(data210)){const err423 = {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 = [err423];}else {vErrors.push(err423);}errors++;}}else {const err424 = {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 = [err424];}else {vErrors.push(err424);}errors++;}}}else {const err425 = {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 = [err425];}else {vErrors.push(err425);}errors++;}}if(data205.floors !== undefined){let data211 = data205.floors;if(data211 && typeof data211 == "object" && !Array.isArray(data211)){for(const key55 in data211){let data212 = data211[key55];if(data212 && typeof data212 == "object" && !Array.isArray(data212)){for(const key56 in data212){let data213 = data212[key56];if(!((typeof data213 == "number") && (isFinite(data213)))){const err426 = {instancePath:instancePath+"/delivery/quality/gates/duplication/floors/" + key55.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + key56.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 = [err426];}else {vErrors.push(err426);}errors++;}}}else {const err427 = {instancePath:instancePath+"/delivery/quality/gates/duplication/floors/" + key55.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 = [err427];}else {vErrors.push(err427);}errors++;}}}else {const err428 = {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 = [err428];}else {vErrors.push(err428);}errors++;}}if(data205.components !== undefined){let data214 = data205.components;if(data214 && typeof data214 == "object" && !Array.isArray(data214)){for(const key57 in data214){let data215 = data214[key57];if(Array.isArray(data215)){const len30 = data215.length;for(let i33=0; i33<len30; i33++){let data216 = data215[i33];if(typeof data216 === "string"){if(func2(data216) < 1){const err429 = {instancePath:instancePath+"/delivery/quality/gates/duplication/components/" + key57.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + i33,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 = [err429];}else {vErrors.push(err429);}errors++;}}else {const err430 = {instancePath:instancePath+"/delivery/quality/gates/duplication/components/" + key57.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + i33,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 = [err430];}else {vErrors.push(err430);}errors++;}}}else {const err431 = {instancePath:instancePath+"/delivery/quality/gates/duplication/components/" + key57.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 = [err431];}else {vErrors.push(err431);}errors++;}}}else {const err432 = {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 = [err432];}else {vErrors.push(err432);}errors++;}}if(data205.targetDirs !== undefined){let data217 = data205.targetDirs;const _errs555 = errors;let valid153 = false;let passing2 = null;const _errs556 = errors;if(Array.isArray(data217)){const len31 = data217.length;for(let i34=0; i34<len31; i34++){if(typeof data217[i34] !== "string"){const err433 = {instancePath:instancePath+"/delivery/quality/gates/duplication/targetDirs/" + i34,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 = [err433];}else {vErrors.push(err433);}errors++;}}}else {const err434 = {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 = [err434];}else {vErrors.push(err434);}errors++;}var _valid3 = _errs556 === errors;if(_valid3){valid153 = true;passing2 = 0;}const _errs560 = errors;if(data217 && typeof data217 == "object" && !Array.isArray(data217)){for(const key58 in data217){if(!((key58 === "append") || (key58 === "prepend"))){const err435 = {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: key58},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err435];}else {vErrors.push(err435);}errors++;}}if(data217.append !== undefined){let data219 = data217.append;if(Array.isArray(data219)){const len32 = data219.length;for(let i35=0; i35<len32; i35++){if(typeof data219[i35] !== "string"){const err436 = {instancePath:instancePath+"/delivery/quality/gates/duplication/targetDirs/append/" + i35,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 = [err436];}else {vErrors.push(err436);}errors++;}}}else {const err437 = {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 = [err437];}else {vErrors.push(err437);}errors++;}}if(data217.prepend !== undefined){let data221 = data217.prepend;if(Array.isArray(data221)){const len33 = data221.length;for(let i36=0; i36<len33; i36++){if(typeof data221[i36] !== "string"){const err438 = {instancePath:instancePath+"/delivery/quality/gates/duplication/targetDirs/prepend/" + i36,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 = [err438];}else {vErrors.push(err438);}errors++;}}}else {const err439 = {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 = [err439];}else {vErrors.push(err439);}errors++;}}}else {const err440 = {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 = [err440];}else {vErrors.push(err440);}errors++;}var _valid3 = _errs560 === errors;if(_valid3 && valid153){valid153 = false;passing2 = [passing2, 1];}else {if(_valid3){valid153 = true;passing2 = 1;}}if(!valid153){const err441 = {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 = [err441];}else {vErrors.push(err441);}errors++;}else {errors = _errs555;if(vErrors !== null){if(_errs555){vErrors.length = _errs555;}else {vErrors = null;}}}}if(data205.additionalFormats !== undefined){let data223 = data205.additionalFormats;if(Array.isArray(data223)){const len34 = data223.length;for(let i37=0; i37<len34; i37++){let data224 = data223[i37];if(typeof data224 === "string"){if(func2(data224) < 1){const err442 = {instancePath:instancePath+"/delivery/quality/gates/duplication/additionalFormats/" + i37,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 = [err442];}else {vErrors.push(err442);}errors++;}}else {const err443 = {instancePath:instancePath+"/delivery/quality/gates/duplication/additionalFormats/" + i37,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 = [err443];}else {vErrors.push(err443);}errors++;}}}else {const err444 = {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 = [err444];}else {vErrors.push(err444);}errors++;}}if(data205.scanHeapMb !== undefined){let data225 = data205.scanHeapMb;if(!(((typeof data225 == "number") && (!(data225 % 1) && !isNaN(data225))) && (isFinite(data225)))){const err445 = {instancePath:instancePath+"/delivery/quality/gates/duplication/scanHeapMb",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/scanHeapMb/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err445];}else {vErrors.push(err445);}errors++;}if((typeof data225 == "number") && (isFinite(data225))){if(data225 < 256 || isNaN(data225)){const err446 = {instancePath:instancePath+"/delivery/quality/gates/duplication/scanHeapMb",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/scanHeapMb/minimum",keyword:"minimum",params:{comparison: ">=", limit: 256},message:"must be >= 256"};if(vErrors === null){vErrors = [err446];}else {vErrors.push(err446);}errors++;}}}if(data205.ignoreGlobs !== undefined){let data226 = data205.ignoreGlobs;if(Array.isArray(data226)){const len35 = data226.length;for(let i38=0; i38<len35; i38++){let data227 = data226[i38];if(typeof data227 === "string"){if(func2(data227) < 1){const err447 = {instancePath:instancePath+"/delivery/quality/gates/duplication/ignoreGlobs/" + i38,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 = [err447];}else {vErrors.push(err447);}errors++;}}else {const err448 = {instancePath:instancePath+"/delivery/quality/gates/duplication/ignoreGlobs/" + i38,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 = [err448];}else {vErrors.push(err448);}errors++;}}}else {const err449 = {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 = [err449];}else {vErrors.push(err449);}errors++;}}}else {const err450 = {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 = [err450];}else {vErrors.push(err450);}errors++;}}}else {const err451 = {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 = [err451];}else {vErrors.push(err451);}errors++;}}if(data99.autoRefresh !== undefined){let data228 = data99.autoRefresh;if(data228 && typeof data228 == "object" && !Array.isArray(data228)){for(const key59 in data228){if(!(key59 === "enabled")){const err452 = {instancePath:instancePath+"/delivery/quality/autoRefresh",schemaPath:"#/properties/delivery/properties/quality/properties/autoRefresh/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key59},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err452];}else {vErrors.push(err452);}errors++;}}if(data228.enabled !== undefined){if(typeof data228.enabled !== "boolean"){const err453 = {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 = [err453];}else {vErrors.push(err453);}errors++;}}}else {const err454 = {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 = [err454];}else {vErrors.push(err454);}errors++;}}if(data99.ratchets !== undefined){let data230 = data99.ratchets;if(data230 && typeof data230 == "object" && !Array.isArray(data230)){for(const key60 in data230){if(!(key60 === "coveredByLint")){const err455 = {instancePath:instancePath+"/delivery/quality/ratchets",schemaPath:"#/properties/delivery/properties/quality/properties/ratchets/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key60},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err455];}else {vErrors.push(err455);}errors++;}}if(data230.coveredByLint !== undefined){let data231 = data230.coveredByLint;if(Array.isArray(data231)){const len36 = data231.length;for(let i39=0; i39<len36; i39++){let data232 = data231[i39];if(typeof data232 !== "string"){const err456 = {instancePath:instancePath+"/delivery/quality/ratchets/coveredByLint/" + i39,schemaPath:"#/properties/delivery/properties/quality/properties/ratchets/properties/coveredByLint/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err456];}else {vErrors.push(err456);}errors++;}if(!((((data232 === "dead-exports") || (data232 === "dead-exports-production")) || (data232 === "arch-cycles")) || (data232 === "cyclomatic"))){const err457 = {instancePath:instancePath+"/delivery/quality/ratchets/coveredByLint/" + i39,schemaPath:"#/properties/delivery/properties/quality/properties/ratchets/properties/coveredByLint/items/enum",keyword:"enum",params:{allowedValues: schema11.properties.delivery.properties.quality.properties.ratchets.properties.coveredByLint.items.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err457];}else {vErrors.push(err457);}errors++;}}let i40 = data231.length;let j3;if(i40 > 1){const indices3 = {};for(;i40--;){let item3 = data231[i40];if(typeof item3 !== "string"){continue;}if(typeof indices3[item3] == "number"){j3 = indices3[item3];const err458 = {instancePath:instancePath+"/delivery/quality/ratchets/coveredByLint",schemaPath:"#/properties/delivery/properties/quality/properties/ratchets/properties/coveredByLint/uniqueItems",keyword:"uniqueItems",params:{i: i40, j: j3},message:"must NOT have duplicate items (items ## "+j3+" and "+i40+" are identical)"};if(vErrors === null){vErrors = [err458];}else {vErrors.push(err458);}errors++;break;}indices3[item3] = i40;}}}else {const err459 = {instancePath:instancePath+"/delivery/quality/ratchets/coveredByLint",schemaPath:"#/properties/delivery/properties/quality/properties/ratchets/properties/coveredByLint/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err459];}else {vErrors.push(err459);}errors++;}}}else {const err460 = {instancePath:instancePath+"/delivery/quality/ratchets",schemaPath:"#/properties/delivery/properties/quality/properties/ratchets/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err460];}else {vErrors.push(err460);}errors++;}}if(data99.requireBaselines !== undefined){if(typeof data99.requireBaselines !== "boolean"){const err461 = {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 = [err461];}else {vErrors.push(err461);}errors++;}}}else {const err462 = {instancePath:instancePath+"/delivery/quality",schemaPath:"#/properties/delivery/properties/quality/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err462];}else {vErrors.push(err462);}errors++;}}if(data58.mergeWatch !== undefined){let data234 = data58.mergeWatch;if(data234 && typeof data234 == "object" && !Array.isArray(data234)){for(const key61 in data234){if(!(((key61 === "mode") || (key61 === "maxWaitSeconds")) || (key61 === "maxBudgetSeconds"))){const err463 = {instancePath:instancePath+"/delivery/mergeWatch",schemaPath:"#/properties/delivery/properties/mergeWatch/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key61},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err463];}else {vErrors.push(err463);}errors++;}}if(data234.mode !== undefined){let data235 = data234.mode;if(typeof data235 !== "string"){const err464 = {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 = [err464];}else {vErrors.push(err464);}errors++;}if(!((data235 === "sync") || (data235 === "async"))){const err465 = {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 = [err465];}else {vErrors.push(err465);}errors++;}}if(data234.maxWaitSeconds !== undefined){let data236 = data234.maxWaitSeconds;if(!(((typeof data236 == "number") && (!(data236 % 1) && !isNaN(data236))) && (isFinite(data236)))){const err466 = {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 = [err466];}else {vErrors.push(err466);}errors++;}if((typeof data236 == "number") && (isFinite(data236))){if(data236 < 1 || isNaN(data236)){const err467 = {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 = [err467];}else {vErrors.push(err467);}errors++;}}}if(data234.maxBudgetSeconds !== undefined){let data237 = data234.maxBudgetSeconds;if(!(((typeof data237 == "number") && (!(data237 % 1) && !isNaN(data237))) && (isFinite(data237)))){const err468 = {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 = [err468];}else {vErrors.push(err468);}errors++;}if((typeof data237 == "number") && (isFinite(data237))){if(data237 < 1 || isNaN(data237)){const err469 = {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 = [err469];}else {vErrors.push(err469);}errors++;}}}}else {const err470 = {instancePath:instancePath+"/delivery/mergeWatch",schemaPath:"#/properties/delivery/properties/mergeWatch/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err470];}else {vErrors.push(err470);}errors++;}}if(data58.close !== undefined){let data238 = data58.close;if(data238 && typeof data238 == "object" && !Array.isArray(data238)){for(const key62 in data238){if(!((((key62 === "baseSync") || (key62 === "revalidateAfterBaseSync")) || (key62 === "revalidateCiChecks")) || (key62 === "revalidateAlwaysPaths"))){const err471 = {instancePath:instancePath+"/delivery/close",schemaPath:"#/properties/delivery/properties/close/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key62},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err471];}else {vErrors.push(err471);}errors++;}}if(data238.baseSync !== undefined){let data239 = data238.baseSync;if(typeof data239 !== "string"){const err472 = {instancePath:instancePath+"/delivery/close/baseSync",schemaPath:"#/properties/delivery/properties/close/properties/baseSync/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err472];}else {vErrors.push(err472);}errors++;}if(!((data239 === "always") || (data239 === "on-conflict"))){const err473 = {instancePath:instancePath+"/delivery/close/baseSync",schemaPath:"#/properties/delivery/properties/close/properties/baseSync/enum",keyword:"enum",params:{allowedValues: schema11.properties.delivery.properties.close.properties.baseSync.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err473];}else {vErrors.push(err473);}errors++;}}if(data238.revalidateAfterBaseSync !== undefined){let data240 = data238.revalidateAfterBaseSync;if(typeof data240 !== "string"){const err474 = {instancePath:instancePath+"/delivery/close/revalidateAfterBaseSync",schemaPath:"#/properties/delivery/properties/close/properties/revalidateAfterBaseSync/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err474];}else {vErrors.push(err474);}errors++;}if(!((data240 === "full") || (data240 === "ci"))){const err475 = {instancePath:instancePath+"/delivery/close/revalidateAfterBaseSync",schemaPath:"#/properties/delivery/properties/close/properties/revalidateAfterBaseSync/enum",keyword:"enum",params:{allowedValues: schema11.properties.delivery.properties.close.properties.revalidateAfterBaseSync.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err475];}else {vErrors.push(err475);}errors++;}}if(data238.revalidateCiChecks !== undefined){let data241 = data238.revalidateCiChecks;if(Array.isArray(data241)){const len37 = data241.length;for(let i41=0; i41<len37; i41++){let data242 = data241[i41];if(typeof data242 === "string"){if(func2(data242) < 1){const err476 = {instancePath:instancePath+"/delivery/close/revalidateCiChecks/" + i41,schemaPath:"#/properties/delivery/properties/close/properties/revalidateCiChecks/items/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+"/delivery/close/revalidateCiChecks/" + i41,schemaPath:"#/properties/delivery/properties/close/properties/revalidateCiChecks/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err477];}else {vErrors.push(err477);}errors++;}}let i42 = data241.length;let j4;if(i42 > 1){const indices4 = {};for(;i42--;){let item4 = data241[i42];if(typeof item4 !== "string"){continue;}if(typeof indices4[item4] == "number"){j4 = indices4[item4];const err478 = {instancePath:instancePath+"/delivery/close/revalidateCiChecks",schemaPath:"#/properties/delivery/properties/close/properties/revalidateCiChecks/uniqueItems",keyword:"uniqueItems",params:{i: i42, j: j4},message:"must NOT have duplicate items (items ## "+j4+" and "+i42+" are identical)"};if(vErrors === null){vErrors = [err478];}else {vErrors.push(err478);}errors++;break;}indices4[item4] = i42;}}}else {const err479 = {instancePath:instancePath+"/delivery/close/revalidateCiChecks",schemaPath:"#/properties/delivery/properties/close/properties/revalidateCiChecks/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err479];}else {vErrors.push(err479);}errors++;}}if(data238.revalidateAlwaysPaths !== undefined){let data243 = data238.revalidateAlwaysPaths;if(Array.isArray(data243)){const len38 = data243.length;for(let i43=0; i43<len38; i43++){let data244 = data243[i43];if(typeof data244 === "string"){if(func2(data244) < 1){const err480 = {instancePath:instancePath+"/delivery/close/revalidateAlwaysPaths/" + i43,schemaPath:"#/properties/delivery/properties/close/properties/revalidateAlwaysPaths/items/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+"/delivery/close/revalidateAlwaysPaths/" + i43,schemaPath:"#/properties/delivery/properties/close/properties/revalidateAlwaysPaths/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err481];}else {vErrors.push(err481);}errors++;}}}else {const err482 = {instancePath:instancePath+"/delivery/close/revalidateAlwaysPaths",schemaPath:"#/properties/delivery/properties/close/properties/revalidateAlwaysPaths/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err482];}else {vErrors.push(err482);}errors++;}}}else {const err483 = {instancePath:instancePath+"/delivery/close",schemaPath:"#/properties/delivery/properties/close/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err483];}else {vErrors.push(err483);}errors++;}}if(data58.codeReview !== undefined){let data245 = data58.codeReview;if(data245 && typeof data245 == "object" && !Array.isArray(data245)){for(const key63 in data245){if(!(((((((key63 === "providers") || (key63 === "autoFixSeverity")) || (key63 === "sensitivePaths")) || (key63 === "effortByDepth")) || (key63 === "guidanceFile")) || (key63 === "onNoVerdict")) || (key63 === "skipPaths"))){const err484 = {instancePath:instancePath+"/delivery/codeReview",schemaPath:"#/properties/delivery/properties/codeReview/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key63},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err484];}else {vErrors.push(err484);}errors++;}}if(data245.providers !== undefined){let data246 = data245.providers;if(Array.isArray(data246)){const len39 = data246.length;for(let i44=0; i44<len39; i44++){let data247 = data246[i44];if(data247 && typeof data247 == "object" && !Array.isArray(data247)){if(data247.name === undefined){const err485 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i44,schemaPath:"#/properties/delivery/properties/codeReview/properties/providers/items/required",keyword:"required",params:{missingProperty: "name"},message:"must have required property '"+"name"+"'"};if(vErrors === null){vErrors = [err485];}else {vErrors.push(err485);}errors++;}for(const key64 in data247){if(!(((((key64 === "name") || (key64 === "scopes")) || (key64 === "optional")) || (key64 === "manualPrompt")) || (key64 === "when"))){const err486 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i44,schemaPath:"#/properties/delivery/properties/codeReview/properties/providers/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key64},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err486];}else {vErrors.push(err486);}errors++;}}if(data247.name !== undefined){let data248 = data247.name;if(typeof data248 !== "string"){const err487 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i44+"/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 = [err487];}else {vErrors.push(err487);}errors++;}if(!((((((data248 === "native") || (data248 === "code-review")) || (data248 === "codex")) || (data248 === "llm-review")) || (data248 === "security-review")) || (data248 === "ultrareview"))){const err488 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i44+"/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 = [err488];}else {vErrors.push(err488);}errors++;}}if(data247.scopes !== undefined){let data249 = data247.scopes;if(Array.isArray(data249)){const len40 = data249.length;for(let i45=0; i45<len40; i45++){let data250 = data249[i45];if(typeof data250 !== "string"){const err489 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i44+"/scopes/" + i45,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 = [err489];}else {vErrors.push(err489);}errors++;}if(!((data250 === "story") || (data250 === "epic"))){const err490 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i44+"/scopes/" + i45,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 = [err490];}else {vErrors.push(err490);}errors++;}}}else {const err491 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i44+"/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 = [err491];}else {vErrors.push(err491);}errors++;}}if(data247.optional !== undefined){if(typeof data247.optional !== "boolean"){const err492 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i44+"/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 = [err492];}else {vErrors.push(err492);}errors++;}}if(data247.manualPrompt !== undefined){if(typeof data247.manualPrompt !== "boolean"){const err493 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i44+"/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 = [err493];}else {vErrors.push(err493);}errors++;}}if(data247.when !== undefined){let data253 = data247.when;if(data253 && typeof data253 == "object" && !Array.isArray(data253)){for(const key65 in data253){if(!((key65 === "label") || (key65 === "labelAny"))){const err494 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i44+"/when",schemaPath:"#/properties/delivery/properties/codeReview/properties/providers/items/properties/when/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key65},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err494];}else {vErrors.push(err494);}errors++;}}if(data253.label !== undefined){let data254 = data253.label;if(typeof data254 === "string"){if(func2(data254) < 1){const err495 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i44+"/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 = [err495];}else {vErrors.push(err495);}errors++;}}else {const err496 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i44+"/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 = [err496];}else {vErrors.push(err496);}errors++;}}if(data253.labelAny !== undefined){let data255 = data253.labelAny;if(Array.isArray(data255)){if(data255.length < 1){const err497 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i44+"/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 = [err497];}else {vErrors.push(err497);}errors++;}const len41 = data255.length;for(let i46=0; i46<len41; i46++){let data256 = data255[i46];if(typeof data256 === "string"){if(func2(data256) < 1){const err498 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i44+"/when/labelAny/" + i46,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 = [err498];}else {vErrors.push(err498);}errors++;}}else {const err499 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i44+"/when/labelAny/" + i46,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 = [err499];}else {vErrors.push(err499);}errors++;}}}else {const err500 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i44+"/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 = [err500];}else {vErrors.push(err500);}errors++;}}}else {const err501 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i44+"/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 = [err501];}else {vErrors.push(err501);}errors++;}}}else {const err502 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i44,schemaPath:"#/properties/delivery/properties/codeReview/properties/providers/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err502];}else {vErrors.push(err502);}errors++;}}}else {const err503 = {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 = [err503];}else {vErrors.push(err503);}errors++;}}if(data245.autoFixSeverity !== undefined){let data257 = data245.autoFixSeverity;if(typeof data257 !== "string"){const err504 = {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 = [err504];}else {vErrors.push(err504);}errors++;}if(!((data257 === "high") || (data257 === "medium"))){const err505 = {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 = [err505];}else {vErrors.push(err505);}errors++;}}if(data245.sensitivePaths !== undefined){let data258 = data245.sensitivePaths;if(data258 && typeof data258 == "object" && !Array.isArray(data258)){for(const key66 in data258){const _errs650 = errors;if(typeof key66 === "string"){if(!pattern16.test(key66)){const err506 = {instancePath:instancePath+"/delivery/codeReview/sensitivePaths",schemaPath:"#/properties/delivery/properties/codeReview/properties/sensitivePaths/propertyNames/pattern",keyword:"pattern",params:{pattern: "^[a-z0-9][a-z0-9-]*$"},message:"must match pattern \""+"^[a-z0-9][a-z0-9-]*$"+"\"",propertyName:key66};if(vErrors === null){vErrors = [err506];}else {vErrors.push(err506);}errors++;}}var valid186 = _errs650 === errors;if(!valid186){const err507 = {instancePath:instancePath+"/delivery/codeReview/sensitivePaths",schemaPath:"#/properties/delivery/properties/codeReview/properties/sensitivePaths/propertyNames",keyword:"propertyNames",params:{propertyName: key66},message:"property name must be valid"};if(vErrors === null){vErrors = [err507];}else {vErrors.push(err507);}errors++;}}for(const key67 in data258){let data259 = data258[key67];if(data259 && typeof data259 == "object" && !Array.isArray(data259)){if(data259.filePatterns === undefined){const err508 = {instancePath:instancePath+"/delivery/codeReview/sensitivePaths/" + key67.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/delivery/properties/codeReview/properties/sensitivePaths/additionalProperties/required",keyword:"required",params:{missingProperty: "filePatterns"},message:"must have required property '"+"filePatterns"+"'"};if(vErrors === null){vErrors = [err508];}else {vErrors.push(err508);}errors++;}for(const key68 in data259){if(!((key68 === "description") || (key68 === "filePatterns"))){const err509 = {instancePath:instancePath+"/delivery/codeReview/sensitivePaths/" + key67.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/delivery/properties/codeReview/properties/sensitivePaths/additionalProperties/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key68},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err509];}else {vErrors.push(err509);}errors++;}}if(data259.description !== undefined){if(typeof data259.description !== "string"){const err510 = {instancePath:instancePath+"/delivery/codeReview/sensitivePaths/" + key67.replace(/~/g, "~0").replace(/\//g, "~1")+"/description",schemaPath:"#/properties/delivery/properties/codeReview/properties/sensitivePaths/additionalProperties/properties/description/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err510];}else {vErrors.push(err510);}errors++;}}if(data259.filePatterns !== undefined){let data261 = data259.filePatterns;if(Array.isArray(data261)){if(data261.length < 1){const err511 = {instancePath:instancePath+"/delivery/codeReview/sensitivePaths/" + key67.replace(/~/g, "~0").replace(/\//g, "~1")+"/filePatterns",schemaPath:"#/properties/delivery/properties/codeReview/properties/sensitivePaths/additionalProperties/properties/filePatterns/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err511];}else {vErrors.push(err511);}errors++;}const len42 = data261.length;for(let i47=0; i47<len42; i47++){let data262 = data261[i47];if(typeof data262 === "string"){if(func2(data262) < 1){const err512 = {instancePath:instancePath+"/delivery/codeReview/sensitivePaths/" + key67.replace(/~/g, "~0").replace(/\//g, "~1")+"/filePatterns/" + i47,schemaPath:"#/properties/delivery/properties/codeReview/properties/sensitivePaths/additionalProperties/properties/filePatterns/items/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err512];}else {vErrors.push(err512);}errors++;}}else {const err513 = {instancePath:instancePath+"/delivery/codeReview/sensitivePaths/" + key67.replace(/~/g, "~0").replace(/\//g, "~1")+"/filePatterns/" + i47,schemaPath:"#/properties/delivery/properties/codeReview/properties/sensitivePaths/additionalProperties/properties/filePatterns/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err513];}else {vErrors.push(err513);}errors++;}}}else {const err514 = {instancePath:instancePath+"/delivery/codeReview/sensitivePaths/" + key67.replace(/~/g, "~0").replace(/\//g, "~1")+"/filePatterns",schemaPath:"#/properties/delivery/properties/codeReview/properties/sensitivePaths/additionalProperties/properties/filePatterns/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err514];}else {vErrors.push(err514);}errors++;}}}else {const err515 = {instancePath:instancePath+"/delivery/codeReview/sensitivePaths/" + key67.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/delivery/properties/codeReview/properties/sensitivePaths/additionalProperties/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err515];}else {vErrors.push(err515);}errors++;}}}else {const err516 = {instancePath:instancePath+"/delivery/codeReview/sensitivePaths",schemaPath:"#/properties/delivery/properties/codeReview/properties/sensitivePaths/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err516];}else {vErrors.push(err516);}errors++;}}if(data245.effortByDepth !== undefined){let data263 = data245.effortByDepth;if(data263 && typeof data263 == "object" && !Array.isArray(data263)){for(const key69 in data263){const _errs663 = errors;if(!(((key69 === "light") || (key69 === "standard")) || (key69 === "deep"))){const err517 = {instancePath:instancePath+"/delivery/codeReview/effortByDepth",schemaPath:"#/properties/delivery/properties/codeReview/properties/effortByDepth/propertyNames/enum",keyword:"enum",params:{allowedValues: schema11.properties.delivery.properties.codeReview.properties.effortByDepth.propertyNames.enum},message:"must be equal to one of the allowed values",propertyName:key69};if(vErrors === null){vErrors = [err517];}else {vErrors.push(err517);}errors++;}var valid191 = _errs663 === errors;if(!valid191){const err518 = {instancePath:instancePath+"/delivery/codeReview/effortByDepth",schemaPath:"#/properties/delivery/properties/codeReview/properties/effortByDepth/propertyNames",keyword:"propertyNames",params:{propertyName: key69},message:"property name must be valid"};if(vErrors === null){vErrors = [err518];}else {vErrors.push(err518);}errors++;}}for(const key70 in data263){let data264 = data263[key70];if(typeof data264 !== "string"){const err519 = {instancePath:instancePath+"/delivery/codeReview/effortByDepth/" + key70.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/delivery/properties/codeReview/properties/effortByDepth/additionalProperties/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err519];}else {vErrors.push(err519);}errors++;}if(!(((((data264 === "low") || (data264 === "medium")) || (data264 === "high")) || (data264 === "xhigh")) || (data264 === "max"))){const err520 = {instancePath:instancePath+"/delivery/codeReview/effortByDepth/" + key70.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/delivery/properties/codeReview/properties/effortByDepth/additionalProperties/enum",keyword:"enum",params:{allowedValues: schema11.properties.delivery.properties.codeReview.properties.effortByDepth.additionalProperties.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err520];}else {vErrors.push(err520);}errors++;}}}else {const err521 = {instancePath:instancePath+"/delivery/codeReview/effortByDepth",schemaPath:"#/properties/delivery/properties/codeReview/properties/effortByDepth/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err521];}else {vErrors.push(err521);}errors++;}}if(data245.guidanceFile !== undefined){let data265 = data245.guidanceFile;if(typeof data265 === "string"){if(func2(data265) < 1){const err522 = {instancePath:instancePath+"/delivery/codeReview/guidanceFile",schemaPath:"#/properties/delivery/properties/codeReview/properties/guidanceFile/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err522];}else {vErrors.push(err522);}errors++;}}else {const err523 = {instancePath:instancePath+"/delivery/codeReview/guidanceFile",schemaPath:"#/properties/delivery/properties/codeReview/properties/guidanceFile/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err523];}else {vErrors.push(err523);}errors++;}}if(data245.onNoVerdict !== undefined){let data266 = data245.onNoVerdict;if(typeof data266 !== "string"){const err524 = {instancePath:instancePath+"/delivery/codeReview/onNoVerdict",schemaPath:"#/properties/delivery/properties/codeReview/properties/onNoVerdict/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err524];}else {vErrors.push(err524);}errors++;}if(!((data266 === "report") || (data266 === "block"))){const err525 = {instancePath:instancePath+"/delivery/codeReview/onNoVerdict",schemaPath:"#/properties/delivery/properties/codeReview/properties/onNoVerdict/enum",keyword:"enum",params:{allowedValues: schema11.properties.delivery.properties.codeReview.properties.onNoVerdict.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err525];}else {vErrors.push(err525);}errors++;}}if(data245.skipPaths !== undefined){let data267 = data245.skipPaths;if(Array.isArray(data267)){const len43 = data267.length;for(let i48=0; i48<len43; i48++){let data268 = data267[i48];if(typeof data268 === "string"){if(func2(data268) < 1){const err526 = {instancePath:instancePath+"/delivery/codeReview/skipPaths/" + i48,schemaPath:"#/properties/delivery/properties/codeReview/properties/skipPaths/items/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err526];}else {vErrors.push(err526);}errors++;}}else {const err527 = {instancePath:instancePath+"/delivery/codeReview/skipPaths/" + i48,schemaPath:"#/properties/delivery/properties/codeReview/properties/skipPaths/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err527];}else {vErrors.push(err527);}errors++;}}}else {const err528 = {instancePath:instancePath+"/delivery/codeReview/skipPaths",schemaPath:"#/properties/delivery/properties/codeReview/properties/skipPaths/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err528];}else {vErrors.push(err528);}errors++;}}}else {const err529 = {instancePath:instancePath+"/delivery/codeReview",schemaPath:"#/properties/delivery/properties/codeReview/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err529];}else {vErrors.push(err529);}errors++;}}if(data58.refactorStage !== undefined){let data269 = data58.refactorStage;if(data269 && typeof data269 == "object" && !Array.isArray(data269)){for(const key71 in data269){if(!(key71 === "enabled")){const err530 = {instancePath:instancePath+"/delivery/refactorStage",schemaPath:"#/properties/delivery/properties/refactorStage/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key71},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err530];}else {vErrors.push(err530);}errors++;}}if(data269.enabled !== undefined){if(typeof data269.enabled !== "boolean"){const err531 = {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 = [err531];}else {vErrors.push(err531);}errors++;}}}else {const err532 = {instancePath:instancePath+"/delivery/refactorStage",schemaPath:"#/properties/delivery/properties/refactorStage/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err532];}else {vErrors.push(err532);}errors++;}}if(data58.acceptanceEval !== undefined){let data271 = data58.acceptanceEval;if(data271 && typeof data271 == "object" && !Array.isArray(data271)){for(const key72 in data271){if(!(key72 === "maxRounds")){const err533 = {instancePath:instancePath+"/delivery/acceptanceEval",schemaPath:"#/properties/delivery/properties/acceptanceEval/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key72},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err533];}else {vErrors.push(err533);}errors++;}}if(data271.maxRounds !== undefined){let data272 = data271.maxRounds;if(!(((typeof data272 == "number") && (!(data272 % 1) && !isNaN(data272))) && (isFinite(data272)))){const err534 = {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 = [err534];}else {vErrors.push(err534);}errors++;}if((typeof data272 == "number") && (isFinite(data272))){if(data272 < 0 || isNaN(data272)){const err535 = {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 = [err535];}else {vErrors.push(err535);}errors++;}}}}else {const err536 = {instancePath:instancePath+"/delivery/acceptanceEval",schemaPath:"#/properties/delivery/properties/acceptanceEval/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err536];}else {vErrors.push(err536);}errors++;}}if(data58.feedbackLoop !== undefined){let data273 = data58.feedbackLoop;if(data273 && typeof data273 == "object" && !Array.isArray(data273)){for(const key73 in data273){if(!((key73 === "retroProposals") || (key73 === "outcomeRecord"))){const err537 = {instancePath:instancePath+"/delivery/feedbackLoop",schemaPath:"#/properties/delivery/properties/feedbackLoop/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key73},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err537];}else {vErrors.push(err537);}errors++;}}if(data273.retroProposals !== undefined){if(typeof data273.retroProposals !== "boolean"){const err538 = {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 = [err538];}else {vErrors.push(err538);}errors++;}}if(data273.outcomeRecord !== undefined){if(typeof data273.outcomeRecord !== "boolean"){const err539 = {instancePath:instancePath+"/delivery/feedbackLoop/outcomeRecord",schemaPath:"#/properties/delivery/properties/feedbackLoop/properties/outcomeRecord/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err539];}else {vErrors.push(err539);}errors++;}}}else {const err540 = {instancePath:instancePath+"/delivery/feedbackLoop",schemaPath:"#/properties/delivery/properties/feedbackLoop/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err540];}else {vErrors.push(err540);}errors++;}}if(data58.ci !== undefined){let data276 = data58.ci;if(data276 && typeof data276 == "object" && !Array.isArray(data276)){for(const key74 in data276){if(!((((key74 === "autoMerge") || (key74 === "blockOnAdvisoryFailure")) || (key74 === "advisoryAllowlist")) || (key74 === "rerunAdvisory"))){const err541 = {instancePath:instancePath+"/delivery/ci",schemaPath:"#/properties/delivery/properties/ci/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key74},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err541];}else {vErrors.push(err541);}errors++;}}if(data276.autoMerge !== undefined){let data277 = data276.autoMerge;if(typeof data277 !== "string"){const err542 = {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 = [err542];}else {vErrors.push(err542);}errors++;}if(!((data277 === "trust-ci") || (data277 === "strict"))){const err543 = {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 = [err543];}else {vErrors.push(err543);}errors++;}}if(data276.blockOnAdvisoryFailure !== undefined){if(typeof data276.blockOnAdvisoryFailure !== "boolean"){const err544 = {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 = [err544];}else {vErrors.push(err544);}errors++;}}if(data276.advisoryAllowlist !== undefined){let data279 = data276.advisoryAllowlist;if(Array.isArray(data279)){const len44 = data279.length;for(let i49=0; i49<len44; i49++){if(typeof data279[i49] !== "string"){const err545 = {instancePath:instancePath+"/delivery/ci/advisoryAllowlist/" + i49,schemaPath:"#/properties/delivery/properties/ci/properties/advisoryAllowlist/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err545];}else {vErrors.push(err545);}errors++;}}}else {const err546 = {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 = [err546];}else {vErrors.push(err546);}errors++;}}if(data276.rerunAdvisory !== undefined){let data281 = data276.rerunAdvisory;if(!(((typeof data281 == "number") && (!(data281 % 1) && !isNaN(data281))) && (isFinite(data281)))){const err547 = {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 = [err547];}else {vErrors.push(err547);}errors++;}if((typeof data281 == "number") && (isFinite(data281))){if(data281 < 0 || isNaN(data281)){const err548 = {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 = [err548];}else {vErrors.push(err548);}errors++;}}}}else {const err549 = {instancePath:instancePath+"/delivery/ci",schemaPath:"#/properties/delivery/properties/ci/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err549];}else {vErrors.push(err549);}errors++;}}if(data58.pullRequest !== undefined){let data282 = data58.pullRequest;if(data282 && typeof data282 == "object" && !Array.isArray(data282)){for(const key75 in data282){if(!(key75 === "bodyTrailers")){const err550 = {instancePath:instancePath+"/delivery/pullRequest",schemaPath:"#/properties/delivery/properties/pullRequest/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key75},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err550];}else {vErrors.push(err550);}errors++;}}if(data282.bodyTrailers !== undefined){let data283 = data282.bodyTrailers;if(Array.isArray(data283)){const len45 = data283.length;for(let i50=0; i50<len45; i50++){let data284 = data283[i50];if(typeof data284 === "string"){if(!pattern30.test(data284)){const err551 = {instancePath:instancePath+"/delivery/pullRequest/bodyTrailers/" + i50,schemaPath:"#/properties/delivery/properties/pullRequest/properties/bodyTrailers/items/pattern",keyword:"pattern",params:{pattern: "^[A-Za-z][A-Za-z0-9-]*$"},message:"must match pattern \""+"^[A-Za-z][A-Za-z0-9-]*$"+"\""};if(vErrors === null){vErrors = [err551];}else {vErrors.push(err551);}errors++;}}else {const err552 = {instancePath:instancePath+"/delivery/pullRequest/bodyTrailers/" + i50,schemaPath:"#/properties/delivery/properties/pullRequest/properties/bodyTrailers/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err552];}else {vErrors.push(err552);}errors++;}}let i51 = data283.length;let j5;if(i51 > 1){const indices5 = {};for(;i51--;){let item5 = data283[i51];if(typeof item5 !== "string"){continue;}if(typeof indices5[item5] == "number"){j5 = indices5[item5];const err553 = {instancePath:instancePath+"/delivery/pullRequest/bodyTrailers",schemaPath:"#/properties/delivery/properties/pullRequest/properties/bodyTrailers/uniqueItems",keyword:"uniqueItems",params:{i: i51, j: j5},message:"must NOT have duplicate items (items ## "+j5+" and "+i51+" are identical)"};if(vErrors === null){vErrors = [err553];}else {vErrors.push(err553);}errors++;break;}indices5[item5] = i51;}}}else {const err554 = {instancePath:instancePath+"/delivery/pullRequest/bodyTrailers",schemaPath:"#/properties/delivery/properties/pullRequest/properties/bodyTrailers/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err554];}else {vErrors.push(err554);}errors++;}}}else {const err555 = {instancePath:instancePath+"/delivery/pullRequest",schemaPath:"#/properties/delivery/properties/pullRequest/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err555];}else {vErrors.push(err555);}errors++;}}if(data58.handoff !== undefined){let data285 = data58.handoff;if(data285 && typeof data285 == "object" && !Array.isArray(data285)){for(const key76 in data285){if(!(key76 === "postSeatChecks")){const err556 = {instancePath:instancePath+"/delivery/handoff",schemaPath:"#/properties/delivery/properties/handoff/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key76},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err556];}else {vErrors.push(err556);}errors++;}}if(data285.postSeatChecks !== undefined){let data286 = data285.postSeatChecks;if(Array.isArray(data286)){const len46 = data286.length;for(let i52=0; i52<len46; i52++){let data287 = data286[i52];if(data287 && typeof data287 == "object" && !Array.isArray(data287)){if(data287.cmd === undefined){const err557 = {instancePath:instancePath+"/delivery/handoff/postSeatChecks/" + i52,schemaPath:"#/properties/delivery/properties/handoff/properties/postSeatChecks/items/required",keyword:"required",params:{missingProperty: "cmd"},message:"must have required property '"+"cmd"+"'"};if(vErrors === null){vErrors = [err557];}else {vErrors.push(err557);}errors++;}for(const key77 in data287){if(!((key77 === "cmd") || (key77 === "args"))){const err558 = {instancePath:instancePath+"/delivery/handoff/postSeatChecks/" + i52,schemaPath:"#/properties/delivery/properties/handoff/properties/postSeatChecks/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key77},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err558];}else {vErrors.push(err558);}errors++;}}if(data287.cmd !== undefined){let data288 = data287.cmd;if(typeof data288 === "string"){if(func2(data288) < 1){const err559 = {instancePath:instancePath+"/delivery/handoff/postSeatChecks/" + i52+"/cmd",schemaPath:"#/properties/delivery/properties/handoff/properties/postSeatChecks/items/properties/cmd/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err559];}else {vErrors.push(err559);}errors++;}}else {const err560 = {instancePath:instancePath+"/delivery/handoff/postSeatChecks/" + i52+"/cmd",schemaPath:"#/properties/delivery/properties/handoff/properties/postSeatChecks/items/properties/cmd/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err560];}else {vErrors.push(err560);}errors++;}}if(data287.args !== undefined){let data289 = data287.args;if(Array.isArray(data289)){const len47 = data289.length;for(let i53=0; i53<len47; i53++){if(typeof data289[i53] !== "string"){const err561 = {instancePath:instancePath+"/delivery/handoff/postSeatChecks/" + i52+"/args/" + i53,schemaPath:"#/properties/delivery/properties/handoff/properties/postSeatChecks/items/properties/args/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+"/delivery/handoff/postSeatChecks/" + i52+"/args",schemaPath:"#/properties/delivery/properties/handoff/properties/postSeatChecks/items/properties/args/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err562];}else {vErrors.push(err562);}errors++;}}}else {const err563 = {instancePath:instancePath+"/delivery/handoff/postSeatChecks/" + i52,schemaPath:"#/properties/delivery/properties/handoff/properties/postSeatChecks/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err563];}else {vErrors.push(err563);}errors++;}}}else {const err564 = {instancePath:instancePath+"/delivery/handoff/postSeatChecks",schemaPath:"#/properties/delivery/properties/handoff/properties/postSeatChecks/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err564];}else {vErrors.push(err564);}errors++;}}}else {const err565 = {instancePath:instancePath+"/delivery/handoff",schemaPath:"#/properties/delivery/properties/handoff/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err565];}else {vErrors.push(err565);}errors++;}}if(data58.orchestrate !== undefined){let data291 = data58.orchestrate;if(data291 && typeof data291 == "object" && !Array.isArray(data291)){for(const key78 in data291){if(!((key78 === "requeueCommand") || (key78 === "releaseVeto"))){const err566 = {instancePath:instancePath+"/delivery/orchestrate",schemaPath:"#/properties/delivery/properties/orchestrate/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key78},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err566];}else {vErrors.push(err566);}errors++;}}if(data291.requeueCommand !== undefined){let data292 = data291.requeueCommand;if(data292 && typeof data292 == "object" && !Array.isArray(data292)){if(data292.cmd === undefined){const err567 = {instancePath:instancePath+"/delivery/orchestrate/requeueCommand",schemaPath:"#/properties/delivery/properties/orchestrate/properties/requeueCommand/required",keyword:"required",params:{missingProperty: "cmd"},message:"must have required property '"+"cmd"+"'"};if(vErrors === null){vErrors = [err567];}else {vErrors.push(err567);}errors++;}for(const key79 in data292){if(!((key79 === "cmd") || (key79 === "args"))){const err568 = {instancePath:instancePath+"/delivery/orchestrate/requeueCommand",schemaPath:"#/properties/delivery/properties/orchestrate/properties/requeueCommand/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key79},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err568];}else {vErrors.push(err568);}errors++;}}if(data292.cmd !== undefined){let data293 = data292.cmd;if(typeof data293 === "string"){if(func2(data293) < 1){const err569 = {instancePath:instancePath+"/delivery/orchestrate/requeueCommand/cmd",schemaPath:"#/properties/delivery/properties/orchestrate/properties/requeueCommand/properties/cmd/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+"/delivery/orchestrate/requeueCommand/cmd",schemaPath:"#/properties/delivery/properties/orchestrate/properties/requeueCommand/properties/cmd/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err570];}else {vErrors.push(err570);}errors++;}}if(data292.args !== undefined){let data294 = data292.args;if(Array.isArray(data294)){const len48 = data294.length;for(let i54=0; i54<len48; i54++){if(typeof data294[i54] !== "string"){const err571 = {instancePath:instancePath+"/delivery/orchestrate/requeueCommand/args/" + i54,schemaPath:"#/properties/delivery/properties/orchestrate/properties/requeueCommand/properties/args/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err571];}else {vErrors.push(err571);}errors++;}}}else {const err572 = {instancePath:instancePath+"/delivery/orchestrate/requeueCommand/args",schemaPath:"#/properties/delivery/properties/orchestrate/properties/requeueCommand/properties/args/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err572];}else {vErrors.push(err572);}errors++;}}}else {const err573 = {instancePath:instancePath+"/delivery/orchestrate/requeueCommand",schemaPath:"#/properties/delivery/properties/orchestrate/properties/requeueCommand/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err573];}else {vErrors.push(err573);}errors++;}}if(data291.releaseVeto !== undefined){let data296 = data291.releaseVeto;if(data296 && typeof data296 == "object" && !Array.isArray(data296)){if(data296.prLabel === undefined){const err574 = {instancePath:instancePath+"/delivery/orchestrate/releaseVeto",schemaPath:"#/properties/delivery/properties/orchestrate/properties/releaseVeto/required",keyword:"required",params:{missingProperty: "prLabel"},message:"must have required property '"+"prLabel"+"'"};if(vErrors === null){vErrors = [err574];}else {vErrors.push(err574);}errors++;}if(data296.cmd === undefined){const err575 = {instancePath:instancePath+"/delivery/orchestrate/releaseVeto",schemaPath:"#/properties/delivery/properties/orchestrate/properties/releaseVeto/required",keyword:"required",params:{missingProperty: "cmd"},message:"must have required property '"+"cmd"+"'"};if(vErrors === null){vErrors = [err575];}else {vErrors.push(err575);}errors++;}for(const key80 in data296){if(!(((key80 === "prLabel") || (key80 === "cmd")) || (key80 === "args"))){const err576 = {instancePath:instancePath+"/delivery/orchestrate/releaseVeto",schemaPath:"#/properties/delivery/properties/orchestrate/properties/releaseVeto/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key80},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err576];}else {vErrors.push(err576);}errors++;}}if(data296.prLabel !== undefined){let data297 = data296.prLabel;if(typeof data297 === "string"){if(func2(data297) < 1){const err577 = {instancePath:instancePath+"/delivery/orchestrate/releaseVeto/prLabel",schemaPath:"#/properties/delivery/properties/orchestrate/properties/releaseVeto/properties/prLabel/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err577];}else {vErrors.push(err577);}errors++;}}else {const err578 = {instancePath:instancePath+"/delivery/orchestrate/releaseVeto/prLabel",schemaPath:"#/properties/delivery/properties/orchestrate/properties/releaseVeto/properties/prLabel/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err578];}else {vErrors.push(err578);}errors++;}}if(data296.cmd !== undefined){let data298 = data296.cmd;if(typeof data298 === "string"){if(func2(data298) < 1){const err579 = {instancePath:instancePath+"/delivery/orchestrate/releaseVeto/cmd",schemaPath:"#/properties/delivery/properties/orchestrate/properties/releaseVeto/properties/cmd/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err579];}else {vErrors.push(err579);}errors++;}}else {const err580 = {instancePath:instancePath+"/delivery/orchestrate/releaseVeto/cmd",schemaPath:"#/properties/delivery/properties/orchestrate/properties/releaseVeto/properties/cmd/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err580];}else {vErrors.push(err580);}errors++;}}if(data296.args !== undefined){let data299 = data296.args;if(Array.isArray(data299)){const len49 = data299.length;for(let i55=0; i55<len49; i55++){if(typeof data299[i55] !== "string"){const err581 = {instancePath:instancePath+"/delivery/orchestrate/releaseVeto/args/" + i55,schemaPath:"#/properties/delivery/properties/orchestrate/properties/releaseVeto/properties/args/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err581];}else {vErrors.push(err581);}errors++;}}}else {const err582 = {instancePath:instancePath+"/delivery/orchestrate/releaseVeto/args",schemaPath:"#/properties/delivery/properties/orchestrate/properties/releaseVeto/properties/args/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err582];}else {vErrors.push(err582);}errors++;}}}else {const err583 = {instancePath:instancePath+"/delivery/orchestrate/releaseVeto",schemaPath:"#/properties/delivery/properties/orchestrate/properties/releaseVeto/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err583];}else {vErrors.push(err583);}errors++;}}}else {const err584 = {instancePath:instancePath+"/delivery/orchestrate",schemaPath:"#/properties/delivery/properties/orchestrate/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err584];}else {vErrors.push(err584);}errors++;}}if(data58.routing !== undefined){let data301 = data58.routing;if(data301 && typeof data301 == "object" && !Array.isArray(data301)){for(const key81 in data301){if(!((((key81 === "roleScopedAgents") || (key81 === "ceremonyProfile")) || (key81 === "closeAndLand")) || (key81 === "agentModels"))){const err585 = {instancePath:instancePath+"/delivery/routing",schemaPath:"#/properties/delivery/properties/routing/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key81},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err585];}else {vErrors.push(err585);}errors++;}}if(data301.roleScopedAgents !== undefined){if(typeof data301.roleScopedAgents !== "boolean"){const err586 = {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 = [err586];}else {vErrors.push(err586);}errors++;}}if(data301.ceremonyProfile !== undefined){let data303 = data301.ceremonyProfile;if(typeof data303 !== "string"){const err587 = {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 = [err587];}else {vErrors.push(err587);}errors++;}if(!(((data303 === "minimal") || (data303 === "standard")) || (data303 === "strict"))){const err588 = {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 = [err588];}else {vErrors.push(err588);}errors++;}}if(data301.closeAndLand !== undefined){if(typeof data301.closeAndLand !== "boolean"){const err589 = {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 = [err589];}else {vErrors.push(err589);}errors++;}}if(data301.agentModels !== undefined){let data305 = data301.agentModels;if(data305 && typeof data305 == "object" && !Array.isArray(data305)){for(const key82 in data305){const _errs760 = errors;if(!((((key82 === "story-worker") || (key82 === "acceptance-critic")) || (key82 === "plan-critic")) || (key82 === "auditor"))){const err590 = {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:key82};if(vErrors === null){vErrors = [err590];}else {vErrors.push(err590);}errors++;}var valid219 = _errs760 === errors;if(!valid219){const err591 = {instancePath:instancePath+"/delivery/routing/agentModels",schemaPath:"#/properties/delivery/properties/routing/properties/agentModels/propertyNames",keyword:"propertyNames",params:{propertyName: key82},message:"property name must be valid"};if(vErrors === null){vErrors = [err591];}else {vErrors.push(err591);}errors++;}}for(const key83 in data305){let data306 = data305[key83];if(typeof data306 === "string"){if(!pattern31.test(data306)){const err592 = {instancePath:instancePath+"/delivery/routing/agentModels/" + key83.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 = [err592];}else {vErrors.push(err592);}errors++;}}else {const err593 = {instancePath:instancePath+"/delivery/routing/agentModels/" + key83.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 = [err593];}else {vErrors.push(err593);}errors++;}}}else {const err594 = {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 = [err594];}else {vErrors.push(err594);}errors++;}}}else {const err595 = {instancePath:instancePath+"/delivery/routing",schemaPath:"#/properties/delivery/properties/routing/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err595];}else {vErrors.push(err595);}errors++;}}}else {const err596 = {instancePath:instancePath+"/delivery",schemaPath:"#/properties/delivery/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err596];}else {vErrors.push(err596);}errors++;}}if(data.qa !== undefined){let data307 = data.qa;if(data307 && typeof data307 == "object" && !Array.isArray(data307)){for(const key84 in data307){if(!(((((((key84 === "featureRoot") || (key84 === "fixturesManifest")) || (key84 === "environments")) || (key84 === "personas")) || (key84 === "gherkinLint")) || (key84 === "consoleAllowlist")) || (key84 === "designTokens"))){const err597 = {instancePath:instancePath+"/qa",schemaPath:"#/properties/qa/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key84},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err597];}else {vErrors.push(err597);}errors++;}}if(data307.featureRoot !== undefined){let data308 = data307.featureRoot;const _errs769 = errors;const _errs770 = errors;if(typeof data308 === "string"){if(!pattern0.test(data308)){const err598 = {};if(vErrors === null){vErrors = [err598];}else {vErrors.push(err598);}errors++;}}var valid222 = _errs770 === errors;if(valid222){const err599 = {instancePath:instancePath+"/qa/featureRoot",schemaPath:"#/properties/qa/properties/featureRoot/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err599];}else {vErrors.push(err599);}errors++;}else {errors = _errs769;if(vErrors !== null){if(_errs769){vErrors.length = _errs769;}else {vErrors = null;}}}if(typeof data308 === "string"){if(func2(data308) < 1){const err600 = {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 = [err600];}else {vErrors.push(err600);}errors++;}}else {const err601 = {instancePath:instancePath+"/qa/featureRoot",schemaPath:"#/properties/qa/properties/featureRoot/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err601];}else {vErrors.push(err601);}errors++;}}if(data307.fixturesManifest !== undefined){let data309 = data307.fixturesManifest;const _errs773 = errors;const _errs774 = errors;if(typeof data309 === "string"){if(!pattern0.test(data309)){const err602 = {};if(vErrors === null){vErrors = [err602];}else {vErrors.push(err602);}errors++;}}var valid223 = _errs774 === errors;if(valid223){const err603 = {instancePath:instancePath+"/qa/fixturesManifest",schemaPath:"#/properties/qa/properties/fixturesManifest/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err603];}else {vErrors.push(err603);}errors++;}else {errors = _errs773;if(vErrors !== null){if(_errs773){vErrors.length = _errs773;}else {vErrors = null;}}}if(typeof data309 === "string"){if(func2(data309) < 1){const err604 = {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 = [err604];}else {vErrors.push(err604);}errors++;}}else {const err605 = {instancePath:instancePath+"/qa/fixturesManifest",schemaPath:"#/properties/qa/properties/fixturesManifest/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err605];}else {vErrors.push(err605);}errors++;}}if(data307.environments !== undefined){let data310 = data307.environments;if(data310 && typeof data310 == "object" && !Array.isArray(data310)){if(Object.keys(data310).length < 1){const err606 = {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 = [err606];}else {vErrors.push(err606);}errors++;}for(const key85 in data310){let data311 = data310[key85];if(data311 && typeof data311 == "object" && !Array.isArray(data311)){if(data311.baseUrl === undefined){const err607 = {instancePath:instancePath+"/qa/environments/" + key85.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 = [err607];}else {vErrors.push(err607);}errors++;}for(const key86 in data311){if(!((((key86 === "baseUrl") || (key86 === "signInSeam")) || (key86 === "allowWrites")) || (key86 === "database"))){const err608 = {instancePath:instancePath+"/qa/environments/" + key85.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/qa/properties/environments/additionalProperties/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key86},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err608];}else {vErrors.push(err608);}errors++;}}if(data311.baseUrl !== undefined){let data312 = data311.baseUrl;const _errs783 = errors;const _errs784 = errors;if(typeof data312 === "string"){if(!pattern0.test(data312)){const err609 = {};if(vErrors === null){vErrors = [err609];}else {vErrors.push(err609);}errors++;}}var valid226 = _errs784 === errors;if(valid226){const err610 = {instancePath:instancePath+"/qa/environments/" + key85.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 = [err610];}else {vErrors.push(err610);}errors++;}else {errors = _errs783;if(vErrors !== null){if(_errs783){vErrors.length = _errs783;}else {vErrors = null;}}}if(typeof data312 === "string"){if(func2(data312) < 1){const err611 = {instancePath:instancePath+"/qa/environments/" + key85.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 = [err611];}else {vErrors.push(err611);}errors++;}}else {const err612 = {instancePath:instancePath+"/qa/environments/" + key85.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 = [err612];}else {vErrors.push(err612);}errors++;}}if(data311.signInSeam !== undefined){let data313 = data311.signInSeam;const _errs786 = errors;let valid227 = false;let passing3 = null;const _errs787 = errors;if(data313 && typeof data313 == "object" && !Array.isArray(data313)){if(data313.urlTemplate === undefined){const err613 = {instancePath:instancePath+"/qa/environments/" + key85.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 = [err613];}else {vErrors.push(err613);}errors++;}for(const key87 in data313){if(!(key87 === "urlTemplate")){const err614 = {instancePath:instancePath+"/qa/environments/" + key85.replace(/~/g, "~0").replace(/\//g, "~1")+"/signInSeam",schemaPath:"#/properties/qa/properties/environments/additionalProperties/properties/signInSeam/oneOf/0/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key87},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err614];}else {vErrors.push(err614);}errors++;}}if(data313.urlTemplate !== undefined){let data314 = data313.urlTemplate;const _errs792 = errors;const _errs793 = errors;if(typeof data314 === "string"){if(!pattern0.test(data314)){const err615 = {};if(vErrors === null){vErrors = [err615];}else {vErrors.push(err615);}errors++;}}var valid229 = _errs793 === errors;if(valid229){const err616 = {instancePath:instancePath+"/qa/environments/" + key85.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 = [err616];}else {vErrors.push(err616);}errors++;}else {errors = _errs792;if(vErrors !== null){if(_errs792){vErrors.length = _errs792;}else {vErrors = null;}}}if(typeof data314 === "string"){if(func2(data314) < 1){const err617 = {instancePath:instancePath+"/qa/environments/" + key85.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 = [err617];}else {vErrors.push(err617);}errors++;}}else {const err618 = {instancePath:instancePath+"/qa/environments/" + key85.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 = [err618];}else {vErrors.push(err618);}errors++;}}}else {const err619 = {instancePath:instancePath+"/qa/environments/" + key85.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 = [err619];}else {vErrors.push(err619);}errors++;}var _valid4 = _errs787 === errors;if(_valid4){valid227 = true;passing3 = 0;}const _errs794 = errors;if(data313 && typeof data313 == "object" && !Array.isArray(data313)){if(data313.skill === undefined){const err620 = {instancePath:instancePath+"/qa/environments/" + key85.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 = [err620];}else {vErrors.push(err620);}errors++;}for(const key88 in data313){if(!(key88 === "skill")){const err621 = {instancePath:instancePath+"/qa/environments/" + key85.replace(/~/g, "~0").replace(/\//g, "~1")+"/signInSeam",schemaPath:"#/properties/qa/properties/environments/additionalProperties/properties/signInSeam/oneOf/1/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key88},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err621];}else {vErrors.push(err621);}errors++;}}if(data313.skill !== undefined){let data315 = data313.skill;const _errs799 = errors;const _errs800 = errors;if(typeof data315 === "string"){if(!pattern0.test(data315)){const err622 = {};if(vErrors === null){vErrors = [err622];}else {vErrors.push(err622);}errors++;}}var valid231 = _errs800 === errors;if(valid231){const err623 = {instancePath:instancePath+"/qa/environments/" + key85.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 = [err623];}else {vErrors.push(err623);}errors++;}else {errors = _errs799;if(vErrors !== null){if(_errs799){vErrors.length = _errs799;}else {vErrors = null;}}}if(typeof data315 === "string"){if(func2(data315) < 1){const err624 = {instancePath:instancePath+"/qa/environments/" + key85.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 = [err624];}else {vErrors.push(err624);}errors++;}if(!pattern37.test(data315)){const err625 = {instancePath:instancePath+"/qa/environments/" + key85.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 = [err625];}else {vErrors.push(err625);}errors++;}}else {const err626 = {instancePath:instancePath+"/qa/environments/" + key85.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 = [err626];}else {vErrors.push(err626);}errors++;}}}else {const err627 = {instancePath:instancePath+"/qa/environments/" + key85.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 = [err627];}else {vErrors.push(err627);}errors++;}var _valid4 = _errs794 === errors;if(_valid4 && valid227){valid227 = false;passing3 = [passing3, 1];}else {if(_valid4){valid227 = true;passing3 = 1;}}if(!valid227){const err628 = {instancePath:instancePath+"/qa/environments/" + key85.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 = [err628];}else {vErrors.push(err628);}errors++;}else {errors = _errs786;if(vErrors !== null){if(_errs786){vErrors.length = _errs786;}else {vErrors = null;}}}}if(data311.allowWrites !== undefined){if(typeof data311.allowWrites !== "boolean"){const err629 = {instancePath:instancePath+"/qa/environments/" + key85.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 = [err629];}else {vErrors.push(err629);}errors++;}}if(data311.database !== undefined){let data317 = data311.database;if(data317 && typeof data317 == "object" && !Array.isArray(data317)){if(data317.urlEnv === undefined){const err630 = {instancePath:instancePath+"/qa/environments/" + key85.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 = [err630];}else {vErrors.push(err630);}errors++;}for(const key89 in data317){if(!((key89 === "urlEnv") || (key89 === "allowAudit"))){const err631 = {instancePath:instancePath+"/qa/environments/" + key85.replace(/~/g, "~0").replace(/\//g, "~1")+"/database",schemaPath:"#/properties/qa/properties/environments/additionalProperties/properties/database/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key89},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err631];}else {vErrors.push(err631);}errors++;}}if(data317.urlEnv !== undefined){let data318 = data317.urlEnv;if(typeof data318 === "string"){if(!pattern38.test(data318)){const err632 = {instancePath:instancePath+"/qa/environments/" + key85.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 = [err632];}else {vErrors.push(err632);}errors++;}}else {const err633 = {instancePath:instancePath+"/qa/environments/" + key85.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 = [err633];}else {vErrors.push(err633);}errors++;}}if(data317.allowAudit !== undefined){if(typeof data317.allowAudit !== "boolean"){const err634 = {instancePath:instancePath+"/qa/environments/" + key85.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 = [err634];}else {vErrors.push(err634);}errors++;}}}else {const err635 = {instancePath:instancePath+"/qa/environments/" + key85.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 = [err635];}else {vErrors.push(err635);}errors++;}}}else {const err636 = {instancePath:instancePath+"/qa/environments/" + key85.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 = [err636];}else {vErrors.push(err636);}errors++;}}}else {const err637 = {instancePath:instancePath+"/qa/environments",schemaPath:"#/properties/qa/properties/environments/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err637];}else {vErrors.push(err637);}errors++;}}if(data307.personas !== undefined){let data320 = data307.personas;const _errs811 = errors;let valid233 = false;let passing4 = null;const _errs812 = errors;if(Array.isArray(data320)){if(data320.length < 1){const err638 = {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 = [err638];}else {vErrors.push(err638);}errors++;}const len50 = data320.length;for(let i56=0; i56<len50; i56++){let data321 = data320[i56];const _errs816 = errors;const _errs817 = errors;if(typeof data321 === "string"){if(!pattern0.test(data321)){const err639 = {};if(vErrors === null){vErrors = [err639];}else {vErrors.push(err639);}errors++;}}var valid236 = _errs817 === errors;if(valid236){const err640 = {instancePath:instancePath+"/qa/personas/" + i56,schemaPath:"#/properties/qa/properties/personas/oneOf/0/items/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err640];}else {vErrors.push(err640);}errors++;}else {errors = _errs816;if(vErrors !== null){if(_errs816){vErrors.length = _errs816;}else {vErrors = null;}}}if(typeof data321 === "string"){if(func2(data321) < 1){const err641 = {instancePath:instancePath+"/qa/personas/" + i56,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 = [err641];}else {vErrors.push(err641);}errors++;}}else {const err642 = {instancePath:instancePath+"/qa/personas/" + i56,schemaPath:"#/properties/qa/properties/personas/oneOf/0/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err642];}else {vErrors.push(err642);}errors++;}}}else {const err643 = {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 = [err643];}else {vErrors.push(err643);}errors++;}var _valid5 = _errs812 === errors;if(_valid5){valid233 = true;passing4 = 0;}const _errs818 = errors;if(data320 && typeof data320 == "object" && !Array.isArray(data320)){if(Object.keys(data320).length < 1){const err644 = {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 = [err644];}else {vErrors.push(err644);}errors++;}for(const key90 in data320){let data322 = data320[key90];const _errs822 = errors;let valid238 = false;let passing5 = null;const _errs823 = errors;if(data322 && typeof data322 == "object" && !Array.isArray(data322)){if(data322.credentialRef === undefined){const err645 = {instancePath:instancePath+"/qa/personas/" + key90.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 = [err645];}else {vErrors.push(err645);}errors++;}for(const key91 in data322){if(!(key91 === "credentialRef")){const err646 = {instancePath:instancePath+"/qa/personas/" + key90.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/qa/properties/personas/oneOf/1/additionalProperties/oneOf/0/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key91},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err646];}else {vErrors.push(err646);}errors++;}}if(data322.credentialRef !== undefined){let data323 = data322.credentialRef;const _errs828 = errors;const _errs829 = errors;if(typeof data323 === "string"){if(!pattern0.test(data323)){const err647 = {};if(vErrors === null){vErrors = [err647];}else {vErrors.push(err647);}errors++;}}var valid240 = _errs829 === errors;if(valid240){const err648 = {instancePath:instancePath+"/qa/personas/" + key90.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 = [err648];}else {vErrors.push(err648);}errors++;}else {errors = _errs828;if(vErrors !== null){if(_errs828){vErrors.length = _errs828;}else {vErrors = null;}}}if(typeof data323 === "string"){if(func2(data323) < 1){const err649 = {instancePath:instancePath+"/qa/personas/" + key90.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 = [err649];}else {vErrors.push(err649);}errors++;}}else {const err650 = {instancePath:instancePath+"/qa/personas/" + key90.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 = [err650];}else {vErrors.push(err650);}errors++;}}}else {const err651 = {instancePath:instancePath+"/qa/personas/" + key90.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 = [err651];}else {vErrors.push(err651);}errors++;}var _valid6 = _errs823 === errors;if(_valid6){valid238 = true;passing5 = 0;}const _errs830 = errors;if(data322 && typeof data322 == "object" && !Array.isArray(data322)){if(data322.signInSkill === undefined){const err652 = {instancePath:instancePath+"/qa/personas/" + key90.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 = [err652];}else {vErrors.push(err652);}errors++;}for(const key92 in data322){if(!(key92 === "signInSkill")){const err653 = {instancePath:instancePath+"/qa/personas/" + key90.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/qa/properties/personas/oneOf/1/additionalProperties/oneOf/1/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key92},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err653];}else {vErrors.push(err653);}errors++;}}if(data322.signInSkill !== undefined){let data324 = data322.signInSkill;const _errs835 = errors;const _errs836 = errors;if(typeof data324 === "string"){if(!pattern0.test(data324)){const err654 = {};if(vErrors === null){vErrors = [err654];}else {vErrors.push(err654);}errors++;}}var valid242 = _errs836 === errors;if(valid242){const err655 = {instancePath:instancePath+"/qa/personas/" + key90.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 = [err655];}else {vErrors.push(err655);}errors++;}else {errors = _errs835;if(vErrors !== null){if(_errs835){vErrors.length = _errs835;}else {vErrors = null;}}}if(typeof data324 === "string"){if(func2(data324) < 1){const err656 = {instancePath:instancePath+"/qa/personas/" + key90.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 = [err656];}else {vErrors.push(err656);}errors++;}}else {const err657 = {instancePath:instancePath+"/qa/personas/" + key90.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 = [err657];}else {vErrors.push(err657);}errors++;}}}else {const err658 = {instancePath:instancePath+"/qa/personas/" + key90.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 = [err658];}else {vErrors.push(err658);}errors++;}var _valid6 = _errs830 === errors;if(_valid6 && valid238){valid238 = false;passing5 = [passing5, 1];}else {if(_valid6){valid238 = true;passing5 = 1;}}if(!valid238){const err659 = {instancePath:instancePath+"/qa/personas/" + key90.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 = [err659];}else {vErrors.push(err659);}errors++;}else {errors = _errs822;if(vErrors !== null){if(_errs822){vErrors.length = _errs822;}else {vErrors = null;}}}}}else {const err660 = {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 = [err660];}else {vErrors.push(err660);}errors++;}var _valid5 = _errs818 === errors;if(_valid5 && valid233){valid233 = false;passing4 = [passing4, 1];}else {if(_valid5){valid233 = true;passing4 = 1;}}if(!valid233){const err661 = {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 = [err661];}else {vErrors.push(err661);}errors++;}else {errors = _errs811;if(vErrors !== null){if(_errs811){vErrors.length = _errs811;}else {vErrors = null;}}}}if(data307.gherkinLint !== undefined){let data325 = data307.gherkinLint;if(data325 && typeof data325 == "object" && !Array.isArray(data325)){if(data325.scopes === undefined){const err662 = {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 = [err662];}else {vErrors.push(err662);}errors++;}for(const key93 in data325){if(!(((key93 === "scopes") || (key93 === "exemptionTags")) || (key93 === "stepWaivers"))){const err663 = {instancePath:instancePath+"/qa/gherkinLint",schemaPath:"#/properties/qa/properties/gherkinLint/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key93},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err663];}else {vErrors.push(err663);}errors++;}}if(data325.scopes !== undefined){let data326 = data325.scopes;if(data326 && typeof data326 == "object" && !Array.isArray(data326)){if(Object.keys(data326).length < 1){const err664 = {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 = [err664];}else {vErrors.push(err664);}errors++;}for(const key94 in data326){let data327 = data326[key94];if(data327 && typeof data327 == "object" && !Array.isArray(data327)){if(data327.featureRoots === undefined){const err665 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key94.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 = [err665];}else {vErrors.push(err665);}errors++;}if(data327.stepRoots === undefined){const err666 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key94.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 = [err666];}else {vErrors.push(err666);}errors++;}for(const key95 in data327){if(!((key95 === "featureRoots") || (key95 === "stepRoots"))){const err667 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key94.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/qa/properties/gherkinLint/properties/scopes/additionalProperties/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key95},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err667];}else {vErrors.push(err667);}errors++;}}if(data327.featureRoots !== undefined){let data328 = data327.featureRoots;if(Array.isArray(data328)){if(data328.length < 1){const err668 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key94.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 = [err668];}else {vErrors.push(err668);}errors++;}const len51 = data328.length;for(let i57=0; i57<len51; i57++){let data329 = data328[i57];const _errs850 = errors;const _errs851 = errors;if(typeof data329 === "string"){if(!pattern0.test(data329)){const err669 = {};if(vErrors === null){vErrors = [err669];}else {vErrors.push(err669);}errors++;}}var valid248 = _errs851 === errors;if(valid248){const err670 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key94.replace(/~/g, "~0").replace(/\//g, "~1")+"/featureRoots/" + i57,schemaPath:"#/properties/qa/properties/gherkinLint/properties/scopes/additionalProperties/properties/featureRoots/items/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err670];}else {vErrors.push(err670);}errors++;}else {errors = _errs850;if(vErrors !== null){if(_errs850){vErrors.length = _errs850;}else {vErrors = null;}}}if(typeof data329 === "string"){if(func2(data329) < 1){const err671 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key94.replace(/~/g, "~0").replace(/\//g, "~1")+"/featureRoots/" + i57,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 = [err671];}else {vErrors.push(err671);}errors++;}}else {const err672 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key94.replace(/~/g, "~0").replace(/\//g, "~1")+"/featureRoots/" + i57,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 = [err672];}else {vErrors.push(err672);}errors++;}}}else {const err673 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key94.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 = [err673];}else {vErrors.push(err673);}errors++;}}if(data327.stepRoots !== undefined){let data330 = data327.stepRoots;if(Array.isArray(data330)){if(data330.length < 1){const err674 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key94.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 = [err674];}else {vErrors.push(err674);}errors++;}const len52 = data330.length;for(let i58=0; i58<len52; i58++){let data331 = data330[i58];const _errs856 = errors;const _errs857 = errors;if(typeof data331 === "string"){if(!pattern0.test(data331)){const err675 = {};if(vErrors === null){vErrors = [err675];}else {vErrors.push(err675);}errors++;}}var valid251 = _errs857 === errors;if(valid251){const err676 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key94.replace(/~/g, "~0").replace(/\//g, "~1")+"/stepRoots/" + i58,schemaPath:"#/properties/qa/properties/gherkinLint/properties/scopes/additionalProperties/properties/stepRoots/items/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err676];}else {vErrors.push(err676);}errors++;}else {errors = _errs856;if(vErrors !== null){if(_errs856){vErrors.length = _errs856;}else {vErrors = null;}}}if(typeof data331 === "string"){if(func2(data331) < 1){const err677 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key94.replace(/~/g, "~0").replace(/\//g, "~1")+"/stepRoots/" + i58,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 = [err677];}else {vErrors.push(err677);}errors++;}}else {const err678 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key94.replace(/~/g, "~0").replace(/\//g, "~1")+"/stepRoots/" + i58,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 = [err678];}else {vErrors.push(err678);}errors++;}}}else {const err679 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key94.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 = [err679];}else {vErrors.push(err679);}errors++;}}}else {const err680 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key94.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 = [err680];}else {vErrors.push(err680);}errors++;}}}else {const err681 = {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 = [err681];}else {vErrors.push(err681);}errors++;}}if(data325.exemptionTags !== undefined){let data332 = data325.exemptionTags;if(Array.isArray(data332)){const len53 = data332.length;for(let i59=0; i59<len53; i59++){let data333 = data332[i59];const _errs862 = errors;const _errs863 = errors;if(typeof data333 === "string"){if(!pattern0.test(data333)){const err682 = {};if(vErrors === null){vErrors = [err682];}else {vErrors.push(err682);}errors++;}}var valid254 = _errs863 === errors;if(valid254){const err683 = {instancePath:instancePath+"/qa/gherkinLint/exemptionTags/" + i59,schemaPath:"#/properties/qa/properties/gherkinLint/properties/exemptionTags/items/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err683];}else {vErrors.push(err683);}errors++;}else {errors = _errs862;if(vErrors !== null){if(_errs862){vErrors.length = _errs862;}else {vErrors = null;}}}if(typeof data333 === "string"){if(func2(data333) < 1){const err684 = {instancePath:instancePath+"/qa/gherkinLint/exemptionTags/" + i59,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 = [err684];}else {vErrors.push(err684);}errors++;}}else {const err685 = {instancePath:instancePath+"/qa/gherkinLint/exemptionTags/" + i59,schemaPath:"#/properties/qa/properties/gherkinLint/properties/exemptionTags/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err685];}else {vErrors.push(err685);}errors++;}}}else {const err686 = {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 = [err686];}else {vErrors.push(err686);}errors++;}}if(data325.stepWaivers !== undefined){let data334 = data325.stepWaivers;if(Array.isArray(data334)){const len54 = data334.length;for(let i60=0; i60<len54; i60++){let data335 = data334[i60];if(typeof data335 === "string"){if(func2(data335) < 1){const err687 = {instancePath:instancePath+"/qa/gherkinLint/stepWaivers/" + i60,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 = [err687];}else {vErrors.push(err687);}errors++;}}else {const err688 = {instancePath:instancePath+"/qa/gherkinLint/stepWaivers/" + i60,schemaPath:"#/properties/qa/properties/gherkinLint/properties/stepWaivers/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err688];}else {vErrors.push(err688);}errors++;}}}else {const err689 = {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 = [err689];}else {vErrors.push(err689);}errors++;}}}else {const err690 = {instancePath:instancePath+"/qa/gherkinLint",schemaPath:"#/properties/qa/properties/gherkinLint/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err690];}else {vErrors.push(err690);}errors++;}}if(data307.consoleAllowlist !== undefined){let data336 = data307.consoleAllowlist;if(Array.isArray(data336)){const len55 = data336.length;for(let i61=0; i61<len55; i61++){let data337 = data336[i61];const _errs872 = errors;const _errs873 = errors;if(typeof data337 === "string"){if(!pattern0.test(data337)){const err691 = {};if(vErrors === null){vErrors = [err691];}else {vErrors.push(err691);}errors++;}}var valid259 = _errs873 === errors;if(valid259){const err692 = {instancePath:instancePath+"/qa/consoleAllowlist/" + i61,schemaPath:"#/properties/qa/properties/consoleAllowlist/items/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err692];}else {vErrors.push(err692);}errors++;}else {errors = _errs872;if(vErrors !== null){if(_errs872){vErrors.length = _errs872;}else {vErrors = null;}}}if(typeof data337 === "string"){if(func2(data337) < 1){const err693 = {instancePath:instancePath+"/qa/consoleAllowlist/" + i61,schemaPath:"#/properties/qa/properties/consoleAllowlist/items/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err693];}else {vErrors.push(err693);}errors++;}}else {const err694 = {instancePath:instancePath+"/qa/consoleAllowlist/" + i61,schemaPath:"#/properties/qa/properties/consoleAllowlist/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err694];}else {vErrors.push(err694);}errors++;}}}else {const err695 = {instancePath:instancePath+"/qa/consoleAllowlist",schemaPath:"#/properties/qa/properties/consoleAllowlist/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err695];}else {vErrors.push(err695);}errors++;}}if(data307.designTokens !== undefined){let data338 = data307.designTokens;const _errs876 = errors;const _errs877 = errors;if(typeof data338 === "string"){if(!pattern0.test(data338)){const err696 = {};if(vErrors === null){vErrors = [err696];}else {vErrors.push(err696);}errors++;}}var valid260 = _errs877 === errors;if(valid260){const err697 = {instancePath:instancePath+"/qa/designTokens",schemaPath:"#/properties/qa/properties/designTokens/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err697];}else {vErrors.push(err697);}errors++;}else {errors = _errs876;if(vErrors !== null){if(_errs876){vErrors.length = _errs876;}else {vErrors = null;}}}if(typeof data338 === "string"){if(func2(data338) < 1){const err698 = {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 = [err698];}else {vErrors.push(err698);}errors++;}}else {const err699 = {instancePath:instancePath+"/qa/designTokens",schemaPath:"#/properties/qa/properties/designTokens/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err699];}else {vErrors.push(err699);}errors++;}}}else {const err700 = {instancePath:instancePath+"/qa",schemaPath:"#/properties/qa/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err700];}else {vErrors.push(err700);}errors++;}}}else {const err701 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err701];}else {vErrors.push(err701);}errors++;}validate10.errors = vErrors;return errors === 0;}