@thebackstoryis/engineering-with-ai 0.2.9

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 (334) hide show
  1. package/Docs/README.md +50 -0
  2. package/Docs/adoption/consultancy-and-multi-project-rollout.md +135 -0
  3. package/Docs/adoption/non-technical-team-guide.md +126 -0
  4. package/Docs/archaeology-technology-and-hosting-discovery.md +212 -0
  5. package/Docs/blast-radius-and-impact-routing-guide.md +325 -0
  6. package/Docs/blueprints/internal-blueprint-catalogue.md +146 -0
  7. package/Docs/blueprints/maintaining-organisation-blueprints.md +154 -0
  8. package/Docs/blueprints/validation-and-troubleshooting.md +168 -0
  9. package/Docs/cli-reference.md +113 -0
  10. package/Docs/completed-phase-evidence-amendments.md +74 -0
  11. package/Docs/consultancy-network-rollout-control-plane-guide.md +202 -0
  12. package/Docs/context-aware-delivery-companion-guide.md +198 -0
  13. package/Docs/context-aware-delivery-companion-user-guide.md +184 -0
  14. package/Docs/context-management-and-token-efficiency.md +113 -0
  15. package/Docs/design-systems/design-system-implementation-guide.md +85 -0
  16. package/Docs/design-systems/design-system-pack-authoring-guide.md +95 -0
  17. package/Docs/design-systems/design-system-review-guide.md +51 -0
  18. package/Docs/design-systems/design-system-user-guide.md +96 -0
  19. package/Docs/design-systems/product-owner-guide.md +49 -0
  20. package/Docs/designing-organisation-blueprint-packs.md +384 -0
  21. package/Docs/developer-delivery-guide.md +224 -0
  22. package/Docs/error-reporting-guide.md +110 -0
  23. package/Docs/error-reporting-provider-guide.md +49 -0
  24. package/Docs/examples/error-report-adapter.md +70 -0
  25. package/Docs/examples/meeting-review.md +76 -0
  26. package/Docs/examples/minimal-design-system.md +67 -0
  27. package/Docs/examples/prototype-review-inputs.md +175 -0
  28. package/Docs/examples/reproducible-archaeology-depth-example.md +144 -0
  29. package/Docs/examples/test-scenario-input.md +68 -0
  30. package/Docs/examples/worked-examples.md +147 -0
  31. package/Docs/existing-project-onboarding-guide.md +214 -0
  32. package/Docs/explanation/core-concepts.md +26 -0
  33. package/Docs/explanation/delivery-workflow.md +48 -0
  34. package/Docs/governance/governance-team-guide.md +139 -0
  35. package/Docs/governed-starter-project-materialisation-guide.md +284 -0
  36. package/Docs/guide-catalogue.md +117 -0
  37. package/Docs/guided-discovery-facilitator-guide.md +172 -0
  38. package/Docs/guided-intent-workspace-guide.md +109 -0
  39. package/Docs/guided-phase-evidence-drafting-guide.md +119 -0
  40. package/Docs/human-approval-and-assurance-guide.md +146 -0
  41. package/Docs/knowledge-proposals-implementer-guide.md +106 -0
  42. package/Docs/knowledge-proposals-user-guide.md +247 -0
  43. package/Docs/maintainers/context-benchmarks.md +29 -0
  44. package/Docs/maintainers/contributing.md +58 -0
  45. package/Docs/maintainers/evidence-depth-acceptance.md +72 -0
  46. package/Docs/maintainers/verification-walkthroughs.md +104 -0
  47. package/Docs/meeting-evidence-implementer-guide.md +132 -0
  48. package/Docs/meeting-evidence-user-guide.md +200 -0
  49. package/Docs/operations/dashboard-and-delivery-state.md +153 -0
  50. package/Docs/operations/dashboard-configuration.md +87 -0
  51. package/Docs/operations/installation-updating-and-entitlements.md +135 -0
  52. package/Docs/operations/premium-personas-setup.md +76 -0
  53. package/Docs/operations/troubleshooting-and-recovery.md +205 -0
  54. package/Docs/organisation-rollout-guide.md +142 -0
  55. package/Docs/persona-entitlement-provider-guide.md +199 -0
  56. package/Docs/persona-guided-prototype-iteration.md +129 -0
  57. package/Docs/personas/organisation-specific-personas.md +103 -0
  58. package/Docs/personas/persona-authoring-cookbook.md +176 -0
  59. package/Docs/personas/persona-engagement-ui.md +133 -0
  60. package/Docs/personas/persona-governance.md +118 -0
  61. package/Docs/platform-export-analysis-guide.md +336 -0
  62. package/Docs/policies/governance-owner-guide.md +36 -0
  63. package/Docs/policies/implementation-guide.md +42 -0
  64. package/Docs/policies/organisation-policy-design-gates.md +58 -0
  65. package/Docs/policies/policy-pack-authoring-guide.md +108 -0
  66. package/Docs/policies/product-owner-guide.md +43 -0
  67. package/Docs/policies/technical-owner-guide.md +37 -0
  68. package/Docs/product-owner-guide.md +327 -0
  69. package/Docs/project-portfolio-orchestration-guide.md +199 -0
  70. package/Docs/quality/manual-qa-and-acceptance.md +162 -0
  71. package/Docs/quality/persona-driven-test-scenarios.md +172 -0
  72. package/Docs/quality/reproducible-archaeology-depth-review-checklist.md +89 -0
  73. package/Docs/reference/capabilities-and-project-layout.md +678 -0
  74. package/Docs/reference/cli-and-configuration.md +398 -0
  75. package/Docs/reference/contributions-api.md +23 -0
  76. package/Docs/reference/security-adapter-authoring.md +81 -0
  77. package/Docs/reference/starter-adapter-authoring.md +74 -0
  78. package/Docs/repository-source-map-guide.md +381 -0
  79. package/Docs/reproducible-archaeology-and-discovery-depth.md +292 -0
  80. package/Docs/screen-prototype-creation-guide.md +324 -0
  81. package/Docs/security-validation-guide.md +353 -0
  82. package/Docs/solution-readiness-review-guide.md +123 -0
  83. package/Docs/standards/project-standards-authoring.md +157 -0
  84. package/Docs/team-hub-guide.md +162 -0
  85. package/Docs/team-hub-resource-registry-guide.md +167 -0
  86. package/Docs/tutorials/first-delivery.md +83 -0
  87. package/Docs/tutorials/first-session.md +62 -0
  88. package/Docs/using-lifecycle-hooks.md +381 -0
  89. package/Docs/working-with-personas.md +274 -0
  90. package/LICENSE +165 -0
  91. package/README.md +96 -0
  92. package/agents-src/claude/ewai-security-reviewer.md +15 -0
  93. package/bin/ewai +5 -0
  94. package/config/archaeology-record-families.yaml +59 -0
  95. package/config/delivery-artifacts.yaml +121 -0
  96. package/config/delivery-stages.yaml +77 -0
  97. package/config/design-system.schema.json +46 -0
  98. package/config/error-reporting.schema.json +79 -0
  99. package/config/evidence-depth.schema.json +53 -0
  100. package/config/intent.schema.json +90 -0
  101. package/config/knowledge-proposals-proposal.schema.json +34 -0
  102. package/config/lifecycle-event.schema.json +68 -0
  103. package/config/lifecycle-handler.schema.json +45 -0
  104. package/config/lifecycle-hook-ack.schema.json +19 -0
  105. package/config/meeting-evidence-candidate.schema.json +102 -0
  106. package/config/organisation-policy.schema.json +137 -0
  107. package/config/pack.schema.json +250 -0
  108. package/config/persona-pack.schema.json +21 -0
  109. package/config/persona.schema.json +17 -0
  110. package/config/policy-evaluation.schema.json +77 -0
  111. package/config/policy-facts.schema.json +140 -0
  112. package/config/portfolio.schema.json +68 -0
  113. package/config/project.schema.json +313 -0
  114. package/config/prototype-iteration.schema.json +128 -0
  115. package/config/rollout.schema.json +87 -0
  116. package/config/security-adapter.schema.json +31 -0
  117. package/config/security-scan-request.schema.json +64 -0
  118. package/config/security-scan-response.schema.json +52 -0
  119. package/config/security-validation-policy.schema.json +74 -0
  120. package/config/starter-source-acknowledgement.schema.json +13 -0
  121. package/config/starter-source-adapter.schema.json +38 -0
  122. package/config/starter-source-request.schema.json +61 -0
  123. package/package.json +77 -0
  124. package/packs/core/pack.yaml +7 -0
  125. package/packs/design-systems/default/experience-promise.md +9 -0
  126. package/packs/design-systems/default/intentional-review.md +10 -0
  127. package/packs/design-systems/default/interaction-and-entry.md +9 -0
  128. package/packs/design-systems/default/meaningful-content-and-states.md +9 -0
  129. package/packs/design-systems/default/pack.yaml +44 -0
  130. package/packs/design-systems/default/principles.md +10 -0
  131. package/packs/personas/core/pack.yaml +7 -0
  132. package/packs/personas/core/personas/archaeologist.md +37 -0
  133. package/packs/personas/core/personas/end-user.md +17 -0
  134. package/packs/personas/core/personas/maintainer.md +17 -0
  135. package/packs/personas/core/personas/operator.md +17 -0
  136. package/packs/personas/core/personas/specs-knowledge-curator.md +35 -0
  137. package/packs/technologies/laravel/pack.yaml +30 -0
  138. package/packs/technologies/laravel-nuxt/pack.yaml +30 -0
  139. package/packs/technologies/nuxt/pack.yaml +30 -0
  140. package/packs/technologies/power-platform/pack.yaml +31 -0
  141. package/packs/technologies/salesforce/pack.yaml +25 -0
  142. package/public/app.js +4896 -0
  143. package/public/apple-touch-icon.png +0 -0
  144. package/public/assets/backstory-icon.png +0 -0
  145. package/public/dashboard-navigation.js +98 -0
  146. package/public/favicon-16.png +0 -0
  147. package/public/favicon-32.png +0 -0
  148. package/public/favicon.ico +0 -0
  149. package/public/index.html +789 -0
  150. package/public/styles.css +2693 -0
  151. package/public/team-hub/app.js +202 -0
  152. package/public/team-hub/index.html +79 -0
  153. package/public/team-hub/styles.css +90 -0
  154. package/scripts/publication-check.mjs +140 -0
  155. package/scripts/setup.mjs +21 -0
  156. package/skills-src/ewai-archaeology/SKILL.md +334 -0
  157. package/skills-src/ewai-archaeology/agents/openai.yaml +4 -0
  158. package/skills-src/ewai-archaeology/references/archaeology-contract.md +201 -0
  159. package/skills-src/ewai-archaeology/references/lifecycle-reconstruction.md +177 -0
  160. package/skills-src/ewai-archaeology/references/maximum-detail-reconstruction.md +97 -0
  161. package/skills-src/ewai-archaeology/references/model-routing.md +26 -0
  162. package/skills-src/ewai-architecture/SKILL.md +108 -0
  163. package/skills-src/ewai-architecture/agents/openai.yaml +4 -0
  164. package/skills-src/ewai-architecture/references/architecture-contract.md +176 -0
  165. package/skills-src/ewai-context/SKILL.md +68 -0
  166. package/skills-src/ewai-context/agents/openai.yaml +4 -0
  167. package/skills-src/ewai-context-import/SKILL.md +118 -0
  168. package/skills-src/ewai-context-import/agents/openai.yaml +4 -0
  169. package/skills-src/ewai-context-import/references/context-import-contract.md +106 -0
  170. package/skills-src/ewai-dashboard-configuration/SKILL.md +20 -0
  171. package/skills-src/ewai-deliver/SKILL.md +122 -0
  172. package/skills-src/ewai-deliver/references/delivery-evidence.md +92 -0
  173. package/skills-src/ewai-deliver/references/phase-routing.md +31 -0
  174. package/skills-src/ewai-design-system-apply/SKILL.md +27 -0
  175. package/skills-src/ewai-design-system-apply/agents/openai.yaml +4 -0
  176. package/skills-src/ewai-design-system-apply/references/application-contract.md +36 -0
  177. package/skills-src/ewai-design-system-author/SKILL.md +28 -0
  178. package/skills-src/ewai-design-system-author/agents/openai.yaml +4 -0
  179. package/skills-src/ewai-design-system-author/references/authoring-contract.md +38 -0
  180. package/skills-src/ewai-design-system-review/SKILL.md +26 -0
  181. package/skills-src/ewai-design-system-review/agents/openai.yaml +4 -0
  182. package/skills-src/ewai-design-system-review/references/review-contract.md +40 -0
  183. package/skills-src/ewai-error-reporting/SKILL.md +46 -0
  184. package/skills-src/ewai-error-reporting/agents/openai.yaml +4 -0
  185. package/skills-src/ewai-error-reporting/references/provider-contract.md +74 -0
  186. package/skills-src/ewai-evidence-depth/SKILL.md +72 -0
  187. package/skills-src/ewai-evidence-depth/agents/openai.yaml +4 -0
  188. package/skills-src/ewai-evidence-depth/references/evidence-depth-contract.md +127 -0
  189. package/skills-src/ewai-intent/SKILL.md +68 -0
  190. package/skills-src/ewai-intent/agents/openai.yaml +4 -0
  191. package/skills-src/ewai-intent/references/intent-contract.md +42 -0
  192. package/skills-src/ewai-knowledge-proposals/SKILL.md +105 -0
  193. package/skills-src/ewai-knowledge-proposals/agents/openai.yaml +4 -0
  194. package/skills-src/ewai-knowledge-proposals/references/proposal-contract.md +59 -0
  195. package/skills-src/ewai-meeting-evidence/SKILL.md +106 -0
  196. package/skills-src/ewai-meeting-evidence/agents/openai.yaml +4 -0
  197. package/skills-src/ewai-meeting-evidence/references/candidate-contract.md +64 -0
  198. package/skills-src/ewai-organisation-policy/SKILL.md +62 -0
  199. package/skills-src/ewai-organisation-policy/agents/openai.yaml +4 -0
  200. package/skills-src/ewai-organisation-policy/references/policy-contract.md +94 -0
  201. package/skills-src/ewai-palace-housekeeping/SKILL.md +55 -0
  202. package/skills-src/ewai-palace-housekeeping/agents/openai.yaml +4 -0
  203. package/skills-src/ewai-persona-entitlement/SKILL.md +60 -0
  204. package/skills-src/ewai-persona-entitlement/agents/openai.yaml +4 -0
  205. package/skills-src/ewai-phase-evidence/SKILL.md +79 -0
  206. package/skills-src/ewai-phase-evidence/agents/openai.yaml +4 -0
  207. package/skills-src/ewai-pipeline/SKILL.md +130 -0
  208. package/skills-src/ewai-pipeline/agents/openai.yaml +4 -0
  209. package/skills-src/ewai-pipeline/references/cli.md +86 -0
  210. package/skills-src/ewai-pipeline/references/specs-contract.md +16 -0
  211. package/skills-src/ewai-portfolio/SKILL.md +70 -0
  212. package/skills-src/ewai-portfolio/agents/openai.yaml +4 -0
  213. package/skills-src/ewai-portfolio/references/portfolio-contract.md +67 -0
  214. package/skills-src/ewai-project-discovery/SKILL.md +95 -0
  215. package/skills-src/ewai-project-discovery/agents/openai.yaml +4 -0
  216. package/skills-src/ewai-project-discovery/references/discovery-contract.md +34 -0
  217. package/skills-src/ewai-prototype-iteration/SKILL.md +30 -0
  218. package/skills-src/ewai-prototype-iteration/agents/openai.yaml +4 -0
  219. package/skills-src/ewai-prototype-iteration/references/review-contract.md +49 -0
  220. package/skills-src/ewai-retro/SKILL.md +48 -0
  221. package/skills-src/ewai-retro/agents/openai.yaml +4 -0
  222. package/skills-src/ewai-retro/references/asset-routing.md +14 -0
  223. package/skills-src/ewai-rollout/SKILL.md +74 -0
  224. package/skills-src/ewai-rollout/agents/openai.yaml +4 -0
  225. package/skills-src/ewai-rollout/references/rollout-contract.md +74 -0
  226. package/skills-src/ewai-shape-intents/SKILL.md +84 -0
  227. package/skills-src/ewai-shape-intents/agents/openai.yaml +4 -0
  228. package/skills-src/ewai-shape-intents/references/intent-mapping-contract.md +109 -0
  229. package/skills-src/ewai-solution-readiness/SKILL.md +55 -0
  230. package/skills-src/ewai-solution-readiness/agents/openai.yaml +4 -0
  231. package/skills-src/ewai-standards-check/SKILL.md +93 -0
  232. package/skills-src/ewai-standards-check/agents/openai.yaml +4 -0
  233. package/skills-src/ewai-standards-check/references/report-contract.md +116 -0
  234. package/skills-src/ewai-test-scenarios/SKILL.md +94 -0
  235. package/skills-src/ewai-test-scenarios/agents/openai.yaml +4 -0
  236. package/skills-src/ewai-test-scenarios/references/scenario-contract.md +88 -0
  237. package/src/afk-worker.mjs +16 -0
  238. package/src/archaeology.mjs +1333 -0
  239. package/src/checkin.mjs +261 -0
  240. package/src/cli.mjs +2427 -0
  241. package/src/companion-guidance.mjs +257 -0
  242. package/src/companion-opening.mjs +62 -0
  243. package/src/companion.mjs +256 -0
  244. package/src/context.mjs +210 -0
  245. package/src/dashboard-preferences.mjs +80 -0
  246. package/src/delivery-artifacts.mjs +204 -0
  247. package/src/delivery-documents.mjs +248 -0
  248. package/src/delivery-gates.mjs +317 -0
  249. package/src/delivery.mjs +1433 -0
  250. package/src/design-system-application.mjs +291 -0
  251. package/src/design-system-authoring.mjs +101 -0
  252. package/src/design-systems.mjs +466 -0
  253. package/src/discovery.mjs +1314 -0
  254. package/src/error-reporting.mjs +323 -0
  255. package/src/evidence-depth.mjs +543 -0
  256. package/src/execution-state.mjs +243 -0
  257. package/src/install.mjs +166 -0
  258. package/src/intent-dependencies.mjs +117 -0
  259. package/src/intent-maps.mjs +402 -0
  260. package/src/intents.mjs +747 -0
  261. package/src/knowledge-proposals.mjs +717 -0
  262. package/src/launcher.mjs +51 -0
  263. package/src/meeting-evidence.mjs +703 -0
  264. package/src/network-rollout.mjs +386 -0
  265. package/src/organisation-blueprints.mjs +438 -0
  266. package/src/organisation-policies.mjs +448 -0
  267. package/src/packs.mjs +44 -0
  268. package/src/paths.mjs +62 -0
  269. package/src/persona-entitlements.mjs +438 -0
  270. package/src/persona-licence-config.mjs +98 -0
  271. package/src/persona-website-provider.mjs +134 -0
  272. package/src/persona-zip.mjs +87 -0
  273. package/src/personas.mjs +159 -0
  274. package/src/platform-metadata-analysis.mjs +314 -0
  275. package/src/policy-design-gates.mjs +623 -0
  276. package/src/policy-gate-integration.mjs +318 -0
  277. package/src/portfolio.mjs +509 -0
  278. package/src/power-platform-source-map.mjs +190 -0
  279. package/src/project.mjs +449 -0
  280. package/src/prototype-iterations.mjs +730 -0
  281. package/src/repository-source-map.mjs +603 -0
  282. package/src/runtime/afk-conductor.mjs +973 -0
  283. package/src/runtime/context-assembly.mjs +457 -0
  284. package/src/runtime/context-benchmarks.mjs +115 -0
  285. package/src/runtime/dashboard-actions.mjs +109 -0
  286. package/src/runtime/dashboard-handoffs.mjs +149 -0
  287. package/src/runtime/dashboard-server.mjs +1272 -0
  288. package/src/runtime/dashboard.mjs +197 -0
  289. package/src/runtime/database.mjs +789 -0
  290. package/src/runtime/error-reporting.mjs +581 -0
  291. package/src/runtime/evidence-depth-workspace.mjs +412 -0
  292. package/src/runtime/execution-leases.mjs +299 -0
  293. package/src/runtime/guided-discovery.mjs +350 -0
  294. package/src/runtime/guided-intents.mjs +517 -0
  295. package/src/runtime/impact-analysis.mjs +535 -0
  296. package/src/runtime/intents.mjs +222 -0
  297. package/src/runtime/knowledge.mjs +86 -0
  298. package/src/runtime/lifecycle-hooks.mjs +1239 -0
  299. package/src/runtime/mcp-config.mjs +110 -0
  300. package/src/runtime/mcp-server.mjs +1885 -0
  301. package/src/runtime/palace.mjs +362 -0
  302. package/src/runtime/paths.mjs +58 -0
  303. package/src/runtime/persona-engagement.mjs +255 -0
  304. package/src/runtime/phase-contributions.mjs +594 -0
  305. package/src/runtime/policy-workspace.mjs +170 -0
  306. package/src/runtime/prototype-iterations.mjs +235 -0
  307. package/src/runtime/provider-adapters.mjs +163 -0
  308. package/src/runtime/repository-index.mjs +838 -0
  309. package/src/runtime/runs.mjs +185 -0
  310. package/src/runtime/security-validation.mjs +1230 -0
  311. package/src/runtime/starter-materialisation.mjs +1155 -0
  312. package/src/runtime/team-hub-client.mjs +479 -0
  313. package/src/runtime/team-hub-database.mjs +288 -0
  314. package/src/runtime/team-hub-server.mjs +191 -0
  315. package/src/runtime/team-hub.mjs +110 -0
  316. package/src/runtime/tree-sitter-index.mjs +390 -0
  317. package/src/runtime/version.mjs +1 -0
  318. package/src/runtime/work.mjs +633 -0
  319. package/src/salesforce-source-map.mjs +212 -0
  320. package/src/security-validation-config.mjs +224 -0
  321. package/src/solution-readiness.mjs +620 -0
  322. package/src/starter-materialisation-contract.mjs +407 -0
  323. package/src/task-graph.mjs +544 -0
  324. package/src/team-hub-resources.mjs +239 -0
  325. package/src/team-hub.mjs +242 -0
  326. package/src/test-scenarios.mjs +622 -0
  327. package/src/validation-config.mjs +289 -0
  328. package/templates/SPECS/1.Scope/personas/registry.yaml +12 -0
  329. package/templates/SPECS/5.Strategy/patterns/context-packet.md +119 -0
  330. package/templates/SPECS/6.Build/_tracker-template.md +16 -0
  331. package/templates/SPECS/pipeline.yaml +62 -0
  332. package/templates/discovery-answers.yaml +86 -0
  333. package/templates/intent-body.md +21 -0
  334. package/tests/fixtures/context-benchmarks.json +9 -0
