mandrel 2.110.0 → 2.112.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 (190) hide show
  1. package/.agents/agents/acceptance-critic.md +14 -0
  2. package/.agents/agents/auditor.md +14 -0
  3. package/.agents/agents/plan-critic.md +5 -0
  4. package/.agents/agents/story-worker.md +4 -1
  5. package/.agents/audit-checklists/state-machines.md +21 -0
  6. package/.agents/docs/agentrc-reference.json +23 -10
  7. package/.agents/docs/configuration.md +362 -15
  8. package/.agents/docs/execution-reference.md +11 -0
  9. package/.agents/docs/workflows.md +2 -1
  10. package/.agents/rules/ci-remediation.md +28 -4
  11. package/.agents/rules/git-conventions-reference.md +7 -0
  12. package/.agents/schemas/agentrc.schema.json +179 -13
  13. package/.agents/schemas/audit-rules.json +28 -0
  14. package/.agents/schemas/baselines/baseline-envelope.schema.json +16 -4
  15. package/.agents/schemas/baselines/bundle-size.schema.json +1 -0
  16. package/.agents/schemas/baselines/coverage.schema.json +1 -0
  17. package/.agents/schemas/baselines/crap.schema.json +37 -10
  18. package/.agents/schemas/baselines/duplication.schema.json +1 -0
  19. package/.agents/schemas/baselines/maintainability.schema.json +1 -0
  20. package/.agents/schemas/baselines/mutation.schema.json +1 -0
  21. package/.agents/schemas/crap-report.schema.json +6 -5
  22. package/.agents/schemas/story-deliver-terminal.schema.json +49 -3
  23. package/.agents/schemas/story-progress.schema.json +1 -1
  24. package/.agents/schemas/validation-evidence.schema.json +2 -2
  25. package/.agents/scripts/boot-sweep.js +41 -3
  26. package/.agents/scripts/coverage-capture.js +39 -3
  27. package/.agents/scripts/coverage-ratchet.js +106 -0
  28. package/.agents/scripts/evidence-gate.js +84 -21
  29. package/.agents/scripts/file-ci-gap.js +220 -10
  30. package/.agents/scripts/lib/audit-baselines/read.js +8 -1
  31. package/.agents/scripts/lib/audit-baselines/trend.js +2 -1
  32. package/.agents/scripts/lib/audit-to-stories/audit-lenses.js +1 -0
  33. package/.agents/scripts/lib/baseline-loader.js +4 -2
  34. package/.agents/scripts/lib/baselines/codec.js +57 -0
  35. package/.agents/scripts/lib/baselines/crap-preview-incremental.js +8 -3
  36. package/.agents/scripts/lib/baselines/crap-preview-scan.js +10 -16
  37. package/.agents/scripts/lib/baselines/crap-updater-cli.js +4 -13
  38. package/.agents/scripts/lib/baselines/kernel.js +19 -1
  39. package/.agents/scripts/lib/baselines/kinds/_crap-codec.js +171 -0
  40. package/.agents/scripts/lib/baselines/kinds/_crap-read.js +56 -16
  41. package/.agents/scripts/lib/baselines/kinds/_shared-metric.js +0 -59
  42. package/.agents/scripts/lib/baselines/kinds/crap.js +283 -319
  43. package/.agents/scripts/lib/baselines/preview-gates.js +29 -10
  44. package/.agents/scripts/lib/baselines/reader.js +36 -9
  45. package/.agents/scripts/lib/baselines/refresh-service.js +79 -18
  46. package/.agents/scripts/lib/baselines/seat-missing.js +173 -7
  47. package/.agents/scripts/lib/baselines/writer.js +36 -21
  48. package/.agents/scripts/lib/changed-files.js +70 -6
  49. package/.agents/scripts/lib/child-exec.js +10 -0
  50. package/.agents/scripts/lib/claude/agents-projection.js +5 -5
  51. package/.agents/scripts/lib/close-lock-events.js +8 -3
  52. package/.agents/scripts/lib/close-validation/ci-deferral.js +40 -0
  53. package/.agents/scripts/lib/close-validation/gates.js +156 -32
  54. package/.agents/scripts/lib/close-validation/process.js +16 -7
  55. package/.agents/scripts/lib/close-validation/projections/crap.js +43 -10
  56. package/.agents/scripts/lib/close-validation/runner.js +160 -41
  57. package/.agents/scripts/lib/close-validation/skip-branch-test.js +144 -0
  58. package/.agents/scripts/lib/close-validation/test-delta.js +33 -8
  59. package/.agents/scripts/lib/codex/agents-projection.js +6 -0
  60. package/.agents/scripts/lib/config/agentrc-overlay.js +9 -5
  61. package/.agents/scripts/lib/config/explain.js +5 -2
  62. package/.agents/scripts/lib/config/gates/coverage.schema.js +53 -0
  63. package/.agents/scripts/lib/config/gates/crap-incremental-coverage.schema.js +1 -1
  64. package/.agents/scripts/lib/config/git-roots.js +38 -4
  65. package/.agents/scripts/lib/config/handoff.js +24 -0
  66. package/.agents/scripts/lib/config/quality.js +28 -12
  67. package/.agents/scripts/lib/config/worktree-isolation.js +2 -5
  68. package/.agents/scripts/lib/config-resolver.js +22 -2
  69. package/.agents/scripts/lib/config-settings-schema-delivery.js +87 -4
  70. package/.agents/scripts/lib/config-settings-schema-quality.js +36 -1
  71. package/.agents/scripts/lib/config-settings-schema.js +1 -1
  72. package/.agents/scripts/lib/coverage-capture-affected.js +1 -0
  73. package/.agents/scripts/lib/coverage-capture-delta.js +164 -32
  74. package/.agents/scripts/lib/coverage-capture-own-fix.js +232 -0
  75. package/.agents/scripts/lib/coverage-capture-usage.js +2 -2
  76. package/.agents/scripts/lib/coverage-capture.js +31 -0
  77. package/.agents/scripts/lib/coverage-deferral.js +96 -0
  78. package/.agents/scripts/lib/coverage-ratchet.js +187 -0
  79. package/.agents/scripts/lib/crap-baseline-join.js +5 -5
  80. package/.agents/scripts/lib/crap-engine.js +3 -3
  81. package/.agents/scripts/lib/crap-method-identity.js +104 -48
  82. package/.agents/scripts/lib/escomplex-anchor.js +135 -0
  83. package/.agents/scripts/lib/escomplex-kernel.js +30 -1
  84. package/.agents/scripts/lib/failure-rows.js +121 -0
  85. package/.agents/scripts/lib/full-suite-lock.js +44 -4
  86. package/.agents/scripts/lib/full-suite-queue.js +89 -13
  87. package/.agents/scripts/lib/generated/agentrc-validator.js +8 -2
  88. package/.agents/scripts/lib/gh-env.js +3 -6
  89. package/.agents/scripts/lib/gh-pr-rest.js +1 -0
  90. package/.agents/scripts/lib/git/base-sync-probe.js +182 -0
  91. package/.agents/scripts/lib/git-branch-lifecycle.js +9 -0
  92. package/.agents/scripts/lib/observability/close-telemetry.js +37 -2
  93. package/.agents/scripts/lib/observability/handoff-telemetry.js +170 -0
  94. package/.agents/scripts/lib/observability/review-dispositions.js +23 -6
  95. package/.agents/scripts/lib/observability/runtime-friction.js +17 -4
  96. package/.agents/scripts/lib/observability/source-classifier.js +3 -0
  97. package/.agents/scripts/lib/observability/story-outcome.js +393 -0
  98. package/.agents/scripts/lib/orchestration/check-baselines/phases/compare.js +2 -1
  99. package/.agents/scripts/lib/orchestration/check-baselines/phases/evaluate.js +19 -1
  100. package/.agents/scripts/lib/orchestration/check-baselines/phases/fail-detail.js +84 -0
  101. package/.agents/scripts/lib/orchestration/check-baselines/phases/pipeline.js +14 -5
  102. package/.agents/scripts/lib/orchestration/check-baselines/phases/refresh-ack.js +3 -2
  103. package/.agents/scripts/lib/orchestration/check-baselines/phases/report.js +26 -6
  104. package/.agents/scripts/lib/orchestration/ci-rerun-guard.js +124 -23
  105. package/.agents/scripts/lib/orchestration/code-review.js +223 -19
  106. package/.agents/scripts/lib/orchestration/handoff-gates.js +217 -44
  107. package/.agents/scripts/lib/orchestration/handoff-rescore.js +169 -0
  108. package/.agents/scripts/lib/orchestration/handoff-suite-of-record.js +45 -0
  109. package/.agents/scripts/lib/orchestration/plan-persist/run-plan-persist.js +5 -1
  110. package/.agents/scripts/lib/orchestration/plan-persist/source-rewrite.js +76 -4
  111. package/.agents/scripts/lib/orchestration/plan-persist/story-ops.js +2 -2
  112. package/.agents/scripts/lib/orchestration/preflight-lanes.js +208 -0
  113. package/.agents/scripts/lib/orchestration/review-base-ref.js +40 -17
  114. package/.agents/scripts/lib/orchestration/review-deposit.js +38 -12
  115. package/.agents/scripts/lib/orchestration/review-depth.js +21 -0
  116. package/.agents/scripts/lib/orchestration/review-history.js +124 -20
  117. package/.agents/scripts/lib/orchestration/review-providers/claude-verdict.js +23 -8
  118. package/.agents/scripts/lib/orchestration/review-providers/code-review.js +82 -39
  119. package/.agents/scripts/lib/orchestration/review-providers/critical-verifier.js +64 -11
  120. package/.agents/scripts/lib/orchestration/review-providers/degraded-gates.js +98 -3
  121. package/.agents/scripts/lib/orchestration/review-providers/finding-identity.js +6 -2
  122. package/.agents/scripts/lib/orchestration/review-providers/findings-renderer.js +55 -8
  123. package/.agents/scripts/lib/orchestration/review-providers/review-guidance.js +1 -0
  124. package/.agents/scripts/lib/orchestration/review-providers/review-provider-factory.js +42 -15
  125. package/.agents/scripts/lib/orchestration/review-providers/types.js +6 -0
  126. package/.agents/scripts/lib/orchestration/single-story-close/failed-terminal.js +10 -1
  127. package/.agents/scripts/lib/orchestration/single-story-close/gate-log.js +10 -0
  128. package/.agents/scripts/lib/orchestration/single-story-close/phases/base-sync.js +7 -4
  129. package/.agents/scripts/lib/orchestration/single-story-close/phases/close-validation.js +17 -2
  130. package/.agents/scripts/lib/orchestration/single-story-close/phases/code-review.js +59 -2
  131. package/.agents/scripts/lib/orchestration/single-story-close/phases/confirm-merge.js +13 -1
  132. package/.agents/scripts/lib/orchestration/single-story-close/phases/finish.js +15 -4
  133. package/.agents/scripts/lib/orchestration/single-story-close/phases/land-review-record.js +213 -0
  134. package/.agents/scripts/lib/orchestration/single-story-close/phases/normalize-pr-title.js +17 -2
  135. package/.agents/scripts/lib/orchestration/single-story-close/phases/open-pr.js +42 -20
  136. package/.agents/scripts/lib/orchestration/single-story-close/phases/post-land.js +51 -26
  137. package/.agents/scripts/lib/orchestration/single-story-close/phases/pre-push.js +3 -1
  138. package/.agents/scripts/lib/orchestration/single-story-close/phases/pull-request.js +51 -15
  139. package/.agents/scripts/lib/orchestration/single-story-close/phases/push.js +59 -11
  140. package/.agents/scripts/lib/orchestration/single-story-close/phases/reconcile-done.js +1 -0
  141. package/.agents/scripts/lib/orchestration/single-story-close/phases/review-block.js +31 -13
  142. package/.agents/scripts/lib/orchestration/single-story-close/phases/review-halt.js +29 -6
  143. package/.agents/scripts/lib/orchestration/single-story-close/phases/review-outcome.js +10 -12
  144. package/.agents/scripts/lib/orchestration/single-story-close/phases/review-override.js +19 -4
  145. package/.agents/scripts/lib/orchestration/single-story-close/result.js +43 -13
  146. package/.agents/scripts/lib/orchestration/single-story-close/review-overlap.js +73 -39
  147. package/.agents/scripts/lib/orchestration/single-story-close/runner.js +11 -2
  148. package/.agents/scripts/lib/orchestration/story-close/baseline-upward-writeback.js +3 -2
  149. package/.agents/scripts/lib/orchestration/story-close/duplication-close-rescore.js +20 -8
  150. package/.agents/scripts/lib/orchestration/story-deliver-terminal.js +7 -0
  151. package/.agents/scripts/lib/orchestration/story-handoff.js +789 -196
  152. package/.agents/scripts/lib/orchestration/ticketing/reads.js +2 -0
  153. package/.agents/scripts/lib/pr-body-lines.js +32 -0
  154. package/.agents/scripts/lib/single-story/ci-ratchet-gate.js +140 -0
  155. package/.agents/scripts/lib/single-story/confirm-and-land.js +17 -7
  156. package/.agents/scripts/lib/single-story/confirm-merge.js +12 -3
  157. package/.agents/scripts/lib/single-story-sweep/report-stalled-executing.js +202 -0
  158. package/.agents/scripts/lib/standalone-ratchets.js +37 -0
  159. package/.agents/scripts/lib/suite-admission.js +20 -8
  160. package/.agents/scripts/lib/suite-sizing.js +146 -0
  161. package/.agents/scripts/lib/workspace-provisioner.js +2 -2
  162. package/.agents/scripts/merge-baseline.js +14 -3
  163. package/.agents/scripts/providers/github/comments.js +19 -3
  164. package/.agents/scripts/providers/github.js +1 -0
  165. package/.agents/scripts/review-dispositions-report.js +1 -1
  166. package/.agents/scripts/role-scope-guard.js +267 -0
  167. package/.agents/scripts/single-story-close.js +4 -4
  168. package/.agents/scripts/single-story-confirm-merge.js +31 -5
  169. package/.agents/scripts/single-story-init.js +24 -4
  170. package/.agents/scripts/story-handoff.js +3 -3
  171. package/.agents/scripts/story-outcomes-report.js +231 -0
  172. package/.agents/scripts/story-review-compute.js +9 -5
  173. package/.agents/scripts/update-coverage-baseline.js +12 -2
  174. package/.agents/scripts/update-crap-baseline.js +9 -1
  175. package/.agents/workflows/audit-state-machines.md +213 -0
  176. package/.agents/workflows/helpers/code-review.md +63 -9
  177. package/.agents/workflows/helpers/deliver-digest.md +53 -54
  178. package/.agents/workflows/helpers/deliver-reference.md +236 -63
  179. package/.agents/workflows/helpers/deliver-story-reference.md +19 -8
  180. package/.agents/workflows/helpers/deliver-story.md +7 -2
  181. package/.agents/workflows/helpers/parallel-tooling.md +29 -0
  182. package/.agents/workflows/helpers/plan-reference.md +10 -2
  183. package/docs/CHANGELOG.md +56 -0
  184. package/lib/cli/doctor-checks/coverage-ratchet.js +54 -0
  185. package/lib/cli/doctor-checks/effective-agentrc.js +23 -0
  186. package/lib/cli/doctor-checks/llm-review.js +2 -11
  187. package/lib/cli/doctor-checks/sync-parity.js +5 -1
  188. package/lib/cli/doctor-checks/test-credit-path.js +7 -2
  189. package/lib/cli/registry.js +5 -0
  190. package/package.json +1 -1
