@documentation-robotics/cli 0.1.0 → 0.1.7

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 (510) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +466 -693
  3. package/dist/analysis/data-model-analyzer.js +189 -0
  4. package/dist/analysis/data-model-analyzer.js.map +7 -0
  5. package/dist/analysis/index.js +3 -0
  6. package/dist/analysis/index.js.map +7 -0
  7. package/dist/analysis/relationship-classifier.js +181 -0
  8. package/dist/analysis/relationship-classifier.js.map +7 -0
  9. package/dist/analyzers/base-analyzer.js +1 -0
  10. package/dist/analyzers/base-analyzer.js.map +7 -0
  11. package/dist/analyzers/call-graph-utils.js +39 -0
  12. package/dist/analyzers/call-graph-utils.js.map +7 -0
  13. package/dist/analyzers/cbm-analyzer.js +1205 -0
  14. package/dist/analyzers/cbm-analyzer.js.map +7 -0
  15. package/dist/analyzers/heuristic-utils.js +55 -0
  16. package/dist/analyzers/heuristic-utils.js.map +7 -0
  17. package/dist/analyzers/mapping-loader.js +146 -0
  18. package/dist/analyzers/mapping-loader.js.map +7 -0
  19. package/dist/analyzers/registry.js +124 -0
  20. package/dist/analyzers/registry.js.map +7 -0
  21. package/dist/analyzers/session-state.js +176 -0
  22. package/dist/analyzers/session-state.js.map +7 -0
  23. package/dist/analyzers/stdio-client.js +208 -0
  24. package/dist/analyzers/stdio-client.js.map +7 -0
  25. package/dist/analyzers/types.js +15 -0
  26. package/dist/analyzers/types.js.map +7 -0
  27. package/dist/analyzers/verify-engine.js +209 -0
  28. package/dist/analyzers/verify-engine.js.map +7 -0
  29. package/dist/analyzers/verify-ignore.js +130 -0
  30. package/dist/analyzers/verify-ignore.js.map +7 -0
  31. package/dist/analyzers/version.js +8 -0
  32. package/dist/analyzers/version.js.map +7 -0
  33. package/dist/audit/ai/runner.js +41 -0
  34. package/dist/audit/ai/runner.js.map +7 -0
  35. package/dist/audit/differential-analyzer.js +183 -0
  36. package/dist/audit/differential-analyzer.js.map +7 -0
  37. package/dist/audit/index.js +32 -0
  38. package/dist/audit/index.js.map +7 -0
  39. package/dist/audit/nodes/ai/evaluator.js +49 -0
  40. package/dist/audit/nodes/ai/evaluator.js.map +7 -0
  41. package/dist/audit/nodes/ai/parser.js +55 -0
  42. package/dist/audit/nodes/ai/parser.js.map +7 -0
  43. package/dist/audit/nodes/ai/prompts.js +103 -0
  44. package/dist/audit/nodes/ai/prompts.js.map +7 -0
  45. package/dist/audit/nodes/analysis/node-completeness-checker.js +32 -0
  46. package/dist/audit/nodes/analysis/node-completeness-checker.js.map +7 -0
  47. package/dist/audit/nodes/analysis/node-definition-analyzer.js +47 -0
  48. package/dist/audit/nodes/analysis/node-definition-analyzer.js.map +7 -0
  49. package/dist/audit/nodes/analysis/node-overlap-detector.js +79 -0
  50. package/dist/audit/nodes/analysis/node-overlap-detector.js.map +7 -0
  51. package/dist/audit/nodes/model/orchestrator.js +82 -0
  52. package/dist/audit/nodes/model/orchestrator.js.map +7 -0
  53. package/dist/audit/nodes/spec/loader.js +116 -0
  54. package/dist/audit/nodes/spec/loader.js.map +7 -0
  55. package/dist/audit/nodes/spec/orchestrator.js +68 -0
  56. package/dist/audit/nodes/spec/orchestrator.js.map +7 -0
  57. package/dist/audit/nodes/types.js +1 -0
  58. package/dist/audit/nodes/types.js.map +7 -0
  59. package/dist/audit/pipeline/index.js +5 -0
  60. package/dist/audit/pipeline/index.js.map +7 -0
  61. package/dist/audit/pipeline/pipeline-orchestrator.js +218 -0
  62. package/dist/audit/pipeline/pipeline-orchestrator.js.map +7 -0
  63. package/dist/audit/relationships/ai/evaluator.js +235 -0
  64. package/dist/audit/relationships/ai/evaluator.js.map +7 -0
  65. package/dist/audit/relationships/ai/parser.js +197 -0
  66. package/dist/audit/relationships/ai/parser.js.map +7 -0
  67. package/dist/audit/relationships/ai/prompts.js +274 -0
  68. package/dist/audit/relationships/ai/prompts.js.map +7 -0
  69. package/dist/audit/relationships/analysis/balance-assessor.js +115 -0
  70. package/dist/audit/relationships/analysis/balance-assessor.js.map +7 -0
  71. package/dist/audit/relationships/analysis/coverage-analyzer.js +99 -0
  72. package/dist/audit/relationships/analysis/coverage-analyzer.js.map +7 -0
  73. package/dist/audit/relationships/analysis/duplicate-detector.js +95 -0
  74. package/dist/audit/relationships/analysis/duplicate-detector.js.map +7 -0
  75. package/dist/audit/relationships/analysis/gap-analyzer.js +99 -0
  76. package/dist/audit/relationships/analysis/gap-analyzer.js.map +7 -0
  77. package/dist/audit/relationships/analysis/layer-templates.js +294 -0
  78. package/dist/audit/relationships/analysis/layer-templates.js.map +7 -0
  79. package/dist/audit/relationships/graph/connectivity.js +129 -0
  80. package/dist/audit/relationships/graph/connectivity.js.map +7 -0
  81. package/dist/audit/relationships/graph/relationship-graph.js +179 -0
  82. package/dist/audit/relationships/graph/relationship-graph.js.map +7 -0
  83. package/dist/audit/relationships/model/balance-assessor.js +49 -0
  84. package/dist/audit/relationships/model/balance-assessor.js.map +7 -0
  85. package/dist/audit/relationships/model/coverage-analyzer.js +34 -0
  86. package/dist/audit/relationships/model/coverage-analyzer.js.map +7 -0
  87. package/dist/audit/relationships/model/duplicate-detector.js +68 -0
  88. package/dist/audit/relationships/model/duplicate-detector.js.map +7 -0
  89. package/dist/audit/relationships/model/gap-analyzer.js +41 -0
  90. package/dist/audit/relationships/model/gap-analyzer.js.map +7 -0
  91. package/dist/audit/relationships/model/orchestrator.js +126 -0
  92. package/dist/audit/relationships/model/orchestrator.js.map +7 -0
  93. package/dist/audit/relationships/spec/orchestrator.js +157 -0
  94. package/dist/audit/relationships/spec/orchestrator.js.map +7 -0
  95. package/dist/audit/reports/index.js +5 -0
  96. package/dist/audit/reports/index.js.map +7 -0
  97. package/dist/audit/reports/report-generator.js +118 -0
  98. package/dist/audit/reports/report-generator.js.map +7 -0
  99. package/dist/audit/snapshot-storage.js +163 -0
  100. package/dist/audit/snapshot-storage.js.map +7 -0
  101. package/dist/audit/types.js +21 -0
  102. package/dist/audit/types.js.map +7 -0
  103. package/dist/cli.js +223 -92
  104. package/dist/cli.js.map +3 -3
  105. package/dist/coding-agents/agents/claude-code.js +147 -0
  106. package/dist/coding-agents/agents/claude-code.js.map +7 -0
  107. package/dist/coding-agents/agents/index.js +5 -0
  108. package/dist/coding-agents/agents/index.js.map +7 -0
  109. package/dist/coding-agents/agents/types.js +1 -0
  110. package/dist/coding-agents/agents/types.js.map +7 -0
  111. package/dist/coding-agents/base-chat-client.js +45 -0
  112. package/dist/coding-agents/base-chat-client.js.map +7 -0
  113. package/dist/coding-agents/chat-utils.js +23 -0
  114. package/dist/coding-agents/chat-utils.js.map +7 -0
  115. package/dist/coding-agents/claude-code-client.js +246 -0
  116. package/dist/coding-agents/claude-code-client.js.map +7 -0
  117. package/dist/coding-agents/copilot-client.js +209 -0
  118. package/dist/coding-agents/copilot-client.js.map +7 -0
  119. package/dist/commands/add.js +95 -33
  120. package/dist/commands/add.js.map +2 -2
  121. package/dist/commands/analyzer.js +511 -0
  122. package/dist/commands/analyzer.js.map +7 -0
  123. package/dist/commands/audit-diff.js +49 -0
  124. package/dist/commands/audit-diff.js.map +7 -0
  125. package/dist/commands/audit-snapshots.js +62 -0
  126. package/dist/commands/audit-snapshots.js.map +7 -0
  127. package/dist/commands/audit.js +81 -0
  128. package/dist/commands/audit.js.map +7 -0
  129. package/dist/commands/catalog.js +248 -0
  130. package/dist/commands/catalog.js.map +7 -0
  131. package/dist/commands/changeset.js +577 -66
  132. package/dist/commands/changeset.js.map +2 -2
  133. package/dist/commands/chat.js +106 -83
  134. package/dist/commands/chat.js.map +2 -2
  135. package/dist/commands/claude.js +74 -0
  136. package/dist/commands/claude.js.map +7 -0
  137. package/dist/commands/conformance.js +71 -68
  138. package/dist/commands/conformance.js.map +2 -2
  139. package/dist/commands/copilot.js +75 -0
  140. package/dist/commands/copilot.js.map +7 -0
  141. package/dist/commands/delete.js +125 -11
  142. package/dist/commands/delete.js.map +3 -3
  143. package/dist/commands/discover-logic.js +44 -0
  144. package/dist/commands/discover-logic.js.map +7 -0
  145. package/dist/commands/docs.js +87 -0
  146. package/dist/commands/docs.js.map +7 -0
  147. package/dist/commands/element.js +14 -20
  148. package/dist/commands/element.js.map +2 -2
  149. package/dist/commands/export.js +13 -3
  150. package/dist/commands/export.js.map +2 -2
  151. package/dist/commands/import.js +51 -0
  152. package/dist/commands/import.js.map +7 -0
  153. package/dist/commands/info.js +30 -24
  154. package/dist/commands/info.js.map +2 -2
  155. package/dist/commands/init.js +27 -11
  156. package/dist/commands/init.js.map +2 -2
  157. package/dist/commands/list.js +63 -13
  158. package/dist/commands/list.js.map +3 -3
  159. package/dist/commands/relationship.js +225 -37
  160. package/dist/commands/relationship.js.map +2 -2
  161. package/dist/commands/report.js +54 -0
  162. package/dist/commands/report.js.map +7 -0
  163. package/dist/commands/reports.js +45 -0
  164. package/dist/commands/reports.js.map +7 -0
  165. package/dist/commands/schema.js +135 -0
  166. package/dist/commands/schema.js.map +7 -0
  167. package/dist/commands/search.js +40 -12
  168. package/dist/commands/search.js.map +2 -2
  169. package/dist/commands/show.js +58 -27
  170. package/dist/commands/show.js.map +2 -2
  171. package/dist/commands/stats.js +35 -0
  172. package/dist/commands/stats.js.map +7 -0
  173. package/dist/commands/trace.js +39 -16
  174. package/dist/commands/trace.js.map +2 -2
  175. package/dist/commands/update.js +141 -14
  176. package/dist/commands/update.js.map +2 -2
  177. package/dist/commands/upgrade.js +210 -46
  178. package/dist/commands/upgrade.js.map +3 -3
  179. package/dist/commands/validate.js +142 -23
  180. package/dist/commands/validate.js.map +3 -3
  181. package/dist/commands/version.js +8 -12
  182. package/dist/commands/version.js.map +2 -2
  183. package/dist/commands/visualize.js +162 -25
  184. package/dist/commands/visualize.js.map +2 -2
  185. package/dist/core/base-snapshot-manager.js +84 -0
  186. package/dist/core/base-snapshot-manager.js.map +7 -0
  187. package/dist/core/changeset-exporter.js +305 -0
  188. package/dist/core/changeset-exporter.js.map +7 -0
  189. package/dist/core/changeset-validator.js +41 -0
  190. package/dist/core/changeset-validator.js.map +7 -0
  191. package/dist/core/changeset.js +88 -173
  192. package/dist/core/changeset.js.map +2 -2
  193. package/dist/core/dependency-tracker.js +4 -2
  194. package/dist/core/dependency-tracker.js.map +2 -2
  195. package/dist/core/element.js +98 -27
  196. package/dist/core/element.js.map +2 -2
  197. package/dist/core/golden-copy-cache.js +290 -0
  198. package/dist/core/golden-copy-cache.js.map +7 -0
  199. package/dist/core/graph-model.js +266 -0
  200. package/dist/core/graph-model.js.map +7 -0
  201. package/dist/core/layer.js +159 -16
  202. package/dist/core/layer.js.map +2 -2
  203. package/dist/core/layers.js +32 -0
  204. package/dist/core/layers.js.map +7 -0
  205. package/dist/core/manifest.js +32 -11
  206. package/dist/core/manifest.js.map +2 -2
  207. package/dist/core/migration-registry.js +56 -1
  208. package/dist/core/migration-registry.js.map +2 -2
  209. package/dist/core/model.js +424 -217
  210. package/dist/core/model.js.map +3 -3
  211. package/dist/core/mutation-handler.js +179 -0
  212. package/dist/core/mutation-handler.js.map +7 -0
  213. package/dist/core/reference-registry.js +29 -21
  214. package/dist/core/reference-registry.js.map +2 -2
  215. package/dist/core/relationship-catalog.js +189 -0
  216. package/dist/core/relationship-catalog.js.map +7 -0
  217. package/dist/core/relationship-registry.js.map +2 -2
  218. package/dist/core/relationships.js.map +1 -1
  219. package/dist/core/report-data-model.js +285 -0
  220. package/dist/core/report-data-model.js.map +7 -0
  221. package/dist/core/spec-data-service.js +185 -0
  222. package/dist/core/spec-data-service.js.map +7 -0
  223. package/dist/core/spec-loader-types.js +1 -0
  224. package/dist/core/spec-loader-types.js.map +7 -0
  225. package/dist/core/spec-loader.js +234 -0
  226. package/dist/core/spec-loader.js.map +7 -0
  227. package/dist/core/staged-changeset-storage.js +282 -0
  228. package/dist/core/staged-changeset-storage.js.map +7 -0
  229. package/dist/core/staging-area.js +1002 -0
  230. package/dist/core/staging-area.js.map +7 -0
  231. package/dist/core/stats-collector.js +169 -0
  232. package/dist/core/stats-collector.js.map +7 -0
  233. package/dist/core/virtual-projection.js +443 -0
  234. package/dist/core/virtual-projection.js.map +7 -0
  235. package/dist/export/archimate-exporter.js +99 -60
  236. package/dist/export/archimate-exporter.js.map +2 -2
  237. package/dist/export/audit-formatters.js +479 -0
  238. package/dist/export/audit-formatters.js.map +7 -0
  239. package/dist/export/diff-formatters.js +99 -0
  240. package/dist/export/diff-formatters.js.map +7 -0
  241. package/dist/export/export-manager.js.map +2 -2
  242. package/dist/export/graphml-exporter.js +44 -27
  243. package/dist/export/graphml-exporter.js.map +2 -2
  244. package/dist/export/index.js +4 -0
  245. package/dist/export/index.js.map +2 -2
  246. package/dist/export/json-schema-exporter.js +55 -42
  247. package/dist/export/json-schema-exporter.js.map +2 -2
  248. package/dist/export/markdown-exporter.js +92 -70
  249. package/dist/export/markdown-exporter.js.map +2 -2
  250. package/dist/export/markdown-generator.js +248 -0
  251. package/dist/export/markdown-generator.js.map +7 -0
  252. package/dist/export/markdown-utils.js +30 -0
  253. package/dist/export/markdown-utils.js.map +7 -0
  254. package/dist/export/mermaid-markdown-exporter.js +37 -0
  255. package/dist/export/mermaid-markdown-exporter.js.map +7 -0
  256. package/dist/export/openapi-exporter.js +119 -71
  257. package/dist/export/openapi-exporter.js.map +2 -2
  258. package/dist/export/plantuml-exporter.js +104 -39
  259. package/dist/export/plantuml-exporter.js.map +2 -2
  260. package/dist/export/report-formatters.js +111 -0
  261. package/dist/export/report-formatters.js.map +7 -0
  262. package/dist/export/stats-formatters.js +98 -0
  263. package/dist/export/stats-formatters.js.map +7 -0
  264. package/dist/export/types.js +2 -14
  265. package/dist/export/types.js.map +2 -2
  266. package/dist/export/verify-formatters.js +153 -0
  267. package/dist/export/verify-formatters.js.map +7 -0
  268. package/dist/generated/compiled-validators.js +17 -0
  269. package/dist/generated/compiled-validators.js.map +7 -0
  270. package/dist/generated/index.js +31 -0
  271. package/dist/generated/index.js.map +7 -0
  272. package/dist/generated/layer-registry.js +190 -0
  273. package/dist/generated/layer-registry.js.map +7 -0
  274. package/dist/generated/layer-types.js +7 -0
  275. package/dist/generated/layer-types.js.map +7 -0
  276. package/dist/generated/node-types.js +1719 -0
  277. package/dist/generated/node-types.js.map +7 -0
  278. package/dist/generated/relationship-index.js +14552 -0
  279. package/dist/generated/relationship-index.js.map +7 -0
  280. package/dist/import/archimate-importer.js +166 -0
  281. package/dist/import/archimate-importer.js.map +7 -0
  282. package/dist/import/index.js +47 -0
  283. package/dist/import/index.js.map +7 -0
  284. package/dist/import/openapi-importer.js +143 -0
  285. package/dist/import/openapi-importer.js.map +7 -0
  286. package/dist/import/types.js +1 -0
  287. package/dist/import/types.js.map +7 -0
  288. package/dist/integrations/base-manager.js +311 -0
  289. package/dist/integrations/base-manager.js.map +7 -0
  290. package/dist/integrations/claude-manager.js +360 -0
  291. package/dist/integrations/claude-manager.js.map +7 -0
  292. package/dist/integrations/claude_code/agents/dr-advisor.md +253 -0
  293. package/dist/integrations/claude_code/agents/dr-architect.md +278 -0
  294. package/dist/integrations/claude_code/agents/dr-extractor.md +286 -0
  295. package/dist/integrations/claude_code/commands/dr-changeset.md +657 -0
  296. package/dist/integrations/claude_code/commands/dr-design.md +373 -0
  297. package/dist/integrations/claude_code/commands/dr-info.md +132 -0
  298. package/dist/integrations/claude_code/commands/dr-init.md +251 -0
  299. package/dist/integrations/claude_code/commands/dr-map.md +936 -0
  300. package/dist/integrations/claude_code/commands/dr-model.md +493 -0
  301. package/dist/integrations/claude_code/commands/dr-relate.md +814 -0
  302. package/dist/integrations/claude_code/commands/dr-sync.md +279 -0
  303. package/dist/integrations/claude_code/commands/dr-validate.md +654 -0
  304. package/dist/integrations/claude_code/commands/dr-verify.md +559 -0
  305. package/dist/integrations/claude_code/docs/END_TO_END_WALKTHROUGH.md +903 -0
  306. package/dist/integrations/claude_code/docs/QUICK_START.md +271 -0
  307. package/dist/integrations/claude_code/docs/README.md +347 -0
  308. package/dist/integrations/claude_code/skills/dr_01_motivation_layer/SKILL.md +550 -0
  309. package/dist/integrations/claude_code/skills/dr_02_business_layer/SKILL.md +620 -0
  310. package/dist/integrations/claude_code/skills/dr_03_security_layer/SKILL.md +642 -0
  311. package/dist/integrations/claude_code/skills/dr_04_application_layer/SKILL.md +911 -0
  312. package/dist/integrations/claude_code/skills/dr_05_technology_layer/SKILL.md +836 -0
  313. package/dist/integrations/claude_code/skills/dr_06_api_layer/SKILL.md +933 -0
  314. package/dist/integrations/claude_code/skills/dr_07_data_model_layer/SKILL.md +210 -0
  315. package/dist/integrations/claude_code/skills/dr_08_dataset_layer/SKILL.md +319 -0
  316. package/dist/integrations/claude_code/skills/dr_09_ux_layer/SKILL.md +319 -0
  317. package/dist/integrations/claude_code/skills/dr_10_navigation_layer/SKILL.md +318 -0
  318. package/dist/integrations/claude_code/skills/dr_11_apm_layer/SKILL.md +273 -0
  319. package/dist/integrations/claude_code/skills/dr_12_testing_layer/SKILL.md +273 -0
  320. package/dist/integrations/claude_code/skills/dr_changeset_reviewer/SKILL.md +187 -0
  321. package/dist/integrations/claude_code/skills/dr_codebase_memory/SKILL.md +590 -0
  322. package/dist/integrations/claude_code/skills/dr_engineering_guide/SKILL.md +295 -0
  323. package/dist/integrations/copilot-manager.js +328 -0
  324. package/dist/integrations/copilot-manager.js.map +7 -0
  325. package/dist/integrations/github_copilot/agents/dr-advisor.md +243 -0
  326. package/dist/integrations/github_copilot/agents/dr-architect.md +1567 -0
  327. package/dist/integrations/github_copilot/skills/dr_01_motivation_layer/SKILL.md +491 -0
  328. package/dist/integrations/github_copilot/skills/dr_02_business_layer/SKILL.md +539 -0
  329. package/dist/integrations/github_copilot/skills/dr_03_security_layer/SKILL.md +667 -0
  330. package/dist/integrations/github_copilot/skills/dr_04_application_layer/SKILL.md +670 -0
  331. package/dist/integrations/github_copilot/skills/dr_05_technology_layer/SKILL.md +660 -0
  332. package/dist/integrations/github_copilot/skills/dr_06_api_layer/SKILL.md +855 -0
  333. package/dist/integrations/github_copilot/skills/dr_07_data_model_layer/SKILL.md +171 -0
  334. package/dist/integrations/github_copilot/skills/dr_08_dataset_layer/SKILL.md +216 -0
  335. package/dist/integrations/github_copilot/skills/dr_09_ux_layer/SKILL.md +230 -0
  336. package/dist/integrations/github_copilot/skills/dr_10_navigation_layer/SKILL.md +228 -0
  337. package/dist/integrations/github_copilot/skills/dr_11_apm_layer/SKILL.md +234 -0
  338. package/dist/integrations/github_copilot/skills/dr_12_testing_layer/SKILL.md +230 -0
  339. package/dist/integrations/github_copilot/skills/dr_changeset_reviewer/SKILL.md +187 -0
  340. package/dist/integrations/hash-utils.js +51 -0
  341. package/dist/integrations/hash-utils.js.map +7 -0
  342. package/dist/integrations/types.js +16 -0
  343. package/dist/integrations/types.js.map +7 -0
  344. package/dist/reports/model-layer-report-generator.js +278 -0
  345. package/dist/reports/model-layer-report-generator.js.map +7 -0
  346. package/dist/reports/model-report-data.js +57 -0
  347. package/dist/reports/model-report-data.js.map +7 -0
  348. package/dist/reports/model-report-orchestrator.js +103 -0
  349. package/dist/reports/model-report-orchestrator.js.map +7 -0
  350. package/dist/schemas/bundled/analyzers/cbm.json +595 -0
  351. package/dist/schemas/bundled/analyzers/manifest.json +9 -0
  352. package/dist/schemas/bundled/api.json +3411 -0
  353. package/dist/schemas/bundled/apm.json +2371 -0
  354. package/dist/schemas/bundled/application.json +1253 -0
  355. package/dist/schemas/bundled/base.json +1622 -0
  356. package/dist/schemas/bundled/business.json +1279 -0
  357. package/dist/schemas/bundled/data-model.json +1298 -0
  358. package/dist/schemas/bundled/data-store.json +2025 -0
  359. package/dist/schemas/bundled/manifest.json +93 -0
  360. package/dist/schemas/bundled/motivation.json +1360 -0
  361. package/dist/schemas/bundled/navigation.json +1874 -0
  362. package/dist/schemas/bundled/security.json +3488 -0
  363. package/dist/schemas/bundled/technology.json +2067 -0
  364. package/dist/schemas/bundled/testing.json +3120 -0
  365. package/dist/schemas/bundled/ux.json +3592 -0
  366. package/dist/server/schemas.js +202 -0
  367. package/dist/server/schemas.js.map +7 -0
  368. package/dist/server/server.js +1336 -252
  369. package/dist/server/server.js.map +3 -3
  370. package/dist/server/telemetry-middleware.js +22 -15
  371. package/dist/server/telemetry-middleware.js.map +2 -2
  372. package/dist/server-entry.js +65 -0
  373. package/dist/server-entry.js.map +7 -0
  374. package/dist/telemetry/config.js +89 -0
  375. package/dist/telemetry/config.js.map +7 -0
  376. package/dist/telemetry/console-interceptor.js.map +1 -1
  377. package/dist/telemetry/detect.js +24 -0
  378. package/dist/telemetry/detect.js.map +7 -0
  379. package/dist/telemetry/fetch-otlp-exporter.js +112 -0
  380. package/dist/telemetry/fetch-otlp-exporter.js.map +7 -0
  381. package/dist/telemetry/index.js +153 -3
  382. package/dist/telemetry/index.js.map +2 -2
  383. package/dist/telemetry/resilient-exporter.js +22 -8
  384. package/dist/telemetry/resilient-exporter.js.map +2 -2
  385. package/dist/telemetry/resilient-log-exporter.js +17 -8
  386. package/dist/telemetry/resilient-log-exporter.js.map +2 -2
  387. package/dist/telemetry/test-instrumentation.js.map +2 -2
  388. package/dist/types/index.js +84 -0
  389. package/dist/types/index.js.map +3 -3
  390. package/dist/types/source-reference.js +1 -0
  391. package/dist/types/source-reference.js.map +7 -0
  392. package/dist/utils/chat-logger.js +292 -0
  393. package/dist/utils/chat-logger.js.map +7 -0
  394. package/dist/utils/claude-stream.js +8 -0
  395. package/dist/utils/claude-stream.js.map +7 -0
  396. package/dist/utils/date-utils.js +7 -0
  397. package/dist/utils/date-utils.js.map +7 -0
  398. package/dist/utils/element-utils.js.map +1 -1
  399. package/dist/utils/errors.js +88 -15
  400. package/dist/utils/errors.js.map +3 -3
  401. package/dist/utils/export-python-annotations.js +82 -0
  402. package/dist/utils/export-python-annotations.js.map +7 -0
  403. package/dist/utils/file-io.js +7 -2
  404. package/dist/utils/file-io.js.map +2 -2
  405. package/dist/utils/file-lock.js +156 -0
  406. package/dist/utils/file-lock.js.map +7 -0
  407. package/dist/utils/id-generator.js +18 -0
  408. package/dist/utils/id-generator.js.map +7 -0
  409. package/dist/utils/layer-name-formatter.js +16 -0
  410. package/dist/utils/layer-name-formatter.js.map +7 -0
  411. package/dist/utils/markdown-anchor.js +7 -0
  412. package/dist/utils/markdown-anchor.js.map +7 -0
  413. package/dist/utils/markdown-link.js +12 -0
  414. package/dist/utils/markdown-link.js.map +7 -0
  415. package/dist/utils/markdown-table.js +17 -0
  416. package/dist/utils/markdown-table.js.map +7 -0
  417. package/dist/utils/mermaid-utils.js +11 -0
  418. package/dist/utils/mermaid-utils.js.map +7 -0
  419. package/dist/utils/project-paths.js.map +2 -2
  420. package/dist/utils/source-reference.js +52 -0
  421. package/dist/utils/source-reference.js.map +7 -0
  422. package/dist/utils/spec-installer.js +40 -53
  423. package/dist/utils/spec-installer.js.map +2 -2
  424. package/dist/utils/spec-version.js +5 -1
  425. package/dist/utils/spec-version.js.map +2 -2
  426. package/dist/utils/string-utils.js +12 -0
  427. package/dist/utils/string-utils.js.map +7 -0
  428. package/dist/utils/table-formatting.js +19 -0
  429. package/dist/utils/table-formatting.js.map +7 -0
  430. package/dist/validators/index.js +4 -0
  431. package/dist/validators/index.js.map +2 -2
  432. package/dist/validators/naming-validator.js +20 -23
  433. package/dist/validators/naming-validator.js.map +2 -2
  434. package/dist/validators/reference-validator.js +23 -38
  435. package/dist/validators/reference-validator.js.map +2 -2
  436. package/dist/validators/relationship-schema-validator.js +243 -0
  437. package/dist/validators/relationship-schema-validator.js.map +7 -0
  438. package/dist/validators/schema-validator.js +168 -68
  439. package/dist/validators/schema-validator.js.map +2 -2
  440. package/dist/validators/semantic-validator.js +36 -60
  441. package/dist/validators/semantic-validator.js.map +2 -2
  442. package/dist/validators/types.js.map +2 -2
  443. package/dist/validators/validation-formatter.js +159 -0
  444. package/dist/validators/validation-formatter.js.map +7 -0
  445. package/dist/validators/validator.js +24 -38
  446. package/dist/validators/validator.js.map +2 -2
  447. package/dist/viewer/README.md +139 -0
  448. package/dist/viewer/assets/main-CY0Xufuj.css +1 -0
  449. package/dist/viewer/assets/main-DtgErnwF.js +81 -0
  450. package/dist/viewer/assets/vendor-CxKvDp2x.js +17 -0
  451. package/dist/viewer/favicon.svg +11 -0
  452. package/dist/viewer/fonts/inter/Inter-Black.woff2 +0 -0
  453. package/dist/viewer/fonts/inter/Inter-Bold.woff2 +0 -0
  454. package/dist/viewer/fonts/inter/Inter-ExtraBold.woff2 +0 -0
  455. package/dist/viewer/fonts/inter/Inter-Light.woff2 +0 -0
  456. package/dist/viewer/fonts/inter/Inter-Medium.woff2 +0 -0
  457. package/dist/viewer/fonts/inter/Inter-Regular.woff2 +0 -0
  458. package/dist/viewer/fonts/inter/Inter-SemiBold.woff2 +0 -0
  459. package/dist/viewer/fonts/jetbrains-mono/JetBrainsMono-Medium.woff2 +0 -0
  460. package/dist/viewer/fonts/jetbrains-mono/JetBrainsMono-Regular.woff2 +0 -0
  461. package/dist/viewer/fonts/jetbrains-mono/JetBrainsMono-SemiBold.woff2 +0 -0
  462. package/dist/viewer/index.html +15 -0
  463. package/dist/viewer/manifest.json +99 -0
  464. package/dist/viewer/version.json +1 -0
  465. package/package.json +42 -16
  466. package/PYTHON_CLI_PARITY.md +0 -265
  467. package/PYTHON_CLI_STRUCTURE_UPDATE.md +0 -246
  468. package/biome.json +0 -42
  469. package/bunfig.toml +0 -3
  470. package/dist/ai/claude-client.js +0 -71
  471. package/dist/ai/claude-client.js.map +0 -7
  472. package/dist/ai/context-provider.js +0 -129
  473. package/dist/ai/context-provider.js.map +0 -7
  474. package/dist/ai/tools.js +0 -231
  475. package/dist/ai/tools.js.map +0 -7
  476. package/dist/commands/migrate.js +0 -36
  477. package/dist/commands/migrate.js.map +0 -7
  478. package/dist/commands/project.js +0 -74
  479. package/dist/commands/project.js.map +0 -7
  480. package/dist/core/active-changeset.js +0 -52
  481. package/dist/core/active-changeset.js.map +0 -7
  482. package/dist/core/projection-engine.js +0 -288
  483. package/dist/core/projection-engine.js.map +0 -7
  484. package/dist/schemas/bundled/01-motivation-layer.schema.json +0 -942
  485. package/dist/schemas/bundled/02-business-layer.schema.json +0 -1293
  486. package/dist/schemas/bundled/03-security-layer.schema.json +0 -2177
  487. package/dist/schemas/bundled/04-application-layer.schema.json +0 -1328
  488. package/dist/schemas/bundled/05-technology-layer.schema.json +0 -1465
  489. package/dist/schemas/bundled/06-api-layer.schema.json +0 -1743
  490. package/dist/schemas/bundled/07-data-model-layer.schema.json +0 -1253
  491. package/dist/schemas/bundled/08-datastore-layer.schema.json +0 -892
  492. package/dist/schemas/bundled/09-ux-layer.schema.json +0 -1506
  493. package/dist/schemas/bundled/10-navigation-layer.schema.json +0 -843
  494. package/dist/schemas/bundled/11-apm-observability-layer.schema.json +0 -1430
  495. package/dist/schemas/bundled/12-testing-layer.schema.json +0 -1091
  496. package/dist/schemas/bundled/common/layer-extensions.schema.json +0 -266
  497. package/dist/schemas/bundled/common/predicates.schema.json +0 -493
  498. package/dist/schemas/bundled/common/relationships.schema.json +0 -791
  499. package/dist/schemas/bundled/common/source-references.schema.json +0 -71
  500. package/dist/schemas/bundled/link-registry.json +0 -1839
  501. package/dist/schemas/bundled/link-registry.schema.json +0 -339
  502. package/dist/schemas/bundled/relationship-catalog.json +0 -1302
  503. package/dist/schemas/bundled/relationship-type.schema.json +0 -221
  504. package/dist/utils/model-path.js +0 -22
  505. package/dist/utils/model-path.js.map +0 -7
  506. package/docs/TEST-INSTRUMENTATION.md +0 -405
  507. package/docs/telemetry.md +0 -427
  508. package/test-debug.js +0 -33
  509. package/test-special.mjs +0 -46
  510. package/test_runner.ts +0 -7