@@ -0,0 +1,250 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://engineeringwith.ai/schemas/pack-v1.json",
4
+ "type": "object",
5
+ "required": ["schema", "id", "name", "version", "type"],
6
+ "properties": {
7
+ "schema": { "const": "ewai.pack/v1" },
8
+ "id": { "type": "string", "pattern": "^(?:ewai\\.[a-z0-9.-]+|org\\.[a-z0-9-]+\\.[a-z0-9.-]+)$" },
9
+ "name": { "type": "string", "minLength": 1 },
10
+ "description": { "type": "string", "minLength": 1 },
11
+ "version": { "type": "string", "pattern": "^[0-9]+\\.[0-9]+\\.[0-9]+$" },
12
+ "type": { "enum": ["core", "technology", "stack", "persona", "organisation", "design-system"] },
13
+ "requires": { "type": "array", "items": { "type": "string" } },
14
+ "detection": {
15
+ "type": "object",
16
+ "properties": {
17
+ "files": { "type": "array", "items": { "type": "string" } },
18
+ "dependencies": { "type": "array", "items": { "type": "string" } },
19
+ "any_files": { "type": "array", "uniqueItems": true, "items": { "type": "string", "minLength": 1, "maxLength": 240, "not": { "pattern": "(^/|^!|[*?]|[\\\\{}()\\[\\]]|(^|/)\\.\\.(/|$))" } } },
20
+ "any_patterns": { "type": "array", "uniqueItems": true, "items": { "type": "string", "minLength": 1, "maxLength": 240, "not": { "pattern": "(^/|^!|[\\\\{}()\\[\\]]|(^|/)\\.\\.(/|$))" } } }
21
+ },
22
+ "additionalProperties": false
23
+ },
24
+ "commands": {
25
+ "type": "object",
26
+ "additionalProperties": { "type": "string" }
27
+ },
28
+ "deployment": {
29
+ "type": "array",
30
+ "items": {
31
+ "type": "object",
32
+ "required": ["target"],
33
+ "properties": {
34
+ "target": { "type": "string" },
35
+ "reference": { "type": "string" }
36
+ }
37
+ }
38
+ },
39
+ "source_map": {
40
+ "type": "object",
41
+ "required": ["profiles"],
42
+ "properties": {
43
+ "profiles": {
44
+ "type": "array",
45
+ "minItems": 1,
46
+ "items": { "$ref": "#/$defs/sourceMapProfile" }
47
+ }
48
+ },
49
+ "additionalProperties": false
50
+ },
51
+ "boilerplates": {
52
+ "type": "array",
53
+ "items": {
54
+ "type": "object",
55
+ "required": ["id", "name", "source"],
56
+ "properties": {
57
+ "id": { "type": "string" },
58
+ "name": { "type": "string" },
59
+ "source": { "type": "string" },
60
+ "version": { "type": "string" },
61
+ "digest": { "type": "string" },
62
+ "notes": { "type": "string" }
63
+ }
64
+ }
65
+ },
66
+ "blueprint": {
67
+ "type": "object",
68
+ "required": ["publisher", "compatibility", "modules"],
69
+ "properties": {
70
+ "publisher": {
71
+ "type": "object",
72
+ "required": ["id", "name"],
73
+ "properties": {
74
+ "id": { "$ref": "#/$defs/slug" },
75
+ "name": { "type": "string", "minLength": 1 }
76
+ },
77
+ "additionalProperties": false
78
+ },
79
+ "compatibility": {
80
+ "type": "object",
81
+ "required": ["ewai"],
82
+ "properties": {
83
+ "ewai": { "type": "string", "pattern": "^[0-9]+\\.x$" }
84
+ },
85
+ "additionalProperties": false
86
+ },
87
+ "modules": {
88
+ "type": "array",
89
+ "minItems": 1,
90
+ "items": { "$ref": "#/$defs/blueprintModule" }
91
+ }
92
+ },
93
+ "additionalProperties": false
94
+ },
95
+ "design_system": { "$ref": "design-system.schema.json" }
96
+ },
97
+ "$defs": {
98
+ "slug": {
99
+ "type": "string",
100
+ "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
101
+ },
102
+ "contentPath": {
103
+ "type": "string",
104
+ "minLength": 1,
105
+ "not": { "pattern": "(^/|(^|[\\\\/])\\.\\.([\\\\/]|$))" }
106
+ },
107
+ "sourceMapProfile": {
108
+ "type": "object",
109
+ "required": ["id", "patterns", "analyser", "classification"],
110
+ "properties": {
111
+ "id": { "type": "string", "pattern": "^[a-z0-9]+(?:[.-][a-z0-9]+)*$" },
112
+ "patterns": {
113
+ "type": "array",
114
+ "minItems": 1,
115
+ "uniqueItems": true,
116
+ "items": {
117
+ "type": "string",
118
+ "minLength": 1,
119
+ "maxLength": 240,
120
+ "not": { "pattern": "(^/|^!|[\\\\{}()\\[\\]]|(^|/)\\.\\.(/|$))" }
121
+ }
122
+ },
123
+ "analyser": { "enum": ["inventory-only", "text-summary", "structured-keys", "tree-sitter", "power-platform-metadata", "salesforce-metadata"] },
124
+ "classification": { "type": "string", "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$" },
125
+ "priority": { "type": "integer", "minimum": -10000, "maximum": 10000 },
126
+ "repositories": {
127
+ "type": "array",
128
+ "uniqueItems": true,
129
+ "items": { "type": "string", "minLength": 1 }
130
+ },
131
+ "max_bytes": { "type": "integer", "minimum": 1, "maximum": 900000 }
132
+ },
133
+ "additionalProperties": false
134
+ },
135
+ "standard": {
136
+ "type": "object",
137
+ "required": ["id", "title", "source"],
138
+ "properties": {
139
+ "id": { "$ref": "#/$defs/slug" },
140
+ "title": { "type": "string", "minLength": 1 },
141
+ "source": { "$ref": "#/$defs/contentPath" }
142
+ },
143
+ "additionalProperties": false
144
+ },
145
+ "persona": {
146
+ "type": "object",
147
+ "required": ["id", "source"],
148
+ "properties": {
149
+ "id": { "$ref": "#/$defs/slug" },
150
+ "name": { "type": "string", "minLength": 1 },
151
+ "source": { "$ref": "#/$defs/contentPath" }
152
+ },
153
+ "additionalProperties": false
154
+ },
155
+ "policyContribution": {
156
+ "type": "object",
157
+ "required": ["id", "title", "source"],
158
+ "properties": {
159
+ "id": { "$ref": "#/$defs/slug" },
160
+ "title": { "type": "string", "minLength": 1 },
161
+ "source": { "$ref": "#/$defs/contentPath" }
162
+ },
163
+ "additionalProperties": false
164
+ },
165
+ "blueprintBoilerplate": {
166
+ "type": "object",
167
+ "required": ["id", "name", "source", "version", "digest", "licence", "compatibility"],
168
+ "properties": {
169
+ "id": { "$ref": "#/$defs/slug" },
170
+ "name": { "type": "string", "minLength": 1 },
171
+ "source": { "type": "string", "minLength": 1 },
172
+ "version": { "type": "string", "minLength": 1 },
173
+ "digest": { "type": "string", "pattern": "^sha256:[a-f0-9]{64}$" },
174
+ "licence": { "type": "string", "minLength": 1 },
175
+ "compatibility": { "type": "string", "minLength": 1 }
176
+ },
177
+ "additionalProperties": false
178
+ },
179
+ "starterTarget": {
180
+ "type": "object",
181
+ "required": ["role", "source_path"],
182
+ "properties": {
183
+ "role": { "$ref": "#/$defs/slug" },
184
+ "source_path": { "$ref": "#/$defs/contentPath" }
185
+ },
186
+ "additionalProperties": false
187
+ },
188
+ "blueprintStarterPack": {
189
+ "type": "object",
190
+ "required": ["id", "name", "source", "version", "digest", "licence", "compatibility", "targets"],
191
+ "properties": {
192
+ "id": { "$ref": "#/$defs/slug" },
193
+ "name": { "type": "string", "minLength": 1 },
194
+ "source": { "type": "string", "minLength": 1 },
195
+ "version": { "type": "string", "minLength": 1 },
196
+ "digest": { "type": "string", "pattern": "^sha256:[a-f0-9]{64}$" },
197
+ "licence": { "type": "string", "minLength": 1 },
198
+ "compatibility": { "type": "string", "minLength": 1 },
199
+ "targets": {
200
+ "type": "array",
201
+ "minItems": 1,
202
+ "items": { "$ref": "#/$defs/starterTarget" }
203
+ }
204
+ },
205
+ "additionalProperties": false
206
+ },
207
+ "blueprintModule": {
208
+ "type": "object",
209
+ "required": ["id", "name", "description", "required"],
210
+ "properties": {
211
+ "id": { "$ref": "#/$defs/slug" },
212
+ "name": { "type": "string", "minLength": 1 },
213
+ "description": { "type": "string", "minLength": 1 },
214
+ "required": { "type": "boolean" },
215
+ "standards": { "type": "array", "items": { "$ref": "#/$defs/standard" } },
216
+ "personas": { "type": "array", "items": { "$ref": "#/$defs/persona" } },
217
+ "policies": { "type": "array", "items": { "$ref": "#/$defs/policyContribution" } },
218
+ "design_systems": {
219
+ "type": "array",
220
+ "uniqueItems": true,
221
+ "items": { "type": "string", "pattern": "^(?:ewai\\.[a-z0-9.-]+|org\\.[a-z0-9-]+\\.[a-z0-9.-]+)$" }
222
+ },
223
+ "starter_packs": { "type": "array", "items": { "$ref": "#/$defs/blueprintStarterPack" } },
224
+ "boilerplates": { "type": "array", "items": { "$ref": "#/$defs/blueprintBoilerplate" } }
225
+ },
226
+ "additionalProperties": false
227
+ }
228
+ },
229
+ "allOf": [
230
+ {
231
+ "if": { "properties": { "type": { "const": "organisation" } }, "required": ["type"] },
232
+ "then": {
233
+ "required": ["description", "blueprint"],
234
+ "properties": {
235
+ "id": { "pattern": "^org\\.[a-z0-9-]+\\.[a-z0-9.-]+$" },
236
+ "requires": { "items": { "pattern": "^org\\.[a-z0-9-]+\\.[a-z0-9.-]+$" } }
237
+ }
238
+ }
239
+ },
240
+ {
241
+ "if": { "properties": { "type": { "const": "design-system" } }, "required": ["type"] },
242
+ "then": {
243
+ "required": ["description", "design_system"],
244
+ "properties": {
245
+ "requires": { "items": { "pattern": "^(?:ewai\\.[a-z0-9.-]+|org\\.[a-z0-9-]+\\.[a-z0-9.-]+)$" } }
246
+ }
247
+ }
248
+ }
249
+ ]
250
+ }
@@ -0,0 +1,21 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://engineeringwith.ai/schemas/persona-pack-v1.json",
4
+ "title": "EWAI Persona Pack",
5
+ "type": "object",
6
+ "required": ["schema", "id", "version", "content"],
7
+ "properties": {
8
+ "schema": {"const": "ewai.persona-pack/v1"},
9
+ "id": {"const": "ewai.personas.professional"},
10
+ "version": {"type": "string", "pattern": "^[0-9]+\\.[0-9]+\\.[0-9]+(?:-[0-9A-Za-z.-]+)?(?:\\+[0-9A-Za-z.-]+)?$"},
11
+ "content": {
12
+ "type": "object",
13
+ "required": ["personas"],
14
+ "properties": {
15
+ "personas": {"type": "string", "pattern": "^(?!/)(?!.*(?:^|/)\\.\\.(?:/|$))[A-Za-z0-9._-]+(?:/[A-Za-z0-9._-]+)*$"}
16
+ },
17
+ "additionalProperties": false
18
+ }
19
+ },
20
+ "additionalProperties": false
21
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://engineeringwith.ai/schemas/persona-v1.json",
4
+ "type": "object",
5
+ "required": ["schema", "id", "name", "version", "category", "pack", "tier"],
6
+ "properties": {
7
+ "schema": { "const": "ewai.persona/v1" },
8
+ "id": { "type": "string", "pattern": "^[a-z0-9.-]+$" },
9
+ "name": { "type": "string", "minLength": 1 },
10
+ "version": { "type": "string" },
11
+ "category": { "type": "string", "minLength": 1 },
12
+ "pack": { "type": "string", "minLength": 1 },
13
+ "tier": { "enum": ["core", "professional", "enterprise", "personal", "project"] },
14
+ "tags": { "type": "array", "items": { "type": "string" } },
15
+ "capabilities": { "type": "array", "items": { "type": "string" } }
16
+ }
17
+ }
@@ -0,0 +1,77 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://engineeringwith.ai/schemas/policy-evaluation-v1.json",
4
+ "oneOf": [
5
+ { "$ref": "#/$defs/evaluation" },
6
+ { "$ref": "#/$defs/review" },
7
+ { "$ref": "#/$defs/exception" }
8
+ ],
9
+ "$defs": {
10
+ "digest": { "type": "string", "pattern": "^sha256:[a-f0-9]{64}$" },
11
+ "outcome": { "enum": ["allow", "deny", "review-required", "allow-with-controls", "unassessed"] },
12
+ "evidence": { "type": "array", "minItems": 1, "maxItems": 40, "items": { "type": "string", "minLength": 1, "maxLength": 500 } },
13
+ "evaluation": {
14
+ "type": "object",
15
+ "required": ["schema", "revision", "intent", "policyDigest", "factsDigest", "governingOutcome", "consideredOutcomes", "matchedRules", "unmatchedPolicies", "controls", "requiredReviews", "limitations", "authority", "evaluationDigest"],
16
+ "properties": {
17
+ "schema": { "const": "ewai.policy-design-evaluation/v1" },
18
+ "revision": { "type": "integer", "minimum": 1 },
19
+ "intent": { "type": "object" },
20
+ "policyDigest": { "$ref": "#/$defs/digest" },
21
+ "factsDigest": { "$ref": "#/$defs/digest" },
22
+ "evaluationDigest": { "$ref": "#/$defs/digest" },
23
+ "governingOutcome": { "$ref": "#/$defs/outcome" },
24
+ "consideredOutcomes": { "type": "array", "minItems": 1, "uniqueItems": true, "items": { "$ref": "#/$defs/outcome" } },
25
+ "matchedRules": { "type": "array", "items": { "type": "object" } },
26
+ "unmatchedPolicies": { "type": "array", "items": { "type": "object" } },
27
+ "controls": { "type": "array", "items": { "type": "object" } },
28
+ "requiredReviews": { "type": "array", "items": { "type": "object" } },
29
+ "limitations": { "type": "array", "minItems": 1, "items": { "type": "string" } },
30
+ "authority": { "type": "object" }
31
+ },
32
+ "additionalProperties": false
33
+ },
34
+ "review": {
35
+ "type": "object",
36
+ "required": ["schema", "decisionDigest", "evaluationDigest", "intentReference", "ruleId", "reviewerRole", "reviewedBy", "decision", "rationale", "evidence", "controls", "reviewedAt", "authority"],
37
+ "properties": {
38
+ "schema": { "const": "ewai.policy-review/v1" },
39
+ "decisionDigest": { "$ref": "#/$defs/digest" },
40
+ "evaluationDigest": { "$ref": "#/$defs/digest" },
41
+ "intentReference": { "type": "string" },
42
+ "ruleId": { "type": "string" },
43
+ "reviewerRole": { "type": "string" },
44
+ "reviewedBy": { "type": "string", "minLength": 1 },
45
+ "decision": { "enum": ["allow", "deny", "allow-with-controls"] },
46
+ "rationale": { "type": "string", "minLength": 1 },
47
+ "evidence": { "$ref": "#/$defs/evidence" },
48
+ "controls": { "type": "array", "items": { "type": "string" } },
49
+ "reviewedAt": { "type": "string", "format": "date-time" },
50
+ "authority": { "type": "object" }
51
+ },
52
+ "additionalProperties": false
53
+ },
54
+ "exception": {
55
+ "type": "object",
56
+ "required": ["schema", "decisionDigest", "evaluationDigest", "intentReference", "ruleId", "reviewerRole", "approvedBy", "owner", "scope", "rationale", "compensatingControls", "evidence", "expiresAt", "approvedAt", "authority"],
57
+ "properties": {
58
+ "schema": { "const": "ewai.policy-exception/v1" },
59
+ "decisionDigest": { "$ref": "#/$defs/digest" },
60
+ "evaluationDigest": { "$ref": "#/$defs/digest" },
61
+ "intentReference": { "type": "string" },
62
+ "ruleId": { "type": "string" },
63
+ "reviewerRole": { "type": "string" },
64
+ "approvedBy": { "type": "string", "minLength": 1 },
65
+ "owner": { "type": "string", "minLength": 1 },
66
+ "scope": { "type": "object", "minProperties": 1 },
67
+ "rationale": { "type": "string", "minLength": 1 },
68
+ "compensatingControls": { "type": "array", "minItems": 1, "items": { "type": "string", "minLength": 1 } },
69
+ "evidence": { "$ref": "#/$defs/evidence" },
70
+ "expiresAt": { "type": "string", "format": "date-time" },
71
+ "approvedAt": { "type": "string", "format": "date-time" },
72
+ "authority": { "type": "object" }
73
+ },
74
+ "additionalProperties": false
75
+ }
76
+ }
77
+ }
@@ -0,0 +1,140 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://engineeringwith.ai/schemas/policy-facts-v1.json",
4
+ "oneOf": [
5
+ { "$ref": "#/$defs/proposal" },
6
+ { "$ref": "#/$defs/confirmed" }
7
+ ],
8
+ "$defs": {
9
+ "digest": { "type": "string", "pattern": "^sha256:[a-f0-9]{64}$" },
10
+ "slug": { "type": "string", "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$" },
11
+ "value": { "type": "string", "minLength": 1, "maxLength": 120, "pattern": "^[a-z0-9]+(?:[.-][a-z0-9]+)*$" },
12
+ "dimension": { "enum": ["resource", "operation", "data_entity", "data_classification", "actor", "environment", "destination", "model", "ai_use", "retention"] },
13
+ "intent": {
14
+ "type": "object",
15
+ "required": ["reference", "revision", "digest"],
16
+ "properties": {
17
+ "reference": { "type": "string", "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*/[a-z0-9]+(?:-[a-z0-9]+)*$" },
18
+ "revision": { "type": "integer", "minimum": 1 },
19
+ "digest": { "$ref": "#/$defs/digest" }
20
+ },
21
+ "additionalProperties": false
22
+ },
23
+ "persona": {
24
+ "type": "object",
25
+ "required": ["id", "name", "tier"],
26
+ "properties": {
27
+ "id": { "type": "string", "minLength": 1, "maxLength": 160 },
28
+ "name": { "type": "string", "minLength": 1, "maxLength": 160 },
29
+ "tier": { "enum": ["core", "personal", "project", "premium"] }
30
+ },
31
+ "additionalProperties": false
32
+ },
33
+ "source": {
34
+ "type": "object",
35
+ "required": ["kind", "reference"],
36
+ "properties": {
37
+ "kind": { "enum": ["observed", "model-proposal", "persona-hypothesis"] },
38
+ "reference": { "type": "string", "minLength": 1, "maxLength": 500 },
39
+ "persona": { "$ref": "#/$defs/persona" }
40
+ },
41
+ "additionalProperties": false
42
+ },
43
+ "fact": {
44
+ "type": "object",
45
+ "required": ["id", "dimension", "values", "rationale", "source"],
46
+ "properties": {
47
+ "id": { "$ref": "#/$defs/slug" },
48
+ "dimension": { "$ref": "#/$defs/dimension" },
49
+ "values": { "type": "array", "minItems": 1, "maxItems": 40, "uniqueItems": true, "items": { "$ref": "#/$defs/value" } },
50
+ "rationale": { "type": "string", "minLength": 1, "maxLength": 1200 },
51
+ "source": { "$ref": "#/$defs/source" }
52
+ },
53
+ "additionalProperties": false
54
+ },
55
+ "confirmedFact": {
56
+ "type": "object",
57
+ "required": ["id", "dimension", "values", "rationale", "provenance"],
58
+ "properties": {
59
+ "id": { "$ref": "#/$defs/slug" },
60
+ "dimension": { "$ref": "#/$defs/dimension" },
61
+ "values": { "type": "array", "minItems": 1, "maxItems": 40, "uniqueItems": true, "items": { "$ref": "#/$defs/value" } },
62
+ "rationale": { "type": "string", "minLength": 1, "maxLength": 1200 },
63
+ "provenance": { "$ref": "#/$defs/source" }
64
+ },
65
+ "additionalProperties": false
66
+ },
67
+ "proposal": {
68
+ "type": "object",
69
+ "required": ["schema", "revision", "preparedAt", "intent", "policyDigest", "proposalDigest", "facts", "authority"],
70
+ "properties": {
71
+ "schema": { "const": "ewai.policy-fact-proposal/v1" },
72
+ "revision": { "type": "integer", "minimum": 1 },
73
+ "preparedAt": { "type": "string", "format": "date-time" },
74
+ "intent": { "$ref": "#/$defs/intent" },
75
+ "policyDigest": { "$ref": "#/$defs/digest" },
76
+ "proposalDigest": { "$ref": "#/$defs/digest" },
77
+ "facts": { "type": "array", "minItems": 1, "maxItems": 200, "items": { "$ref": "#/$defs/fact" } },
78
+ "authority": {
79
+ "type": "object",
80
+ "required": ["authoritative", "requiresNamedHumanConfirmation"],
81
+ "properties": {
82
+ "authoritative": { "const": false },
83
+ "requiresNamedHumanConfirmation": { "const": true }
84
+ },
85
+ "additionalProperties": false
86
+ }
87
+ },
88
+ "additionalProperties": false
89
+ },
90
+ "confirmed": {
91
+ "type": "object",
92
+ "required": ["schema", "revision", "intent", "policyDigest", "proposalDigest", "facts", "confirmation", "authority", "factsDigest"],
93
+ "properties": {
94
+ "schema": { "const": "ewai.confirmed-policy-facts/v1" },
95
+ "revision": { "type": "integer", "minimum": 1 },
96
+ "intent": { "$ref": "#/$defs/intent" },
97
+ "policyDigest": { "$ref": "#/$defs/digest" },
98
+ "proposalDigest": { "$ref": "#/$defs/digest" },
99
+ "factsDigest": { "$ref": "#/$defs/digest" },
100
+ "facts": { "type": "array", "minItems": 1, "maxItems": 200, "items": { "$ref": "#/$defs/confirmedFact" } },
101
+ "confirmation": {
102
+ "type": "object",
103
+ "required": ["confirmedBy", "confirmedAt", "decisions"],
104
+ "properties": {
105
+ "confirmedBy": { "type": "string", "minLength": 1, "maxLength": 160 },
106
+ "confirmedAt": { "type": "string", "format": "date-time" },
107
+ "decisions": {
108
+ "type": "array",
109
+ "minItems": 1,
110
+ "maxItems": 200,
111
+ "items": {
112
+ "type": "object",
113
+ "required": ["factId", "disposition"],
114
+ "properties": {
115
+ "factId": { "$ref": "#/$defs/slug" },
116
+ "disposition": { "enum": ["confirmed", "rejected"] },
117
+ "values": { "type": "array", "minItems": 1, "maxItems": 40, "items": { "$ref": "#/$defs/value" } }
118
+ },
119
+ "additionalProperties": false
120
+ }
121
+ }
122
+ },
123
+ "additionalProperties": false
124
+ },
125
+ "authority": {
126
+ "type": "object",
127
+ "required": ["authoritative", "source", "modelAuthority", "personaAuthority"],
128
+ "properties": {
129
+ "authoritative": { "const": true },
130
+ "source": { "const": "named-human-confirmation" },
131
+ "modelAuthority": { "const": false },
132
+ "personaAuthority": { "const": false }
133
+ },
134
+ "additionalProperties": false
135
+ }
136
+ },
137
+ "additionalProperties": false
138
+ }
139
+ }
140
+ }
@@ -0,0 +1,68 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://engineeringwith.ai/schemas/portfolio-v1.json",
4
+ "title": "Engineering With AI portfolio",
5
+ "type": "object",
6
+ "required": ["schema", "id", "name", "owner", "members", "dependencies"],
7
+ "properties": {
8
+ "schema": { "const": "ewai.portfolio/v1" },
9
+ "id": { "$ref": "#/$defs/slug" },
10
+ "name": { "type": "string", "minLength": 1, "maxLength": 160 },
11
+ "owner": { "type": "string", "minLength": 1, "maxLength": 160 },
12
+ "members": {
13
+ "type": "array",
14
+ "minItems": 1,
15
+ "maxItems": 100,
16
+ "items": { "$ref": "#/$defs/member" }
17
+ },
18
+ "dependencies": {
19
+ "type": "array",
20
+ "maxItems": 400,
21
+ "items": { "$ref": "#/$defs/dependency" }
22
+ }
23
+ },
24
+ "additionalProperties": false,
25
+ "$defs": {
26
+ "slug": {
27
+ "type": "string",
28
+ "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
29
+ "maxLength": 100
30
+ },
31
+ "member": {
32
+ "type": "object",
33
+ "required": ["id", "kind", "name", "owner"],
34
+ "properties": {
35
+ "id": { "$ref": "#/$defs/slug" },
36
+ "kind": { "enum": ["portfolio", "programme", "project"] },
37
+ "name": { "type": "string", "minLength": 1, "maxLength": 160 },
38
+ "owner": { "type": "string", "minLength": 1, "maxLength": 160 },
39
+ "parent": { "$ref": "#/$defs/slug" },
40
+ "repository": { "type": "string", "minLength": 1, "maxLength": 120 },
41
+ "project_path": { "type": "string", "minLength": 1, "maxLength": 500 }
42
+ },
43
+ "allOf": [
44
+ {
45
+ "if": { "properties": { "kind": { "const": "project" } }, "required": ["kind"] },
46
+ "then": { "required": ["repository", "project_path"] },
47
+ "else": {
48
+ "not": { "anyOf": [{ "required": ["repository"] }, { "required": ["project_path"] }] }
49
+ }
50
+ }
51
+ ],
52
+ "additionalProperties": false
53
+ },
54
+ "dependency": {
55
+ "type": "object",
56
+ "required": ["id", "from", "to", "rationale", "owner"],
57
+ "properties": {
58
+ "id": { "$ref": "#/$defs/slug" },
59
+ "from": { "$ref": "#/$defs/slug" },
60
+ "to": { "$ref": "#/$defs/slug" },
61
+ "rationale": { "type": "string", "minLength": 1, "maxLength": 500 },
62
+ "owner": { "type": "string", "minLength": 1, "maxLength": 160 }
63
+ },
64
+ "additionalProperties": false
65
+ }
66
+ }
67
+ }
68
+