@@ -13,7 +13,13 @@ 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-]*$"}}},"additionalProperties":false}}},"additionalProperties":false},"docsFreshness":{"type":"object","properties":{"paths":{"type":"array","items":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1}}},"additionalProperties":false},"tempRetention":{"type":"object","properties":{"enabled":{"type":"boolean"},"classes":{"type":"object","properties":{"orchestrationLogs":{"type":"boolean"},"validationEvidence":{"type":"boolean"},"auditResults":{"type":"boolean"},"planDirs":{"type":"boolean"},"scratch":{"type":"boolean"}},"additionalProperties":false}},"additionalProperties":false},"deliverRunner":{"type":"object","properties":{"concurrencyCap":{"type":"integer","minimum":1},"footprintGuard":{"type":"string","enum":["enforce","advisory"]}},"additionalProperties":false},"worktreeIsolation":{"type":"object","properties":{"enabled":{"type":"boolean"},"root":{"type":"string","minLength":1},"nodeModulesStrategy":{"type":"string","enum":["per-worktree","clone","symlink","pnpm-store"]},"primeFromPath":{"type":["string","null"],"minLength":1},"allowSymlinkOnWindows":{"type":"boolean"},"reapOnSuccess":{"type":"boolean"},"bootstrapFiles":{"type":"array","items":{"type":"string","minLength":1}}},"additionalProperties":false,"allOf":[{"if":{"properties":{"enabled":{"const":true}},"required":["enabled"]},"then":{"required":["root"]}}]},"quality":{"type":"object","properties":{"gates":{"type":"object","properties":{"coverage":{"type":"object","properties":{"enabled":{"type":"boolean"},"baselinePath":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1},"tolerance":{"type":"object","required":["kind","value"],"properties":{"kind":{"type":"string","enum":["absolute","percent"]},"value":{"type":"number","minimum":0}},"additionalProperties":false},"floors":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"number"}}},"components":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string","minLength":1}}},"coveragePath":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1},"captureScript":{"type":"string","minLength":1,"pattern":"^[A-Za-z0-9@:._/-]+$"},"captureScope":{"type":"string","enum":["full","affected"]},"timeoutMs":{"type":"integer","minimum":60000,"maximum":7200000}},"additionalProperties":false},"crap":{"type":"object","properties":{"enabled":{"type":"boolean"},"baselinePath":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1},"tolerance":{"type":"object","required":["kind","value"],"properties":{"kind":{"type":"string","enum":["absolute","percent"]},"value":{"type":"number","minimum":0}},"additionalProperties":false},"floors":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"number"}}},"components":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string","minLength":1}}},"targetDirs":{"oneOf":[{"type":"array","items":{"type":"string"}},{"type":"object","properties":{"append":{"type":"array","items":{"type":"string"}},"prepend":{"type":"array","items":{"type":"string"}}},"additionalProperties":false}]},"newMethodCeiling":{"type":"integer","minimum":1},"requireCoverage":{"type":"boolean"},"minMethodResolutionRate":{"type":"number","minimum":0,"maximum":1},"ignoreGlobs":{"type":"array","items":{"type":"string","minLength":1}},"incrementalCoverage":{"type":"object","properties":{"skipWhenUnchanged":{"type":"boolean"},"baselineJoin":{"type":"boolean"},"baseRef":{"type":"string","minLength":1}},"additionalProperties":false},"coveragePath":{"type":["string","null"],"minLength":1},"captureScript":{"type":"string","minLength":1,"pattern":"^[A-Za-z0-9@:._/-]+$"}},"dependencies":{"captureScript":["coveragePath"]},"additionalProperties":false},"maintainability":{"type":"object","properties":{"enabled":{"type":"boolean"},"baselinePath":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1},"tolerance":{"type":"object","required":["kind","value"],"properties":{"kind":{"type":"string","enum":["absolute","percent"]},"value":{"type":"number","minimum":0}},"additionalProperties":false},"floors":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"number"}}},"components":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string","minLength":1}}},"targetDirs":{"oneOf":[{"type":"array","items":{"type":"string"}},{"type":"object","properties":{"append":{"type":"array","items":{"type":"string"}},"prepend":{"type":"array","items":{"type":"string"}}},"additionalProperties":false}]},"ignoreGlobs":{"type":"array","items":{"type":"string","minLength":1}}},"additionalProperties":false},"mutation":{"type":"object","properties":{"enabled":{"type":"boolean"},"baselinePath":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1},"tolerance":{"type":"object","required":["kind","value"],"properties":{"kind":{"type":"string","enum":["absolute","percent"]},"value":{"type":"number","minimum":0}},"additionalProperties":false},"floors":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"number"}}},"components":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string","minLength":1}}}},"additionalProperties":false},"bundle-size":{"type":"object","properties":{"enabled":{"type":"boolean"},"baselinePath":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1},"tolerance":{"type":"object","required":["kind","value"],"properties":{"kind":{"type":"string","enum":["absolute","percent"]},"value":{"type":"number","minimum":0}},"additionalProperties":false},"floors":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"number"}}},"components":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string","minLength":1}}},"bundles":{"type":"array","items":{"type":"object","required":["name","path","limit"],"properties":{"name":{"type":"string","minLength":1},"path":{"type":"string","minLength":1},"limit":{"type":"string","minLength":1}},"additionalProperties":false}}},"additionalProperties":false},"duplication":{"type":"object","properties":{"enabled":{"type":"boolean"},"baselinePath":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1},"tolerance":{"type":"object","required":["kind","value"],"properties":{"kind":{"type":"string","enum":["absolute","percent"]},"value":{"type":"number","minimum":0}},"additionalProperties":false},"floors":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"number"}}},"components":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string","minLength":1}}},"targetDirs":{"oneOf":[{"type":"array","items":{"type":"string"}},{"type":"object","properties":{"append":{"type":"array","items":{"type":"string"}},"prepend":{"type":"array","items":{"type":"string"}}},"additionalProperties":false}]},"additionalFormats":{"type":"array","items":{"type":"string","minLength":1}},"ignoreGlobs":{"type":"array","items":{"type":"string","minLength":1}}},"additionalProperties":false}},"additionalProperties":false},"autoRefresh":{"type":"object","properties":{"enabled":{"type":"boolean"}},"additionalProperties":false},"requireBaselines":{"type":"boolean"}},"additionalProperties":false},"mergeWatch":{"type":"object","properties":{"mode":{"type":"string","enum":["sync","async"]},"maxWaitSeconds":{"type":"integer","minimum":1},"maxBudgetSeconds":{"type":"integer","minimum":1}},"additionalProperties":false},"codeReview":{"type":"object","properties":{"providers":{"type":"array","items":{"type":"object","required":["name"],"properties":{"name":{"type":"string","enum":["native","code-review","codex","llm-review","security-review","ultrareview"]},"scopes":{"type":"array","items":{"type":"string","enum":["story","epic"]}},"optional":{"type":"boolean"},"manualPrompt":{"type":"boolean"},"when":{"type":"object","properties":{"label":{"type":"string","minLength":1},"labelAny":{"type":"array","items":{"type":"string","minLength":1},"minItems":1}},"additionalProperties":false}},"additionalProperties":false}},"autoFixSeverity":{"type":"string","enum":["high","medium"]},"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}},"guidanceFile":{"type":"string","minLength":1},"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"}},"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},"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 pattern20 = new RegExp("^[A-Za-z0-9@:._/-]+$", "u");const pattern28 = new RegExp("^[A-Za-z][A-Za-z0-9-]*$", "u");const pattern29 = new RegExp("^[A-Za-z0-9][A-Za-z0-9._:-]*$", "u");const pattern35 = new RegExp("^[a-z0-9][a-z0-9._-]*(?:\\/[a-z0-9][a-z0-9._-]*)+$", "u");const pattern36 = 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"))){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"))){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.command !== undefined){let data64 = data63.command;const _errs175 = errors;const _errs176 = errors;if(typeof data64 === "string"){if(!pattern0.test(data64)){const err141 = {};if(vErrors === null){vErrors = [err141];}else {vErrors.push(err141);}errors++;}}var valid50 = _errs176 === errors;if(valid50){const err142 = {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 = [err142];}else {vErrors.push(err142);}errors++;}else {errors = _errs175;if(vErrors !== null){if(_errs175){vErrors.length = _errs175;}else {vErrors = null;}}}if(typeof data64 === "string"){if(func2(data64) < 1){const err143 = {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 = [err143];}else {vErrors.push(err143);}errors++;}}else {const err144 = {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 = [err144];}else {vErrors.push(err144);}errors++;}}if(data63.weight !== undefined){let data65 = data63.weight;if(!(((typeof data65 == "number") && (!(data65 % 1) && !isNaN(data65))) && (isFinite(data65)))){const err145 = {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 = [err145];}else {vErrors.push(err145);}errors++;}if((typeof data65 == "number") && (isFinite(data65))){if(data65 < 1 || isNaN(data65)){const err146 = {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 = [err146];}else {vErrors.push(err146);}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 err147 = {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 = [err147];}else {vErrors.push(err147);}errors++;}}else {const err148 = {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 = [err148];}else {vErrors.push(err148);}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 err149 = {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 = [err149];}else {vErrors.push(err149);}errors++;break;}indices2[item2] = i13;}}}else {const err150 = {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 = [err150];}else {vErrors.push(err150);}errors++;}}}else {const err151 = {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 = [err151];}else {vErrors.push(err151);}errors++;}}}else {const err152 = {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 = [err152];}else {vErrors.push(err152);}errors++;}}}else {const err153 = {instancePath:instancePath+"/delivery/execution",schemaPath:"#/properties/delivery/properties/execution/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err153];}else {vErrors.push(err153);}errors++;}}if(data58.docsFreshness !== undefined){let data68 = data58.docsFreshness;if(data68 && typeof data68 == "object" && !Array.isArray(data68)){for(const key16 in data68){if(!(key16 === "paths")){const err154 = {instancePath:instancePath+"/delivery/docsFreshness",schemaPath:"#/properties/delivery/properties/docsFreshness/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key16},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err154];}else {vErrors.push(err154);}errors++;}}if(data68.paths !== undefined){let data69 = data68.paths;if(Array.isArray(data69)){const len11 = data69.length;for(let i14=0; i14<len11; i14++){let data70 = data69[i14];const _errs190 = errors;const _errs191 = errors;if(typeof data70 === "string"){if(!pattern0.test(data70)){const err155 = {};if(vErrors === null){vErrors = [err155];}else {vErrors.push(err155);}errors++;}}var valid57 = _errs191 === errors;if(valid57){const err156 = {instancePath:instancePath+"/delivery/docsFreshness/paths/" + i14,schemaPath:"#/properties/delivery/properties/docsFreshness/properties/paths/items/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err156];}else {vErrors.push(err156);}errors++;}else {errors = _errs190;if(vErrors !== null){if(_errs190){vErrors.length = _errs190;}else {vErrors = null;}}}if(typeof data70 === "string"){if(func2(data70) < 1){const err157 = {instancePath:instancePath+"/delivery/docsFreshness/paths/" + i14,schemaPath:"#/properties/delivery/properties/docsFreshness/properties/paths/items/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err157];}else {vErrors.push(err157);}errors++;}}else {const err158 = {instancePath:instancePath+"/delivery/docsFreshness/paths/" + i14,schemaPath:"#/properties/delivery/properties/docsFreshness/properties/paths/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err158];}else {vErrors.push(err158);}errors++;}}}else {const err159 = {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 = [err159];}else {vErrors.push(err159);}errors++;}}}else {const err160 = {instancePath:instancePath+"/delivery/docsFreshness",schemaPath:"#/properties/delivery/properties/docsFreshness/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err160];}else {vErrors.push(err160);}errors++;}}if(data58.tempRetention !== undefined){let data71 = data58.tempRetention;if(data71 && typeof data71 == "object" && !Array.isArray(data71)){for(const key17 in data71){if(!((key17 === "enabled") || (key17 === "classes"))){const err161 = {instancePath:instancePath+"/delivery/tempRetention",schemaPath:"#/properties/delivery/properties/tempRetention/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key17},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err161];}else {vErrors.push(err161);}errors++;}}if(data71.enabled !== undefined){if(typeof data71.enabled !== "boolean"){const err162 = {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 = [err162];}else {vErrors.push(err162);}errors++;}}if(data71.classes !== undefined){let data73 = data71.classes;if(data73 && typeof data73 == "object" && !Array.isArray(data73)){for(const key18 in data73){if(!(((((key18 === "orchestrationLogs") || (key18 === "validationEvidence")) || (key18 === "auditResults")) || (key18 === "planDirs")) || (key18 === "scratch"))){const err163 = {instancePath:instancePath+"/delivery/tempRetention/classes",schemaPath:"#/properties/delivery/properties/tempRetention/properties/classes/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key18},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err163];}else {vErrors.push(err163);}errors++;}}if(data73.orchestrationLogs !== undefined){if(typeof data73.orchestrationLogs !== "boolean"){const err164 = {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 = [err164];}else {vErrors.push(err164);}errors++;}}if(data73.validationEvidence !== undefined){if(typeof data73.validationEvidence !== "boolean"){const err165 = {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 = [err165];}else {vErrors.push(err165);}errors++;}}if(data73.auditResults !== undefined){if(typeof data73.auditResults !== "boolean"){const err166 = {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 = [err166];}else {vErrors.push(err166);}errors++;}}if(data73.planDirs !== undefined){if(typeof data73.planDirs !== "boolean"){const err167 = {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 = [err167];}else {vErrors.push(err167);}errors++;}}if(data73.scratch !== undefined){if(typeof data73.scratch !== "boolean"){const err168 = {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 = [err168];}else {vErrors.push(err168);}errors++;}}}else {const err169 = {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 = [err169];}else {vErrors.push(err169);}errors++;}}}else {const err170 = {instancePath:instancePath+"/delivery/tempRetention",schemaPath:"#/properties/delivery/properties/tempRetention/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err170];}else {vErrors.push(err170);}errors++;}}if(data58.deliverRunner !== undefined){let data79 = data58.deliverRunner;if(data79 && typeof data79 == "object" && !Array.isArray(data79)){for(const key19 in data79){if(!((key19 === "concurrencyCap") || (key19 === "footprintGuard"))){const err171 = {instancePath:instancePath+"/delivery/deliverRunner",schemaPath:"#/properties/delivery/properties/deliverRunner/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key19},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err171];}else {vErrors.push(err171);}errors++;}}if(data79.concurrencyCap !== undefined){let data80 = data79.concurrencyCap;if(!(((typeof data80 == "number") && (!(data80 % 1) && !isNaN(data80))) && (isFinite(data80)))){const err172 = {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 = [err172];}else {vErrors.push(err172);}errors++;}if((typeof data80 == "number") && (isFinite(data80))){if(data80 < 1 || isNaN(data80)){const err173 = {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 = [err173];}else {vErrors.push(err173);}errors++;}}}if(data79.footprintGuard !== undefined){let data81 = data79.footprintGuard;if(typeof data81 !== "string"){const err174 = {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 = [err174];}else {vErrors.push(err174);}errors++;}if(!((data81 === "enforce") || (data81 === "advisory"))){const err175 = {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 = [err175];}else {vErrors.push(err175);}errors++;}}}else {const err176 = {instancePath:instancePath+"/delivery/deliverRunner",schemaPath:"#/properties/delivery/properties/deliverRunner/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err176];}else {vErrors.push(err176);}errors++;}}if(data58.worktreeIsolation !== undefined){let data82 = data58.worktreeIsolation;const _errs220 = errors;let valid62 = true;const _errs221 = errors;if(data82 && typeof data82 == "object" && !Array.isArray(data82)){let missing0;if((data82.enabled === undefined) && (missing0 = "enabled")){const err177 = {};if(vErrors === null){vErrors = [err177];}else {vErrors.push(err177);}errors++;}else {if(data82.enabled !== undefined){if(true !== data82.enabled){const err178 = {};if(vErrors === null){vErrors = [err178];}else {vErrors.push(err178);}errors++;}}}}var _valid0 = _errs221 === errors;errors = _errs220;if(vErrors !== null){if(_errs220){vErrors.length = _errs220;}else {vErrors = null;}}if(_valid0){const _errs223 = errors;if(data82 && typeof data82 == "object" && !Array.isArray(data82)){if(data82.root === undefined){const err179 = {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 = [err179];}else {vErrors.push(err179);}errors++;}}var _valid0 = _errs223 === errors;valid62 = _valid0;}if(!valid62){const err180 = {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 = [err180];}else {vErrors.push(err180);}errors++;}if(data82 && typeof data82 == "object" && !Array.isArray(data82)){for(const key20 in data82){if(!(((((((key20 === "enabled") || (key20 === "root")) || (key20 === "nodeModulesStrategy")) || (key20 === "primeFromPath")) || (key20 === "allowSymlinkOnWindows")) || (key20 === "reapOnSuccess")) || (key20 === "bootstrapFiles"))){const err181 = {instancePath:instancePath+"/delivery/worktreeIsolation",schemaPath:"#/properties/delivery/properties/worktreeIsolation/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key20},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err181];}else {vErrors.push(err181);}errors++;}}if(data82.enabled !== undefined){if(typeof data82.enabled !== "boolean"){const err182 = {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 = [err182];}else {vErrors.push(err182);}errors++;}}if(data82.root !== undefined){let data85 = data82.root;if(typeof data85 === "string"){if(func2(data85) < 1){const err183 = {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 = [err183];}else {vErrors.push(err183);}errors++;}}else {const err184 = {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 = [err184];}else {vErrors.push(err184);}errors++;}}if(data82.nodeModulesStrategy !== undefined){let data86 = data82.nodeModulesStrategy;if(typeof data86 !== "string"){const err185 = {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 = [err185];}else {vErrors.push(err185);}errors++;}if(!((((data86 === "per-worktree") || (data86 === "clone")) || (data86 === "symlink")) || (data86 === "pnpm-store"))){const err186 = {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 = [err186];}else {vErrors.push(err186);}errors++;}}if(data82.primeFromPath !== undefined){let data87 = data82.primeFromPath;if((typeof data87 !== "string") && (data87 !== null)){const err187 = {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 = [err187];}else {vErrors.push(err187);}errors++;}if(typeof data87 === "string"){if(func2(data87) < 1){const err188 = {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 = [err188];}else {vErrors.push(err188);}errors++;}}}if(data82.allowSymlinkOnWindows !== undefined){if(typeof data82.allowSymlinkOnWindows !== "boolean"){const err189 = {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 = [err189];}else {vErrors.push(err189);}errors++;}}if(data82.reapOnSuccess !== undefined){if(typeof data82.reapOnSuccess !== "boolean"){const err190 = {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 = [err190];}else {vErrors.push(err190);}errors++;}}if(data82.bootstrapFiles !== undefined){let data90 = data82.bootstrapFiles;if(Array.isArray(data90)){const len12 = data90.length;for(let i15=0; i15<len12; i15++){let data91 = data90[i15];if(typeof data91 === "string"){if(func2(data91) < 1){const err191 = {instancePath:instancePath+"/delivery/worktreeIsolation/bootstrapFiles/" + i15,schemaPath:"#/properties/delivery/properties/worktreeIsolation/properties/bootstrapFiles/items/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err191];}else {vErrors.push(err191);}errors++;}}else {const err192 = {instancePath:instancePath+"/delivery/worktreeIsolation/bootstrapFiles/" + i15,schemaPath:"#/properties/delivery/properties/worktreeIsolation/properties/bootstrapFiles/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err192];}else {vErrors.push(err192);}errors++;}}}else {const err193 = {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 = [err193];}else {vErrors.push(err193);}errors++;}}}else {const err194 = {instancePath:instancePath+"/delivery/worktreeIsolation",schemaPath:"#/properties/delivery/properties/worktreeIsolation/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err194];}else {vErrors.push(err194);}errors++;}}if(data58.quality !== undefined){let data92 = data58.quality;if(data92 && typeof data92 == "object" && !Array.isArray(data92)){for(const key21 in data92){if(!(((key21 === "gates") || (key21 === "autoRefresh")) || (key21 === "requireBaselines"))){const err195 = {instancePath:instancePath+"/delivery/quality",schemaPath:"#/properties/delivery/properties/quality/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key21},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err195];}else {vErrors.push(err195);}errors++;}}if(data92.gates !== undefined){let data93 = data92.gates;if(data93 && typeof data93 == "object" && !Array.isArray(data93)){for(const key22 in data93){if(!((((((key22 === "coverage") || (key22 === "crap")) || (key22 === "maintainability")) || (key22 === "mutation")) || (key22 === "bundle-size")) || (key22 === "duplication"))){const err196 = {instancePath:instancePath+"/delivery/quality/gates",schemaPath:"#/properties/delivery/properties/quality/properties/gates/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key22},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err196];}else {vErrors.push(err196);}errors++;}}if(data93.coverage !== undefined){let data94 = data93.coverage;if(data94 && typeof data94 == "object" && !Array.isArray(data94)){for(const key23 in data94){if(!(func11.call(schema11.properties.delivery.properties.quality.properties.gates.properties.coverage.properties, key23))){const err197 = {instancePath:instancePath+"/delivery/quality/gates/coverage",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key23},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err197];}else {vErrors.push(err197);}errors++;}}if(data94.enabled !== undefined){if(typeof data94.enabled !== "boolean"){const err198 = {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 = [err198];}else {vErrors.push(err198);}errors++;}}if(data94.baselinePath !== undefined){let data96 = data94.baselinePath;const _errs254 = errors;const _errs255 = errors;if(typeof data96 === "string"){if(!pattern0.test(data96)){const err199 = {};if(vErrors === null){vErrors = [err199];}else {vErrors.push(err199);}errors++;}}var valid70 = _errs255 === errors;if(valid70){const err200 = {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 = [err200];}else {vErrors.push(err200);}errors++;}else {errors = _errs254;if(vErrors !== null){if(_errs254){vErrors.length = _errs254;}else {vErrors = null;}}}if(typeof data96 === "string"){if(func2(data96) < 1){const err201 = {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 = [err201];}else {vErrors.push(err201);}errors++;}}else {const err202 = {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 = [err202];}else {vErrors.push(err202);}errors++;}}if(data94.tolerance !== undefined){let data97 = data94.tolerance;if(data97 && typeof data97 == "object" && !Array.isArray(data97)){if(data97.kind === undefined){const err203 = {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 = [err203];}else {vErrors.push(err203);}errors++;}if(data97.value === undefined){const err204 = {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 = [err204];}else {vErrors.push(err204);}errors++;}for(const key24 in data97){if(!((key24 === "kind") || (key24 === "value"))){const err205 = {instancePath:instancePath+"/delivery/quality/gates/coverage/tolerance",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/tolerance/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key24},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err205];}else {vErrors.push(err205);}errors++;}}if(data97.kind !== undefined){let data98 = data97.kind;if(typeof data98 !== "string"){const err206 = {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 = [err206];}else {vErrors.push(err206);}errors++;}if(!((data98 === "absolute") || (data98 === "percent"))){const err207 = {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 = [err207];}else {vErrors.push(err207);}errors++;}}if(data97.value !== undefined){let data99 = data97.value;if((typeof data99 == "number") && (isFinite(data99))){if(data99 < 0 || isNaN(data99)){const err208 = {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 = [err208];}else {vErrors.push(err208);}errors++;}}else {const err209 = {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 = [err209];}else {vErrors.push(err209);}errors++;}}}else {const err210 = {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 = [err210];}else {vErrors.push(err210);}errors++;}}if(data94.floors !== undefined){let data100 = data94.floors;if(data100 && typeof data100 == "object" && !Array.isArray(data100)){for(const key25 in data100){let data101 = data100[key25];if(data101 && typeof data101 == "object" && !Array.isArray(data101)){for(const key26 in data101){let data102 = data101[key26];if(!((typeof data102 == "number") && (isFinite(data102)))){const err211 = {instancePath:instancePath+"/delivery/quality/gates/coverage/floors/" + key25.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + key26.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/floors/additionalProperties/additionalProperties/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err211];}else {vErrors.push(err211);}errors++;}}}else {const err212 = {instancePath:instancePath+"/delivery/quality/gates/coverage/floors/" + key25.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/floors/additionalProperties/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err212];}else {vErrors.push(err212);}errors++;}}}else {const err213 = {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 = [err213];}else {vErrors.push(err213);}errors++;}}if(data94.components !== undefined){let data103 = data94.components;if(data103 && typeof data103 == "object" && !Array.isArray(data103)){for(const key27 in data103){let data104 = data103[key27];if(Array.isArray(data104)){const len13 = data104.length;for(let i16=0; i16<len13; i16++){let data105 = data104[i16];if(typeof data105 === "string"){if(func2(data105) < 1){const err214 = {instancePath:instancePath+"/delivery/quality/gates/coverage/components/" + key27.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + i16,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/components/additionalProperties/items/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err214];}else {vErrors.push(err214);}errors++;}}else {const err215 = {instancePath:instancePath+"/delivery/quality/gates/coverage/components/" + key27.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + i16,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/components/additionalProperties/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err215];}else {vErrors.push(err215);}errors++;}}}else {const err216 = {instancePath:instancePath+"/delivery/quality/gates/coverage/components/" + key27.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/coverage/properties/components/additionalProperties/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err216];}else {vErrors.push(err216);}errors++;}}}else {const err217 = {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 = [err217];}else {vErrors.push(err217);}errors++;}}if(data94.coveragePath !== undefined){let data106 = data94.coveragePath;const _errs280 = errors;const _errs281 = errors;if(typeof data106 === "string"){if(!pattern0.test(data106)){const err218 = {};if(vErrors === null){vErrors = [err218];}else {vErrors.push(err218);}errors++;}}var valid77 = _errs281 === errors;if(valid77){const err219 = {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 = [err219];}else {vErrors.push(err219);}errors++;}else {errors = _errs280;if(vErrors !== null){if(_errs280){vErrors.length = _errs280;}else {vErrors = null;}}}if(typeof data106 === "string"){if(func2(data106) < 1){const err220 = {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 = [err220];}else {vErrors.push(err220);}errors++;}}else {const err221 = {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 = [err221];}else {vErrors.push(err221);}errors++;}}if(data94.captureScript !== undefined){let data107 = data94.captureScript;if(typeof data107 === "string"){if(func2(data107) < 1){const err222 = {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 = [err222];}else {vErrors.push(err222);}errors++;}if(!pattern20.test(data107)){const err223 = {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 = [err223];}else {vErrors.push(err223);}errors++;}}else {const err224 = {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 = [err224];}else {vErrors.push(err224);}errors++;}}if(data94.captureScope !== undefined){let data108 = data94.captureScope;if(typeof data108 !== "string"){const err225 = {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 = [err225];}else {vErrors.push(err225);}errors++;}if(!((data108 === "full") || (data108 === "affected"))){const err226 = {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 = [err226];}else {vErrors.push(err226);}errors++;}}if(data94.timeoutMs !== undefined){let data109 = data94.timeoutMs;if(!(((typeof data109 == "number") && (!(data109 % 1) && !isNaN(data109))) && (isFinite(data109)))){const err227 = {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 = [err227];}else {vErrors.push(err227);}errors++;}if((typeof data109 == "number") && (isFinite(data109))){if(data109 > 7200000 || isNaN(data109)){const err228 = {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 = [err228];}else {vErrors.push(err228);}errors++;}if(data109 < 60000 || isNaN(data109)){const err229 = {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 = [err229];}else {vErrors.push(err229);}errors++;}}}}else {const err230 = {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 = [err230];}else {vErrors.push(err230);}errors++;}}if(data93.crap !== undefined){let data110 = data93.crap;if(data110 && typeof data110 == "object" && !Array.isArray(data110)){for(const key28 in data110){if(!(func11.call(schema11.properties.delivery.properties.quality.properties.gates.properties.crap.properties, key28))){const err231 = {instancePath:instancePath+"/delivery/quality/gates/crap",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key28},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err231];}else {vErrors.push(err231);}errors++;}}if(data110.captureScript !== undefined){if(data110.coveragePath === undefined){const err232 = {instancePath:instancePath+"/delivery/quality/gates/crap",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/dependencies",keyword:"dependencies",params:{property: "captureScript",
16
+ "use strict";export const validate = validate10;export default validate10;const schema11 = {"type":"object","required":["project"],"properties":{"$schema":{"type":"string"},"project":{"type":"object","required":["paths"],"properties":{"baseBranch":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"}},"paths":{"type":"object","required":["agentRoot","docsRoot","tempRoot"],"properties":{"agentRoot":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1},"docsRoot":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1},"tempRoot":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1}},"additionalProperties":false},"docsContextFiles":{"type":"array","items":{"type":"string"}},"commands":{"type":"object","properties":{"test":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1},"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},"coveragePath":{"type":["string","null"],"minLength":1},"captureScript":{"type":"string","minLength":1,"pattern":"^[A-Za-z0-9@:._/-]+$"}},"dependencies":{"captureScript":["coveragePath"]},"additionalProperties":false},"maintainability":{"type":"object","properties":{"enabled":{"type":"boolean"},"baselinePath":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1},"tolerance":{"type":"object","required":["kind","value"],"properties":{"kind":{"type":"string","enum":["absolute","percent"]},"value":{"type":"number","minimum":0}},"additionalProperties":false},"floors":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"number"}}},"components":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string","minLength":1}}},"targetDirs":{"oneOf":[{"type":"array","items":{"type":"string"}},{"type":"object","properties":{"append":{"type":"array","items":{"type":"string"}},"prepend":{"type":"array","items":{"type":"string"}}},"additionalProperties":false}]},"ignoreGlobs":{"type":"array","items":{"type":"string","minLength":1}}},"additionalProperties":false},"mutation":{"type":"object","properties":{"enabled":{"type":"boolean"},"baselinePath":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1},"tolerance":{"type":"object","required":["kind","value"],"properties":{"kind":{"type":"string","enum":["absolute","percent"]},"value":{"type":"number","minimum":0}},"additionalProperties":false},"floors":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"number"}}},"components":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string","minLength":1}}}},"additionalProperties":false},"bundle-size":{"type":"object","properties":{"enabled":{"type":"boolean"},"baselinePath":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1},"tolerance":{"type":"object","required":["kind","value"],"properties":{"kind":{"type":"string","enum":["absolute","percent"]},"value":{"type":"number","minimum":0}},"additionalProperties":false},"floors":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"number"}}},"components":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string","minLength":1}}},"bundles":{"type":"array","items":{"type":"object","required":["name","path","limit"],"properties":{"name":{"type":"string","minLength":1},"path":{"type":"string","minLength":1},"limit":{"type":"string","minLength":1}},"additionalProperties":false}}},"additionalProperties":false},"duplication":{"type":"object","properties":{"enabled":{"type":"boolean"},"baselinePath":{"type":"string","not":{"pattern":"([;&|`]|\\$\\()"},"minLength":1},"tolerance":{"type":"object","required":["kind","value"],"properties":{"kind":{"type":"string","enum":["absolute","percent"]},"value":{"type":"number","minimum":0}},"additionalProperties":false},"floors":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"number"}}},"components":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string","minLength":1}}},"targetDirs":{"oneOf":[{"type":"array","items":{"type":"string"}},{"type":"object","properties":{"append":{"type":"array","items":{"type":"string"}},"prepend":{"type":"array","items":{"type":"string"}}},"additionalProperties":false}]},"additionalFormats":{"type":"array","items":{"type":"string","minLength":1}},"ignoreGlobs":{"type":"array","items":{"type":"string","minLength":1}}},"additionalProperties":false}},"additionalProperties":false},"autoRefresh":{"type":"object","properties":{"enabled":{"type":"boolean"}},"additionalProperties":false},"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"]}},"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},"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
+ missingProperty: "sizeCommand",
18
+ depsCount: 1,
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",
20
+ missingProperty: "tiers",
21
+ depsCount: 1,
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",
17
23
  missingProperty: "coveragePath",
18
24
  depsCount: 1,
19
- deps: "coveragePath"},message:"must have property coveragePath when property captureScript is present"};if(vErrors === null){vErrors = [err232];}else {vErrors.push(err232);}errors++;}}if(data110.enabled !== undefined){if(typeof data110.enabled !== "boolean"){const err233 = {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 = [err233];}else {vErrors.push(err233);}errors++;}}if(data110.baselinePath !== undefined){let data112 = data110.baselinePath;const _errs295 = errors;const _errs296 = errors;if(typeof data112 === "string"){if(!pattern0.test(data112)){const err234 = {};if(vErrors === null){vErrors = [err234];}else {vErrors.push(err234);}errors++;}}var valid80 = _errs296 === errors;if(valid80){const err235 = {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 = [err235];}else {vErrors.push(err235);}errors++;}else {errors = _errs295;if(vErrors !== null){if(_errs295){vErrors.length = _errs295;}else {vErrors = null;}}}if(typeof data112 === "string"){if(func2(data112) < 1){const err236 = {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 = [err236];}else {vErrors.push(err236);}errors++;}}else {const err237 = {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 = [err237];}else {vErrors.push(err237);}errors++;}}if(data110.tolerance !== undefined){let data113 = data110.tolerance;if(data113 && typeof data113 == "object" && !Array.isArray(data113)){if(data113.kind === undefined){const err238 = {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 = [err238];}else {vErrors.push(err238);}errors++;}if(data113.value === undefined){const err239 = {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 = [err239];}else {vErrors.push(err239);}errors++;}for(const key29 in data113){if(!((key29 === "kind") || (key29 === "value"))){const err240 = {instancePath:instancePath+"/delivery/quality/gates/crap/tolerance",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/tolerance/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key29},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err240];}else {vErrors.push(err240);}errors++;}}if(data113.kind !== undefined){let data114 = data113.kind;if(typeof data114 !== "string"){const err241 = {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 = [err241];}else {vErrors.push(err241);}errors++;}if(!((data114 === "absolute") || (data114 === "percent"))){const err242 = {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 = [err242];}else {vErrors.push(err242);}errors++;}}if(data113.value !== undefined){let data115 = data113.value;if((typeof data115 == "number") && (isFinite(data115))){if(data115 < 0 || isNaN(data115)){const err243 = {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 = [err243];}else {vErrors.push(err243);}errors++;}}else {const err244 = {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 = [err244];}else {vErrors.push(err244);}errors++;}}}else {const err245 = {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 = [err245];}else {vErrors.push(err245);}errors++;}}if(data110.floors !== undefined){let data116 = data110.floors;if(data116 && typeof data116 == "object" && !Array.isArray(data116)){for(const key30 in data116){let data117 = data116[key30];if(data117 && typeof data117 == "object" && !Array.isArray(data117)){for(const key31 in data117){let data118 = data117[key31];if(!((typeof data118 == "number") && (isFinite(data118)))){const err246 = {instancePath:instancePath+"/delivery/quality/gates/crap/floors/" + key30.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + key31.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/floors/additionalProperties/additionalProperties/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err246];}else {vErrors.push(err246);}errors++;}}}else {const err247 = {instancePath:instancePath+"/delivery/quality/gates/crap/floors/" + key30.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/floors/additionalProperties/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err247];}else {vErrors.push(err247);}errors++;}}}else {const err248 = {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 = [err248];}else {vErrors.push(err248);}errors++;}}if(data110.components !== undefined){let data119 = data110.components;if(data119 && typeof data119 == "object" && !Array.isArray(data119)){for(const key32 in data119){let data120 = data119[key32];if(Array.isArray(data120)){const len14 = data120.length;for(let i17=0; i17<len14; i17++){let data121 = data120[i17];if(typeof data121 === "string"){if(func2(data121) < 1){const err249 = {instancePath:instancePath+"/delivery/quality/gates/crap/components/" + key32.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + i17,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/components/additionalProperties/items/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err249];}else {vErrors.push(err249);}errors++;}}else {const err250 = {instancePath:instancePath+"/delivery/quality/gates/crap/components/" + key32.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + i17,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/components/additionalProperties/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err250];}else {vErrors.push(err250);}errors++;}}}else {const err251 = {instancePath:instancePath+"/delivery/quality/gates/crap/components/" + key32.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/components/additionalProperties/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err251];}else {vErrors.push(err251);}errors++;}}}else {const err252 = {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 = [err252];}else {vErrors.push(err252);}errors++;}}if(data110.targetDirs !== undefined){let data122 = data110.targetDirs;const _errs320 = errors;let valid87 = false;let passing0 = null;const _errs321 = errors;if(Array.isArray(data122)){const len15 = data122.length;for(let i18=0; i18<len15; i18++){if(typeof data122[i18] !== "string"){const err253 = {instancePath:instancePath+"/delivery/quality/gates/crap/targetDirs/" + i18,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/targetDirs/oneOf/0/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err253];}else {vErrors.push(err253);}errors++;}}}else {const err254 = {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 = [err254];}else {vErrors.push(err254);}errors++;}var _valid1 = _errs321 === errors;if(_valid1){valid87 = true;passing0 = 0;}const _errs325 = errors;if(data122 && typeof data122 == "object" && !Array.isArray(data122)){for(const key33 in data122){if(!((key33 === "append") || (key33 === "prepend"))){const err255 = {instancePath:instancePath+"/delivery/quality/gates/crap/targetDirs",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/targetDirs/oneOf/1/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key33},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err255];}else {vErrors.push(err255);}errors++;}}if(data122.append !== undefined){let data124 = data122.append;if(Array.isArray(data124)){const len16 = data124.length;for(let i19=0; i19<len16; i19++){if(typeof data124[i19] !== "string"){const err256 = {instancePath:instancePath+"/delivery/quality/gates/crap/targetDirs/append/" + i19,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/targetDirs/oneOf/1/properties/append/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err256];}else {vErrors.push(err256);}errors++;}}}else {const err257 = {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 = [err257];}else {vErrors.push(err257);}errors++;}}if(data122.prepend !== undefined){let data126 = data122.prepend;if(Array.isArray(data126)){const len17 = data126.length;for(let i20=0; i20<len17; i20++){if(typeof data126[i20] !== "string"){const err258 = {instancePath:instancePath+"/delivery/quality/gates/crap/targetDirs/prepend/" + i20,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/targetDirs/oneOf/1/properties/prepend/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err258];}else {vErrors.push(err258);}errors++;}}}else {const err259 = {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 = [err259];}else {vErrors.push(err259);}errors++;}}}else {const err260 = {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 = [err260];}else {vErrors.push(err260);}errors++;}var _valid1 = _errs325 === errors;if(_valid1 && valid87){valid87 = false;passing0 = [passing0, 1];}else {if(_valid1){valid87 = true;passing0 = 1;}}if(!valid87){const err261 = {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 = [err261];}else {vErrors.push(err261);}errors++;}else {errors = _errs320;if(vErrors !== null){if(_errs320){vErrors.length = _errs320;}else {vErrors = null;}}}}if(data110.newMethodCeiling !== undefined){let data128 = data110.newMethodCeiling;if(!(((typeof data128 == "number") && (!(data128 % 1) && !isNaN(data128))) && (isFinite(data128)))){const err262 = {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 = [err262];}else {vErrors.push(err262);}errors++;}if((typeof data128 == "number") && (isFinite(data128))){if(data128 < 1 || isNaN(data128)){const err263 = {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 = [err263];}else {vErrors.push(err263);}errors++;}}}if(data110.requireCoverage !== undefined){if(typeof data110.requireCoverage !== "boolean"){const err264 = {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 = [err264];}else {vErrors.push(err264);}errors++;}}if(data110.minMethodResolutionRate !== undefined){let data130 = data110.minMethodResolutionRate;if((typeof data130 == "number") && (isFinite(data130))){if(data130 > 1 || isNaN(data130)){const err265 = {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 = [err265];}else {vErrors.push(err265);}errors++;}if(data130 < 0 || isNaN(data130)){const err266 = {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 = [err266];}else {vErrors.push(err266);}errors++;}}else {const err267 = {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 = [err267];}else {vErrors.push(err267);}errors++;}}if(data110.ignoreGlobs !== undefined){let data131 = data110.ignoreGlobs;if(Array.isArray(data131)){const len18 = data131.length;for(let i21=0; i21<len18; i21++){let data132 = data131[i21];if(typeof data132 === "string"){if(func2(data132) < 1){const err268 = {instancePath:instancePath+"/delivery/quality/gates/crap/ignoreGlobs/" + i21,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/ignoreGlobs/items/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err268];}else {vErrors.push(err268);}errors++;}}else {const err269 = {instancePath:instancePath+"/delivery/quality/gates/crap/ignoreGlobs/" + i21,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/ignoreGlobs/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err269];}else {vErrors.push(err269);}errors++;}}}else {const err270 = {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 = [err270];}else {vErrors.push(err270);}errors++;}}if(data110.incrementalCoverage !== undefined){let data133 = data110.incrementalCoverage;if(data133 && typeof data133 == "object" && !Array.isArray(data133)){for(const key34 in data133){if(!(((key34 === "skipWhenUnchanged") || (key34 === "baselineJoin")) || (key34 === "baseRef"))){const err271 = {instancePath:instancePath+"/delivery/quality/gates/crap/incrementalCoverage",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/crap/properties/incrementalCoverage/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key34},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err271];}else {vErrors.push(err271);}errors++;}}if(data133.skipWhenUnchanged !== undefined){if(typeof data133.skipWhenUnchanged !== "boolean"){const err272 = {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 = [err272];}else {vErrors.push(err272);}errors++;}}if(data133.baselineJoin !== undefined){if(typeof data133.baselineJoin !== "boolean"){const err273 = {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 = [err273];}else {vErrors.push(err273);}errors++;}}if(data133.baseRef !== undefined){let data136 = data133.baseRef;if(typeof data136 === "string"){if(func2(data136) < 1){const err274 = {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 = [err274];}else {vErrors.push(err274);}errors++;}}else {const err275 = {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 = [err275];}else {vErrors.push(err275);}errors++;}}}else {const err276 = {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 = [err276];}else {vErrors.push(err276);}errors++;}}if(data110.coveragePath !== undefined){let data137 = data110.coveragePath;if((typeof data137 !== "string") && (data137 !== null)){const err277 = {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 = [err277];}else {vErrors.push(err277);}errors++;}if(typeof data137 === "string"){if(func2(data137) < 1){const err278 = {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 = [err278];}else {vErrors.push(err278);}errors++;}}}if(data110.captureScript !== undefined){let data138 = data110.captureScript;if(typeof data138 === "string"){if(func2(data138) < 1){const err279 = {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 = [err279];}else {vErrors.push(err279);}errors++;}if(!pattern20.test(data138)){const err280 = {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 = [err280];}else {vErrors.push(err280);}errors++;}}else {const err281 = {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 = [err281];}else {vErrors.push(err281);}errors++;}}}else {const err282 = {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 = [err282];}else {vErrors.push(err282);}errors++;}}if(data93.maintainability !== undefined){let data139 = data93.maintainability;if(data139 && typeof data139 == "object" && !Array.isArray(data139)){for(const key35 in data139){if(!(((((((key35 === "enabled") || (key35 === "baselinePath")) || (key35 === "tolerance")) || (key35 === "floors")) || (key35 === "components")) || (key35 === "targetDirs")) || (key35 === "ignoreGlobs"))){const err283 = {instancePath:instancePath+"/delivery/quality/gates/maintainability",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key35},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err283];}else {vErrors.push(err283);}errors++;}}if(data139.enabled !== undefined){if(typeof data139.enabled !== "boolean"){const err284 = {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 = [err284];}else {vErrors.push(err284);}errors++;}}if(data139.baselinePath !== undefined){let data141 = data139.baselinePath;const _errs366 = errors;const _errs367 = errors;if(typeof data141 === "string"){if(!pattern0.test(data141)){const err285 = {};if(vErrors === null){vErrors = [err285];}else {vErrors.push(err285);}errors++;}}var valid99 = _errs367 === errors;if(valid99){const err286 = {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 = [err286];}else {vErrors.push(err286);}errors++;}else {errors = _errs366;if(vErrors !== null){if(_errs366){vErrors.length = _errs366;}else {vErrors = null;}}}if(typeof data141 === "string"){if(func2(data141) < 1){const err287 = {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 = [err287];}else {vErrors.push(err287);}errors++;}}else {const err288 = {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 = [err288];}else {vErrors.push(err288);}errors++;}}if(data139.tolerance !== undefined){let data142 = data139.tolerance;if(data142 && typeof data142 == "object" && !Array.isArray(data142)){if(data142.kind === undefined){const err289 = {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 = [err289];}else {vErrors.push(err289);}errors++;}if(data142.value === undefined){const err290 = {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 = [err290];}else {vErrors.push(err290);}errors++;}for(const key36 in data142){if(!((key36 === "kind") || (key36 === "value"))){const err291 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/tolerance",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/tolerance/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key36},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err291];}else {vErrors.push(err291);}errors++;}}if(data142.kind !== undefined){let data143 = data142.kind;if(typeof data143 !== "string"){const err292 = {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 = [err292];}else {vErrors.push(err292);}errors++;}if(!((data143 === "absolute") || (data143 === "percent"))){const err293 = {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 = [err293];}else {vErrors.push(err293);}errors++;}}if(data142.value !== undefined){let data144 = data142.value;if((typeof data144 == "number") && (isFinite(data144))){if(data144 < 0 || isNaN(data144)){const err294 = {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 = [err294];}else {vErrors.push(err294);}errors++;}}else {const err295 = {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 = [err295];}else {vErrors.push(err295);}errors++;}}}else {const err296 = {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 = [err296];}else {vErrors.push(err296);}errors++;}}if(data139.floors !== undefined){let data145 = data139.floors;if(data145 && typeof data145 == "object" && !Array.isArray(data145)){for(const key37 in data145){let data146 = data145[key37];if(data146 && typeof data146 == "object" && !Array.isArray(data146)){for(const key38 in data146){let data147 = data146[key38];if(!((typeof data147 == "number") && (isFinite(data147)))){const err297 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/floors/" + key37.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + key38.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/floors/additionalProperties/additionalProperties/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err297];}else {vErrors.push(err297);}errors++;}}}else {const err298 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/floors/" + key37.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/floors/additionalProperties/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err298];}else {vErrors.push(err298);}errors++;}}}else {const err299 = {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 = [err299];}else {vErrors.push(err299);}errors++;}}if(data139.components !== undefined){let data148 = data139.components;if(data148 && typeof data148 == "object" && !Array.isArray(data148)){for(const key39 in data148){let data149 = data148[key39];if(Array.isArray(data149)){const len19 = data149.length;for(let i22=0; i22<len19; i22++){let data150 = data149[i22];if(typeof data150 === "string"){if(func2(data150) < 1){const err300 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/components/" + key39.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + i22,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/components/additionalProperties/items/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err300];}else {vErrors.push(err300);}errors++;}}else {const err301 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/components/" + key39.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + i22,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/components/additionalProperties/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err301];}else {vErrors.push(err301);}errors++;}}}else {const err302 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/components/" + key39.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/components/additionalProperties/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err302];}else {vErrors.push(err302);}errors++;}}}else {const err303 = {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 = [err303];}else {vErrors.push(err303);}errors++;}}if(data139.targetDirs !== undefined){let data151 = data139.targetDirs;const _errs391 = errors;let valid106 = false;let passing1 = null;const _errs392 = errors;if(Array.isArray(data151)){const len20 = data151.length;for(let i23=0; i23<len20; i23++){if(typeof data151[i23] !== "string"){const err304 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/targetDirs/" + i23,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/targetDirs/oneOf/0/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err304];}else {vErrors.push(err304);}errors++;}}}else {const err305 = {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 = [err305];}else {vErrors.push(err305);}errors++;}var _valid2 = _errs392 === errors;if(_valid2){valid106 = true;passing1 = 0;}const _errs396 = errors;if(data151 && typeof data151 == "object" && !Array.isArray(data151)){for(const key40 in data151){if(!((key40 === "append") || (key40 === "prepend"))){const err306 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/targetDirs",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/targetDirs/oneOf/1/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key40},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err306];}else {vErrors.push(err306);}errors++;}}if(data151.append !== undefined){let data153 = data151.append;if(Array.isArray(data153)){const len21 = data153.length;for(let i24=0; i24<len21; i24++){if(typeof data153[i24] !== "string"){const err307 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/targetDirs/append/" + i24,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/targetDirs/oneOf/1/properties/append/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err307];}else {vErrors.push(err307);}errors++;}}}else {const err308 = {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 = [err308];}else {vErrors.push(err308);}errors++;}}if(data151.prepend !== undefined){let data155 = data151.prepend;if(Array.isArray(data155)){const len22 = data155.length;for(let i25=0; i25<len22; i25++){if(typeof data155[i25] !== "string"){const err309 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/targetDirs/prepend/" + i25,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/targetDirs/oneOf/1/properties/prepend/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err309];}else {vErrors.push(err309);}errors++;}}}else {const err310 = {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 = [err310];}else {vErrors.push(err310);}errors++;}}}else {const err311 = {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 = [err311];}else {vErrors.push(err311);}errors++;}var _valid2 = _errs396 === errors;if(_valid2 && valid106){valid106 = false;passing1 = [passing1, 1];}else {if(_valid2){valid106 = true;passing1 = 1;}}if(!valid106){const err312 = {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 = [err312];}else {vErrors.push(err312);}errors++;}else {errors = _errs391;if(vErrors !== null){if(_errs391){vErrors.length = _errs391;}else {vErrors = null;}}}}if(data139.ignoreGlobs !== undefined){let data157 = data139.ignoreGlobs;if(Array.isArray(data157)){const len23 = data157.length;for(let i26=0; i26<len23; i26++){let data158 = data157[i26];if(typeof data158 === "string"){if(func2(data158) < 1){const err313 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/ignoreGlobs/" + i26,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/ignoreGlobs/items/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err313];}else {vErrors.push(err313);}errors++;}}else {const err314 = {instancePath:instancePath+"/delivery/quality/gates/maintainability/ignoreGlobs/" + i26,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/maintainability/properties/ignoreGlobs/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err314];}else {vErrors.push(err314);}errors++;}}}else {const err315 = {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 = [err315];}else {vErrors.push(err315);}errors++;}}}else {const err316 = {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 = [err316];}else {vErrors.push(err316);}errors++;}}if(data93.mutation !== undefined){let data159 = data93.mutation;if(data159 && typeof data159 == "object" && !Array.isArray(data159)){for(const key41 in data159){if(!(((((key41 === "enabled") || (key41 === "baselinePath")) || (key41 === "tolerance")) || (key41 === "floors")) || (key41 === "components"))){const err317 = {instancePath:instancePath+"/delivery/quality/gates/mutation",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/mutation/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key41},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err317];}else {vErrors.push(err317);}errors++;}}if(data159.enabled !== undefined){if(typeof data159.enabled !== "boolean"){const err318 = {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 = [err318];}else {vErrors.push(err318);}errors++;}}if(data159.baselinePath !== undefined){let data161 = data159.baselinePath;const _errs418 = errors;const _errs419 = errors;if(typeof data161 === "string"){if(!pattern0.test(data161)){const err319 = {};if(vErrors === null){vErrors = [err319];}else {vErrors.push(err319);}errors++;}}var valid117 = _errs419 === errors;if(valid117){const err320 = {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 = [err320];}else {vErrors.push(err320);}errors++;}else {errors = _errs418;if(vErrors !== null){if(_errs418){vErrors.length = _errs418;}else {vErrors = null;}}}if(typeof data161 === "string"){if(func2(data161) < 1){const err321 = {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 = [err321];}else {vErrors.push(err321);}errors++;}}else {const err322 = {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 = [err322];}else {vErrors.push(err322);}errors++;}}if(data159.tolerance !== undefined){let data162 = data159.tolerance;if(data162 && typeof data162 == "object" && !Array.isArray(data162)){if(data162.kind === undefined){const err323 = {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 = [err323];}else {vErrors.push(err323);}errors++;}if(data162.value === undefined){const err324 = {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 = [err324];}else {vErrors.push(err324);}errors++;}for(const key42 in data162){if(!((key42 === "kind") || (key42 === "value"))){const err325 = {instancePath:instancePath+"/delivery/quality/gates/mutation/tolerance",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/mutation/properties/tolerance/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key42},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err325];}else {vErrors.push(err325);}errors++;}}if(data162.kind !== undefined){let data163 = data162.kind;if(typeof data163 !== "string"){const err326 = {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 = [err326];}else {vErrors.push(err326);}errors++;}if(!((data163 === "absolute") || (data163 === "percent"))){const err327 = {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 = [err327];}else {vErrors.push(err327);}errors++;}}if(data162.value !== undefined){let data164 = data162.value;if((typeof data164 == "number") && (isFinite(data164))){if(data164 < 0 || isNaN(data164)){const err328 = {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 = [err328];}else {vErrors.push(err328);}errors++;}}else {const err329 = {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 = [err329];}else {vErrors.push(err329);}errors++;}}}else {const err330 = {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 = [err330];}else {vErrors.push(err330);}errors++;}}if(data159.floors !== undefined){let data165 = data159.floors;if(data165 && typeof data165 == "object" && !Array.isArray(data165)){for(const key43 in data165){let data166 = data165[key43];if(data166 && typeof data166 == "object" && !Array.isArray(data166)){for(const key44 in data166){let data167 = data166[key44];if(!((typeof data167 == "number") && (isFinite(data167)))){const err331 = {instancePath:instancePath+"/delivery/quality/gates/mutation/floors/" + key43.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + key44.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/mutation/properties/floors/additionalProperties/additionalProperties/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err331];}else {vErrors.push(err331);}errors++;}}}else {const err332 = {instancePath:instancePath+"/delivery/quality/gates/mutation/floors/" + key43.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/mutation/properties/floors/additionalProperties/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err332];}else {vErrors.push(err332);}errors++;}}}else {const err333 = {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 = [err333];}else {vErrors.push(err333);}errors++;}}if(data159.components !== undefined){let data168 = data159.components;if(data168 && typeof data168 == "object" && !Array.isArray(data168)){for(const key45 in data168){let data169 = data168[key45];if(Array.isArray(data169)){const len24 = data169.length;for(let i27=0; i27<len24; i27++){let data170 = data169[i27];if(typeof data170 === "string"){if(func2(data170) < 1){const err334 = {instancePath:instancePath+"/delivery/quality/gates/mutation/components/" + key45.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + i27,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/mutation/properties/components/additionalProperties/items/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err334];}else {vErrors.push(err334);}errors++;}}else {const err335 = {instancePath:instancePath+"/delivery/quality/gates/mutation/components/" + key45.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + i27,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/mutation/properties/components/additionalProperties/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err335];}else {vErrors.push(err335);}errors++;}}}else {const err336 = {instancePath:instancePath+"/delivery/quality/gates/mutation/components/" + key45.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/mutation/properties/components/additionalProperties/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err336];}else {vErrors.push(err336);}errors++;}}}else {const err337 = {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 = [err337];}else {vErrors.push(err337);}errors++;}}}else {const err338 = {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 = [err338];}else {vErrors.push(err338);}errors++;}}if(data93["bundle-size"] !== undefined){let data171 = data93["bundle-size"];if(data171 && typeof data171 == "object" && !Array.isArray(data171)){for(const key46 in data171){if(!((((((key46 === "enabled") || (key46 === "baselinePath")) || (key46 === "tolerance")) || (key46 === "floors")) || (key46 === "components")) || (key46 === "bundles"))){const err339 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key46},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err339];}else {vErrors.push(err339);}errors++;}}if(data171.enabled !== undefined){if(typeof data171.enabled !== "boolean"){const err340 = {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 = [err340];}else {vErrors.push(err340);}errors++;}}if(data171.baselinePath !== undefined){let data173 = data171.baselinePath;const _errs449 = errors;const _errs450 = errors;if(typeof data173 === "string"){if(!pattern0.test(data173)){const err341 = {};if(vErrors === null){vErrors = [err341];}else {vErrors.push(err341);}errors++;}}var valid125 = _errs450 === errors;if(valid125){const err342 = {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 = [err342];}else {vErrors.push(err342);}errors++;}else {errors = _errs449;if(vErrors !== null){if(_errs449){vErrors.length = _errs449;}else {vErrors = null;}}}if(typeof data173 === "string"){if(func2(data173) < 1){const err343 = {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 = [err343];}else {vErrors.push(err343);}errors++;}}else {const err344 = {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 = [err344];}else {vErrors.push(err344);}errors++;}}if(data171.tolerance !== undefined){let data174 = data171.tolerance;if(data174 && typeof data174 == "object" && !Array.isArray(data174)){if(data174.kind === undefined){const err345 = {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 = [err345];}else {vErrors.push(err345);}errors++;}if(data174.value === undefined){const err346 = {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 = [err346];}else {vErrors.push(err346);}errors++;}for(const key47 in data174){if(!((key47 === "kind") || (key47 === "value"))){const err347 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/tolerance",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/tolerance/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key47},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err347];}else {vErrors.push(err347);}errors++;}}if(data174.kind !== undefined){let data175 = data174.kind;if(typeof data175 !== "string"){const err348 = {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 = [err348];}else {vErrors.push(err348);}errors++;}if(!((data175 === "absolute") || (data175 === "percent"))){const err349 = {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 = [err349];}else {vErrors.push(err349);}errors++;}}if(data174.value !== undefined){let data176 = data174.value;if((typeof data176 == "number") && (isFinite(data176))){if(data176 < 0 || isNaN(data176)){const err350 = {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 = [err350];}else {vErrors.push(err350);}errors++;}}else {const err351 = {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 = [err351];}else {vErrors.push(err351);}errors++;}}}else {const err352 = {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 = [err352];}else {vErrors.push(err352);}errors++;}}if(data171.floors !== undefined){let data177 = data171.floors;if(data177 && typeof data177 == "object" && !Array.isArray(data177)){for(const key48 in data177){let data178 = data177[key48];if(data178 && typeof data178 == "object" && !Array.isArray(data178)){for(const key49 in data178){let data179 = data178[key49];if(!((typeof data179 == "number") && (isFinite(data179)))){const err353 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/floors/" + key48.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + key49.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/floors/additionalProperties/additionalProperties/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err353];}else {vErrors.push(err353);}errors++;}}}else {const err354 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/floors/" + key48.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/floors/additionalProperties/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err354];}else {vErrors.push(err354);}errors++;}}}else {const err355 = {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 = [err355];}else {vErrors.push(err355);}errors++;}}if(data171.components !== undefined){let data180 = data171.components;if(data180 && typeof data180 == "object" && !Array.isArray(data180)){for(const key50 in data180){let data181 = data180[key50];if(Array.isArray(data181)){const len25 = data181.length;for(let i28=0; i28<len25; i28++){let data182 = data181[i28];if(typeof data182 === "string"){if(func2(data182) < 1){const err356 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/components/" + key50.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + i28,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/components/additionalProperties/items/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err356];}else {vErrors.push(err356);}errors++;}}else {const err357 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/components/" + key50.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + i28,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/components/additionalProperties/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err357];}else {vErrors.push(err357);}errors++;}}}else {const err358 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/components/" + key50.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/components/additionalProperties/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err358];}else {vErrors.push(err358);}errors++;}}}else {const err359 = {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 = [err359];}else {vErrors.push(err359);}errors++;}}if(data171.bundles !== undefined){let data183 = data171.bundles;if(Array.isArray(data183)){const len26 = data183.length;for(let i29=0; i29<len26; i29++){let data184 = data183[i29];if(data184 && typeof data184 == "object" && !Array.isArray(data184)){if(data184.name === undefined){const err360 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/bundles/" + i29,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/bundles/items/required",keyword:"required",params:{missingProperty: "name"},message:"must have required property '"+"name"+"'"};if(vErrors === null){vErrors = [err360];}else {vErrors.push(err360);}errors++;}if(data184.path === undefined){const err361 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/bundles/" + i29,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/bundles/items/required",keyword:"required",params:{missingProperty: "path"},message:"must have required property '"+"path"+"'"};if(vErrors === null){vErrors = [err361];}else {vErrors.push(err361);}errors++;}if(data184.limit === undefined){const err362 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/bundles/" + i29,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/bundles/items/required",keyword:"required",params:{missingProperty: "limit"},message:"must have required property '"+"limit"+"'"};if(vErrors === null){vErrors = [err362];}else {vErrors.push(err362);}errors++;}for(const key51 in data184){if(!(((key51 === "name") || (key51 === "path")) || (key51 === "limit"))){const err363 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/bundles/" + i29,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/bundles/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key51},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err363];}else {vErrors.push(err363);}errors++;}}if(data184.name !== undefined){let data185 = data184.name;if(typeof data185 === "string"){if(func2(data185) < 1){const err364 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/bundles/" + i29+"/name",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/bundles/items/properties/name/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err364];}else {vErrors.push(err364);}errors++;}}else {const err365 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/bundles/" + i29+"/name",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/bundles/items/properties/name/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err365];}else {vErrors.push(err365);}errors++;}}if(data184.path !== undefined){let data186 = data184.path;if(typeof data186 === "string"){if(func2(data186) < 1){const err366 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/bundles/" + i29+"/path",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/bundles/items/properties/path/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err366];}else {vErrors.push(err366);}errors++;}}else {const err367 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/bundles/" + i29+"/path",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/bundles/items/properties/path/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err367];}else {vErrors.push(err367);}errors++;}}if(data184.limit !== undefined){let data187 = data184.limit;if(typeof data187 === "string"){if(func2(data187) < 1){const err368 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/bundles/" + i29+"/limit",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/bundles/items/properties/limit/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err368];}else {vErrors.push(err368);}errors++;}}else {const err369 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/bundles/" + i29+"/limit",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/bundles/items/properties/limit/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err369];}else {vErrors.push(err369);}errors++;}}}else {const err370 = {instancePath:instancePath+"/delivery/quality/gates/bundle-size/bundles/" + i29,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/bundle-size/properties/bundles/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err370];}else {vErrors.push(err370);}errors++;}}}else {const err371 = {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 = [err371];}else {vErrors.push(err371);}errors++;}}}else {const err372 = {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 = [err372];}else {vErrors.push(err372);}errors++;}}if(data93.duplication !== undefined){let data188 = data93.duplication;if(data188 && typeof data188 == "object" && !Array.isArray(data188)){for(const key52 in data188){if(!((((((((key52 === "enabled") || (key52 === "baselinePath")) || (key52 === "tolerance")) || (key52 === "floors")) || (key52 === "components")) || (key52 === "targetDirs")) || (key52 === "additionalFormats")) || (key52 === "ignoreGlobs"))){const err373 = {instancePath:instancePath+"/delivery/quality/gates/duplication",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key52},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err373];}else {vErrors.push(err373);}errors++;}}if(data188.enabled !== undefined){if(typeof data188.enabled !== "boolean"){const err374 = {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 = [err374];}else {vErrors.push(err374);}errors++;}}if(data188.baselinePath !== undefined){let data190 = data188.baselinePath;const _errs491 = errors;const _errs492 = errors;if(typeof data190 === "string"){if(!pattern0.test(data190)){const err375 = {};if(vErrors === null){vErrors = [err375];}else {vErrors.push(err375);}errors++;}}var valid136 = _errs492 === errors;if(valid136){const err376 = {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 = [err376];}else {vErrors.push(err376);}errors++;}else {errors = _errs491;if(vErrors !== null){if(_errs491){vErrors.length = _errs491;}else {vErrors = null;}}}if(typeof data190 === "string"){if(func2(data190) < 1){const err377 = {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 = [err377];}else {vErrors.push(err377);}errors++;}}else {const err378 = {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 = [err378];}else {vErrors.push(err378);}errors++;}}if(data188.tolerance !== undefined){let data191 = data188.tolerance;if(data191 && typeof data191 == "object" && !Array.isArray(data191)){if(data191.kind === undefined){const err379 = {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 = [err379];}else {vErrors.push(err379);}errors++;}if(data191.value === undefined){const err380 = {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 = [err380];}else {vErrors.push(err380);}errors++;}for(const key53 in data191){if(!((key53 === "kind") || (key53 === "value"))){const err381 = {instancePath:instancePath+"/delivery/quality/gates/duplication/tolerance",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/tolerance/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key53},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err381];}else {vErrors.push(err381);}errors++;}}if(data191.kind !== undefined){let data192 = data191.kind;if(typeof data192 !== "string"){const err382 = {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 = [err382];}else {vErrors.push(err382);}errors++;}if(!((data192 === "absolute") || (data192 === "percent"))){const err383 = {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 = [err383];}else {vErrors.push(err383);}errors++;}}if(data191.value !== undefined){let data193 = data191.value;if((typeof data193 == "number") && (isFinite(data193))){if(data193 < 0 || isNaN(data193)){const err384 = {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 = [err384];}else {vErrors.push(err384);}errors++;}}else {const err385 = {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 = [err385];}else {vErrors.push(err385);}errors++;}}}else {const err386 = {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 = [err386];}else {vErrors.push(err386);}errors++;}}if(data188.floors !== undefined){let data194 = data188.floors;if(data194 && typeof data194 == "object" && !Array.isArray(data194)){for(const key54 in data194){let data195 = data194[key54];if(data195 && typeof data195 == "object" && !Array.isArray(data195)){for(const key55 in data195){let data196 = data195[key55];if(!((typeof data196 == "number") && (isFinite(data196)))){const err387 = {instancePath:instancePath+"/delivery/quality/gates/duplication/floors/" + key54.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + key55.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/floors/additionalProperties/additionalProperties/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err387];}else {vErrors.push(err387);}errors++;}}}else {const err388 = {instancePath:instancePath+"/delivery/quality/gates/duplication/floors/" + key54.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/floors/additionalProperties/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err388];}else {vErrors.push(err388);}errors++;}}}else {const err389 = {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 = [err389];}else {vErrors.push(err389);}errors++;}}if(data188.components !== undefined){let data197 = data188.components;if(data197 && typeof data197 == "object" && !Array.isArray(data197)){for(const key56 in data197){let data198 = data197[key56];if(Array.isArray(data198)){const len27 = data198.length;for(let i30=0; i30<len27; i30++){let data199 = data198[i30];if(typeof data199 === "string"){if(func2(data199) < 1){const err390 = {instancePath:instancePath+"/delivery/quality/gates/duplication/components/" + key56.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + i30,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/components/additionalProperties/items/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err390];}else {vErrors.push(err390);}errors++;}}else {const err391 = {instancePath:instancePath+"/delivery/quality/gates/duplication/components/" + key56.replace(/~/g, "~0").replace(/\//g, "~1")+"/" + i30,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/components/additionalProperties/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err391];}else {vErrors.push(err391);}errors++;}}}else {const err392 = {instancePath:instancePath+"/delivery/quality/gates/duplication/components/" + key56.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/components/additionalProperties/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err392];}else {vErrors.push(err392);}errors++;}}}else {const err393 = {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 = [err393];}else {vErrors.push(err393);}errors++;}}if(data188.targetDirs !== undefined){let data200 = data188.targetDirs;const _errs516 = errors;let valid143 = false;let passing2 = null;const _errs517 = errors;if(Array.isArray(data200)){const len28 = data200.length;for(let i31=0; i31<len28; i31++){if(typeof data200[i31] !== "string"){const err394 = {instancePath:instancePath+"/delivery/quality/gates/duplication/targetDirs/" + i31,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/targetDirs/oneOf/0/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err394];}else {vErrors.push(err394);}errors++;}}}else {const err395 = {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 = [err395];}else {vErrors.push(err395);}errors++;}var _valid3 = _errs517 === errors;if(_valid3){valid143 = true;passing2 = 0;}const _errs521 = errors;if(data200 && typeof data200 == "object" && !Array.isArray(data200)){for(const key57 in data200){if(!((key57 === "append") || (key57 === "prepend"))){const err396 = {instancePath:instancePath+"/delivery/quality/gates/duplication/targetDirs",schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/targetDirs/oneOf/1/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key57},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err396];}else {vErrors.push(err396);}errors++;}}if(data200.append !== undefined){let data202 = data200.append;if(Array.isArray(data202)){const len29 = data202.length;for(let i32=0; i32<len29; i32++){if(typeof data202[i32] !== "string"){const err397 = {instancePath:instancePath+"/delivery/quality/gates/duplication/targetDirs/append/" + i32,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/targetDirs/oneOf/1/properties/append/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err397];}else {vErrors.push(err397);}errors++;}}}else {const err398 = {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 = [err398];}else {vErrors.push(err398);}errors++;}}if(data200.prepend !== undefined){let data204 = data200.prepend;if(Array.isArray(data204)){const len30 = data204.length;for(let i33=0; i33<len30; i33++){if(typeof data204[i33] !== "string"){const err399 = {instancePath:instancePath+"/delivery/quality/gates/duplication/targetDirs/prepend/" + i33,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/targetDirs/oneOf/1/properties/prepend/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err399];}else {vErrors.push(err399);}errors++;}}}else {const err400 = {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 = [err400];}else {vErrors.push(err400);}errors++;}}}else {const err401 = {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 = [err401];}else {vErrors.push(err401);}errors++;}var _valid3 = _errs521 === errors;if(_valid3 && valid143){valid143 = false;passing2 = [passing2, 1];}else {if(_valid3){valid143 = true;passing2 = 1;}}if(!valid143){const err402 = {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 = [err402];}else {vErrors.push(err402);}errors++;}else {errors = _errs516;if(vErrors !== null){if(_errs516){vErrors.length = _errs516;}else {vErrors = null;}}}}if(data188.additionalFormats !== undefined){let data206 = data188.additionalFormats;if(Array.isArray(data206)){const len31 = data206.length;for(let i34=0; i34<len31; i34++){let data207 = data206[i34];if(typeof data207 === "string"){if(func2(data207) < 1){const err403 = {instancePath:instancePath+"/delivery/quality/gates/duplication/additionalFormats/" + i34,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/additionalFormats/items/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err403];}else {vErrors.push(err403);}errors++;}}else {const err404 = {instancePath:instancePath+"/delivery/quality/gates/duplication/additionalFormats/" + i34,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/additionalFormats/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err404];}else {vErrors.push(err404);}errors++;}}}else {const err405 = {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 = [err405];}else {vErrors.push(err405);}errors++;}}if(data188.ignoreGlobs !== undefined){let data208 = data188.ignoreGlobs;if(Array.isArray(data208)){const len32 = data208.length;for(let i35=0; i35<len32; i35++){let data209 = data208[i35];if(typeof data209 === "string"){if(func2(data209) < 1){const err406 = {instancePath:instancePath+"/delivery/quality/gates/duplication/ignoreGlobs/" + i35,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/ignoreGlobs/items/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err406];}else {vErrors.push(err406);}errors++;}}else {const err407 = {instancePath:instancePath+"/delivery/quality/gates/duplication/ignoreGlobs/" + i35,schemaPath:"#/properties/delivery/properties/quality/properties/gates/properties/duplication/properties/ignoreGlobs/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err407];}else {vErrors.push(err407);}errors++;}}}else {const err408 = {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 = [err408];}else {vErrors.push(err408);}errors++;}}}else {const err409 = {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 = [err409];}else {vErrors.push(err409);}errors++;}}}else {const err410 = {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 = [err410];}else {vErrors.push(err410);}errors++;}}if(data92.autoRefresh !== undefined){let data210 = data92.autoRefresh;if(data210 && typeof data210 == "object" && !Array.isArray(data210)){for(const key58 in data210){if(!(key58 === "enabled")){const err411 = {instancePath:instancePath+"/delivery/quality/autoRefresh",schemaPath:"#/properties/delivery/properties/quality/properties/autoRefresh/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key58},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err411];}else {vErrors.push(err411);}errors++;}}if(data210.enabled !== undefined){if(typeof data210.enabled !== "boolean"){const err412 = {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 = [err412];}else {vErrors.push(err412);}errors++;}}}else {const err413 = {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 = [err413];}else {vErrors.push(err413);}errors++;}}if(data92.requireBaselines !== undefined){if(typeof data92.requireBaselines !== "boolean"){const err414 = {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 = [err414];}else {vErrors.push(err414);}errors++;}}}else {const err415 = {instancePath:instancePath+"/delivery/quality",schemaPath:"#/properties/delivery/properties/quality/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err415];}else {vErrors.push(err415);}errors++;}}if(data58.mergeWatch !== undefined){let data213 = data58.mergeWatch;if(data213 && typeof data213 == "object" && !Array.isArray(data213)){for(const key59 in data213){if(!(((key59 === "mode") || (key59 === "maxWaitSeconds")) || (key59 === "maxBudgetSeconds"))){const err416 = {instancePath:instancePath+"/delivery/mergeWatch",schemaPath:"#/properties/delivery/properties/mergeWatch/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key59},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err416];}else {vErrors.push(err416);}errors++;}}if(data213.mode !== undefined){let data214 = data213.mode;if(typeof data214 !== "string"){const err417 = {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 = [err417];}else {vErrors.push(err417);}errors++;}if(!((data214 === "sync") || (data214 === "async"))){const err418 = {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 = [err418];}else {vErrors.push(err418);}errors++;}}if(data213.maxWaitSeconds !== undefined){let data215 = data213.maxWaitSeconds;if(!(((typeof data215 == "number") && (!(data215 % 1) && !isNaN(data215))) && (isFinite(data215)))){const err419 = {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 = [err419];}else {vErrors.push(err419);}errors++;}if((typeof data215 == "number") && (isFinite(data215))){if(data215 < 1 || isNaN(data215)){const err420 = {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 = [err420];}else {vErrors.push(err420);}errors++;}}}if(data213.maxBudgetSeconds !== undefined){let data216 = data213.maxBudgetSeconds;if(!(((typeof data216 == "number") && (!(data216 % 1) && !isNaN(data216))) && (isFinite(data216)))){const err421 = {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 = [err421];}else {vErrors.push(err421);}errors++;}if((typeof data216 == "number") && (isFinite(data216))){if(data216 < 1 || isNaN(data216)){const err422 = {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 = [err422];}else {vErrors.push(err422);}errors++;}}}}else {const err423 = {instancePath:instancePath+"/delivery/mergeWatch",schemaPath:"#/properties/delivery/properties/mergeWatch/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err423];}else {vErrors.push(err423);}errors++;}}if(data58.codeReview !== undefined){let data217 = data58.codeReview;if(data217 && typeof data217 == "object" && !Array.isArray(data217)){for(const key60 in data217){if(!(((((key60 === "providers") || (key60 === "autoFixSeverity")) || (key60 === "sensitivePaths")) || (key60 === "guidanceFile")) || (key60 === "skipPaths"))){const err424 = {instancePath:instancePath+"/delivery/codeReview",schemaPath:"#/properties/delivery/properties/codeReview/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key60},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err424];}else {vErrors.push(err424);}errors++;}}if(data217.providers !== undefined){let data218 = data217.providers;if(Array.isArray(data218)){const len33 = data218.length;for(let i36=0; i36<len33; i36++){let data219 = data218[i36];if(data219 && typeof data219 == "object" && !Array.isArray(data219)){if(data219.name === undefined){const err425 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i36,schemaPath:"#/properties/delivery/properties/codeReview/properties/providers/items/required",keyword:"required",params:{missingProperty: "name"},message:"must have required property '"+"name"+"'"};if(vErrors === null){vErrors = [err425];}else {vErrors.push(err425);}errors++;}for(const key61 in data219){if(!(((((key61 === "name") || (key61 === "scopes")) || (key61 === "optional")) || (key61 === "manualPrompt")) || (key61 === "when"))){const err426 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i36,schemaPath:"#/properties/delivery/properties/codeReview/properties/providers/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key61},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err426];}else {vErrors.push(err426);}errors++;}}if(data219.name !== undefined){let data220 = data219.name;if(typeof data220 !== "string"){const err427 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i36+"/name",schemaPath:"#/properties/delivery/properties/codeReview/properties/providers/items/properties/name/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err427];}else {vErrors.push(err427);}errors++;}if(!((((((data220 === "native") || (data220 === "code-review")) || (data220 === "codex")) || (data220 === "llm-review")) || (data220 === "security-review")) || (data220 === "ultrareview"))){const err428 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i36+"/name",schemaPath:"#/properties/delivery/properties/codeReview/properties/providers/items/properties/name/enum",keyword:"enum",params:{allowedValues: schema11.properties.delivery.properties.codeReview.properties.providers.items.properties.name.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err428];}else {vErrors.push(err428);}errors++;}}if(data219.scopes !== undefined){let data221 = data219.scopes;if(Array.isArray(data221)){const len34 = data221.length;for(let i37=0; i37<len34; i37++){let data222 = data221[i37];if(typeof data222 !== "string"){const err429 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i36+"/scopes/" + i37,schemaPath:"#/properties/delivery/properties/codeReview/properties/providers/items/properties/scopes/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err429];}else {vErrors.push(err429);}errors++;}if(!((data222 === "story") || (data222 === "epic"))){const err430 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i36+"/scopes/" + i37,schemaPath:"#/properties/delivery/properties/codeReview/properties/providers/items/properties/scopes/items/enum",keyword:"enum",params:{allowedValues: schema11.properties.delivery.properties.codeReview.properties.providers.items.properties.scopes.items.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err430];}else {vErrors.push(err430);}errors++;}}}else {const err431 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i36+"/scopes",schemaPath:"#/properties/delivery/properties/codeReview/properties/providers/items/properties/scopes/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err431];}else {vErrors.push(err431);}errors++;}}if(data219.optional !== undefined){if(typeof data219.optional !== "boolean"){const err432 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i36+"/optional",schemaPath:"#/properties/delivery/properties/codeReview/properties/providers/items/properties/optional/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err432];}else {vErrors.push(err432);}errors++;}}if(data219.manualPrompt !== undefined){if(typeof data219.manualPrompt !== "boolean"){const err433 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i36+"/manualPrompt",schemaPath:"#/properties/delivery/properties/codeReview/properties/providers/items/properties/manualPrompt/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err433];}else {vErrors.push(err433);}errors++;}}if(data219.when !== undefined){let data225 = data219.when;if(data225 && typeof data225 == "object" && !Array.isArray(data225)){for(const key62 in data225){if(!((key62 === "label") || (key62 === "labelAny"))){const err434 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i36+"/when",schemaPath:"#/properties/delivery/properties/codeReview/properties/providers/items/properties/when/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key62},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err434];}else {vErrors.push(err434);}errors++;}}if(data225.label !== undefined){let data226 = data225.label;if(typeof data226 === "string"){if(func2(data226) < 1){const err435 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i36+"/when/label",schemaPath:"#/properties/delivery/properties/codeReview/properties/providers/items/properties/when/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err435];}else {vErrors.push(err435);}errors++;}}else {const err436 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i36+"/when/label",schemaPath:"#/properties/delivery/properties/codeReview/properties/providers/items/properties/when/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err436];}else {vErrors.push(err436);}errors++;}}if(data225.labelAny !== undefined){let data227 = data225.labelAny;if(Array.isArray(data227)){if(data227.length < 1){const err437 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i36+"/when/labelAny",schemaPath:"#/properties/delivery/properties/codeReview/properties/providers/items/properties/when/properties/labelAny/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err437];}else {vErrors.push(err437);}errors++;}const len35 = data227.length;for(let i38=0; i38<len35; i38++){let data228 = data227[i38];if(typeof data228 === "string"){if(func2(data228) < 1){const err438 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i36+"/when/labelAny/" + i38,schemaPath:"#/properties/delivery/properties/codeReview/properties/providers/items/properties/when/properties/labelAny/items/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err438];}else {vErrors.push(err438);}errors++;}}else {const err439 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i36+"/when/labelAny/" + i38,schemaPath:"#/properties/delivery/properties/codeReview/properties/providers/items/properties/when/properties/labelAny/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err439];}else {vErrors.push(err439);}errors++;}}}else {const err440 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i36+"/when/labelAny",schemaPath:"#/properties/delivery/properties/codeReview/properties/providers/items/properties/when/properties/labelAny/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err440];}else {vErrors.push(err440);}errors++;}}}else {const err441 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i36+"/when",schemaPath:"#/properties/delivery/properties/codeReview/properties/providers/items/properties/when/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err441];}else {vErrors.push(err441);}errors++;}}}else {const err442 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i36,schemaPath:"#/properties/delivery/properties/codeReview/properties/providers/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err442];}else {vErrors.push(err442);}errors++;}}}else {const err443 = {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 = [err443];}else {vErrors.push(err443);}errors++;}}if(data217.autoFixSeverity !== undefined){let data229 = data217.autoFixSeverity;if(typeof data229 !== "string"){const err444 = {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 = [err444];}else {vErrors.push(err444);}errors++;}if(!((data229 === "high") || (data229 === "medium"))){const err445 = {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 = [err445];}else {vErrors.push(err445);}errors++;}}if(data217.sensitivePaths !== undefined){let data230 = data217.sensitivePaths;if(data230 && typeof data230 == "object" && !Array.isArray(data230)){for(const key63 in data230){const _errs587 = errors;if(typeof key63 === "string"){if(!pattern16.test(key63)){const err446 = {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:key63};if(vErrors === null){vErrors = [err446];}else {vErrors.push(err446);}errors++;}}var valid166 = _errs587 === errors;if(!valid166){const err447 = {instancePath:instancePath+"/delivery/codeReview/sensitivePaths",schemaPath:"#/properties/delivery/properties/codeReview/properties/sensitivePaths/propertyNames",keyword:"propertyNames",params:{propertyName: key63},message:"property name must be valid"};if(vErrors === null){vErrors = [err447];}else {vErrors.push(err447);}errors++;}}for(const key64 in data230){let data231 = data230[key64];if(data231 && typeof data231 == "object" && !Array.isArray(data231)){if(data231.filePatterns === undefined){const err448 = {instancePath:instancePath+"/delivery/codeReview/sensitivePaths/" + key64.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 = [err448];}else {vErrors.push(err448);}errors++;}for(const key65 in data231){if(!((key65 === "description") || (key65 === "filePatterns"))){const err449 = {instancePath:instancePath+"/delivery/codeReview/sensitivePaths/" + key64.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/delivery/properties/codeReview/properties/sensitivePaths/additionalProperties/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key65},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err449];}else {vErrors.push(err449);}errors++;}}if(data231.description !== undefined){if(typeof data231.description !== "string"){const err450 = {instancePath:instancePath+"/delivery/codeReview/sensitivePaths/" + key64.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 = [err450];}else {vErrors.push(err450);}errors++;}}if(data231.filePatterns !== undefined){let data233 = data231.filePatterns;if(Array.isArray(data233)){if(data233.length < 1){const err451 = {instancePath:instancePath+"/delivery/codeReview/sensitivePaths/" + key64.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 = [err451];}else {vErrors.push(err451);}errors++;}const len36 = data233.length;for(let i39=0; i39<len36; i39++){let data234 = data233[i39];if(typeof data234 === "string"){if(func2(data234) < 1){const err452 = {instancePath:instancePath+"/delivery/codeReview/sensitivePaths/" + key64.replace(/~/g, "~0").replace(/\//g, "~1")+"/filePatterns/" + i39,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 = [err452];}else {vErrors.push(err452);}errors++;}}else {const err453 = {instancePath:instancePath+"/delivery/codeReview/sensitivePaths/" + key64.replace(/~/g, "~0").replace(/\//g, "~1")+"/filePatterns/" + i39,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 = [err453];}else {vErrors.push(err453);}errors++;}}}else {const err454 = {instancePath:instancePath+"/delivery/codeReview/sensitivePaths/" + key64.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 = [err454];}else {vErrors.push(err454);}errors++;}}}else {const err455 = {instancePath:instancePath+"/delivery/codeReview/sensitivePaths/" + key64.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 = [err455];}else {vErrors.push(err455);}errors++;}}}else {const err456 = {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 = [err456];}else {vErrors.push(err456);}errors++;}}if(data217.guidanceFile !== undefined){let data235 = data217.guidanceFile;if(typeof data235 === "string"){if(func2(data235) < 1){const err457 = {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 = [err457];}else {vErrors.push(err457);}errors++;}}else {const err458 = {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 = [err458];}else {vErrors.push(err458);}errors++;}}if(data217.skipPaths !== undefined){let data236 = data217.skipPaths;if(Array.isArray(data236)){const len37 = data236.length;for(let i40=0; i40<len37; i40++){let data237 = data236[i40];if(typeof data237 === "string"){if(func2(data237) < 1){const err459 = {instancePath:instancePath+"/delivery/codeReview/skipPaths/" + i40,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 = [err459];}else {vErrors.push(err459);}errors++;}}else {const err460 = {instancePath:instancePath+"/delivery/codeReview/skipPaths/" + i40,schemaPath:"#/properties/delivery/properties/codeReview/properties/skipPaths/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err460];}else {vErrors.push(err460);}errors++;}}}else {const err461 = {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 = [err461];}else {vErrors.push(err461);}errors++;}}}else {const err462 = {instancePath:instancePath+"/delivery/codeReview",schemaPath:"#/properties/delivery/properties/codeReview/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err462];}else {vErrors.push(err462);}errors++;}}if(data58.refactorStage !== undefined){let data238 = data58.refactorStage;if(data238 && typeof data238 == "object" && !Array.isArray(data238)){for(const key66 in data238){if(!(key66 === "enabled")){const err463 = {instancePath:instancePath+"/delivery/refactorStage",schemaPath:"#/properties/delivery/properties/refactorStage/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key66},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err463];}else {vErrors.push(err463);}errors++;}}if(data238.enabled !== undefined){if(typeof data238.enabled !== "boolean"){const err464 = {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 = [err464];}else {vErrors.push(err464);}errors++;}}}else {const err465 = {instancePath:instancePath+"/delivery/refactorStage",schemaPath:"#/properties/delivery/properties/refactorStage/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err465];}else {vErrors.push(err465);}errors++;}}if(data58.acceptanceEval !== undefined){let data240 = data58.acceptanceEval;if(data240 && typeof data240 == "object" && !Array.isArray(data240)){for(const key67 in data240){if(!(key67 === "maxRounds")){const err466 = {instancePath:instancePath+"/delivery/acceptanceEval",schemaPath:"#/properties/delivery/properties/acceptanceEval/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key67},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err466];}else {vErrors.push(err466);}errors++;}}if(data240.maxRounds !== undefined){let data241 = data240.maxRounds;if(!(((typeof data241 == "number") && (!(data241 % 1) && !isNaN(data241))) && (isFinite(data241)))){const err467 = {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 = [err467];}else {vErrors.push(err467);}errors++;}if((typeof data241 == "number") && (isFinite(data241))){if(data241 < 0 || isNaN(data241)){const err468 = {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 = [err468];}else {vErrors.push(err468);}errors++;}}}}else {const err469 = {instancePath:instancePath+"/delivery/acceptanceEval",schemaPath:"#/properties/delivery/properties/acceptanceEval/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err469];}else {vErrors.push(err469);}errors++;}}if(data58.feedbackLoop !== undefined){let data242 = data58.feedbackLoop;if(data242 && typeof data242 == "object" && !Array.isArray(data242)){for(const key68 in data242){if(!(key68 === "retroProposals")){const err470 = {instancePath:instancePath+"/delivery/feedbackLoop",schemaPath:"#/properties/delivery/properties/feedbackLoop/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key68},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err470];}else {vErrors.push(err470);}errors++;}}if(data242.retroProposals !== undefined){if(typeof data242.retroProposals !== "boolean"){const err471 = {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 = [err471];}else {vErrors.push(err471);}errors++;}}}else {const err472 = {instancePath:instancePath+"/delivery/feedbackLoop",schemaPath:"#/properties/delivery/properties/feedbackLoop/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err472];}else {vErrors.push(err472);}errors++;}}if(data58.ci !== undefined){let data244 = data58.ci;if(data244 && typeof data244 == "object" && !Array.isArray(data244)){for(const key69 in data244){if(!((((key69 === "autoMerge") || (key69 === "blockOnAdvisoryFailure")) || (key69 === "advisoryAllowlist")) || (key69 === "rerunAdvisory"))){const err473 = {instancePath:instancePath+"/delivery/ci",schemaPath:"#/properties/delivery/properties/ci/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key69},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err473];}else {vErrors.push(err473);}errors++;}}if(data244.autoMerge !== undefined){let data245 = data244.autoMerge;if(typeof data245 !== "string"){const err474 = {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 = [err474];}else {vErrors.push(err474);}errors++;}if(!((data245 === "trust-ci") || (data245 === "strict"))){const err475 = {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 = [err475];}else {vErrors.push(err475);}errors++;}}if(data244.blockOnAdvisoryFailure !== undefined){if(typeof data244.blockOnAdvisoryFailure !== "boolean"){const err476 = {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 = [err476];}else {vErrors.push(err476);}errors++;}}if(data244.advisoryAllowlist !== undefined){let data247 = data244.advisoryAllowlist;if(Array.isArray(data247)){const len38 = data247.length;for(let i41=0; i41<len38; i41++){if(typeof data247[i41] !== "string"){const err477 = {instancePath:instancePath+"/delivery/ci/advisoryAllowlist/" + i41,schemaPath:"#/properties/delivery/properties/ci/properties/advisoryAllowlist/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err477];}else {vErrors.push(err477);}errors++;}}}else {const err478 = {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 = [err478];}else {vErrors.push(err478);}errors++;}}if(data244.rerunAdvisory !== undefined){let data249 = data244.rerunAdvisory;if(!(((typeof data249 == "number") && (!(data249 % 1) && !isNaN(data249))) && (isFinite(data249)))){const err479 = {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 = [err479];}else {vErrors.push(err479);}errors++;}if((typeof data249 == "number") && (isFinite(data249))){if(data249 < 0 || isNaN(data249)){const err480 = {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 = [err480];}else {vErrors.push(err480);}errors++;}}}}else {const err481 = {instancePath:instancePath+"/delivery/ci",schemaPath:"#/properties/delivery/properties/ci/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err481];}else {vErrors.push(err481);}errors++;}}if(data58.pullRequest !== undefined){let data250 = data58.pullRequest;if(data250 && typeof data250 == "object" && !Array.isArray(data250)){for(const key70 in data250){if(!(key70 === "bodyTrailers")){const err482 = {instancePath:instancePath+"/delivery/pullRequest",schemaPath:"#/properties/delivery/properties/pullRequest/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key70},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err482];}else {vErrors.push(err482);}errors++;}}if(data250.bodyTrailers !== undefined){let data251 = data250.bodyTrailers;if(Array.isArray(data251)){const len39 = data251.length;for(let i42=0; i42<len39; i42++){let data252 = data251[i42];if(typeof data252 === "string"){if(!pattern28.test(data252)){const err483 = {instancePath:instancePath+"/delivery/pullRequest/bodyTrailers/" + i42,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 = [err483];}else {vErrors.push(err483);}errors++;}}else {const err484 = {instancePath:instancePath+"/delivery/pullRequest/bodyTrailers/" + i42,schemaPath:"#/properties/delivery/properties/pullRequest/properties/bodyTrailers/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err484];}else {vErrors.push(err484);}errors++;}}let i43 = data251.length;let j3;if(i43 > 1){const indices3 = {};for(;i43--;){let item3 = data251[i43];if(typeof item3 !== "string"){continue;}if(typeof indices3[item3] == "number"){j3 = indices3[item3];const err485 = {instancePath:instancePath+"/delivery/pullRequest/bodyTrailers",schemaPath:"#/properties/delivery/properties/pullRequest/properties/bodyTrailers/uniqueItems",keyword:"uniqueItems",params:{i: i43, j: j3},message:"must NOT have duplicate items (items ## "+j3+" and "+i43+" are identical)"};if(vErrors === null){vErrors = [err485];}else {vErrors.push(err485);}errors++;break;}indices3[item3] = i43;}}}else {const err486 = {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 = [err486];}else {vErrors.push(err486);}errors++;}}}else {const err487 = {instancePath:instancePath+"/delivery/pullRequest",schemaPath:"#/properties/delivery/properties/pullRequest/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err487];}else {vErrors.push(err487);}errors++;}}if(data58.routing !== undefined){let data253 = data58.routing;if(data253 && typeof data253 == "object" && !Array.isArray(data253)){for(const key71 in data253){if(!((((key71 === "roleScopedAgents") || (key71 === "ceremonyProfile")) || (key71 === "closeAndLand")) || (key71 === "agentModels"))){const err488 = {instancePath:instancePath+"/delivery/routing",schemaPath:"#/properties/delivery/properties/routing/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key71},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err488];}else {vErrors.push(err488);}errors++;}}if(data253.roleScopedAgents !== undefined){if(typeof data253.roleScopedAgents !== "boolean"){const err489 = {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 = [err489];}else {vErrors.push(err489);}errors++;}}if(data253.ceremonyProfile !== undefined){let data255 = data253.ceremonyProfile;if(typeof data255 !== "string"){const err490 = {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 = [err490];}else {vErrors.push(err490);}errors++;}if(!(((data255 === "minimal") || (data255 === "standard")) || (data255 === "strict"))){const err491 = {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 = [err491];}else {vErrors.push(err491);}errors++;}}if(data253.closeAndLand !== undefined){if(typeof data253.closeAndLand !== "boolean"){const err492 = {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 = [err492];}else {vErrors.push(err492);}errors++;}}if(data253.agentModels !== undefined){let data257 = data253.agentModels;if(data257 && typeof data257 == "object" && !Array.isArray(data257)){for(const key72 in data257){const _errs650 = errors;if(!((((key72 === "story-worker") || (key72 === "acceptance-critic")) || (key72 === "plan-critic")) || (key72 === "auditor"))){const err493 = {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:key72};if(vErrors === null){vErrors = [err493];}else {vErrors.push(err493);}errors++;}var valid184 = _errs650 === errors;if(!valid184){const err494 = {instancePath:instancePath+"/delivery/routing/agentModels",schemaPath:"#/properties/delivery/properties/routing/properties/agentModels/propertyNames",keyword:"propertyNames",params:{propertyName: key72},message:"property name must be valid"};if(vErrors === null){vErrors = [err494];}else {vErrors.push(err494);}errors++;}}for(const key73 in data257){let data258 = data257[key73];if(typeof data258 === "string"){if(!pattern29.test(data258)){const err495 = {instancePath:instancePath+"/delivery/routing/agentModels/" + key73.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 = [err495];}else {vErrors.push(err495);}errors++;}}else {const err496 = {instancePath:instancePath+"/delivery/routing/agentModels/" + key73.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 = [err496];}else {vErrors.push(err496);}errors++;}}}else {const err497 = {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 = [err497];}else {vErrors.push(err497);}errors++;}}}else {const err498 = {instancePath:instancePath+"/delivery/routing",schemaPath:"#/properties/delivery/properties/routing/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",schemaPath:"#/properties/delivery/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err499];}else {vErrors.push(err499);}errors++;}}if(data.qa !== undefined){let data259 = data.qa;if(data259 && typeof data259 == "object" && !Array.isArray(data259)){for(const key74 in data259){if(!(((((((key74 === "featureRoot") || (key74 === "fixturesManifest")) || (key74 === "environments")) || (key74 === "personas")) || (key74 === "gherkinLint")) || (key74 === "consoleAllowlist")) || (key74 === "designTokens"))){const err500 = {instancePath:instancePath+"/qa",schemaPath:"#/properties/qa/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key74},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err500];}else {vErrors.push(err500);}errors++;}}if(data259.featureRoot !== undefined){let data260 = data259.featureRoot;const _errs659 = errors;const _errs660 = errors;if(typeof data260 === "string"){if(!pattern0.test(data260)){const err501 = {};if(vErrors === null){vErrors = [err501];}else {vErrors.push(err501);}errors++;}}var valid187 = _errs660 === errors;if(valid187){const err502 = {instancePath:instancePath+"/qa/featureRoot",schemaPath:"#/properties/qa/properties/featureRoot/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err502];}else {vErrors.push(err502);}errors++;}else {errors = _errs659;if(vErrors !== null){if(_errs659){vErrors.length = _errs659;}else {vErrors = null;}}}if(typeof data260 === "string"){if(func2(data260) < 1){const err503 = {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 = [err503];}else {vErrors.push(err503);}errors++;}}else {const err504 = {instancePath:instancePath+"/qa/featureRoot",schemaPath:"#/properties/qa/properties/featureRoot/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err504];}else {vErrors.push(err504);}errors++;}}if(data259.fixturesManifest !== undefined){let data261 = data259.fixturesManifest;const _errs663 = errors;const _errs664 = errors;if(typeof data261 === "string"){if(!pattern0.test(data261)){const err505 = {};if(vErrors === null){vErrors = [err505];}else {vErrors.push(err505);}errors++;}}var valid188 = _errs664 === errors;if(valid188){const err506 = {instancePath:instancePath+"/qa/fixturesManifest",schemaPath:"#/properties/qa/properties/fixturesManifest/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err506];}else {vErrors.push(err506);}errors++;}else {errors = _errs663;if(vErrors !== null){if(_errs663){vErrors.length = _errs663;}else {vErrors = null;}}}if(typeof data261 === "string"){if(func2(data261) < 1){const err507 = {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 = [err507];}else {vErrors.push(err507);}errors++;}}else {const err508 = {instancePath:instancePath+"/qa/fixturesManifest",schemaPath:"#/properties/qa/properties/fixturesManifest/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err508];}else {vErrors.push(err508);}errors++;}}if(data259.environments !== undefined){let data262 = data259.environments;if(data262 && typeof data262 == "object" && !Array.isArray(data262)){if(Object.keys(data262).length < 1){const err509 = {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 = [err509];}else {vErrors.push(err509);}errors++;}for(const key75 in data262){let data263 = data262[key75];if(data263 && typeof data263 == "object" && !Array.isArray(data263)){if(data263.baseUrl === undefined){const err510 = {instancePath:instancePath+"/qa/environments/" + key75.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 = [err510];}else {vErrors.push(err510);}errors++;}for(const key76 in data263){if(!((((key76 === "baseUrl") || (key76 === "signInSeam")) || (key76 === "allowWrites")) || (key76 === "database"))){const err511 = {instancePath:instancePath+"/qa/environments/" + key75.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/qa/properties/environments/additionalProperties/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key76},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err511];}else {vErrors.push(err511);}errors++;}}if(data263.baseUrl !== undefined){let data264 = data263.baseUrl;const _errs673 = errors;const _errs674 = errors;if(typeof data264 === "string"){if(!pattern0.test(data264)){const err512 = {};if(vErrors === null){vErrors = [err512];}else {vErrors.push(err512);}errors++;}}var valid191 = _errs674 === errors;if(valid191){const err513 = {instancePath:instancePath+"/qa/environments/" + key75.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 = [err513];}else {vErrors.push(err513);}errors++;}else {errors = _errs673;if(vErrors !== null){if(_errs673){vErrors.length = _errs673;}else {vErrors = null;}}}if(typeof data264 === "string"){if(func2(data264) < 1){const err514 = {instancePath:instancePath+"/qa/environments/" + key75.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 = [err514];}else {vErrors.push(err514);}errors++;}}else {const err515 = {instancePath:instancePath+"/qa/environments/" + key75.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 = [err515];}else {vErrors.push(err515);}errors++;}}if(data263.signInSeam !== undefined){let data265 = data263.signInSeam;const _errs676 = errors;let valid192 = false;let passing3 = null;const _errs677 = errors;if(data265 && typeof data265 == "object" && !Array.isArray(data265)){if(data265.urlTemplate === undefined){const err516 = {instancePath:instancePath+"/qa/environments/" + key75.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 = [err516];}else {vErrors.push(err516);}errors++;}for(const key77 in data265){if(!(key77 === "urlTemplate")){const err517 = {instancePath:instancePath+"/qa/environments/" + key75.replace(/~/g, "~0").replace(/\//g, "~1")+"/signInSeam",schemaPath:"#/properties/qa/properties/environments/additionalProperties/properties/signInSeam/oneOf/0/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key77},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err517];}else {vErrors.push(err517);}errors++;}}if(data265.urlTemplate !== undefined){let data266 = data265.urlTemplate;const _errs682 = errors;const _errs683 = errors;if(typeof data266 === "string"){if(!pattern0.test(data266)){const err518 = {};if(vErrors === null){vErrors = [err518];}else {vErrors.push(err518);}errors++;}}var valid194 = _errs683 === errors;if(valid194){const err519 = {instancePath:instancePath+"/qa/environments/" + key75.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 = [err519];}else {vErrors.push(err519);}errors++;}else {errors = _errs682;if(vErrors !== null){if(_errs682){vErrors.length = _errs682;}else {vErrors = null;}}}if(typeof data266 === "string"){if(func2(data266) < 1){const err520 = {instancePath:instancePath+"/qa/environments/" + key75.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 = [err520];}else {vErrors.push(err520);}errors++;}}else {const err521 = {instancePath:instancePath+"/qa/environments/" + key75.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 = [err521];}else {vErrors.push(err521);}errors++;}}}else {const err522 = {instancePath:instancePath+"/qa/environments/" + key75.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 = [err522];}else {vErrors.push(err522);}errors++;}var _valid4 = _errs677 === errors;if(_valid4){valid192 = true;passing3 = 0;}const _errs684 = errors;if(data265 && typeof data265 == "object" && !Array.isArray(data265)){if(data265.skill === undefined){const err523 = {instancePath:instancePath+"/qa/environments/" + key75.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 = [err523];}else {vErrors.push(err523);}errors++;}for(const key78 in data265){if(!(key78 === "skill")){const err524 = {instancePath:instancePath+"/qa/environments/" + key75.replace(/~/g, "~0").replace(/\//g, "~1")+"/signInSeam",schemaPath:"#/properties/qa/properties/environments/additionalProperties/properties/signInSeam/oneOf/1/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key78},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err524];}else {vErrors.push(err524);}errors++;}}if(data265.skill !== undefined){let data267 = data265.skill;const _errs689 = errors;const _errs690 = errors;if(typeof data267 === "string"){if(!pattern0.test(data267)){const err525 = {};if(vErrors === null){vErrors = [err525];}else {vErrors.push(err525);}errors++;}}var valid196 = _errs690 === errors;if(valid196){const err526 = {instancePath:instancePath+"/qa/environments/" + key75.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 = [err526];}else {vErrors.push(err526);}errors++;}else {errors = _errs689;if(vErrors !== null){if(_errs689){vErrors.length = _errs689;}else {vErrors = null;}}}if(typeof data267 === "string"){if(func2(data267) < 1){const err527 = {instancePath:instancePath+"/qa/environments/" + key75.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 = [err527];}else {vErrors.push(err527);}errors++;}if(!pattern35.test(data267)){const err528 = {instancePath:instancePath+"/qa/environments/" + key75.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 = [err528];}else {vErrors.push(err528);}errors++;}}else {const err529 = {instancePath:instancePath+"/qa/environments/" + key75.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 = [err529];}else {vErrors.push(err529);}errors++;}}}else {const err530 = {instancePath:instancePath+"/qa/environments/" + key75.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 = [err530];}else {vErrors.push(err530);}errors++;}var _valid4 = _errs684 === errors;if(_valid4 && valid192){valid192 = false;passing3 = [passing3, 1];}else {if(_valid4){valid192 = true;passing3 = 1;}}if(!valid192){const err531 = {instancePath:instancePath+"/qa/environments/" + key75.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 = [err531];}else {vErrors.push(err531);}errors++;}else {errors = _errs676;if(vErrors !== null){if(_errs676){vErrors.length = _errs676;}else {vErrors = null;}}}}if(data263.allowWrites !== undefined){if(typeof data263.allowWrites !== "boolean"){const err532 = {instancePath:instancePath+"/qa/environments/" + key75.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 = [err532];}else {vErrors.push(err532);}errors++;}}if(data263.database !== undefined){let data269 = data263.database;if(data269 && typeof data269 == "object" && !Array.isArray(data269)){if(data269.urlEnv === undefined){const err533 = {instancePath:instancePath+"/qa/environments/" + key75.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 = [err533];}else {vErrors.push(err533);}errors++;}for(const key79 in data269){if(!((key79 === "urlEnv") || (key79 === "allowAudit"))){const err534 = {instancePath:instancePath+"/qa/environments/" + key75.replace(/~/g, "~0").replace(/\//g, "~1")+"/database",schemaPath:"#/properties/qa/properties/environments/additionalProperties/properties/database/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key79},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err534];}else {vErrors.push(err534);}errors++;}}if(data269.urlEnv !== undefined){let data270 = data269.urlEnv;if(typeof data270 === "string"){if(!pattern36.test(data270)){const err535 = {instancePath:instancePath+"/qa/environments/" + key75.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 = [err535];}else {vErrors.push(err535);}errors++;}}else {const err536 = {instancePath:instancePath+"/qa/environments/" + key75.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 = [err536];}else {vErrors.push(err536);}errors++;}}if(data269.allowAudit !== undefined){if(typeof data269.allowAudit !== "boolean"){const err537 = {instancePath:instancePath+"/qa/environments/" + key75.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 = [err537];}else {vErrors.push(err537);}errors++;}}}else {const err538 = {instancePath:instancePath+"/qa/environments/" + key75.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 = [err538];}else {vErrors.push(err538);}errors++;}}}else {const err539 = {instancePath:instancePath+"/qa/environments/" + key75.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 = [err539];}else {vErrors.push(err539);}errors++;}}}else {const err540 = {instancePath:instancePath+"/qa/environments",schemaPath:"#/properties/qa/properties/environments/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err540];}else {vErrors.push(err540);}errors++;}}if(data259.personas !== undefined){let data272 = data259.personas;const _errs701 = errors;let valid198 = false;let passing4 = null;const _errs702 = errors;if(Array.isArray(data272)){if(data272.length < 1){const err541 = {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 = [err541];}else {vErrors.push(err541);}errors++;}const len40 = data272.length;for(let i44=0; i44<len40; i44++){let data273 = data272[i44];const _errs706 = errors;const _errs707 = errors;if(typeof data273 === "string"){if(!pattern0.test(data273)){const err542 = {};if(vErrors === null){vErrors = [err542];}else {vErrors.push(err542);}errors++;}}var valid201 = _errs707 === errors;if(valid201){const err543 = {instancePath:instancePath+"/qa/personas/" + i44,schemaPath:"#/properties/qa/properties/personas/oneOf/0/items/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err543];}else {vErrors.push(err543);}errors++;}else {errors = _errs706;if(vErrors !== null){if(_errs706){vErrors.length = _errs706;}else {vErrors = null;}}}if(typeof data273 === "string"){if(func2(data273) < 1){const err544 = {instancePath:instancePath+"/qa/personas/" + i44,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 = [err544];}else {vErrors.push(err544);}errors++;}}else {const err545 = {instancePath:instancePath+"/qa/personas/" + i44,schemaPath:"#/properties/qa/properties/personas/oneOf/0/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+"/qa/personas",schemaPath:"#/properties/qa/properties/personas/oneOf/0/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err546];}else {vErrors.push(err546);}errors++;}var _valid5 = _errs702 === errors;if(_valid5){valid198 = true;passing4 = 0;}const _errs708 = errors;if(data272 && typeof data272 == "object" && !Array.isArray(data272)){if(Object.keys(data272).length < 1){const err547 = {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 = [err547];}else {vErrors.push(err547);}errors++;}for(const key80 in data272){let data274 = data272[key80];const _errs712 = errors;let valid203 = false;let passing5 = null;const _errs713 = errors;if(data274 && typeof data274 == "object" && !Array.isArray(data274)){if(data274.credentialRef === undefined){const err548 = {instancePath:instancePath+"/qa/personas/" + key80.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 = [err548];}else {vErrors.push(err548);}errors++;}for(const key81 in data274){if(!(key81 === "credentialRef")){const err549 = {instancePath:instancePath+"/qa/personas/" + key80.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/qa/properties/personas/oneOf/1/additionalProperties/oneOf/0/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key81},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err549];}else {vErrors.push(err549);}errors++;}}if(data274.credentialRef !== undefined){let data275 = data274.credentialRef;const _errs718 = errors;const _errs719 = errors;if(typeof data275 === "string"){if(!pattern0.test(data275)){const err550 = {};if(vErrors === null){vErrors = [err550];}else {vErrors.push(err550);}errors++;}}var valid205 = _errs719 === errors;if(valid205){const err551 = {instancePath:instancePath+"/qa/personas/" + key80.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 = [err551];}else {vErrors.push(err551);}errors++;}else {errors = _errs718;if(vErrors !== null){if(_errs718){vErrors.length = _errs718;}else {vErrors = null;}}}if(typeof data275 === "string"){if(func2(data275) < 1){const err552 = {instancePath:instancePath+"/qa/personas/" + key80.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 = [err552];}else {vErrors.push(err552);}errors++;}}else {const err553 = {instancePath:instancePath+"/qa/personas/" + key80.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 = [err553];}else {vErrors.push(err553);}errors++;}}}else {const err554 = {instancePath:instancePath+"/qa/personas/" + key80.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 = [err554];}else {vErrors.push(err554);}errors++;}var _valid6 = _errs713 === errors;if(_valid6){valid203 = true;passing5 = 0;}const _errs720 = errors;if(data274 && typeof data274 == "object" && !Array.isArray(data274)){if(data274.signInSkill === undefined){const err555 = {instancePath:instancePath+"/qa/personas/" + key80.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 = [err555];}else {vErrors.push(err555);}errors++;}for(const key82 in data274){if(!(key82 === "signInSkill")){const err556 = {instancePath:instancePath+"/qa/personas/" + key80.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/qa/properties/personas/oneOf/1/additionalProperties/oneOf/1/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key82},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err556];}else {vErrors.push(err556);}errors++;}}if(data274.signInSkill !== undefined){let data276 = data274.signInSkill;const _errs725 = errors;const _errs726 = errors;if(typeof data276 === "string"){if(!pattern0.test(data276)){const err557 = {};if(vErrors === null){vErrors = [err557];}else {vErrors.push(err557);}errors++;}}var valid207 = _errs726 === errors;if(valid207){const err558 = {instancePath:instancePath+"/qa/personas/" + key80.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 = [err558];}else {vErrors.push(err558);}errors++;}else {errors = _errs725;if(vErrors !== null){if(_errs725){vErrors.length = _errs725;}else {vErrors = null;}}}if(typeof data276 === "string"){if(func2(data276) < 1){const err559 = {instancePath:instancePath+"/qa/personas/" + key80.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 = [err559];}else {vErrors.push(err559);}errors++;}}else {const err560 = {instancePath:instancePath+"/qa/personas/" + key80.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 = [err560];}else {vErrors.push(err560);}errors++;}}}else {const err561 = {instancePath:instancePath+"/qa/personas/" + key80.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 = [err561];}else {vErrors.push(err561);}errors++;}var _valid6 = _errs720 === errors;if(_valid6 && valid203){valid203 = false;passing5 = [passing5, 1];}else {if(_valid6){valid203 = true;passing5 = 1;}}if(!valid203){const err562 = {instancePath:instancePath+"/qa/personas/" + key80.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 = [err562];}else {vErrors.push(err562);}errors++;}else {errors = _errs712;if(vErrors !== null){if(_errs712){vErrors.length = _errs712;}else {vErrors = null;}}}}}else {const err563 = {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 = [err563];}else {vErrors.push(err563);}errors++;}var _valid5 = _errs708 === errors;if(_valid5 && valid198){valid198 = false;passing4 = [passing4, 1];}else {if(_valid5){valid198 = true;passing4 = 1;}}if(!valid198){const err564 = {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 = [err564];}else {vErrors.push(err564);}errors++;}else {errors = _errs701;if(vErrors !== null){if(_errs701){vErrors.length = _errs701;}else {vErrors = null;}}}}if(data259.gherkinLint !== undefined){let data277 = data259.gherkinLint;if(data277 && typeof data277 == "object" && !Array.isArray(data277)){if(data277.scopes === undefined){const err565 = {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 = [err565];}else {vErrors.push(err565);}errors++;}for(const key83 in data277){if(!(((key83 === "scopes") || (key83 === "exemptionTags")) || (key83 === "stepWaivers"))){const err566 = {instancePath:instancePath+"/qa/gherkinLint",schemaPath:"#/properties/qa/properties/gherkinLint/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key83},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err566];}else {vErrors.push(err566);}errors++;}}if(data277.scopes !== undefined){let data278 = data277.scopes;if(data278 && typeof data278 == "object" && !Array.isArray(data278)){if(Object.keys(data278).length < 1){const err567 = {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 = [err567];}else {vErrors.push(err567);}errors++;}for(const key84 in data278){let data279 = data278[key84];if(data279 && typeof data279 == "object" && !Array.isArray(data279)){if(data279.featureRoots === undefined){const err568 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key84.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 = [err568];}else {vErrors.push(err568);}errors++;}if(data279.stepRoots === undefined){const err569 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key84.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 = [err569];}else {vErrors.push(err569);}errors++;}for(const key85 in data279){if(!((key85 === "featureRoots") || (key85 === "stepRoots"))){const err570 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key84.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/qa/properties/gherkinLint/properties/scopes/additionalProperties/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key85},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err570];}else {vErrors.push(err570);}errors++;}}if(data279.featureRoots !== undefined){let data280 = data279.featureRoots;if(Array.isArray(data280)){if(data280.length < 1){const err571 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key84.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 = [err571];}else {vErrors.push(err571);}errors++;}const len41 = data280.length;for(let i45=0; i45<len41; i45++){let data281 = data280[i45];const _errs740 = errors;const _errs741 = errors;if(typeof data281 === "string"){if(!pattern0.test(data281)){const err572 = {};if(vErrors === null){vErrors = [err572];}else {vErrors.push(err572);}errors++;}}var valid213 = _errs741 === errors;if(valid213){const err573 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key84.replace(/~/g, "~0").replace(/\//g, "~1")+"/featureRoots/" + i45,schemaPath:"#/properties/qa/properties/gherkinLint/properties/scopes/additionalProperties/properties/featureRoots/items/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err573];}else {vErrors.push(err573);}errors++;}else {errors = _errs740;if(vErrors !== null){if(_errs740){vErrors.length = _errs740;}else {vErrors = null;}}}if(typeof data281 === "string"){if(func2(data281) < 1){const err574 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key84.replace(/~/g, "~0").replace(/\//g, "~1")+"/featureRoots/" + i45,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 = [err574];}else {vErrors.push(err574);}errors++;}}else {const err575 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key84.replace(/~/g, "~0").replace(/\//g, "~1")+"/featureRoots/" + i45,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 = [err575];}else {vErrors.push(err575);}errors++;}}}else {const err576 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key84.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 = [err576];}else {vErrors.push(err576);}errors++;}}if(data279.stepRoots !== undefined){let data282 = data279.stepRoots;if(Array.isArray(data282)){if(data282.length < 1){const err577 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key84.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 = [err577];}else {vErrors.push(err577);}errors++;}const len42 = data282.length;for(let i46=0; i46<len42; i46++){let data283 = data282[i46];const _errs746 = errors;const _errs747 = errors;if(typeof data283 === "string"){if(!pattern0.test(data283)){const err578 = {};if(vErrors === null){vErrors = [err578];}else {vErrors.push(err578);}errors++;}}var valid216 = _errs747 === errors;if(valid216){const err579 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key84.replace(/~/g, "~0").replace(/\//g, "~1")+"/stepRoots/" + i46,schemaPath:"#/properties/qa/properties/gherkinLint/properties/scopes/additionalProperties/properties/stepRoots/items/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err579];}else {vErrors.push(err579);}errors++;}else {errors = _errs746;if(vErrors !== null){if(_errs746){vErrors.length = _errs746;}else {vErrors = null;}}}if(typeof data283 === "string"){if(func2(data283) < 1){const err580 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key84.replace(/~/g, "~0").replace(/\//g, "~1")+"/stepRoots/" + i46,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 = [err580];}else {vErrors.push(err580);}errors++;}}else {const err581 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key84.replace(/~/g, "~0").replace(/\//g, "~1")+"/stepRoots/" + i46,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 = [err581];}else {vErrors.push(err581);}errors++;}}}else {const err582 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key84.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 = [err582];}else {vErrors.push(err582);}errors++;}}}else {const err583 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key84.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 = [err583];}else {vErrors.push(err583);}errors++;}}}else {const err584 = {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 = [err584];}else {vErrors.push(err584);}errors++;}}if(data277.exemptionTags !== undefined){let data284 = data277.exemptionTags;if(Array.isArray(data284)){const len43 = data284.length;for(let i47=0; i47<len43; i47++){let data285 = data284[i47];const _errs752 = errors;const _errs753 = errors;if(typeof data285 === "string"){if(!pattern0.test(data285)){const err585 = {};if(vErrors === null){vErrors = [err585];}else {vErrors.push(err585);}errors++;}}var valid219 = _errs753 === errors;if(valid219){const err586 = {instancePath:instancePath+"/qa/gherkinLint/exemptionTags/" + i47,schemaPath:"#/properties/qa/properties/gherkinLint/properties/exemptionTags/items/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err586];}else {vErrors.push(err586);}errors++;}else {errors = _errs752;if(vErrors !== null){if(_errs752){vErrors.length = _errs752;}else {vErrors = null;}}}if(typeof data285 === "string"){if(func2(data285) < 1){const err587 = {instancePath:instancePath+"/qa/gherkinLint/exemptionTags/" + i47,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 = [err587];}else {vErrors.push(err587);}errors++;}}else {const err588 = {instancePath:instancePath+"/qa/gherkinLint/exemptionTags/" + i47,schemaPath:"#/properties/qa/properties/gherkinLint/properties/exemptionTags/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err588];}else {vErrors.push(err588);}errors++;}}}else {const err589 = {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 = [err589];}else {vErrors.push(err589);}errors++;}}if(data277.stepWaivers !== undefined){let data286 = data277.stepWaivers;if(Array.isArray(data286)){const len44 = data286.length;for(let i48=0; i48<len44; i48++){let data287 = data286[i48];if(typeof data287 === "string"){if(func2(data287) < 1){const err590 = {instancePath:instancePath+"/qa/gherkinLint/stepWaivers/" + i48,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 = [err590];}else {vErrors.push(err590);}errors++;}}else {const err591 = {instancePath:instancePath+"/qa/gherkinLint/stepWaivers/" + i48,schemaPath:"#/properties/qa/properties/gherkinLint/properties/stepWaivers/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err591];}else {vErrors.push(err591);}errors++;}}}else {const err592 = {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 = [err592];}else {vErrors.push(err592);}errors++;}}}else {const err593 = {instancePath:instancePath+"/qa/gherkinLint",schemaPath:"#/properties/qa/properties/gherkinLint/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err593];}else {vErrors.push(err593);}errors++;}}if(data259.consoleAllowlist !== undefined){let data288 = data259.consoleAllowlist;if(Array.isArray(data288)){const len45 = data288.length;for(let i49=0; i49<len45; i49++){let data289 = data288[i49];const _errs762 = errors;const _errs763 = errors;if(typeof data289 === "string"){if(!pattern0.test(data289)){const err594 = {};if(vErrors === null){vErrors = [err594];}else {vErrors.push(err594);}errors++;}}var valid224 = _errs763 === errors;if(valid224){const err595 = {instancePath:instancePath+"/qa/consoleAllowlist/" + i49,schemaPath:"#/properties/qa/properties/consoleAllowlist/items/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err595];}else {vErrors.push(err595);}errors++;}else {errors = _errs762;if(vErrors !== null){if(_errs762){vErrors.length = _errs762;}else {vErrors = null;}}}if(typeof data289 === "string"){if(func2(data289) < 1){const err596 = {instancePath:instancePath+"/qa/consoleAllowlist/" + i49,schemaPath:"#/properties/qa/properties/consoleAllowlist/items/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err596];}else {vErrors.push(err596);}errors++;}}else {const err597 = {instancePath:instancePath+"/qa/consoleAllowlist/" + i49,schemaPath:"#/properties/qa/properties/consoleAllowlist/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err597];}else {vErrors.push(err597);}errors++;}}}else {const err598 = {instancePath:instancePath+"/qa/consoleAllowlist",schemaPath:"#/properties/qa/properties/consoleAllowlist/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err598];}else {vErrors.push(err598);}errors++;}}if(data259.designTokens !== undefined){let data290 = data259.designTokens;const _errs766 = errors;const _errs767 = errors;if(typeof data290 === "string"){if(!pattern0.test(data290)){const err599 = {};if(vErrors === null){vErrors = [err599];}else {vErrors.push(err599);}errors++;}}var valid225 = _errs767 === errors;if(valid225){const err600 = {instancePath:instancePath+"/qa/designTokens",schemaPath:"#/properties/qa/properties/designTokens/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err600];}else {vErrors.push(err600);}errors++;}else {errors = _errs766;if(vErrors !== null){if(_errs766){vErrors.length = _errs766;}else {vErrors = null;}}}if(typeof data290 === "string"){if(func2(data290) < 1){const err601 = {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 = [err601];}else {vErrors.push(err601);}errors++;}}else {const err602 = {instancePath:instancePath+"/qa/designTokens",schemaPath:"#/properties/qa/properties/designTokens/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err602];}else {vErrors.push(err602);}errors++;}}}else {const err603 = {instancePath:instancePath+"/qa",schemaPath:"#/properties/qa/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err603];}else {vErrors.push(err603);}errors++;}}}else {const err604 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err604];}else {vErrors.push(err604);}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.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.coveragePath !== undefined){let data151 = data124.coveragePath;if((typeof data151 !== "string") && (data151 !== null)){const err311 = {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 = [err311];}else {vErrors.push(err311);}errors++;}if(typeof data151 === "string"){if(func2(data151) < 1){const err312 = {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 = [err312];}else {vErrors.push(err312);}errors++;}}}if(data124.captureScript !== undefined){let data152 = data124.captureScript;if(typeof data152 === "string"){if(func2(data152) < 1){const err313 = {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 = [err313];}else {vErrors.push(err313);}errors++;}if(!pattern21.test(data152)){const err314 = {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 = [err314];}else {vErrors.push(err314);}errors++;}}else {const err315 = {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 = [err315];}else {vErrors.push(err315);}errors++;}}}else {const err316 = {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 = [err316];}else {vErrors.push(err316);}errors++;}}if(data100.maintainability !== undefined){let data153 = data100.maintainability;if(data153 && typeof data153 == "object" && !Array.isArray(data153)){for(const key36 in data153){if(!(((((((key36 === "enabled") || (key36 === "baselinePath")) || (key36 === "tolerance")) || (key36 === "floors")) || (key36 === "components")) || (key36 === "targetDirs")) || (key36 === "ignoreGlobs"))){const err317 = {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 = [err317];}else {vErrors.push(err317);}errors++;}}if(data153.enabled !== undefined){if(typeof data153.enabled !== "boolean"){const err318 = {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 = [err318];}else {vErrors.push(err318);}errors++;}}if(data153.baselinePath !== undefined){let data155 = data153.baselinePath;const _errs399 = errors;const _errs400 = errors;if(typeof data155 === "string"){if(!pattern0.test(data155)){const err319 = {};if(vErrors === null){vErrors = [err319];}else {vErrors.push(err319);}errors++;}}var valid107 = _errs400 === errors;if(valid107){const err320 = {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 = [err320];}else {vErrors.push(err320);}errors++;}else {errors = _errs399;if(vErrors !== null){if(_errs399){vErrors.length = _errs399;}else {vErrors = null;}}}if(typeof data155 === "string"){if(func2(data155) < 1){const err321 = {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 = [err321];}else {vErrors.push(err321);}errors++;}}else {const err322 = {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 = [err322];}else {vErrors.push(err322);}errors++;}}if(data153.tolerance !== undefined){let data156 = data153.tolerance;if(data156 && typeof data156 == "object" && !Array.isArray(data156)){if(data156.kind === undefined){const err323 = {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 = [err323];}else {vErrors.push(err323);}errors++;}if(data156.value === undefined){const err324 = {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 = [err324];}else {vErrors.push(err324);}errors++;}for(const key37 in data156){if(!((key37 === "kind") || (key37 === "value"))){const err325 = {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 = [err325];}else {vErrors.push(err325);}errors++;}}if(data156.kind !== undefined){let data157 = data156.kind;if(typeof data157 !== "string"){const err326 = {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 = [err326];}else {vErrors.push(err326);}errors++;}if(!((data157 === "absolute") || (data157 === "percent"))){const err327 = {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 = [err327];}else {vErrors.push(err327);}errors++;}}if(data156.value !== undefined){let data158 = data156.value;if((typeof data158 == "number") && (isFinite(data158))){if(data158 < 0 || isNaN(data158)){const err328 = {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 = [err328];}else {vErrors.push(err328);}errors++;}}else {const err329 = {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 = [err329];}else {vErrors.push(err329);}errors++;}}}else {const err330 = {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 = [err330];}else {vErrors.push(err330);}errors++;}}if(data153.floors !== undefined){let data159 = data153.floors;if(data159 && typeof data159 == "object" && !Array.isArray(data159)){for(const key38 in data159){let data160 = data159[key38];if(data160 && typeof data160 == "object" && !Array.isArray(data160)){for(const key39 in data160){let data161 = data160[key39];if(!((typeof data161 == "number") && (isFinite(data161)))){const err331 = {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 = [err331];}else {vErrors.push(err331);}errors++;}}}else {const err332 = {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 = [err332];}else {vErrors.push(err332);}errors++;}}}else {const err333 = {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 = [err333];}else {vErrors.push(err333);}errors++;}}if(data153.components !== undefined){let data162 = data153.components;if(data162 && typeof data162 == "object" && !Array.isArray(data162)){for(const key40 in data162){let data163 = data162[key40];if(Array.isArray(data163)){const len21 = data163.length;for(let i24=0; i24<len21; i24++){let data164 = data163[i24];if(typeof data164 === "string"){if(func2(data164) < 1){const err334 = {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 = [err334];}else {vErrors.push(err334);}errors++;}}else {const err335 = {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 = [err335];}else {vErrors.push(err335);}errors++;}}}else {const err336 = {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 = [err336];}else {vErrors.push(err336);}errors++;}}}else {const err337 = {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 = [err337];}else {vErrors.push(err337);}errors++;}}if(data153.targetDirs !== undefined){let data165 = data153.targetDirs;const _errs424 = errors;let valid114 = false;let passing1 = null;const _errs425 = errors;if(Array.isArray(data165)){const len22 = data165.length;for(let i25=0; i25<len22; i25++){if(typeof data165[i25] !== "string"){const err338 = {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 = [err338];}else {vErrors.push(err338);}errors++;}}}else {const err339 = {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 = [err339];}else {vErrors.push(err339);}errors++;}var _valid2 = _errs425 === errors;if(_valid2){valid114 = true;passing1 = 0;}const _errs429 = errors;if(data165 && typeof data165 == "object" && !Array.isArray(data165)){for(const key41 in data165){if(!((key41 === "append") || (key41 === "prepend"))){const err340 = {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 = [err340];}else {vErrors.push(err340);}errors++;}}if(data165.append !== undefined){let data167 = data165.append;if(Array.isArray(data167)){const len23 = data167.length;for(let i26=0; i26<len23; i26++){if(typeof data167[i26] !== "string"){const err341 = {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 = [err341];}else {vErrors.push(err341);}errors++;}}}else {const err342 = {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 = [err342];}else {vErrors.push(err342);}errors++;}}if(data165.prepend !== undefined){let data169 = data165.prepend;if(Array.isArray(data169)){const len24 = data169.length;for(let i27=0; i27<len24; i27++){if(typeof data169[i27] !== "string"){const err343 = {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 = [err343];}else {vErrors.push(err343);}errors++;}}}else {const err344 = {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 = [err344];}else {vErrors.push(err344);}errors++;}}}else {const err345 = {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 = [err345];}else {vErrors.push(err345);}errors++;}var _valid2 = _errs429 === errors;if(_valid2 && valid114){valid114 = false;passing1 = [passing1, 1];}else {if(_valid2){valid114 = true;passing1 = 1;}}if(!valid114){const err346 = {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 = [err346];}else {vErrors.push(err346);}errors++;}else {errors = _errs424;if(vErrors !== null){if(_errs424){vErrors.length = _errs424;}else {vErrors = null;}}}}if(data153.ignoreGlobs !== undefined){let data171 = data153.ignoreGlobs;if(Array.isArray(data171)){const len25 = data171.length;for(let i28=0; i28<len25; i28++){let data172 = data171[i28];if(typeof data172 === "string"){if(func2(data172) < 1){const err347 = {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 = [err347];}else {vErrors.push(err347);}errors++;}}else {const err348 = {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 = [err348];}else {vErrors.push(err348);}errors++;}}}else {const err349 = {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 = [err349];}else {vErrors.push(err349);}errors++;}}}else {const err350 = {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 = [err350];}else {vErrors.push(err350);}errors++;}}if(data100.mutation !== undefined){let data173 = data100.mutation;if(data173 && typeof data173 == "object" && !Array.isArray(data173)){for(const key42 in data173){if(!(((((key42 === "enabled") || (key42 === "baselinePath")) || (key42 === "tolerance")) || (key42 === "floors")) || (key42 === "components"))){const err351 = {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 = [err351];}else {vErrors.push(err351);}errors++;}}if(data173.enabled !== undefined){if(typeof data173.enabled !== "boolean"){const err352 = {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 = [err352];}else {vErrors.push(err352);}errors++;}}if(data173.baselinePath !== undefined){let data175 = data173.baselinePath;const _errs451 = errors;const _errs452 = errors;if(typeof data175 === "string"){if(!pattern0.test(data175)){const err353 = {};if(vErrors === null){vErrors = [err353];}else {vErrors.push(err353);}errors++;}}var valid125 = _errs452 === errors;if(valid125){const err354 = {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 = [err354];}else {vErrors.push(err354);}errors++;}else {errors = _errs451;if(vErrors !== null){if(_errs451){vErrors.length = _errs451;}else {vErrors = null;}}}if(typeof data175 === "string"){if(func2(data175) < 1){const err355 = {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 = [err355];}else {vErrors.push(err355);}errors++;}}else {const err356 = {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 = [err356];}else {vErrors.push(err356);}errors++;}}if(data173.tolerance !== undefined){let data176 = data173.tolerance;if(data176 && typeof data176 == "object" && !Array.isArray(data176)){if(data176.kind === undefined){const err357 = {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 = [err357];}else {vErrors.push(err357);}errors++;}if(data176.value === undefined){const err358 = {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 = [err358];}else {vErrors.push(err358);}errors++;}for(const key43 in data176){if(!((key43 === "kind") || (key43 === "value"))){const err359 = {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 = [err359];}else {vErrors.push(err359);}errors++;}}if(data176.kind !== undefined){let data177 = data176.kind;if(typeof data177 !== "string"){const err360 = {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 = [err360];}else {vErrors.push(err360);}errors++;}if(!((data177 === "absolute") || (data177 === "percent"))){const err361 = {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 = [err361];}else {vErrors.push(err361);}errors++;}}if(data176.value !== undefined){let data178 = data176.value;if((typeof data178 == "number") && (isFinite(data178))){if(data178 < 0 || isNaN(data178)){const err362 = {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 = [err362];}else {vErrors.push(err362);}errors++;}}else {const err363 = {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 = [err363];}else {vErrors.push(err363);}errors++;}}}else {const err364 = {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 = [err364];}else {vErrors.push(err364);}errors++;}}if(data173.floors !== undefined){let data179 = data173.floors;if(data179 && typeof data179 == "object" && !Array.isArray(data179)){for(const key44 in data179){let data180 = data179[key44];if(data180 && typeof data180 == "object" && !Array.isArray(data180)){for(const key45 in data180){let data181 = data180[key45];if(!((typeof data181 == "number") && (isFinite(data181)))){const err365 = {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 = [err365];}else {vErrors.push(err365);}errors++;}}}else {const err366 = {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 = [err366];}else {vErrors.push(err366);}errors++;}}}else {const err367 = {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 = [err367];}else {vErrors.push(err367);}errors++;}}if(data173.components !== undefined){let data182 = data173.components;if(data182 && typeof data182 == "object" && !Array.isArray(data182)){for(const key46 in data182){let data183 = data182[key46];if(Array.isArray(data183)){const len26 = data183.length;for(let i29=0; i29<len26; i29++){let data184 = data183[i29];if(typeof data184 === "string"){if(func2(data184) < 1){const err368 = {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 = [err368];}else {vErrors.push(err368);}errors++;}}else {const err369 = {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 = [err369];}else {vErrors.push(err369);}errors++;}}}else {const err370 = {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 = [err370];}else {vErrors.push(err370);}errors++;}}}else {const err371 = {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 = [err371];}else {vErrors.push(err371);}errors++;}}}else {const err372 = {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 = [err372];}else {vErrors.push(err372);}errors++;}}if(data100["bundle-size"] !== undefined){let data185 = data100["bundle-size"];if(data185 && typeof data185 == "object" && !Array.isArray(data185)){for(const key47 in data185){if(!((((((key47 === "enabled") || (key47 === "baselinePath")) || (key47 === "tolerance")) || (key47 === "floors")) || (key47 === "components")) || (key47 === "bundles"))){const err373 = {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 = [err373];}else {vErrors.push(err373);}errors++;}}if(data185.enabled !== undefined){if(typeof data185.enabled !== "boolean"){const err374 = {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 = [err374];}else {vErrors.push(err374);}errors++;}}if(data185.baselinePath !== undefined){let data187 = data185.baselinePath;const _errs482 = errors;const _errs483 = errors;if(typeof data187 === "string"){if(!pattern0.test(data187)){const err375 = {};if(vErrors === null){vErrors = [err375];}else {vErrors.push(err375);}errors++;}}var valid133 = _errs483 === errors;if(valid133){const err376 = {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 = [err376];}else {vErrors.push(err376);}errors++;}else {errors = _errs482;if(vErrors !== null){if(_errs482){vErrors.length = _errs482;}else {vErrors = null;}}}if(typeof data187 === "string"){if(func2(data187) < 1){const err377 = {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 = [err377];}else {vErrors.push(err377);}errors++;}}else {const err378 = {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 = [err378];}else {vErrors.push(err378);}errors++;}}if(data185.tolerance !== undefined){let data188 = data185.tolerance;if(data188 && typeof data188 == "object" && !Array.isArray(data188)){if(data188.kind === undefined){const err379 = {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 = [err379];}else {vErrors.push(err379);}errors++;}if(data188.value === undefined){const err380 = {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 = [err380];}else {vErrors.push(err380);}errors++;}for(const key48 in data188){if(!((key48 === "kind") || (key48 === "value"))){const err381 = {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 = [err381];}else {vErrors.push(err381);}errors++;}}if(data188.kind !== undefined){let data189 = data188.kind;if(typeof data189 !== "string"){const err382 = {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 = [err382];}else {vErrors.push(err382);}errors++;}if(!((data189 === "absolute") || (data189 === "percent"))){const err383 = {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 = [err383];}else {vErrors.push(err383);}errors++;}}if(data188.value !== undefined){let data190 = data188.value;if((typeof data190 == "number") && (isFinite(data190))){if(data190 < 0 || isNaN(data190)){const err384 = {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 = [err384];}else {vErrors.push(err384);}errors++;}}else {const err385 = {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 = [err385];}else {vErrors.push(err385);}errors++;}}}else {const err386 = {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 = [err386];}else {vErrors.push(err386);}errors++;}}if(data185.floors !== undefined){let data191 = data185.floors;if(data191 && typeof data191 == "object" && !Array.isArray(data191)){for(const key49 in data191){let data192 = data191[key49];if(data192 && typeof data192 == "object" && !Array.isArray(data192)){for(const key50 in data192){let data193 = data192[key50];if(!((typeof data193 == "number") && (isFinite(data193)))){const err387 = {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 = [err387];}else {vErrors.push(err387);}errors++;}}}else {const err388 = {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 = [err388];}else {vErrors.push(err388);}errors++;}}}else {const err389 = {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 = [err389];}else {vErrors.push(err389);}errors++;}}if(data185.components !== undefined){let data194 = data185.components;if(data194 && typeof data194 == "object" && !Array.isArray(data194)){for(const key51 in data194){let data195 = data194[key51];if(Array.isArray(data195)){const len27 = data195.length;for(let i30=0; i30<len27; i30++){let data196 = data195[i30];if(typeof data196 === "string"){if(func2(data196) < 1){const err390 = {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 = [err390];}else {vErrors.push(err390);}errors++;}}else {const err391 = {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 = [err391];}else {vErrors.push(err391);}errors++;}}}else {const err392 = {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 = [err392];}else {vErrors.push(err392);}errors++;}}}else {const err393 = {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 = [err393];}else {vErrors.push(err393);}errors++;}}if(data185.bundles !== undefined){let data197 = data185.bundles;if(Array.isArray(data197)){const len28 = data197.length;for(let i31=0; i31<len28; i31++){let data198 = data197[i31];if(data198 && typeof data198 == "object" && !Array.isArray(data198)){if(data198.name === undefined){const err394 = {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 = [err394];}else {vErrors.push(err394);}errors++;}if(data198.path === undefined){const err395 = {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 = [err395];}else {vErrors.push(err395);}errors++;}if(data198.limit === 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: "limit"},message:"must have required property '"+"limit"+"'"};if(vErrors === null){vErrors = [err396];}else {vErrors.push(err396);}errors++;}for(const key52 in data198){if(!(((key52 === "name") || (key52 === "path")) || (key52 === "limit"))){const err397 = {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 = [err397];}else {vErrors.push(err397);}errors++;}}if(data198.name !== undefined){let data199 = data198.name;if(typeof data199 === "string"){if(func2(data199) < 1){const err398 = {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 = [err398];}else {vErrors.push(err398);}errors++;}}else {const err399 = {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 = [err399];}else {vErrors.push(err399);}errors++;}}if(data198.path !== undefined){let data200 = data198.path;if(typeof data200 === "string"){if(func2(data200) < 1){const err400 = {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 = [err400];}else {vErrors.push(err400);}errors++;}}else {const err401 = {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 = [err401];}else {vErrors.push(err401);}errors++;}}if(data198.limit !== undefined){let data201 = data198.limit;if(typeof data201 === "string"){if(func2(data201) < 1){const err402 = {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 = [err402];}else {vErrors.push(err402);}errors++;}}else {const err403 = {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 = [err403];}else {vErrors.push(err403);}errors++;}}}else {const err404 = {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 = [err404];}else {vErrors.push(err404);}errors++;}}}else {const err405 = {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 = [err405];}else {vErrors.push(err405);}errors++;}}}else {const err406 = {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 = [err406];}else {vErrors.push(err406);}errors++;}}if(data100.duplication !== undefined){let data202 = data100.duplication;if(data202 && typeof data202 == "object" && !Array.isArray(data202)){for(const key53 in data202){if(!((((((((key53 === "enabled") || (key53 === "baselinePath")) || (key53 === "tolerance")) || (key53 === "floors")) || (key53 === "components")) || (key53 === "targetDirs")) || (key53 === "additionalFormats")) || (key53 === "ignoreGlobs"))){const err407 = {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 = [err407];}else {vErrors.push(err407);}errors++;}}if(data202.enabled !== undefined){if(typeof data202.enabled !== "boolean"){const err408 = {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 = [err408];}else {vErrors.push(err408);}errors++;}}if(data202.baselinePath !== undefined){let data204 = data202.baselinePath;const _errs524 = errors;const _errs525 = errors;if(typeof data204 === "string"){if(!pattern0.test(data204)){const err409 = {};if(vErrors === null){vErrors = [err409];}else {vErrors.push(err409);}errors++;}}var valid144 = _errs525 === errors;if(valid144){const err410 = {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 = [err410];}else {vErrors.push(err410);}errors++;}else {errors = _errs524;if(vErrors !== null){if(_errs524){vErrors.length = _errs524;}else {vErrors = null;}}}if(typeof data204 === "string"){if(func2(data204) < 1){const err411 = {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 = [err411];}else {vErrors.push(err411);}errors++;}}else {const err412 = {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 = [err412];}else {vErrors.push(err412);}errors++;}}if(data202.tolerance !== undefined){let data205 = data202.tolerance;if(data205 && typeof data205 == "object" && !Array.isArray(data205)){if(data205.kind === undefined){const err413 = {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 = [err413];}else {vErrors.push(err413);}errors++;}if(data205.value === undefined){const err414 = {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 = [err414];}else {vErrors.push(err414);}errors++;}for(const key54 in data205){if(!((key54 === "kind") || (key54 === "value"))){const err415 = {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 = [err415];}else {vErrors.push(err415);}errors++;}}if(data205.kind !== undefined){let data206 = data205.kind;if(typeof data206 !== "string"){const err416 = {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 = [err416];}else {vErrors.push(err416);}errors++;}if(!((data206 === "absolute") || (data206 === "percent"))){const err417 = {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 = [err417];}else {vErrors.push(err417);}errors++;}}if(data205.value !== undefined){let data207 = data205.value;if((typeof data207 == "number") && (isFinite(data207))){if(data207 < 0 || isNaN(data207)){const err418 = {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 = [err418];}else {vErrors.push(err418);}errors++;}}else {const err419 = {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 = [err419];}else {vErrors.push(err419);}errors++;}}}else {const err420 = {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 = [err420];}else {vErrors.push(err420);}errors++;}}if(data202.floors !== undefined){let data208 = data202.floors;if(data208 && typeof data208 == "object" && !Array.isArray(data208)){for(const key55 in data208){let data209 = data208[key55];if(data209 && typeof data209 == "object" && !Array.isArray(data209)){for(const key56 in data209){let data210 = data209[key56];if(!((typeof data210 == "number") && (isFinite(data210)))){const err421 = {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 = [err421];}else {vErrors.push(err421);}errors++;}}}else {const err422 = {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 = [err422];}else {vErrors.push(err422);}errors++;}}}else {const err423 = {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 = [err423];}else {vErrors.push(err423);}errors++;}}if(data202.components !== undefined){let data211 = data202.components;if(data211 && typeof data211 == "object" && !Array.isArray(data211)){for(const key57 in data211){let data212 = data211[key57];if(Array.isArray(data212)){const len29 = data212.length;for(let i32=0; i32<len29; i32++){let data213 = data212[i32];if(typeof data213 === "string"){if(func2(data213) < 1){const err424 = {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 = [err424];}else {vErrors.push(err424);}errors++;}}else {const err425 = {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 = [err425];}else {vErrors.push(err425);}errors++;}}}else {const err426 = {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 = [err426];}else {vErrors.push(err426);}errors++;}}}else {const err427 = {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 = [err427];}else {vErrors.push(err427);}errors++;}}if(data202.targetDirs !== undefined){let data214 = data202.targetDirs;const _errs549 = errors;let valid151 = false;let passing2 = null;const _errs550 = errors;if(Array.isArray(data214)){const len30 = data214.length;for(let i33=0; i33<len30; i33++){if(typeof data214[i33] !== "string"){const err428 = {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 = [err428];}else {vErrors.push(err428);}errors++;}}}else {const err429 = {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 = [err429];}else {vErrors.push(err429);}errors++;}var _valid3 = _errs550 === errors;if(_valid3){valid151 = true;passing2 = 0;}const _errs554 = errors;if(data214 && typeof data214 == "object" && !Array.isArray(data214)){for(const key58 in data214){if(!((key58 === "append") || (key58 === "prepend"))){const err430 = {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 = [err430];}else {vErrors.push(err430);}errors++;}}if(data214.append !== undefined){let data216 = data214.append;if(Array.isArray(data216)){const len31 = data216.length;for(let i34=0; i34<len31; i34++){if(typeof data216[i34] !== "string"){const err431 = {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 = [err431];}else {vErrors.push(err431);}errors++;}}}else {const err432 = {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 = [err432];}else {vErrors.push(err432);}errors++;}}if(data214.prepend !== undefined){let data218 = data214.prepend;if(Array.isArray(data218)){const len32 = data218.length;for(let i35=0; i35<len32; i35++){if(typeof data218[i35] !== "string"){const err433 = {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 = [err433];}else {vErrors.push(err433);}errors++;}}}else {const err434 = {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 = [err434];}else {vErrors.push(err434);}errors++;}}}else {const err435 = {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 = [err435];}else {vErrors.push(err435);}errors++;}var _valid3 = _errs554 === errors;if(_valid3 && valid151){valid151 = false;passing2 = [passing2, 1];}else {if(_valid3){valid151 = true;passing2 = 1;}}if(!valid151){const err436 = {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 = [err436];}else {vErrors.push(err436);}errors++;}else {errors = _errs549;if(vErrors !== null){if(_errs549){vErrors.length = _errs549;}else {vErrors = null;}}}}if(data202.additionalFormats !== undefined){let data220 = data202.additionalFormats;if(Array.isArray(data220)){const len33 = data220.length;for(let i36=0; i36<len33; i36++){let data221 = data220[i36];if(typeof data221 === "string"){if(func2(data221) < 1){const err437 = {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 = [err437];}else {vErrors.push(err437);}errors++;}}else {const err438 = {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 = [err438];}else {vErrors.push(err438);}errors++;}}}else {const err439 = {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 = [err439];}else {vErrors.push(err439);}errors++;}}if(data202.ignoreGlobs !== undefined){let data222 = data202.ignoreGlobs;if(Array.isArray(data222)){const len34 = data222.length;for(let i37=0; i37<len34; i37++){let data223 = data222[i37];if(typeof data223 === "string"){if(func2(data223) < 1){const err440 = {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 = [err440];}else {vErrors.push(err440);}errors++;}}else {const err441 = {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 = [err441];}else {vErrors.push(err441);}errors++;}}}else {const err442 = {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 = [err442];}else {vErrors.push(err442);}errors++;}}}else {const err443 = {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 = [err443];}else {vErrors.push(err443);}errors++;}}}else {const err444 = {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 = [err444];}else {vErrors.push(err444);}errors++;}}if(data99.autoRefresh !== undefined){let data224 = data99.autoRefresh;if(data224 && typeof data224 == "object" && !Array.isArray(data224)){for(const key59 in data224){if(!(key59 === "enabled")){const err445 = {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 = [err445];}else {vErrors.push(err445);}errors++;}}if(data224.enabled !== undefined){if(typeof data224.enabled !== "boolean"){const err446 = {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 = [err446];}else {vErrors.push(err446);}errors++;}}}else {const err447 = {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 = [err447];}else {vErrors.push(err447);}errors++;}}if(data99.ratchets !== undefined){let data226 = data99.ratchets;if(data226 && typeof data226 == "object" && !Array.isArray(data226)){for(const key60 in data226){if(!(key60 === "coveredByLint")){const err448 = {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 = [err448];}else {vErrors.push(err448);}errors++;}}if(data226.coveredByLint !== undefined){let data227 = data226.coveredByLint;if(Array.isArray(data227)){const len35 = data227.length;for(let i38=0; i38<len35; i38++){let data228 = data227[i38];if(typeof data228 !== "string"){const err449 = {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 = [err449];}else {vErrors.push(err449);}errors++;}if(!((((data228 === "dead-exports") || (data228 === "dead-exports-production")) || (data228 === "arch-cycles")) || (data228 === "cyclomatic"))){const err450 = {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 = [err450];}else {vErrors.push(err450);}errors++;}}let i39 = data227.length;let j3;if(i39 > 1){const indices3 = {};for(;i39--;){let item3 = data227[i39];if(typeof item3 !== "string"){continue;}if(typeof indices3[item3] == "number"){j3 = indices3[item3];const err451 = {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 = [err451];}else {vErrors.push(err451);}errors++;break;}indices3[item3] = i39;}}}else {const err452 = {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 = [err452];}else {vErrors.push(err452);}errors++;}}}else {const err453 = {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 = [err453];}else {vErrors.push(err453);}errors++;}}if(data99.requireBaselines !== undefined){if(typeof data99.requireBaselines !== "boolean"){const err454 = {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 = [err454];}else {vErrors.push(err454);}errors++;}}}else {const err455 = {instancePath:instancePath+"/delivery/quality",schemaPath:"#/properties/delivery/properties/quality/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err455];}else {vErrors.push(err455);}errors++;}}if(data58.mergeWatch !== undefined){let data230 = data58.mergeWatch;if(data230 && typeof data230 == "object" && !Array.isArray(data230)){for(const key61 in data230){if(!(((key61 === "mode") || (key61 === "maxWaitSeconds")) || (key61 === "maxBudgetSeconds"))){const err456 = {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 = [err456];}else {vErrors.push(err456);}errors++;}}if(data230.mode !== undefined){let data231 = data230.mode;if(typeof data231 !== "string"){const err457 = {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 = [err457];}else {vErrors.push(err457);}errors++;}if(!((data231 === "sync") || (data231 === "async"))){const err458 = {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 = [err458];}else {vErrors.push(err458);}errors++;}}if(data230.maxWaitSeconds !== undefined){let data232 = data230.maxWaitSeconds;if(!(((typeof data232 == "number") && (!(data232 % 1) && !isNaN(data232))) && (isFinite(data232)))){const err459 = {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 = [err459];}else {vErrors.push(err459);}errors++;}if((typeof data232 == "number") && (isFinite(data232))){if(data232 < 1 || isNaN(data232)){const err460 = {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 = [err460];}else {vErrors.push(err460);}errors++;}}}if(data230.maxBudgetSeconds !== undefined){let data233 = data230.maxBudgetSeconds;if(!(((typeof data233 == "number") && (!(data233 % 1) && !isNaN(data233))) && (isFinite(data233)))){const err461 = {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 = [err461];}else {vErrors.push(err461);}errors++;}if((typeof data233 == "number") && (isFinite(data233))){if(data233 < 1 || isNaN(data233)){const err462 = {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 = [err462];}else {vErrors.push(err462);}errors++;}}}}else {const err463 = {instancePath:instancePath+"/delivery/mergeWatch",schemaPath:"#/properties/delivery/properties/mergeWatch/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err463];}else {vErrors.push(err463);}errors++;}}if(data58.close !== undefined){let data234 = data58.close;if(data234 && typeof data234 == "object" && !Array.isArray(data234)){for(const key62 in data234){if(!(key62 === "baseSync")){const err464 = {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 = [err464];}else {vErrors.push(err464);}errors++;}}if(data234.baseSync !== undefined){let data235 = data234.baseSync;if(typeof data235 !== "string"){const err465 = {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 = [err465];}else {vErrors.push(err465);}errors++;}if(!((data235 === "always") || (data235 === "on-conflict"))){const err466 = {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 = [err466];}else {vErrors.push(err466);}errors++;}}}else {const err467 = {instancePath:instancePath+"/delivery/close",schemaPath:"#/properties/delivery/properties/close/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err467];}else {vErrors.push(err467);}errors++;}}if(data58.codeReview !== undefined){let data236 = data58.codeReview;if(data236 && typeof data236 == "object" && !Array.isArray(data236)){for(const key63 in data236){if(!(((((((key63 === "providers") || (key63 === "autoFixSeverity")) || (key63 === "sensitivePaths")) || (key63 === "effortByDepth")) || (key63 === "guidanceFile")) || (key63 === "onNoVerdict")) || (key63 === "skipPaths"))){const err468 = {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 = [err468];}else {vErrors.push(err468);}errors++;}}if(data236.providers !== undefined){let data237 = data236.providers;if(Array.isArray(data237)){const len36 = data237.length;for(let i40=0; i40<len36; i40++){let data238 = data237[i40];if(data238 && typeof data238 == "object" && !Array.isArray(data238)){if(data238.name === undefined){const err469 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i40,schemaPath:"#/properties/delivery/properties/codeReview/properties/providers/items/required",keyword:"required",params:{missingProperty: "name"},message:"must have required property '"+"name"+"'"};if(vErrors === null){vErrors = [err469];}else {vErrors.push(err469);}errors++;}for(const key64 in data238){if(!(((((key64 === "name") || (key64 === "scopes")) || (key64 === "optional")) || (key64 === "manualPrompt")) || (key64 === "when"))){const err470 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i40,schemaPath:"#/properties/delivery/properties/codeReview/properties/providers/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key64},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err470];}else {vErrors.push(err470);}errors++;}}if(data238.name !== undefined){let data239 = data238.name;if(typeof data239 !== "string"){const err471 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i40+"/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 = [err471];}else {vErrors.push(err471);}errors++;}if(!((((((data239 === "native") || (data239 === "code-review")) || (data239 === "codex")) || (data239 === "llm-review")) || (data239 === "security-review")) || (data239 === "ultrareview"))){const err472 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i40+"/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 = [err472];}else {vErrors.push(err472);}errors++;}}if(data238.scopes !== undefined){let data240 = data238.scopes;if(Array.isArray(data240)){const len37 = data240.length;for(let i41=0; i41<len37; i41++){let data241 = data240[i41];if(typeof data241 !== "string"){const err473 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i40+"/scopes/" + i41,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 = [err473];}else {vErrors.push(err473);}errors++;}if(!((data241 === "story") || (data241 === "epic"))){const err474 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i40+"/scopes/" + i41,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 = [err474];}else {vErrors.push(err474);}errors++;}}}else {const err475 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i40+"/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 = [err475];}else {vErrors.push(err475);}errors++;}}if(data238.optional !== undefined){if(typeof data238.optional !== "boolean"){const err476 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i40+"/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 = [err476];}else {vErrors.push(err476);}errors++;}}if(data238.manualPrompt !== undefined){if(typeof data238.manualPrompt !== "boolean"){const err477 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i40+"/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 = [err477];}else {vErrors.push(err477);}errors++;}}if(data238.when !== undefined){let data244 = data238.when;if(data244 && typeof data244 == "object" && !Array.isArray(data244)){for(const key65 in data244){if(!((key65 === "label") || (key65 === "labelAny"))){const err478 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i40+"/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 = [err478];}else {vErrors.push(err478);}errors++;}}if(data244.label !== undefined){let data245 = data244.label;if(typeof data245 === "string"){if(func2(data245) < 1){const err479 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i40+"/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 = [err479];}else {vErrors.push(err479);}errors++;}}else {const err480 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i40+"/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 = [err480];}else {vErrors.push(err480);}errors++;}}if(data244.labelAny !== undefined){let data246 = data244.labelAny;if(Array.isArray(data246)){if(data246.length < 1){const err481 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i40+"/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 = [err481];}else {vErrors.push(err481);}errors++;}const len38 = data246.length;for(let i42=0; i42<len38; i42++){let data247 = data246[i42];if(typeof data247 === "string"){if(func2(data247) < 1){const err482 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i40+"/when/labelAny/" + i42,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 = [err482];}else {vErrors.push(err482);}errors++;}}else {const err483 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i40+"/when/labelAny/" + i42,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 = [err483];}else {vErrors.push(err483);}errors++;}}}else {const err484 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i40+"/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 = [err484];}else {vErrors.push(err484);}errors++;}}}else {const err485 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i40+"/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 = [err485];}else {vErrors.push(err485);}errors++;}}}else {const err486 = {instancePath:instancePath+"/delivery/codeReview/providers/" + i40,schemaPath:"#/properties/delivery/properties/codeReview/properties/providers/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err486];}else {vErrors.push(err486);}errors++;}}}else {const err487 = {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 = [err487];}else {vErrors.push(err487);}errors++;}}if(data236.autoFixSeverity !== undefined){let data248 = data236.autoFixSeverity;if(typeof data248 !== "string"){const err488 = {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 = [err488];}else {vErrors.push(err488);}errors++;}if(!((data248 === "high") || (data248 === "medium"))){const err489 = {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 = [err489];}else {vErrors.push(err489);}errors++;}}if(data236.sensitivePaths !== undefined){let data249 = data236.sensitivePaths;if(data249 && typeof data249 == "object" && !Array.isArray(data249)){for(const key66 in data249){const _errs632 = errors;if(typeof key66 === "string"){if(!pattern16.test(key66)){const err490 = {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 = [err490];}else {vErrors.push(err490);}errors++;}}var valid179 = _errs632 === errors;if(!valid179){const err491 = {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 = [err491];}else {vErrors.push(err491);}errors++;}}for(const key67 in data249){let data250 = data249[key67];if(data250 && typeof data250 == "object" && !Array.isArray(data250)){if(data250.filePatterns === undefined){const err492 = {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 = [err492];}else {vErrors.push(err492);}errors++;}for(const key68 in data250){if(!((key68 === "description") || (key68 === "filePatterns"))){const err493 = {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 = [err493];}else {vErrors.push(err493);}errors++;}}if(data250.description !== undefined){if(typeof data250.description !== "string"){const err494 = {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 = [err494];}else {vErrors.push(err494);}errors++;}}if(data250.filePatterns !== undefined){let data252 = data250.filePatterns;if(Array.isArray(data252)){if(data252.length < 1){const err495 = {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 = [err495];}else {vErrors.push(err495);}errors++;}const len39 = data252.length;for(let i43=0; i43<len39; i43++){let data253 = data252[i43];if(typeof data253 === "string"){if(func2(data253) < 1){const err496 = {instancePath:instancePath+"/delivery/codeReview/sensitivePaths/" + key67.replace(/~/g, "~0").replace(/\//g, "~1")+"/filePatterns/" + i43,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 = [err496];}else {vErrors.push(err496);}errors++;}}else {const err497 = {instancePath:instancePath+"/delivery/codeReview/sensitivePaths/" + key67.replace(/~/g, "~0").replace(/\//g, "~1")+"/filePatterns/" + i43,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 = [err497];}else {vErrors.push(err497);}errors++;}}}else {const err498 = {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 = [err498];}else {vErrors.push(err498);}errors++;}}}else {const err499 = {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 = [err499];}else {vErrors.push(err499);}errors++;}}}else {const err500 = {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 = [err500];}else {vErrors.push(err500);}errors++;}}if(data236.effortByDepth !== undefined){let data254 = data236.effortByDepth;if(data254 && typeof data254 == "object" && !Array.isArray(data254)){for(const key69 in data254){const _errs645 = errors;if(!(((key69 === "light") || (key69 === "standard")) || (key69 === "deep"))){const err501 = {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 = [err501];}else {vErrors.push(err501);}errors++;}var valid184 = _errs645 === errors;if(!valid184){const err502 = {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 = [err502];}else {vErrors.push(err502);}errors++;}}for(const key70 in data254){let data255 = data254[key70];if(typeof data255 !== "string"){const err503 = {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 = [err503];}else {vErrors.push(err503);}errors++;}if(!(((((data255 === "low") || (data255 === "medium")) || (data255 === "high")) || (data255 === "xhigh")) || (data255 === "max"))){const err504 = {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 = [err504];}else {vErrors.push(err504);}errors++;}}}else {const err505 = {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 = [err505];}else {vErrors.push(err505);}errors++;}}if(data236.guidanceFile !== undefined){let data256 = data236.guidanceFile;if(typeof data256 === "string"){if(func2(data256) < 1){const err506 = {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 = [err506];}else {vErrors.push(err506);}errors++;}}else {const err507 = {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 = [err507];}else {vErrors.push(err507);}errors++;}}if(data236.onNoVerdict !== undefined){let data257 = data236.onNoVerdict;if(typeof data257 !== "string"){const err508 = {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 = [err508];}else {vErrors.push(err508);}errors++;}if(!((data257 === "report") || (data257 === "block"))){const err509 = {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 = [err509];}else {vErrors.push(err509);}errors++;}}if(data236.skipPaths !== undefined){let data258 = data236.skipPaths;if(Array.isArray(data258)){const len40 = data258.length;for(let i44=0; i44<len40; i44++){let data259 = data258[i44];if(typeof data259 === "string"){if(func2(data259) < 1){const err510 = {instancePath:instancePath+"/delivery/codeReview/skipPaths/" + i44,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 = [err510];}else {vErrors.push(err510);}errors++;}}else {const err511 = {instancePath:instancePath+"/delivery/codeReview/skipPaths/" + i44,schemaPath:"#/properties/delivery/properties/codeReview/properties/skipPaths/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err511];}else {vErrors.push(err511);}errors++;}}}else {const err512 = {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 = [err512];}else {vErrors.push(err512);}errors++;}}}else {const err513 = {instancePath:instancePath+"/delivery/codeReview",schemaPath:"#/properties/delivery/properties/codeReview/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err513];}else {vErrors.push(err513);}errors++;}}if(data58.refactorStage !== undefined){let data260 = data58.refactorStage;if(data260 && typeof data260 == "object" && !Array.isArray(data260)){for(const key71 in data260){if(!(key71 === "enabled")){const err514 = {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 = [err514];}else {vErrors.push(err514);}errors++;}}if(data260.enabled !== undefined){if(typeof data260.enabled !== "boolean"){const err515 = {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 = [err515];}else {vErrors.push(err515);}errors++;}}}else {const err516 = {instancePath:instancePath+"/delivery/refactorStage",schemaPath:"#/properties/delivery/properties/refactorStage/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err516];}else {vErrors.push(err516);}errors++;}}if(data58.acceptanceEval !== undefined){let data262 = data58.acceptanceEval;if(data262 && typeof data262 == "object" && !Array.isArray(data262)){for(const key72 in data262){if(!(key72 === "maxRounds")){const err517 = {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 = [err517];}else {vErrors.push(err517);}errors++;}}if(data262.maxRounds !== undefined){let data263 = data262.maxRounds;if(!(((typeof data263 == "number") && (!(data263 % 1) && !isNaN(data263))) && (isFinite(data263)))){const err518 = {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 = [err518];}else {vErrors.push(err518);}errors++;}if((typeof data263 == "number") && (isFinite(data263))){if(data263 < 0 || isNaN(data263)){const err519 = {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 = [err519];}else {vErrors.push(err519);}errors++;}}}}else {const err520 = {instancePath:instancePath+"/delivery/acceptanceEval",schemaPath:"#/properties/delivery/properties/acceptanceEval/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err520];}else {vErrors.push(err520);}errors++;}}if(data58.feedbackLoop !== undefined){let data264 = data58.feedbackLoop;if(data264 && typeof data264 == "object" && !Array.isArray(data264)){for(const key73 in data264){if(!((key73 === "retroProposals") || (key73 === "outcomeRecord"))){const err521 = {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 = [err521];}else {vErrors.push(err521);}errors++;}}if(data264.retroProposals !== undefined){if(typeof data264.retroProposals !== "boolean"){const err522 = {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 = [err522];}else {vErrors.push(err522);}errors++;}}if(data264.outcomeRecord !== undefined){if(typeof data264.outcomeRecord !== "boolean"){const err523 = {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 = [err523];}else {vErrors.push(err523);}errors++;}}}else {const err524 = {instancePath:instancePath+"/delivery/feedbackLoop",schemaPath:"#/properties/delivery/properties/feedbackLoop/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err524];}else {vErrors.push(err524);}errors++;}}if(data58.ci !== undefined){let data267 = data58.ci;if(data267 && typeof data267 == "object" && !Array.isArray(data267)){for(const key74 in data267){if(!((((key74 === "autoMerge") || (key74 === "blockOnAdvisoryFailure")) || (key74 === "advisoryAllowlist")) || (key74 === "rerunAdvisory"))){const err525 = {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 = [err525];}else {vErrors.push(err525);}errors++;}}if(data267.autoMerge !== undefined){let data268 = data267.autoMerge;if(typeof data268 !== "string"){const err526 = {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 = [err526];}else {vErrors.push(err526);}errors++;}if(!((data268 === "trust-ci") || (data268 === "strict"))){const err527 = {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 = [err527];}else {vErrors.push(err527);}errors++;}}if(data267.blockOnAdvisoryFailure !== undefined){if(typeof data267.blockOnAdvisoryFailure !== "boolean"){const err528 = {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 = [err528];}else {vErrors.push(err528);}errors++;}}if(data267.advisoryAllowlist !== undefined){let data270 = data267.advisoryAllowlist;if(Array.isArray(data270)){const len41 = data270.length;for(let i45=0; i45<len41; i45++){if(typeof data270[i45] !== "string"){const err529 = {instancePath:instancePath+"/delivery/ci/advisoryAllowlist/" + i45,schemaPath:"#/properties/delivery/properties/ci/properties/advisoryAllowlist/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err529];}else {vErrors.push(err529);}errors++;}}}else {const err530 = {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 = [err530];}else {vErrors.push(err530);}errors++;}}if(data267.rerunAdvisory !== undefined){let data272 = data267.rerunAdvisory;if(!(((typeof data272 == "number") && (!(data272 % 1) && !isNaN(data272))) && (isFinite(data272)))){const err531 = {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 = [err531];}else {vErrors.push(err531);}errors++;}if((typeof data272 == "number") && (isFinite(data272))){if(data272 < 0 || isNaN(data272)){const err532 = {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 = [err532];}else {vErrors.push(err532);}errors++;}}}}else {const err533 = {instancePath:instancePath+"/delivery/ci",schemaPath:"#/properties/delivery/properties/ci/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err533];}else {vErrors.push(err533);}errors++;}}if(data58.pullRequest !== undefined){let data273 = data58.pullRequest;if(data273 && typeof data273 == "object" && !Array.isArray(data273)){for(const key75 in data273){if(!(key75 === "bodyTrailers")){const err534 = {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 = [err534];}else {vErrors.push(err534);}errors++;}}if(data273.bodyTrailers !== undefined){let data274 = data273.bodyTrailers;if(Array.isArray(data274)){const len42 = data274.length;for(let i46=0; i46<len42; i46++){let data275 = data274[i46];if(typeof data275 === "string"){if(!pattern30.test(data275)){const err535 = {instancePath:instancePath+"/delivery/pullRequest/bodyTrailers/" + i46,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 = [err535];}else {vErrors.push(err535);}errors++;}}else {const err536 = {instancePath:instancePath+"/delivery/pullRequest/bodyTrailers/" + i46,schemaPath:"#/properties/delivery/properties/pullRequest/properties/bodyTrailers/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err536];}else {vErrors.push(err536);}errors++;}}let i47 = data274.length;let j4;if(i47 > 1){const indices4 = {};for(;i47--;){let item4 = data274[i47];if(typeof item4 !== "string"){continue;}if(typeof indices4[item4] == "number"){j4 = indices4[item4];const err537 = {instancePath:instancePath+"/delivery/pullRequest/bodyTrailers",schemaPath:"#/properties/delivery/properties/pullRequest/properties/bodyTrailers/uniqueItems",keyword:"uniqueItems",params:{i: i47, j: j4},message:"must NOT have duplicate items (items ## "+j4+" and "+i47+" are identical)"};if(vErrors === null){vErrors = [err537];}else {vErrors.push(err537);}errors++;break;}indices4[item4] = i47;}}}else {const err538 = {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 = [err538];}else {vErrors.push(err538);}errors++;}}}else {const err539 = {instancePath:instancePath+"/delivery/pullRequest",schemaPath:"#/properties/delivery/properties/pullRequest/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err539];}else {vErrors.push(err539);}errors++;}}if(data58.handoff !== undefined){let data276 = data58.handoff;if(data276 && typeof data276 == "object" && !Array.isArray(data276)){for(const key76 in data276){if(!(key76 === "postSeatChecks")){const err540 = {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 = [err540];}else {vErrors.push(err540);}errors++;}}if(data276.postSeatChecks !== undefined){let data277 = data276.postSeatChecks;if(Array.isArray(data277)){const len43 = data277.length;for(let i48=0; i48<len43; i48++){let data278 = data277[i48];if(data278 && typeof data278 == "object" && !Array.isArray(data278)){if(data278.cmd === undefined){const err541 = {instancePath:instancePath+"/delivery/handoff/postSeatChecks/" + i48,schemaPath:"#/properties/delivery/properties/handoff/properties/postSeatChecks/items/required",keyword:"required",params:{missingProperty: "cmd"},message:"must have required property '"+"cmd"+"'"};if(vErrors === null){vErrors = [err541];}else {vErrors.push(err541);}errors++;}for(const key77 in data278){if(!((key77 === "cmd") || (key77 === "args"))){const err542 = {instancePath:instancePath+"/delivery/handoff/postSeatChecks/" + i48,schemaPath:"#/properties/delivery/properties/handoff/properties/postSeatChecks/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key77},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err542];}else {vErrors.push(err542);}errors++;}}if(data278.cmd !== undefined){let data279 = data278.cmd;if(typeof data279 === "string"){if(func2(data279) < 1){const err543 = {instancePath:instancePath+"/delivery/handoff/postSeatChecks/" + i48+"/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 = [err543];}else {vErrors.push(err543);}errors++;}}else {const err544 = {instancePath:instancePath+"/delivery/handoff/postSeatChecks/" + i48+"/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 = [err544];}else {vErrors.push(err544);}errors++;}}if(data278.args !== undefined){let data280 = data278.args;if(Array.isArray(data280)){const len44 = data280.length;for(let i49=0; i49<len44; i49++){if(typeof data280[i49] !== "string"){const err545 = {instancePath:instancePath+"/delivery/handoff/postSeatChecks/" + i48+"/args/" + i49,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 = [err545];}else {vErrors.push(err545);}errors++;}}}else {const err546 = {instancePath:instancePath+"/delivery/handoff/postSeatChecks/" + i48+"/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 = [err546];}else {vErrors.push(err546);}errors++;}}}else {const err547 = {instancePath:instancePath+"/delivery/handoff/postSeatChecks/" + i48,schemaPath:"#/properties/delivery/properties/handoff/properties/postSeatChecks/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err547];}else {vErrors.push(err547);}errors++;}}}else {const err548 = {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 = [err548];}else {vErrors.push(err548);}errors++;}}}else {const err549 = {instancePath:instancePath+"/delivery/handoff",schemaPath:"#/properties/delivery/properties/handoff/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err549];}else {vErrors.push(err549);}errors++;}}if(data58.routing !== undefined){let data282 = data58.routing;if(data282 && typeof data282 == "object" && !Array.isArray(data282)){for(const key78 in data282){if(!((((key78 === "roleScopedAgents") || (key78 === "ceremonyProfile")) || (key78 === "closeAndLand")) || (key78 === "agentModels"))){const err550 = {instancePath:instancePath+"/delivery/routing",schemaPath:"#/properties/delivery/properties/routing/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key78},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err550];}else {vErrors.push(err550);}errors++;}}if(data282.roleScopedAgents !== undefined){if(typeof data282.roleScopedAgents !== "boolean"){const err551 = {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 = [err551];}else {vErrors.push(err551);}errors++;}}if(data282.ceremonyProfile !== undefined){let data284 = data282.ceremonyProfile;if(typeof data284 !== "string"){const err552 = {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 = [err552];}else {vErrors.push(err552);}errors++;}if(!(((data284 === "minimal") || (data284 === "standard")) || (data284 === "strict"))){const err553 = {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 = [err553];}else {vErrors.push(err553);}errors++;}}if(data282.closeAndLand !== undefined){if(typeof data282.closeAndLand !== "boolean"){const err554 = {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 = [err554];}else {vErrors.push(err554);}errors++;}}if(data282.agentModels !== undefined){let data286 = data282.agentModels;if(data286 && typeof data286 == "object" && !Array.isArray(data286)){for(const key79 in data286){const _errs719 = errors;if(!((((key79 === "story-worker") || (key79 === "acceptance-critic")) || (key79 === "plan-critic")) || (key79 === "auditor"))){const err555 = {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:key79};if(vErrors === null){vErrors = [err555];}else {vErrors.push(err555);}errors++;}var valid205 = _errs719 === errors;if(!valid205){const err556 = {instancePath:instancePath+"/delivery/routing/agentModels",schemaPath:"#/properties/delivery/properties/routing/properties/agentModels/propertyNames",keyword:"propertyNames",params:{propertyName: key79},message:"property name must be valid"};if(vErrors === null){vErrors = [err556];}else {vErrors.push(err556);}errors++;}}for(const key80 in data286){let data287 = data286[key80];if(typeof data287 === "string"){if(!pattern31.test(data287)){const err557 = {instancePath:instancePath+"/delivery/routing/agentModels/" + key80.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 = [err557];}else {vErrors.push(err557);}errors++;}}else {const err558 = {instancePath:instancePath+"/delivery/routing/agentModels/" + key80.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 = [err558];}else {vErrors.push(err558);}errors++;}}}else {const err559 = {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 = [err559];}else {vErrors.push(err559);}errors++;}}}else {const err560 = {instancePath:instancePath+"/delivery/routing",schemaPath:"#/properties/delivery/properties/routing/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",schemaPath:"#/properties/delivery/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err561];}else {vErrors.push(err561);}errors++;}}if(data.qa !== undefined){let data288 = data.qa;if(data288 && typeof data288 == "object" && !Array.isArray(data288)){for(const key81 in data288){if(!(((((((key81 === "featureRoot") || (key81 === "fixturesManifest")) || (key81 === "environments")) || (key81 === "personas")) || (key81 === "gherkinLint")) || (key81 === "consoleAllowlist")) || (key81 === "designTokens"))){const err562 = {instancePath:instancePath+"/qa",schemaPath:"#/properties/qa/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key81},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err562];}else {vErrors.push(err562);}errors++;}}if(data288.featureRoot !== undefined){let data289 = data288.featureRoot;const _errs728 = errors;const _errs729 = errors;if(typeof data289 === "string"){if(!pattern0.test(data289)){const err563 = {};if(vErrors === null){vErrors = [err563];}else {vErrors.push(err563);}errors++;}}var valid208 = _errs729 === errors;if(valid208){const err564 = {instancePath:instancePath+"/qa/featureRoot",schemaPath:"#/properties/qa/properties/featureRoot/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err564];}else {vErrors.push(err564);}errors++;}else {errors = _errs728;if(vErrors !== null){if(_errs728){vErrors.length = _errs728;}else {vErrors = null;}}}if(typeof data289 === "string"){if(func2(data289) < 1){const err565 = {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 = [err565];}else {vErrors.push(err565);}errors++;}}else {const err566 = {instancePath:instancePath+"/qa/featureRoot",schemaPath:"#/properties/qa/properties/featureRoot/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err566];}else {vErrors.push(err566);}errors++;}}if(data288.fixturesManifest !== undefined){let data290 = data288.fixturesManifest;const _errs732 = errors;const _errs733 = errors;if(typeof data290 === "string"){if(!pattern0.test(data290)){const err567 = {};if(vErrors === null){vErrors = [err567];}else {vErrors.push(err567);}errors++;}}var valid209 = _errs733 === errors;if(valid209){const err568 = {instancePath:instancePath+"/qa/fixturesManifest",schemaPath:"#/properties/qa/properties/fixturesManifest/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err568];}else {vErrors.push(err568);}errors++;}else {errors = _errs732;if(vErrors !== null){if(_errs732){vErrors.length = _errs732;}else {vErrors = null;}}}if(typeof data290 === "string"){if(func2(data290) < 1){const err569 = {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 = [err569];}else {vErrors.push(err569);}errors++;}}else {const err570 = {instancePath:instancePath+"/qa/fixturesManifest",schemaPath:"#/properties/qa/properties/fixturesManifest/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err570];}else {vErrors.push(err570);}errors++;}}if(data288.environments !== undefined){let data291 = data288.environments;if(data291 && typeof data291 == "object" && !Array.isArray(data291)){if(Object.keys(data291).length < 1){const err571 = {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 = [err571];}else {vErrors.push(err571);}errors++;}for(const key82 in data291){let data292 = data291[key82];if(data292 && typeof data292 == "object" && !Array.isArray(data292)){if(data292.baseUrl === undefined){const err572 = {instancePath:instancePath+"/qa/environments/" + key82.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 = [err572];}else {vErrors.push(err572);}errors++;}for(const key83 in data292){if(!((((key83 === "baseUrl") || (key83 === "signInSeam")) || (key83 === "allowWrites")) || (key83 === "database"))){const err573 = {instancePath:instancePath+"/qa/environments/" + key82.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/qa/properties/environments/additionalProperties/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key83},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err573];}else {vErrors.push(err573);}errors++;}}if(data292.baseUrl !== undefined){let data293 = data292.baseUrl;const _errs742 = errors;const _errs743 = errors;if(typeof data293 === "string"){if(!pattern0.test(data293)){const err574 = {};if(vErrors === null){vErrors = [err574];}else {vErrors.push(err574);}errors++;}}var valid212 = _errs743 === errors;if(valid212){const err575 = {instancePath:instancePath+"/qa/environments/" + key82.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 = [err575];}else {vErrors.push(err575);}errors++;}else {errors = _errs742;if(vErrors !== null){if(_errs742){vErrors.length = _errs742;}else {vErrors = null;}}}if(typeof data293 === "string"){if(func2(data293) < 1){const err576 = {instancePath:instancePath+"/qa/environments/" + key82.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 = [err576];}else {vErrors.push(err576);}errors++;}}else {const err577 = {instancePath:instancePath+"/qa/environments/" + key82.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 = [err577];}else {vErrors.push(err577);}errors++;}}if(data292.signInSeam !== undefined){let data294 = data292.signInSeam;const _errs745 = errors;let valid213 = false;let passing3 = null;const _errs746 = errors;if(data294 && typeof data294 == "object" && !Array.isArray(data294)){if(data294.urlTemplate === undefined){const err578 = {instancePath:instancePath+"/qa/environments/" + key82.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 = [err578];}else {vErrors.push(err578);}errors++;}for(const key84 in data294){if(!(key84 === "urlTemplate")){const err579 = {instancePath:instancePath+"/qa/environments/" + key82.replace(/~/g, "~0").replace(/\//g, "~1")+"/signInSeam",schemaPath:"#/properties/qa/properties/environments/additionalProperties/properties/signInSeam/oneOf/0/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key84},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err579];}else {vErrors.push(err579);}errors++;}}if(data294.urlTemplate !== undefined){let data295 = data294.urlTemplate;const _errs751 = errors;const _errs752 = errors;if(typeof data295 === "string"){if(!pattern0.test(data295)){const err580 = {};if(vErrors === null){vErrors = [err580];}else {vErrors.push(err580);}errors++;}}var valid215 = _errs752 === errors;if(valid215){const err581 = {instancePath:instancePath+"/qa/environments/" + key82.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 = [err581];}else {vErrors.push(err581);}errors++;}else {errors = _errs751;if(vErrors !== null){if(_errs751){vErrors.length = _errs751;}else {vErrors = null;}}}if(typeof data295 === "string"){if(func2(data295) < 1){const err582 = {instancePath:instancePath+"/qa/environments/" + key82.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 = [err582];}else {vErrors.push(err582);}errors++;}}else {const err583 = {instancePath:instancePath+"/qa/environments/" + key82.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 = [err583];}else {vErrors.push(err583);}errors++;}}}else {const err584 = {instancePath:instancePath+"/qa/environments/" + key82.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 = [err584];}else {vErrors.push(err584);}errors++;}var _valid4 = _errs746 === errors;if(_valid4){valid213 = true;passing3 = 0;}const _errs753 = errors;if(data294 && typeof data294 == "object" && !Array.isArray(data294)){if(data294.skill === undefined){const err585 = {instancePath:instancePath+"/qa/environments/" + key82.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 = [err585];}else {vErrors.push(err585);}errors++;}for(const key85 in data294){if(!(key85 === "skill")){const err586 = {instancePath:instancePath+"/qa/environments/" + key82.replace(/~/g, "~0").replace(/\//g, "~1")+"/signInSeam",schemaPath:"#/properties/qa/properties/environments/additionalProperties/properties/signInSeam/oneOf/1/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key85},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err586];}else {vErrors.push(err586);}errors++;}}if(data294.skill !== undefined){let data296 = data294.skill;const _errs758 = errors;const _errs759 = errors;if(typeof data296 === "string"){if(!pattern0.test(data296)){const err587 = {};if(vErrors === null){vErrors = [err587];}else {vErrors.push(err587);}errors++;}}var valid217 = _errs759 === errors;if(valid217){const err588 = {instancePath:instancePath+"/qa/environments/" + key82.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 = [err588];}else {vErrors.push(err588);}errors++;}else {errors = _errs758;if(vErrors !== null){if(_errs758){vErrors.length = _errs758;}else {vErrors = null;}}}if(typeof data296 === "string"){if(func2(data296) < 1){const err589 = {instancePath:instancePath+"/qa/environments/" + key82.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 = [err589];}else {vErrors.push(err589);}errors++;}if(!pattern37.test(data296)){const err590 = {instancePath:instancePath+"/qa/environments/" + key82.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 = [err590];}else {vErrors.push(err590);}errors++;}}else {const err591 = {instancePath:instancePath+"/qa/environments/" + key82.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 = [err591];}else {vErrors.push(err591);}errors++;}}}else {const err592 = {instancePath:instancePath+"/qa/environments/" + key82.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 = [err592];}else {vErrors.push(err592);}errors++;}var _valid4 = _errs753 === errors;if(_valid4 && valid213){valid213 = false;passing3 = [passing3, 1];}else {if(_valid4){valid213 = true;passing3 = 1;}}if(!valid213){const err593 = {instancePath:instancePath+"/qa/environments/" + key82.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 = [err593];}else {vErrors.push(err593);}errors++;}else {errors = _errs745;if(vErrors !== null){if(_errs745){vErrors.length = _errs745;}else {vErrors = null;}}}}if(data292.allowWrites !== undefined){if(typeof data292.allowWrites !== "boolean"){const err594 = {instancePath:instancePath+"/qa/environments/" + key82.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 = [err594];}else {vErrors.push(err594);}errors++;}}if(data292.database !== undefined){let data298 = data292.database;if(data298 && typeof data298 == "object" && !Array.isArray(data298)){if(data298.urlEnv === undefined){const err595 = {instancePath:instancePath+"/qa/environments/" + key82.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 = [err595];}else {vErrors.push(err595);}errors++;}for(const key86 in data298){if(!((key86 === "urlEnv") || (key86 === "allowAudit"))){const err596 = {instancePath:instancePath+"/qa/environments/" + key82.replace(/~/g, "~0").replace(/\//g, "~1")+"/database",schemaPath:"#/properties/qa/properties/environments/additionalProperties/properties/database/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key86},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err596];}else {vErrors.push(err596);}errors++;}}if(data298.urlEnv !== undefined){let data299 = data298.urlEnv;if(typeof data299 === "string"){if(!pattern38.test(data299)){const err597 = {instancePath:instancePath+"/qa/environments/" + key82.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 = [err597];}else {vErrors.push(err597);}errors++;}}else {const err598 = {instancePath:instancePath+"/qa/environments/" + key82.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 = [err598];}else {vErrors.push(err598);}errors++;}}if(data298.allowAudit !== undefined){if(typeof data298.allowAudit !== "boolean"){const err599 = {instancePath:instancePath+"/qa/environments/" + key82.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 = [err599];}else {vErrors.push(err599);}errors++;}}}else {const err600 = {instancePath:instancePath+"/qa/environments/" + key82.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 = [err600];}else {vErrors.push(err600);}errors++;}}}else {const err601 = {instancePath:instancePath+"/qa/environments/" + key82.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 = [err601];}else {vErrors.push(err601);}errors++;}}}else {const err602 = {instancePath:instancePath+"/qa/environments",schemaPath:"#/properties/qa/properties/environments/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err602];}else {vErrors.push(err602);}errors++;}}if(data288.personas !== undefined){let data301 = data288.personas;const _errs770 = errors;let valid219 = false;let passing4 = null;const _errs771 = errors;if(Array.isArray(data301)){if(data301.length < 1){const err603 = {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 = [err603];}else {vErrors.push(err603);}errors++;}const len45 = data301.length;for(let i50=0; i50<len45; i50++){let data302 = data301[i50];const _errs775 = errors;const _errs776 = errors;if(typeof data302 === "string"){if(!pattern0.test(data302)){const err604 = {};if(vErrors === null){vErrors = [err604];}else {vErrors.push(err604);}errors++;}}var valid222 = _errs776 === errors;if(valid222){const err605 = {instancePath:instancePath+"/qa/personas/" + i50,schemaPath:"#/properties/qa/properties/personas/oneOf/0/items/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err605];}else {vErrors.push(err605);}errors++;}else {errors = _errs775;if(vErrors !== null){if(_errs775){vErrors.length = _errs775;}else {vErrors = null;}}}if(typeof data302 === "string"){if(func2(data302) < 1){const err606 = {instancePath:instancePath+"/qa/personas/" + i50,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 = [err606];}else {vErrors.push(err606);}errors++;}}else {const err607 = {instancePath:instancePath+"/qa/personas/" + i50,schemaPath:"#/properties/qa/properties/personas/oneOf/0/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err607];}else {vErrors.push(err607);}errors++;}}}else {const err608 = {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 = [err608];}else {vErrors.push(err608);}errors++;}var _valid5 = _errs771 === errors;if(_valid5){valid219 = true;passing4 = 0;}const _errs777 = errors;if(data301 && typeof data301 == "object" && !Array.isArray(data301)){if(Object.keys(data301).length < 1){const err609 = {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 = [err609];}else {vErrors.push(err609);}errors++;}for(const key87 in data301){let data303 = data301[key87];const _errs781 = errors;let valid224 = false;let passing5 = null;const _errs782 = errors;if(data303 && typeof data303 == "object" && !Array.isArray(data303)){if(data303.credentialRef === undefined){const err610 = {instancePath:instancePath+"/qa/personas/" + key87.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 = [err610];}else {vErrors.push(err610);}errors++;}for(const key88 in data303){if(!(key88 === "credentialRef")){const err611 = {instancePath:instancePath+"/qa/personas/" + key87.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/qa/properties/personas/oneOf/1/additionalProperties/oneOf/0/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key88},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err611];}else {vErrors.push(err611);}errors++;}}if(data303.credentialRef !== undefined){let data304 = data303.credentialRef;const _errs787 = errors;const _errs788 = errors;if(typeof data304 === "string"){if(!pattern0.test(data304)){const err612 = {};if(vErrors === null){vErrors = [err612];}else {vErrors.push(err612);}errors++;}}var valid226 = _errs788 === errors;if(valid226){const err613 = {instancePath:instancePath+"/qa/personas/" + key87.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 = [err613];}else {vErrors.push(err613);}errors++;}else {errors = _errs787;if(vErrors !== null){if(_errs787){vErrors.length = _errs787;}else {vErrors = null;}}}if(typeof data304 === "string"){if(func2(data304) < 1){const err614 = {instancePath:instancePath+"/qa/personas/" + key87.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 = [err614];}else {vErrors.push(err614);}errors++;}}else {const err615 = {instancePath:instancePath+"/qa/personas/" + key87.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 = [err615];}else {vErrors.push(err615);}errors++;}}}else {const err616 = {instancePath:instancePath+"/qa/personas/" + key87.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 = [err616];}else {vErrors.push(err616);}errors++;}var _valid6 = _errs782 === errors;if(_valid6){valid224 = true;passing5 = 0;}const _errs789 = errors;if(data303 && typeof data303 == "object" && !Array.isArray(data303)){if(data303.signInSkill === undefined){const err617 = {instancePath:instancePath+"/qa/personas/" + key87.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 = [err617];}else {vErrors.push(err617);}errors++;}for(const key89 in data303){if(!(key89 === "signInSkill")){const err618 = {instancePath:instancePath+"/qa/personas/" + key87.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/qa/properties/personas/oneOf/1/additionalProperties/oneOf/1/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key89},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err618];}else {vErrors.push(err618);}errors++;}}if(data303.signInSkill !== undefined){let data305 = data303.signInSkill;const _errs794 = errors;const _errs795 = errors;if(typeof data305 === "string"){if(!pattern0.test(data305)){const err619 = {};if(vErrors === null){vErrors = [err619];}else {vErrors.push(err619);}errors++;}}var valid228 = _errs795 === errors;if(valid228){const err620 = {instancePath:instancePath+"/qa/personas/" + key87.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 = [err620];}else {vErrors.push(err620);}errors++;}else {errors = _errs794;if(vErrors !== null){if(_errs794){vErrors.length = _errs794;}else {vErrors = null;}}}if(typeof data305 === "string"){if(func2(data305) < 1){const err621 = {instancePath:instancePath+"/qa/personas/" + key87.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 = [err621];}else {vErrors.push(err621);}errors++;}}else {const err622 = {instancePath:instancePath+"/qa/personas/" + key87.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 = [err622];}else {vErrors.push(err622);}errors++;}}}else {const err623 = {instancePath:instancePath+"/qa/personas/" + key87.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 = [err623];}else {vErrors.push(err623);}errors++;}var _valid6 = _errs789 === errors;if(_valid6 && valid224){valid224 = false;passing5 = [passing5, 1];}else {if(_valid6){valid224 = true;passing5 = 1;}}if(!valid224){const err624 = {instancePath:instancePath+"/qa/personas/" + key87.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 = [err624];}else {vErrors.push(err624);}errors++;}else {errors = _errs781;if(vErrors !== null){if(_errs781){vErrors.length = _errs781;}else {vErrors = null;}}}}}else {const err625 = {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 = [err625];}else {vErrors.push(err625);}errors++;}var _valid5 = _errs777 === errors;if(_valid5 && valid219){valid219 = false;passing4 = [passing4, 1];}else {if(_valid5){valid219 = true;passing4 = 1;}}if(!valid219){const err626 = {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 = [err626];}else {vErrors.push(err626);}errors++;}else {errors = _errs770;if(vErrors !== null){if(_errs770){vErrors.length = _errs770;}else {vErrors = null;}}}}if(data288.gherkinLint !== undefined){let data306 = data288.gherkinLint;if(data306 && typeof data306 == "object" && !Array.isArray(data306)){if(data306.scopes === undefined){const err627 = {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 = [err627];}else {vErrors.push(err627);}errors++;}for(const key90 in data306){if(!(((key90 === "scopes") || (key90 === "exemptionTags")) || (key90 === "stepWaivers"))){const err628 = {instancePath:instancePath+"/qa/gherkinLint",schemaPath:"#/properties/qa/properties/gherkinLint/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key90},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err628];}else {vErrors.push(err628);}errors++;}}if(data306.scopes !== undefined){let data307 = data306.scopes;if(data307 && typeof data307 == "object" && !Array.isArray(data307)){if(Object.keys(data307).length < 1){const err629 = {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 = [err629];}else {vErrors.push(err629);}errors++;}for(const key91 in data307){let data308 = data307[key91];if(data308 && typeof data308 == "object" && !Array.isArray(data308)){if(data308.featureRoots === undefined){const err630 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key91.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 = [err630];}else {vErrors.push(err630);}errors++;}if(data308.stepRoots === undefined){const err631 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key91.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 = [err631];}else {vErrors.push(err631);}errors++;}for(const key92 in data308){if(!((key92 === "featureRoots") || (key92 === "stepRoots"))){const err632 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key91.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/properties/qa/properties/gherkinLint/properties/scopes/additionalProperties/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key92},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err632];}else {vErrors.push(err632);}errors++;}}if(data308.featureRoots !== undefined){let data309 = data308.featureRoots;if(Array.isArray(data309)){if(data309.length < 1){const err633 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key91.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 = [err633];}else {vErrors.push(err633);}errors++;}const len46 = data309.length;for(let i51=0; i51<len46; i51++){let data310 = data309[i51];const _errs809 = errors;const _errs810 = errors;if(typeof data310 === "string"){if(!pattern0.test(data310)){const err634 = {};if(vErrors === null){vErrors = [err634];}else {vErrors.push(err634);}errors++;}}var valid234 = _errs810 === errors;if(valid234){const err635 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key91.replace(/~/g, "~0").replace(/\//g, "~1")+"/featureRoots/" + i51,schemaPath:"#/properties/qa/properties/gherkinLint/properties/scopes/additionalProperties/properties/featureRoots/items/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err635];}else {vErrors.push(err635);}errors++;}else {errors = _errs809;if(vErrors !== null){if(_errs809){vErrors.length = _errs809;}else {vErrors = null;}}}if(typeof data310 === "string"){if(func2(data310) < 1){const err636 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key91.replace(/~/g, "~0").replace(/\//g, "~1")+"/featureRoots/" + i51,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 = [err636];}else {vErrors.push(err636);}errors++;}}else {const err637 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key91.replace(/~/g, "~0").replace(/\//g, "~1")+"/featureRoots/" + i51,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 = [err637];}else {vErrors.push(err637);}errors++;}}}else {const err638 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key91.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 = [err638];}else {vErrors.push(err638);}errors++;}}if(data308.stepRoots !== undefined){let data311 = data308.stepRoots;if(Array.isArray(data311)){if(data311.length < 1){const err639 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key91.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 = [err639];}else {vErrors.push(err639);}errors++;}const len47 = data311.length;for(let i52=0; i52<len47; i52++){let data312 = data311[i52];const _errs815 = errors;const _errs816 = errors;if(typeof data312 === "string"){if(!pattern0.test(data312)){const err640 = {};if(vErrors === null){vErrors = [err640];}else {vErrors.push(err640);}errors++;}}var valid237 = _errs816 === errors;if(valid237){const err641 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key91.replace(/~/g, "~0").replace(/\//g, "~1")+"/stepRoots/" + i52,schemaPath:"#/properties/qa/properties/gherkinLint/properties/scopes/additionalProperties/properties/stepRoots/items/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err641];}else {vErrors.push(err641);}errors++;}else {errors = _errs815;if(vErrors !== null){if(_errs815){vErrors.length = _errs815;}else {vErrors = null;}}}if(typeof data312 === "string"){if(func2(data312) < 1){const err642 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key91.replace(/~/g, "~0").replace(/\//g, "~1")+"/stepRoots/" + i52,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 = [err642];}else {vErrors.push(err642);}errors++;}}else {const err643 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key91.replace(/~/g, "~0").replace(/\//g, "~1")+"/stepRoots/" + i52,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 = [err643];}else {vErrors.push(err643);}errors++;}}}else {const err644 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key91.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 = [err644];}else {vErrors.push(err644);}errors++;}}}else {const err645 = {instancePath:instancePath+"/qa/gherkinLint/scopes/" + key91.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 = [err645];}else {vErrors.push(err645);}errors++;}}}else {const err646 = {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 = [err646];}else {vErrors.push(err646);}errors++;}}if(data306.exemptionTags !== undefined){let data313 = data306.exemptionTags;if(Array.isArray(data313)){const len48 = data313.length;for(let i53=0; i53<len48; i53++){let data314 = data313[i53];const _errs821 = errors;const _errs822 = errors;if(typeof data314 === "string"){if(!pattern0.test(data314)){const err647 = {};if(vErrors === null){vErrors = [err647];}else {vErrors.push(err647);}errors++;}}var valid240 = _errs822 === errors;if(valid240){const err648 = {instancePath:instancePath+"/qa/gherkinLint/exemptionTags/" + i53,schemaPath:"#/properties/qa/properties/gherkinLint/properties/exemptionTags/items/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err648];}else {vErrors.push(err648);}errors++;}else {errors = _errs821;if(vErrors !== null){if(_errs821){vErrors.length = _errs821;}else {vErrors = null;}}}if(typeof data314 === "string"){if(func2(data314) < 1){const err649 = {instancePath:instancePath+"/qa/gherkinLint/exemptionTags/" + i53,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 = [err649];}else {vErrors.push(err649);}errors++;}}else {const err650 = {instancePath:instancePath+"/qa/gherkinLint/exemptionTags/" + i53,schemaPath:"#/properties/qa/properties/gherkinLint/properties/exemptionTags/items/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/gherkinLint/exemptionTags",schemaPath:"#/properties/qa/properties/gherkinLint/properties/exemptionTags/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err651];}else {vErrors.push(err651);}errors++;}}if(data306.stepWaivers !== undefined){let data315 = data306.stepWaivers;if(Array.isArray(data315)){const len49 = data315.length;for(let i54=0; i54<len49; i54++){let data316 = data315[i54];if(typeof data316 === "string"){if(func2(data316) < 1){const err652 = {instancePath:instancePath+"/qa/gherkinLint/stepWaivers/" + i54,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 = [err652];}else {vErrors.push(err652);}errors++;}}else {const err653 = {instancePath:instancePath+"/qa/gherkinLint/stepWaivers/" + i54,schemaPath:"#/properties/qa/properties/gherkinLint/properties/stepWaivers/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err653];}else {vErrors.push(err653);}errors++;}}}else {const err654 = {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 = [err654];}else {vErrors.push(err654);}errors++;}}}else {const err655 = {instancePath:instancePath+"/qa/gherkinLint",schemaPath:"#/properties/qa/properties/gherkinLint/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err655];}else {vErrors.push(err655);}errors++;}}if(data288.consoleAllowlist !== undefined){let data317 = data288.consoleAllowlist;if(Array.isArray(data317)){const len50 = data317.length;for(let i55=0; i55<len50; i55++){let data318 = data317[i55];const _errs831 = errors;const _errs832 = errors;if(typeof data318 === "string"){if(!pattern0.test(data318)){const err656 = {};if(vErrors === null){vErrors = [err656];}else {vErrors.push(err656);}errors++;}}var valid245 = _errs832 === errors;if(valid245){const err657 = {instancePath:instancePath+"/qa/consoleAllowlist/" + i55,schemaPath:"#/properties/qa/properties/consoleAllowlist/items/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err657];}else {vErrors.push(err657);}errors++;}else {errors = _errs831;if(vErrors !== null){if(_errs831){vErrors.length = _errs831;}else {vErrors = null;}}}if(typeof data318 === "string"){if(func2(data318) < 1){const err658 = {instancePath:instancePath+"/qa/consoleAllowlist/" + i55,schemaPath:"#/properties/qa/properties/consoleAllowlist/items/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err658];}else {vErrors.push(err658);}errors++;}}else {const err659 = {instancePath:instancePath+"/qa/consoleAllowlist/" + i55,schemaPath:"#/properties/qa/properties/consoleAllowlist/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err659];}else {vErrors.push(err659);}errors++;}}}else {const err660 = {instancePath:instancePath+"/qa/consoleAllowlist",schemaPath:"#/properties/qa/properties/consoleAllowlist/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err660];}else {vErrors.push(err660);}errors++;}}if(data288.designTokens !== undefined){let data319 = data288.designTokens;const _errs835 = errors;const _errs836 = errors;if(typeof data319 === "string"){if(!pattern0.test(data319)){const err661 = {};if(vErrors === null){vErrors = [err661];}else {vErrors.push(err661);}errors++;}}var valid246 = _errs836 === errors;if(valid246){const err662 = {instancePath:instancePath+"/qa/designTokens",schemaPath:"#/properties/qa/properties/designTokens/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err662];}else {vErrors.push(err662);}errors++;}else {errors = _errs835;if(vErrors !== null){if(_errs835){vErrors.length = _errs835;}else {vErrors = null;}}}if(typeof data319 === "string"){if(func2(data319) < 1){const err663 = {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 = [err663];}else {vErrors.push(err663);}errors++;}}else {const err664 = {instancePath:instancePath+"/qa/designTokens",schemaPath:"#/properties/qa/properties/designTokens/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err664];}else {vErrors.push(err664);}errors++;}}}else {const err665 = {instancePath:instancePath+"/qa",schemaPath:"#/properties/qa/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err665];}else {vErrors.push(err665);}errors++;}}}else {const err666 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err666];}else {vErrors.push(err666);}errors++;}validate10.errors = vErrors;return errors === 0;}