@@ -1,1328 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "$id": "https://example.com/schemas/04-application-layer.schema.json",
4
- "title": "Application Layer Layer Schema",
5
- "description": "Describes application services, components, and interfaces that support business processes and bridge requirements with technical implementation.",
6
- "layerMetadata": {
7
- "layerId": "04-application-layer",
8
- "layerName": "Application Layer",
9
- "intraLayerRelationshipSupport": true,
10
- "crossLayerRelationshipSupport": true,
11
- "relationshipCatalogVersion": "2.1.0"
12
- },
13
- "intraLayerRelationships": {
14
- "$comment": "Relationships between entities within this layer. References relationship-catalog.json by ID.",
15
- "allowed": [
16
- {
17
- "relationshipTypeId": "composition",
18
- "sourceTypes": ["BusinessCollaboration", "TestCoverageModel", "TestCoverageTarget"],
19
- "targetTypes": ["BusinessRole", "OutcomeCategory", "TestCoverageTarget"],
20
- "examples": [
21
- {
22
- "source": "BusinessCollaboration",
23
- "target": "BusinessRole",
24
- "description": "Business collaboration composes business roles that participate in it"
25
- },
26
- {
27
- "source": "TestCoverageModel",
28
- "target": "TestCoverageTarget",
29
- "description": "Coverage model composes targets defining what needs testing",
30
- "layer": "12-testing"
31
- },
32
- {
33
- "source": "TestCoverageTarget",
34
- "target": "OutcomeCategory",
35
- "description": "Coverage target composes expected outcome categories",
36
- "layer": "12-testing"
37
- }
38
- ]
39
- },
40
- {
41
- "relationshipTypeId": "aggregation",
42
- "sourceTypes": ["CoverageRequirement", "Goal", "InputPartitionSelection"],
43
- "targetTypes": ["ContextVariation", "Goal", "PartitionValue"],
44
- "examples": [
45
- {
46
- "source": "Goal",
47
- "target": "Goal",
48
- "description": "High-level goal aggregates sub-goals",
49
- "layer": "01-motivation"
50
- },
51
- {
52
- "source": "InputPartitionSelection",
53
- "target": "PartitionValue",
54
- "description": "Partition selection aggregates multiple partition values to cover",
55
- "layer": "12-testing"
56
- },
57
- {
58
- "source": "CoverageRequirement",
59
- "target": "ContextVariation",
60
- "description": "Requirement aggregates selected contexts for testing",
61
- "layer": "12-testing"
62
- }
63
- ]
64
- },
65
- {
66
- "relationshipTypeId": "specialization",
67
- "sourceTypes": ["PremiumAccount", "Schema"],
68
- "targetTypes": ["Account", "Schema"],
69
- "examples": [
70
- {
71
- "source": "PremiumAccount",
72
- "target": "Account",
73
- "description": "Premium account specializes the general account concept"
74
- },
75
- {
76
- "source": "Schema",
77
- "target": "Schema",
78
- "description": "API schema specializes another via allOf/oneOf/anyOf composition",
79
- "layer": "06-api"
80
- }
81
- ]
82
- },
83
- {
84
- "relationshipTypeId": "realization",
85
- "sourceTypes": ["ApplicationService", "Goal", "Outcome"],
86
- "targetTypes": ["BusinessService", "Goal", "Value"],
87
- "examples": [
88
- {
89
- "source": "Goal",
90
- "target": "Value",
91
- "description": "Goal realizes value for stakeholders",
92
- "layer": "01-motivation"
93
- },
94
- {
95
- "source": "Outcome",
96
- "target": "Goal",
97
- "description": "Outcome realizes achievement of goal",
98
- "layer": "01-motivation"
99
- },
100
- {
101
- "source": "ApplicationService",
102
- "target": "BusinessService",
103
- "description": "Application service realizes business service capability"
104
- }
105
- ]
106
- },
107
- {
108
- "relationshipTypeId": "assignment",
109
- "sourceTypes": ["BusinessActor"],
110
- "targetTypes": ["BusinessRole"],
111
- "examples": [
112
- {
113
- "source": "BusinessActor",
114
- "target": "BusinessRole",
115
- "description": "Business actor assigned to business role"
116
- }
117
- ]
118
- },
119
- {
120
- "relationshipTypeId": "association",
121
- "sourceTypes": ["Requirement", "Stakeholder"],
122
- "targetTypes": ["Constraint", "Driver", "Goal"],
123
- "examples": [
124
- {
125
- "source": "Stakeholder",
126
- "target": "Driver",
127
- "description": "Stakeholder has concern represented by driver",
128
- "layer": "01-motivation"
129
- },
130
- {
131
- "source": "Stakeholder",
132
- "target": "Goal",
133
- "description": "Stakeholder has interest in goal",
134
- "layer": "01-motivation"
135
- },
136
- {
137
- "source": "Requirement",
138
- "target": "Constraint",
139
- "description": "Requirement is limited by constraint",
140
- "layer": "01-motivation"
141
- }
142
- ]
143
- },
144
- {
145
- "relationshipTypeId": "influence",
146
- "sourceTypes": ["Assessment", "Driver"],
147
- "targetTypes": ["Assessment", "Goal"],
148
- "examples": [
149
- {
150
- "source": "Driver",
151
- "target": "Assessment",
152
- "description": "Driver creates need for assessment",
153
- "layer": "01-motivation"
154
- },
155
- {
156
- "source": "Driver",
157
- "target": "Goal",
158
- "description": "Driver motivates goal definition",
159
- "layer": "01-motivation"
160
- },
161
- {
162
- "source": "Assessment",
163
- "target": "Goal",
164
- "description": "Assessment informs goal setting",
165
- "layer": "01-motivation"
166
- }
167
- ]
168
- },
169
- {
170
- "relationshipTypeId": "triggering",
171
- "sourceTypes": ["BusinessEvent", "CoverageGap", "PartitionDependency"],
172
- "targetTypes": ["BusinessProcess", "CoverageRequirement", "PartitionValue"],
173
- "examples": [
174
- {
175
- "source": "BusinessEvent",
176
- "target": "BusinessProcess",
177
- "description": "Business event triggers business process execution"
178
- },
179
- {
180
- "source": "PartitionDependency",
181
- "target": "PartitionValue",
182
- "description": "Dependency condition triggers inclusion/exclusion of partition values",
183
- "layer": "12-testing"
184
- },
185
- {
186
- "source": "CoverageGap",
187
- "target": "CoverageRequirement",
188
- "description": "Identified gap triggers need for additional coverage",
189
- "layer": "12-testing"
190
- }
191
- ]
192
- },
193
- {
194
- "relationshipTypeId": "flow",
195
- "sourceTypes": ["BusinessProcess", "CoverageRequirement", "TestCoverageTarget"],
196
- "targetTypes": ["BusinessProcess", "CoverageRequirement", "TestCaseSketch"],
197
- "examples": [
198
- {
199
- "source": "BusinessProcess",
200
- "target": "BusinessProcess",
201
- "description": "One business process flows to the next in sequence"
202
- },
203
- {
204
- "source": "TestCoverageTarget",
205
- "target": "CoverageRequirement",
206
- "description": "Target flows to requirements that specify its coverage",
207
- "layer": "12-testing"
208
- },
209
- {
210
- "source": "CoverageRequirement",
211
- "target": "TestCaseSketch",
212
- "description": "Requirement flows to sketches that implement it",
213
- "layer": "12-testing"
214
- }
215
- ]
216
- },
217
- {
218
- "relationshipTypeId": "serving",
219
- "sourceTypes": ["BusinessService", "ContextVariation", "InputSpacePartition"],
220
- "targetTypes": ["BusinessActor", "TestCoverageTarget"],
221
- "examples": [
222
- {
223
- "source": "BusinessService",
224
- "target": "BusinessActor",
225
- "description": "Business service serves business actor"
226
- },
227
- {
228
- "source": "InputSpacePartition",
229
- "target": "TestCoverageTarget",
230
- "description": "Partition serves target by defining testable input space",
231
- "layer": "12-testing"
232
- },
233
- {
234
- "source": "ContextVariation",
235
- "target": "TestCoverageTarget",
236
- "description": "Context serves target by defining execution environments",
237
- "layer": "12-testing"
238
- }
239
- ]
240
- },
241
- {
242
- "relationshipTypeId": "access",
243
- "sourceTypes": ["BusinessProcess", "CoverageRequirement", "TestCaseSketch"],
244
- "targetTypes": ["BusinessObject", "InputPartitionSelection", "InputSelection"],
245
- "examples": [
246
- {
247
- "source": "BusinessProcess",
248
- "target": "BusinessObject",
249
- "description": "Business process accesses business object data"
250
- },
251
- {
252
- "source": "TestCaseSketch",
253
- "target": "InputSelection",
254
- "description": "Test sketch accesses input selections for test execution",
255
- "layer": "12-testing"
256
- },
257
- {
258
- "source": "CoverageRequirement",
259
- "target": "InputPartitionSelection",
260
- "description": "Requirement accesses partition selections for coverage",
261
- "layer": "12-testing"
262
- }
263
- ]
264
- },
265
- {
266
- "relationshipTypeId": "uses",
267
- "sourceTypes": ["ApplicationComponent"],
268
- "targetTypes": ["TechnologyService"],
269
- "examples": [
270
- {
271
- "source": "ApplicationComponent",
272
- "target": "TechnologyService",
273
- "description": "Application component uses technology service"
274
- }
275
- ]
276
- },
277
- {
278
- "relationshipTypeId": "reference",
279
- "sourceTypes": ["CoverageRequirement", "DataObject", "TestCaseSketch"],
280
- "targetTypes": ["CoverageRequirement", "Schema", "TestCoverageTarget"],
281
- "examples": [
282
- {
283
- "source": "DataObject",
284
- "target": "Schema",
285
- "description": "Data object references JSON schema"
286
- },
287
- {
288
- "source": "TestCaseSketch",
289
- "target": "CoverageRequirement",
290
- "description": "Test case sketch references coverage requirement it satisfies",
291
- "layer": "12-testing"
292
- },
293
- {
294
- "source": "CoverageRequirement",
295
- "target": "TestCoverageTarget",
296
- "description": "Coverage requirement references target it covers",
297
- "layer": "12-testing"
298
- }
299
- ]
300
- },
301
- {
302
- "relationshipTypeId": "depends-on",
303
- "sourceTypes": ["ApplicationService", "TestCaseSketch"],
304
- "targetTypes": ["ContextVariation", "DataObject", "OutcomeCategory"],
305
- "examples": [
306
- {
307
- "source": "ApplicationService",
308
- "target": "DataObject",
309
- "description": "Application service depends on data object"
310
- },
311
- {
312
- "source": "TestCaseSketch",
313
- "target": "ContextVariation",
314
- "description": "Test sketch depends on context for execution environment",
315
- "layer": "12-testing"
316
- },
317
- {
318
- "source": "TestCaseSketch",
319
- "target": "OutcomeCategory",
320
- "description": "Test sketch depends on expected outcome category",
321
- "layer": "12-testing"
322
- }
323
- ]
324
- },
325
- {
326
- "relationshipTypeId": "supports-goals",
327
- "sourceTypes": ["BusinessService", "Operation"],
328
- "targetTypes": ["Goal"],
329
- "examples": [
330
- {
331
- "source": "BusinessService",
332
- "sourceLayer": "02-business",
333
- "target": "Goal",
334
- "targetLayer": "01-motivation",
335
- "value": "goal-revenue-growth",
336
- "description": "Payment service supports revenue growth goal"
337
- },
338
- {
339
- "source": "Operation",
340
- "sourceLayer": "06-api",
341
- "target": "Goal",
342
- "targetLayer": "01-motivation",
343
- "value": "goal-customer-satisfaction",
344
- "description": "GET /products operation supports customer satisfaction goal"
345
- }
346
- ]
347
- },
348
- {
349
- "relationshipTypeId": "fulfills-requirements",
350
- "sourceTypes": ["ApplicationService", "Operation"],
351
- "targetTypes": ["Requirement"],
352
- "examples": [
353
- {
354
- "source": "ApplicationService",
355
- "target": "Requirement",
356
- "description": "OAuth service fulfills authentication requirement"
357
- },
358
- {
359
- "source": "Operation",
360
- "sourceLayer": "06-api",
361
- "target": "Requirement",
362
- "targetLayer": "01-motivation",
363
- "value": "req-product-creation-capability",
364
- "description": "POST /products operation fulfills product creation requirement"
365
- }
366
- ]
367
- },
368
- {
369
- "relationshipTypeId": "governed-by-principles",
370
- "sourceTypes": ["APIOperation"],
371
- "targetTypes": ["Principle"],
372
- "examples": [
373
- {
374
- "source": "APIOperation",
375
- "target": "Principle",
376
- "description": "REST API governed by RESTful design principles"
377
- }
378
- ]
379
- },
380
- {
381
- "relationshipTypeId": "constrainedby",
382
- "sourceTypes": ["APIOperation"],
383
- "targetTypes": ["Constraint"],
384
- "examples": [
385
- {
386
- "source": "APIOperation",
387
- "target": "Constraint",
388
- "description": "API operation constrained by rate limit"
389
- }
390
- ]
391
- },
392
- {
393
- "relationshipTypeId": "traces",
394
- "sourceTypes": ["APIOperation"],
395
- "targetTypes": ["DistributedTrace"],
396
- "examples": [
397
- {
398
- "source": "APIOperation",
399
- "target": "DistributedTrace",
400
- "description": "API operation participates in distributed trace"
401
- }
402
- ]
403
- }
404
- ]
405
- },
406
- "crossLayerRelationships": {
407
- "$comment": "Relationships to/from entities in other layers",
408
- "outgoing": [
409
- {
410
- "id": "apm-sla-target-availability",
411
- "predicate": "sla-target-availability",
412
- "inversePredicate": "referenced-by",
413
- "targetLayer": "11-apm",
414
- "targetTypes": ["SlaTargetAvailability"],
415
- "sourceTypes": ["ApplicationService"],
416
- "fieldPath": "apm.sla-target-availability",
417
- "cardinality": "single",
418
- "format": "percentage",
419
- "strength": "medium",
420
- "required": false,
421
- "description": "string (e.g., \"99.95%\", \"99.99%\", optional)",
422
- "examples": [
423
- {
424
- "elementType": "TechnologyService",
425
- "elementId": "container-platform",
426
- "elementName": "container-platform",
427
- "fieldPath": "apm.sla-target-availability",
428
- "value": "99.95%",
429
- "layer": "05-technology"
430
- },
431
- {
432
- "elementType": "TechnologyService",
433
- "elementId": "database-service",
434
- "elementName": "database-service",
435
- "fieldPath": "apm.sla-target-availability",
436
- "value": "99.99%",
437
- "layer": "05-technology"
438
- }
439
- ]
440
- },
441
- {
442
- "id": "apm-sla-target-latency",
443
- "predicate": "sla-target-latency",
444
- "inversePredicate": "referenced-by",
445
- "targetLayer": "11-apm",
446
- "targetTypes": ["SlaTargetLatency"],
447
- "sourceTypes": ["ApplicationService"],
448
- "fieldPath": "apm.sla-target-latency",
449
- "cardinality": "single",
450
- "format": "duration",
451
- "strength": "medium",
452
- "required": false,
453
- "description": "string (e.g., \"200ms\", \"500ms\", optional)",
454
- "examples": [
455
- {
456
- "elementType": "TechnologyService",
457
- "elementId": "database-service",
458
- "elementName": "database-service",
459
- "fieldPath": "apm.sla-target-latency",
460
- "value": "10ms",
461
- "layer": "05-technology"
462
- }
463
- ]
464
- },
465
- {
466
- "id": "apm-traced",
467
- "predicate": "traced",
468
- "inversePredicate": "referenced-by",
469
- "targetLayer": "11-apm",
470
- "targetTypes": ["Traced"],
471
- "sourceTypes": ["ApplicationService", "Data Properties"],
472
- "fieldPath": "apm.traced",
473
- "cardinality": "single",
474
- "format": "boolean",
475
- "strength": "medium",
476
- "required": false,
477
- "description": "Links to Traced in target layer",
478
- "examples": [
479
- {
480
- "elementType": "ApplicationService",
481
- "elementId": "product-service",
482
- "elementName": "product-service",
483
- "fieldPath": "apm.traced",
484
- "value": "true",
485
- "layer": "04-application"
486
- }
487
- ]
488
- },
489
- {
490
- "id": "business-apm-business-metrics",
491
- "predicate": "business-metrics",
492
- "inversePredicate": "referenced-by",
493
- "targetLayer": "02-business",
494
- "targetTypes": ["BusinessMetric"],
495
- "sourceTypes": ["ApplicationService"],
496
- "fieldPath": "apm.business-metrics",
497
- "cardinality": "array",
498
- "format": "reference",
499
- "strength": "medium",
500
- "required": false,
501
- "description": "comma-separated business metric IDs this service tracks",
502
- "examples": [
503
- {
504
- "elementType": "BusinessProcess",
505
- "elementId": "order-process",
506
- "elementName": "Order Fulfillment Process",
507
- "fieldPath": "apm.business-metrics",
508
- "value": "metric-order-fulfillment-time,metric-order-success-rate",
509
- "layer": "02-business"
510
- }
511
- ]
512
- },
513
- {
514
- "id": "data-retention",
515
- "predicate": "retention",
516
- "inversePredicate": "referenced-by",
517
- "targetLayer": "07-data-model",
518
- "targetTypes": ["Retention"],
519
- "sourceTypes": ["Data Properties", "DataObject"],
520
- "fieldPath": "data.retention",
521
- "cardinality": "single",
522
- "format": "duration",
523
- "strength": "medium",
524
- "required": false,
525
- "description": "Links to Retention in target layer",
526
- "examples": [
527
- {
528
- "elementType": "DataObject",
529
- "elementId": "product-data",
530
- "elementName": "product-data",
531
- "fieldPath": "data.retention",
532
- "value": "7years",
533
- "layer": "04-application"
534
- }
535
- ]
536
- },
537
- {
538
- "id": "motivation-delivers-value",
539
- "predicate": "delivers-value",
540
- "inversePredicate": "delivered-by",
541
- "targetLayer": "01-motivation",
542
- "targetTypes": ["DeliversValue"],
543
- "sourceTypes": ["ApplicationService"],
544
- "fieldPath": "motivation.delivers-value",
545
- "cardinality": "array",
546
- "format": "reference",
547
- "strength": "medium",
548
- "required": false,
549
- "description": "BusinessService delivers Value",
550
- "examples": [
551
- {
552
- "elementType": "BusinessService",
553
- "elementId": "order-service",
554
- "elementName": "Order Processing Service",
555
- "fieldPath": "motivation.delivers-value",
556
- "value": "value-customer-convenience,value-operational-efficiency",
557
- "layer": "02-business"
558
- },
559
- {
560
- "elementType": "ApplicationService",
561
- "elementId": "product-service",
562
- "elementName": "product-service",
563
- "fieldPath": "motivation.delivers-value",
564
- "value": "value-customer-convenience",
565
- "layer": "04-application"
566
- }
567
- ]
568
- },
569
- {
570
- "id": "motivation-fulfills-requirements",
571
- "predicate": "fulfills-requirements",
572
- "inversePredicate": "fulfilled-by",
573
- "targetLayer": "01-motivation",
574
- "targetTypes": ["FulfillsRequirement"],
575
- "sourceTypes": ["ApplicationFunction"],
576
- "fieldPath": "motivation.fulfills-requirements",
577
- "cardinality": "array",
578
- "format": "reference",
579
- "strength": "high",
580
- "required": false,
581
- "description": "comma-separated Requirement IDs this function fulfills",
582
- "examples": [
583
- {
584
- "elementType": "Node",
585
- "elementId": "k8s-cluster",
586
- "elementName": "k8s-cluster",
587
- "fieldPath": "motivation.fulfills-requirements",
588
- "value": "req-horizontal-scaling,req-99-95-availability",
589
- "layer": "05-technology"
590
- },
591
- {
592
- "elementType": "Node",
593
- "elementId": "postgres-cluster",
594
- "elementName": "postgres-cluster",
595
- "fieldPath": "motivation.fulfills-requirements",
596
- "value": "req-acid-compliance,req-replication",
597
- "layer": "05-technology"
598
- }
599
- ]
600
- },
601
- {
602
- "id": "motivation-governed-by-principles",
603
- "predicate": "governed-by-principles",
604
- "inversePredicate": "governs",
605
- "targetLayer": "01-motivation",
606
- "targetTypes": ["GovernedByPrinciple"],
607
- "sourceTypes": ["ApplicationFunction", "ApplicationService"],
608
- "fieldPath": "motivation.governed-by-principles",
609
- "cardinality": "array",
610
- "format": "reference",
611
- "strength": "high",
612
- "required": false,
613
- "description": "BusinessService governed by Principles",
614
- "examples": [
615
- {
616
- "elementType": "BusinessService",
617
- "elementId": "order-service",
618
- "elementName": "Order Processing Service",
619
- "fieldPath": "motivation.governed-by-principles",
620
- "value": "principle-customer-first,principle-automation",
621
- "layer": "02-business"
622
- },
623
- {
624
- "elementType": "ApplicationService",
625
- "elementId": "product-service",
626
- "elementName": "product-service",
627
- "fieldPath": "motivation.governed-by-principles",
628
- "value": "principle-api-first,principle-cloud-native",
629
- "layer": "04-application"
630
- }
631
- ]
632
- },
633
- {
634
- "id": "motivation-supports-goals",
635
- "predicate": "supports-goals",
636
- "inversePredicate": "supported-by",
637
- "targetLayer": "01-motivation",
638
- "targetTypes": ["SupportsGoal"],
639
- "sourceTypes": ["ApplicationService"],
640
- "fieldPath": "motivation.supports-goals",
641
- "cardinality": "array",
642
- "format": "reference",
643
- "strength": "high",
644
- "required": false,
645
- "description": "BusinessService supports Goals",
646
- "examples": [
647
- {
648
- "elementType": "BusinessService",
649
- "elementId": "order-service",
650
- "elementName": "Order Processing Service",
651
- "fieldPath": "motivation.supports-goals",
652
- "value": "goal-customer-satisfaction,goal-revenue-growth",
653
- "layer": "02-business"
654
- },
655
- {
656
- "elementType": "ApplicationService",
657
- "elementId": "product-service",
658
- "elementName": "product-service",
659
- "fieldPath": "motivation.supports-goals",
660
- "value": "goal-product-catalog-accuracy,goal-customer-satisfaction",
661
- "layer": "04-application"
662
- }
663
- ]
664
- },
665
- {
666
- "id": "security-classification",
667
- "predicate": "classification",
668
- "inversePredicate": "referenced-by",
669
- "targetLayer": "03-security",
670
- "targetTypes": ["Classification"],
671
- "sourceTypes": ["Artifact"],
672
- "fieldPath": "security.classification",
673
- "cardinality": "single",
674
- "format": "string",
675
- "strength": "low",
676
- "required": false,
677
- "description": "Links to Classification in target layer",
678
- "examples": [
679
- {
680
- "elementType": "Artifact",
681
- "elementId": "product-db",
682
- "elementName": "product-db",
683
- "fieldPath": "security.classification",
684
- "value": "internal",
685
- "layer": "05-technology"
686
- },
687
- {
688
- "elementType": "Artifact",
689
- "elementId": "customer-db",
690
- "elementName": "customer-db",
691
- "fieldPath": "security.classification",
692
- "value": "restricted",
693
- "layer": "05-technology"
694
- }
695
- ]
696
- },
697
- {
698
- "id": "security-data-pii",
699
- "predicate": "pii",
700
- "inversePredicate": "referenced-by",
701
- "targetLayer": "03-security",
702
- "targetTypes": ["Pii"],
703
- "sourceTypes": ["Data Properties", "DataObject"],
704
- "fieldPath": "data.pii",
705
- "cardinality": "single",
706
- "format": "boolean",
707
- "strength": "medium",
708
- "required": false,
709
- "description": "Links to Pii in target layer",
710
- "examples": [
711
- {
712
- "elementType": "DataObject",
713
- "elementId": "product-data",
714
- "elementName": "product-data",
715
- "fieldPath": "data.pii",
716
- "value": "false",
717
- "layer": "04-application"
718
- }
719
- ]
720
- }
721
- ],
722
- "incoming": [
723
- {
724
- "id": "archimate-application-master-data-source",
725
- "predicate": "referenced-by",
726
- "inversePredicate": "master-data-source",
727
- "sourceLayer": "02-business",
728
- "sourceTypes": ["BusinessObject"],
729
- "targetTypes": ["MasterDataSource"],
730
- "fieldPath": "application.master-data-source",
731
- "cardinality": "single",
732
- "description": "Inverse of: BusinessObject master data source from DataObject"
733
- },
734
- {
735
- "id": "archimate-application-process-steps",
736
- "predicate": "referenced-by",
737
- "inversePredicate": "process-steps",
738
- "sourceLayer": "02-business",
739
- "sourceTypes": ["BusinessProcess"],
740
- "targetTypes": ["ProcessStep"],
741
- "fieldPath": "application.process-steps",
742
- "cardinality": "array",
743
- "description": "Inverse of: which specific ApplicationProcess steps realize this business process"
744
- },
745
- {
746
- "id": "archimate-application-realized-by-process",
747
- "predicate": "referenced-by",
748
- "inversePredicate": "realized-by-process",
749
- "sourceLayer": "02-business",
750
- "sourceTypes": ["BusinessProcess"],
751
- "targetTypes": ["RealizedByProces"],
752
- "fieldPath": "application.realized-by-process",
753
- "cardinality": "single",
754
- "description": "Inverse of: ApplicationService - **BusinessProcess** automated by ApplicationProcess"
755
- },
756
- {
757
- "id": "archimate-application-represented-by-dataobject",
758
- "predicate": "referenced-by",
759
- "inversePredicate": "represented-by-dataobject",
760
- "sourceLayer": "02-business",
761
- "sourceTypes": ["BusinessObject"],
762
- "targetTypes": ["RepresentedByDataobject"],
763
- "fieldPath": "application.represented-by-dataobject",
764
- "cardinality": "single",
765
- "description": "Inverse of: BusinessObject represented in DataObject"
766
- },
767
- {
768
- "id": "archimate-ref",
769
- "predicate": "referenced-by",
770
- "inversePredicate": "archimate-ref",
771
- "sourceLayer": "06-api",
772
- "sourceTypes": ["OpenAPIDocument", "Operation", "SecurityScheme"],
773
- "targetTypes": ["Element"],
774
- "fieldPath": "x-archimate-ref",
775
- "cardinality": "single",
776
- "description": "Inverse of: string (Element.id reference to ApplicationService)"
777
- },
778
- {
779
- "id": "archimate-ref",
780
- "predicate": "referenced-by",
781
- "inversePredicate": "archimate-ref",
782
- "sourceLayer": "07-data-model",
783
- "sourceTypes": ["JSONSchema", "x-security Extension"],
784
- "targetTypes": ["Element"],
785
- "fieldPath": "x-archimate-ref",
786
- "cardinality": "single",
787
- "description": "Inverse of: string (Element.id reference to ApplicationService)"
788
- }
789
- ]
790
- },
791
- "type": "object",
792
- "properties": {
793
- "application-components": {
794
- "type": "array",
795
- "description": "Collection of ApplicationComponent entities",
796
- "items": {
797
- "$ref": "#/definitions/ApplicationComponent"
798
- }
799
- },
800
- "application-collaborations": {
801
- "type": "array",
802
- "description": "Collection of ApplicationCollaboration entities",
803
- "items": {
804
- "$ref": "#/definitions/ApplicationCollaboration"
805
- }
806
- },
807
- "application-interfaces": {
808
- "type": "array",
809
- "description": "Collection of ApplicationInterface entities",
810
- "items": {
811
- "$ref": "#/definitions/ApplicationInterface"
812
- }
813
- },
814
- "application-functions": {
815
- "type": "array",
816
- "description": "Collection of ApplicationFunction entities",
817
- "items": {
818
- "$ref": "#/definitions/ApplicationFunction"
819
- }
820
- },
821
- "application-interactions": {
822
- "type": "array",
823
- "description": "Collection of ApplicationInteraction entities",
824
- "items": {
825
- "$ref": "#/definitions/ApplicationInteraction"
826
- }
827
- },
828
- "application-processes": {
829
- "type": "array",
830
- "description": "Collection of ApplicationProcess entities",
831
- "items": {
832
- "$ref": "#/definitions/ApplicationProcess"
833
- }
834
- },
835
- "application-events": {
836
- "type": "array",
837
- "description": "Collection of ApplicationEvent entities",
838
- "items": {
839
- "$ref": "#/definitions/ApplicationEvent"
840
- }
841
- },
842
- "application-services": {
843
- "type": "array",
844
- "description": "Collection of ApplicationService entities",
845
- "items": {
846
- "$ref": "#/definitions/ApplicationService"
847
- }
848
- },
849
- "data-objects": {
850
- "type": "array",
851
- "description": "Collection of DataObject entities",
852
- "items": {
853
- "$ref": "#/definitions/DataObject"
854
- }
855
- }
856
- },
857
- "definitions": {
858
- "ComponentType": {
859
- "type": "string",
860
- "enum": ["frontend", "backend", "mobile", "desktop", "service"]
861
- },
862
- "InterfaceProtocol": {
863
- "type": "string",
864
- "enum": ["REST", "GraphQL", "SOAP", "gRPC", "WebSocket", "Message Queue"]
865
- },
866
- "InteractionPattern": {
867
- "type": "string",
868
- "enum": ["request-response", "publish-subscribe", "async-messaging", "streaming"]
869
- },
870
- "ApplicationEventType": {
871
- "type": "string",
872
- "enum": ["domain-event", "integration-event", "system-event", "audit-event"]
873
- },
874
- "ServiceType": {
875
- "type": "string",
876
- "enum": ["synchronous", "asynchronous", "batch", "streaming"]
877
- },
878
- "ApplicationComponent": {
879
- "type": "object",
880
- "description": "Modular, deployable, and replaceable part of a system",
881
- "required": ["id", "name", "type"],
882
- "properties": {
883
- "id": {
884
- "type": "string",
885
- "format": "uuid",
886
- "minLength": 1
887
- },
888
- "name": {
889
- "type": "string",
890
- "minLength": 1
891
- },
892
- "documentation": {
893
- "type": "string",
894
- "minLength": 1
895
- },
896
- "type": {
897
- "$ref": "#/definitions/ComponentType"
898
- },
899
- "properties": {
900
- "type": "object",
901
- "description": "Cross-layer properties",
902
- "properties": {
903
- "implementation": {
904
- "type": "object",
905
- "properties": {
906
- "framework": {
907
- "type": "string",
908
- "description": "optional"
909
- }
910
- }
911
- },
912
- "spec": {
913
- "type": "object",
914
- "properties": {
915
- "ux": {
916
- "type": "string",
917
- "description": "optional"
918
- },
919
- "openapi": {
920
- "type": "string",
921
- "description": "optional"
922
- }
923
- }
924
- },
925
- "source": {
926
- "type": "object",
927
- "description": "Source code reference",
928
- "properties": {
929
- "reference": {
930
- "$ref": "common/source-references.schema.json#/definitions/SourceReference"
931
- }
932
- }
933
- }
934
- }
935
- }
936
- }
937
- },
938
- "ApplicationCollaboration": {
939
- "type": "object",
940
- "description": "Aggregate of application components working together",
941
- "required": ["id", "name"],
942
- "properties": {
943
- "id": {
944
- "type": "string",
945
- "format": "uuid",
946
- "minLength": 1
947
- },
948
- "name": {
949
- "type": "string",
950
- "minLength": 1
951
- },
952
- "documentation": {
953
- "type": "string",
954
- "minLength": 1
955
- },
956
- "components": {
957
- "type": "array",
958
- "description": "Contains relationship",
959
- "items": {
960
- "type": "string"
961
- }
962
- }
963
- }
964
- },
965
- "ApplicationInterface": {
966
- "type": "object",
967
- "description": "Point of access where application service is available",
968
- "required": ["id", "name", "protocol"],
969
- "properties": {
970
- "id": {
971
- "type": "string",
972
- "format": "uuid",
973
- "minLength": 1
974
- },
975
- "name": {
976
- "type": "string",
977
- "minLength": 1
978
- },
979
- "documentation": {
980
- "type": "string",
981
- "minLength": 1
982
- },
983
- "protocol": {
984
- "$ref": "#/definitions/InterfaceProtocol"
985
- },
986
- "properties": {
987
- "type": "object",
988
- "description": "Cross-layer properties",
989
- "properties": {
990
- "spec": {
991
- "type": "object",
992
- "properties": {
993
- "openapi": {
994
- "type": "string",
995
- "description": "optional"
996
- }
997
- }
998
- },
999
- "interface": {
1000
- "type": "object",
1001
- "properties": {
1002
- "endpoint": {
1003
- "type": "string",
1004
- "description": "optional"
1005
- }
1006
- }
1007
- }
1008
- }
1009
- }
1010
- }
1011
- },
1012
- "ApplicationFunction": {
1013
- "type": "object",
1014
- "description": "Automated behavior performed by application component",
1015
- "required": ["id", "name"],
1016
- "properties": {
1017
- "id": {
1018
- "type": "string",
1019
- "format": "uuid",
1020
- "minLength": 1
1021
- },
1022
- "name": {
1023
- "type": "string",
1024
- "minLength": 1
1025
- },
1026
- "documentation": {
1027
- "type": "string",
1028
- "minLength": 1
1029
- },
1030
- "properties": {
1031
- "type": "object",
1032
- "description": "Cross-layer properties",
1033
- "properties": {
1034
- "function": {
1035
- "type": "object",
1036
- "properties": {
1037
- "async": {
1038
- "type": "string",
1039
- "description": "optional"
1040
- },
1041
- "idempotent": {
1042
- "type": "string",
1043
- "description": "optional"
1044
- }
1045
- }
1046
- },
1047
- "motivation": {
1048
- "type": "object",
1049
- "properties": {
1050
- "fulfills-requirements": {
1051
- "type": "string",
1052
- "description": "optional, comma-separated Requirement IDs this function fulfills"
1053
- },
1054
- "governed-by-principles": {
1055
- "type": "string",
1056
- "description": "optional, comma-separated Principle IDs"
1057
- }
1058
- }
1059
- }
1060
- }
1061
- }
1062
- }
1063
- },
1064
- "ApplicationInteraction": {
1065
- "type": "object",
1066
- "description": "Unit of collective application behavior",
1067
- "required": ["id", "name", "pattern"],
1068
- "properties": {
1069
- "id": {
1070
- "type": "string",
1071
- "format": "uuid",
1072
- "minLength": 1
1073
- },
1074
- "name": {
1075
- "type": "string",
1076
- "minLength": 1
1077
- },
1078
- "documentation": {
1079
- "type": "string",
1080
- "minLength": 1
1081
- },
1082
- "pattern": {
1083
- "$ref": "#/definitions/InteractionPattern"
1084
- }
1085
- }
1086
- },
1087
- "ApplicationProcess": {
1088
- "type": "object",
1089
- "description": "Sequence of application behaviors",
1090
- "required": ["id", "name"],
1091
- "properties": {
1092
- "id": {
1093
- "type": "string",
1094
- "format": "uuid",
1095
- "minLength": 1
1096
- },
1097
- "name": {
1098
- "type": "string",
1099
- "minLength": 1
1100
- },
1101
- "documentation": {
1102
- "type": "string",
1103
- "minLength": 1
1104
- },
1105
- "properties": {
1106
- "type": "object",
1107
- "description": "Cross-layer properties",
1108
- "properties": {
1109
- "process": {
1110
- "type": "object",
1111
- "properties": {
1112
- "orchestration": {
1113
- "type": "string",
1114
- "description": "optional"
1115
- },
1116
- "saga": {
1117
- "type": "string",
1118
- "description": "optional"
1119
- }
1120
- }
1121
- }
1122
- }
1123
- }
1124
- }
1125
- },
1126
- "ApplicationEvent": {
1127
- "type": "object",
1128
- "description": "Application state change notification",
1129
- "required": ["id", "name", "eventType"],
1130
- "properties": {
1131
- "id": {
1132
- "type": "string",
1133
- "format": "uuid",
1134
- "minLength": 1
1135
- },
1136
- "name": {
1137
- "type": "string",
1138
- "minLength": 1
1139
- },
1140
- "documentation": {
1141
- "type": "string",
1142
- "minLength": 1
1143
- },
1144
- "eventType": {
1145
- "$ref": "#/definitions/ApplicationEventType"
1146
- },
1147
- "properties": {
1148
- "type": "object",
1149
- "description": "Cross-layer properties",
1150
- "properties": {
1151
- "event": {
1152
- "type": "object",
1153
- "properties": {
1154
- "schema": {
1155
- "type": "string",
1156
- "description": "optional"
1157
- },
1158
- "topic": {
1159
- "type": "string",
1160
- "description": "optional"
1161
- }
1162
- }
1163
- }
1164
- }
1165
- }
1166
- }
1167
- },
1168
- "ApplicationService": {
1169
- "type": "object",
1170
- "description": "Service that exposes application functionality",
1171
- "required": ["id", "name", "serviceType"],
1172
- "properties": {
1173
- "id": {
1174
- "type": "string",
1175
- "format": "uuid",
1176
- "minLength": 1
1177
- },
1178
- "name": {
1179
- "type": "string",
1180
- "minLength": 1
1181
- },
1182
- "documentation": {
1183
- "type": "string",
1184
- "minLength": 1
1185
- },
1186
- "serviceType": {
1187
- "$ref": "#/definitions/ServiceType"
1188
- },
1189
- "properties": {
1190
- "type": "object",
1191
- "description": "Cross-layer properties",
1192
- "properties": {
1193
- "spec": {
1194
- "type": "object",
1195
- "properties": {
1196
- "openapi": {
1197
- "type": "string",
1198
- "description": "optional"
1199
- }
1200
- }
1201
- },
1202
- "service": {
1203
- "type": "object",
1204
- "properties": {
1205
- "version": {
1206
- "type": "string",
1207
- "description": "optional"
1208
- },
1209
- "deprecated": {
1210
- "type": "string",
1211
- "description": "optional"
1212
- }
1213
- }
1214
- },
1215
- "apm": {
1216
- "type": "object",
1217
- "properties": {
1218
- "traced": {
1219
- "type": "string",
1220
- "description": "optional"
1221
- },
1222
- "business-metrics": {
1223
- "type": "string",
1224
- "description": "optional, comma-separated business metric IDs this service tracks"
1225
- },
1226
- "sla-target-latency": {
1227
- "type": "string",
1228
- "description": "optional, target response time"
1229
- },
1230
- "sla-target-availability": {
1231
- "type": "string",
1232
- "description": "optional, target uptime percentage"
1233
- }
1234
- }
1235
- },
1236
- "motivation": {
1237
- "type": "object",
1238
- "properties": {
1239
- "supports-goals": {
1240
- "type": "string",
1241
- "description": "optional, comma-separated Goal IDs"
1242
- },
1243
- "delivers-value": {
1244
- "type": "string",
1245
- "description": "optional, comma-separated Value IDs"
1246
- },
1247
- "governed-by-principles": {
1248
- "type": "string",
1249
- "description": "optional, comma-separated Principle IDs"
1250
- }
1251
- }
1252
- },
1253
- "source": {
1254
- "type": "object",
1255
- "description": "Source code reference",
1256
- "properties": {
1257
- "reference": {
1258
- "$ref": "common/source-references.schema.json#/definitions/SourceReference"
1259
- }
1260
- }
1261
- }
1262
- }
1263
- }
1264
- }
1265
- },
1266
- "DataObject": {
1267
- "type": "object",
1268
- "description": "Data structured for automated processing",
1269
- "required": ["id", "name"],
1270
- "properties": {
1271
- "id": {
1272
- "type": "string",
1273
- "format": "uuid",
1274
- "minLength": 1
1275
- },
1276
- "name": {
1277
- "type": "string",
1278
- "minLength": 1
1279
- },
1280
- "documentation": {
1281
- "type": "string",
1282
- "minLength": 1
1283
- },
1284
- "properties": {
1285
- "type": "object",
1286
- "description": "Cross-layer properties",
1287
- "properties": {
1288
- "spec": {
1289
- "type": "object",
1290
- "properties": {
1291
- "schema": {
1292
- "type": "string",
1293
- "description": "optional"
1294
- },
1295
- "database": {
1296
- "type": "string",
1297
- "description": "optional"
1298
- }
1299
- }
1300
- },
1301
- "data": {
1302
- "type": "object",
1303
- "properties": {
1304
- "pii": {
1305
- "type": "string",
1306
- "description": "optional"
1307
- },
1308
- "retention": {
1309
- "type": "string",
1310
- "description": "optional"
1311
- }
1312
- }
1313
- },
1314
- "source": {
1315
- "type": "object",
1316
- "description": "Source code reference",
1317
- "properties": {
1318
- "reference": {
1319
- "$ref": "common/source-references.schema.json#/definitions/SourceReference"
1320
- }
1321
- }
1322
- }
1323
- }
1324
- }
1325
- }
1326
- }
1327
- }
1328
- }