@documentation-robotics/cli 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (169) hide show
  1. package/PYTHON_CLI_PARITY.md +265 -0
  2. package/PYTHON_CLI_STRUCTURE_UPDATE.md +246 -0
  3. package/README.md +926 -0
  4. package/biome.json +42 -0
  5. package/bunfig.toml +3 -0
  6. package/dist/ai/claude-client.js +71 -0
  7. package/dist/ai/claude-client.js.map +7 -0
  8. package/dist/ai/context-provider.js +129 -0
  9. package/dist/ai/context-provider.js.map +7 -0
  10. package/dist/ai/tools.js +231 -0
  11. package/dist/ai/tools.js.map +7 -0
  12. package/dist/cli.js +224 -0
  13. package/dist/cli.js.map +7 -0
  14. package/dist/commands/add.js +51 -0
  15. package/dist/commands/add.js.map +7 -0
  16. package/dist/commands/changeset.js +174 -0
  17. package/dist/commands/changeset.js.map +7 -0
  18. package/dist/commands/chat.js +111 -0
  19. package/dist/commands/chat.js.map +7 -0
  20. package/dist/commands/conformance.js +132 -0
  21. package/dist/commands/conformance.js.map +7 -0
  22. package/dist/commands/delete.js +31 -0
  23. package/dist/commands/delete.js.map +7 -0
  24. package/dist/commands/element.js +28 -0
  25. package/dist/commands/element.js.map +7 -0
  26. package/dist/commands/export.js +65 -0
  27. package/dist/commands/export.js.map +7 -0
  28. package/dist/commands/info.js +40 -0
  29. package/dist/commands/info.js.map +7 -0
  30. package/dist/commands/init.js +45 -0
  31. package/dist/commands/init.js.map +7 -0
  32. package/dist/commands/list.js +32 -0
  33. package/dist/commands/list.js.map +7 -0
  34. package/dist/commands/migrate.js +36 -0
  35. package/dist/commands/migrate.js.map +7 -0
  36. package/dist/commands/project.js +74 -0
  37. package/dist/commands/project.js.map +7 -0
  38. package/dist/commands/relationship.js +118 -0
  39. package/dist/commands/relationship.js.map +7 -0
  40. package/dist/commands/search.js +48 -0
  41. package/dist/commands/search.js.map +7 -0
  42. package/dist/commands/show.js +38 -0
  43. package/dist/commands/show.js.map +7 -0
  44. package/dist/commands/trace.js +60 -0
  45. package/dist/commands/trace.js.map +7 -0
  46. package/dist/commands/update.js +37 -0
  47. package/dist/commands/update.js.map +7 -0
  48. package/dist/commands/upgrade.js +152 -0
  49. package/dist/commands/upgrade.js.map +7 -0
  50. package/dist/commands/validate.js +71 -0
  51. package/dist/commands/validate.js.map +7 -0
  52. package/dist/commands/version.js +20 -0
  53. package/dist/commands/version.js.map +7 -0
  54. package/dist/commands/visualize.js +51 -0
  55. package/dist/commands/visualize.js.map +7 -0
  56. package/dist/core/active-changeset.js +52 -0
  57. package/dist/core/active-changeset.js.map +7 -0
  58. package/dist/core/changeset.js +244 -0
  59. package/dist/core/changeset.js.map +7 -0
  60. package/dist/core/dependency-tracker.js +322 -0
  61. package/dist/core/dependency-tracker.js.map +7 -0
  62. package/dist/core/element.js +65 -0
  63. package/dist/core/element.js.map +7 -0
  64. package/dist/core/layer.js +75 -0
  65. package/dist/core/layer.js.map +7 -0
  66. package/dist/core/manifest.js +57 -0
  67. package/dist/core/manifest.js.map +7 -0
  68. package/dist/core/migration-registry.js +131 -0
  69. package/dist/core/migration-registry.js.map +7 -0
  70. package/dist/core/model.js +455 -0
  71. package/dist/core/model.js.map +7 -0
  72. package/dist/core/projection-engine.js +288 -0
  73. package/dist/core/projection-engine.js.map +7 -0
  74. package/dist/core/reference-registry.js +188 -0
  75. package/dist/core/reference-registry.js.map +7 -0
  76. package/dist/core/relationship-registry.js +114 -0
  77. package/dist/core/relationship-registry.js.map +7 -0
  78. package/dist/core/relationships.js +78 -0
  79. package/dist/core/relationships.js.map +7 -0
  80. package/dist/export/archimate-exporter.js +111 -0
  81. package/dist/export/archimate-exporter.js.map +7 -0
  82. package/dist/export/export-manager.js +63 -0
  83. package/dist/export/export-manager.js.map +7 -0
  84. package/dist/export/graphml-exporter.js +39 -0
  85. package/dist/export/graphml-exporter.js.map +7 -0
  86. package/dist/export/index.js +17 -0
  87. package/dist/export/index.js.map +7 -0
  88. package/dist/export/json-schema-exporter.js +60 -0
  89. package/dist/export/json-schema-exporter.js.map +7 -0
  90. package/dist/export/markdown-exporter.js +99 -0
  91. package/dist/export/markdown-exporter.js.map +7 -0
  92. package/dist/export/openapi-exporter.js +85 -0
  93. package/dist/export/openapi-exporter.js.map +7 -0
  94. package/dist/export/plantuml-exporter.js +60 -0
  95. package/dist/export/plantuml-exporter.js.map +7 -0
  96. package/dist/export/types.js +36 -0
  97. package/dist/export/types.js.map +7 -0
  98. package/dist/schemas/bundled/01-motivation-layer.schema.json +942 -0
  99. package/dist/schemas/bundled/02-business-layer.schema.json +1293 -0
  100. package/dist/schemas/bundled/03-security-layer.schema.json +2177 -0
  101. package/dist/schemas/bundled/04-application-layer.schema.json +1328 -0
  102. package/dist/schemas/bundled/05-technology-layer.schema.json +1465 -0
  103. package/dist/schemas/bundled/06-api-layer.schema.json +1743 -0
  104. package/dist/schemas/bundled/07-data-model-layer.schema.json +1253 -0
  105. package/dist/schemas/bundled/08-datastore-layer.schema.json +892 -0
  106. package/dist/schemas/bundled/09-ux-layer.schema.json +1506 -0
  107. package/dist/schemas/bundled/10-navigation-layer.schema.json +843 -0
  108. package/dist/schemas/bundled/11-apm-observability-layer.schema.json +1430 -0
  109. package/dist/schemas/bundled/12-testing-layer.schema.json +1091 -0
  110. package/dist/schemas/bundled/common/layer-extensions.schema.json +266 -0
  111. package/dist/schemas/bundled/common/predicates.schema.json +493 -0
  112. package/dist/schemas/bundled/common/relationships.schema.json +791 -0
  113. package/dist/schemas/bundled/common/source-references.schema.json +71 -0
  114. package/dist/schemas/bundled/link-registry.json +1839 -0
  115. package/dist/schemas/bundled/link-registry.schema.json +339 -0
  116. package/dist/schemas/bundled/relationship-catalog.json +1302 -0
  117. package/dist/schemas/bundled/relationship-type.schema.json +221 -0
  118. package/dist/server/server.js +1207 -0
  119. package/dist/server/server.js.map +7 -0
  120. package/dist/server/telemetry-middleware.js +24 -0
  121. package/dist/server/telemetry-middleware.js.map +7 -0
  122. package/dist/telemetry/console-interceptor.js +34 -0
  123. package/dist/telemetry/console-interceptor.js.map +7 -0
  124. package/dist/telemetry/index.js +54 -0
  125. package/dist/telemetry/index.js.map +7 -0
  126. package/dist/telemetry/resilient-exporter.js +41 -0
  127. package/dist/telemetry/resilient-exporter.js.map +7 -0
  128. package/dist/telemetry/resilient-log-exporter.js +41 -0
  129. package/dist/telemetry/resilient-log-exporter.js.map +7 -0
  130. package/dist/telemetry/test-instrumentation.js +32 -0
  131. package/dist/telemetry/test-instrumentation.js.map +7 -0
  132. package/dist/types/index.js +1 -0
  133. package/dist/types/index.js.map +7 -0
  134. package/dist/utils/element-utils.js +11 -0
  135. package/dist/utils/element-utils.js.map +7 -0
  136. package/dist/utils/errors.js +105 -0
  137. package/dist/utils/errors.js.map +7 -0
  138. package/dist/utils/file-io.js +69 -0
  139. package/dist/utils/file-io.js.map +7 -0
  140. package/dist/utils/globals.js +28 -0
  141. package/dist/utils/globals.js.map +7 -0
  142. package/dist/utils/model-path.js +22 -0
  143. package/dist/utils/model-path.js.map +7 -0
  144. package/dist/utils/project-paths.js +45 -0
  145. package/dist/utils/project-paths.js.map +7 -0
  146. package/dist/utils/spec-installer.js +85 -0
  147. package/dist/utils/spec-installer.js.map +7 -0
  148. package/dist/utils/spec-version.js +33 -0
  149. package/dist/utils/spec-version.js.map +7 -0
  150. package/dist/validators/index.js +15 -0
  151. package/dist/validators/index.js.map +7 -0
  152. package/dist/validators/naming-validator.js +82 -0
  153. package/dist/validators/naming-validator.js.map +7 -0
  154. package/dist/validators/reference-validator.js +106 -0
  155. package/dist/validators/reference-validator.js.map +7 -0
  156. package/dist/validators/schema-validator.js +148 -0
  157. package/dist/validators/schema-validator.js.map +7 -0
  158. package/dist/validators/semantic-validator.js +80 -0
  159. package/dist/validators/semantic-validator.js.map +7 -0
  160. package/dist/validators/types.js +48 -0
  161. package/dist/validators/types.js.map +7 -0
  162. package/dist/validators/validator.js +67 -0
  163. package/dist/validators/validator.js.map +7 -0
  164. package/docs/TEST-INSTRUMENTATION.md +405 -0
  165. package/docs/telemetry.md +427 -0
  166. package/package.json +70 -0
  167. package/test-debug.js +33 -0
  168. package/test-special.mjs +46 -0
  169. package/test_runner.ts +7 -0
@@ -0,0 +1,1839 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "version": "2.0.0",
4
+ "deprecated": {
5
+ "since": "0.7.0",
6
+ "reason": "Cross-layer relationships are now defined in layer schemas using the crossLayerRelationships section",
7
+ "removeIn": "0.8.0",
8
+ "migration": "See layer schema crossLayerRelationships sections for outgoing and incoming relationships. Use get_relationship_catalog_path() from CLI to access the relationship catalog."
9
+ },
10
+ "metadata": {
11
+ "generatedBy": "scripts/generators/link_registry_generator.py",
12
+ "generatedAt": "2025-12-13T18:26:46.235943Z",
13
+ "totalLinkTypes": 39,
14
+ "schemaVersion": "2.0.0"
15
+ },
16
+ "categories": {
17
+ "motivation": {
18
+ "name": "Motivation Layer References",
19
+ "description": "Links to strategic elements (goals, requirements, principles, constraints, values, outcomes)",
20
+ "color": "#FFD700"
21
+ },
22
+ "business": {
23
+ "name": "Business Layer References",
24
+ "description": "Links to business elements (actors, processes, services, interfaces, objects)",
25
+ "color": "#FF6B6B"
26
+ },
27
+ "security": {
28
+ "name": "Security Layer References",
29
+ "description": "Links to security elements (models, resources, roles, permissions, threats, controls)",
30
+ "color": "#FF4757"
31
+ },
32
+ "archimate": {
33
+ "name": "ArchiMate References",
34
+ "description": "Links to ArchiMate application layer elements (services, components, interfaces, data objects)",
35
+ "color": "#4ECDC4"
36
+ },
37
+ "api": {
38
+ "name": "API Layer References",
39
+ "description": "Links to API elements (operations, endpoints, methods)",
40
+ "color": "#45B7D1"
41
+ },
42
+ "data": {
43
+ "name": "Data Layer References",
44
+ "description": "Links to data elements (schemas, tables, columns)",
45
+ "color": "#96CEB4"
46
+ },
47
+ "datastore": {
48
+ "name": "Datastore Layer References",
49
+ "description": "Links to datastore elements (databases, tables, columns)",
50
+ "color": "#88D8B0"
51
+ },
52
+ "ux": {
53
+ "name": "UX Layer References",
54
+ "description": "Links to UX elements (experiences, components, views, states)",
55
+ "color": "#FFEAA7"
56
+ },
57
+ "navigation": {
58
+ "name": "Navigation Layer References",
59
+ "description": "Links to navigation elements (routes, flows, guards)",
60
+ "color": "#DFE6E9"
61
+ },
62
+ "apm": {
63
+ "name": "APM/Observability References",
64
+ "description": "Links to APM elements (metrics, traces, SLAs, health checks)",
65
+ "color": "#A29BFE"
66
+ },
67
+ "source": {
68
+ "name": "Source Code References",
69
+ "description": "Links to source code locations and repositories",
70
+ "color": "#6C5CE7"
71
+ }
72
+ },
73
+ "linkTypes": [
74
+ {
75
+ "id": "apm-criticality",
76
+ "name": "Criticality",
77
+ "category": "apm",
78
+ "sourceLayers": ["06-api"],
79
+ "targetLayer": "11-apm",
80
+ "targetElementTypes": ["Criticality"],
81
+ "fieldPaths": ["x-apm-criticality"],
82
+ "cardinality": "single",
83
+ "format": "duration",
84
+ "description": "enum [low, medium, high, critical] (optional)",
85
+ "examples": [],
86
+ "validationRules": {
87
+ "targetExists": true,
88
+ "targetType": "Criticality",
89
+ "sourceElementTypesValid": ["Operation", "SecurityScheme"],
90
+ "minimumCardinality": 0,
91
+ "maximumCardinality": null
92
+ },
93
+ "predicate": "apm-criticality",
94
+ "inversePredicate": null,
95
+ "relationshipCategory": null,
96
+ "archimateAlignment": null,
97
+ "bidirectional": false,
98
+ "sourceElementTypesByLayer": {
99
+ "06-api": ["Operation", "SecurityScheme"]
100
+ },
101
+ "sourceElementTypes": ["Operation", "SecurityScheme"],
102
+ "strength": "medium",
103
+ "isRequired": false
104
+ },
105
+ {
106
+ "id": "apm-health-check-endpoint",
107
+ "name": "Health Check Endpoint",
108
+ "category": "apm",
109
+ "sourceLayers": ["05-technology"],
110
+ "targetLayer": "11-apm",
111
+ "targetElementTypes": ["HealthCheckEndpoint"],
112
+ "fieldPaths": ["apm.health-check-endpoint"],
113
+ "cardinality": "single",
114
+ "format": "string",
115
+ "description": "health check endpoint",
116
+ "examples": [
117
+ {
118
+ "elementType": "TechnologyService",
119
+ "elementId": "container-platform",
120
+ "elementName": "container-platform",
121
+ "fieldPath": "apm.health-check-endpoint",
122
+ "value": "/healthz",
123
+ "layer": "05-technology"
124
+ }
125
+ ],
126
+ "validationRules": {
127
+ "targetExists": true,
128
+ "targetType": "HealthCheckEndpoint",
129
+ "sourceElementTypesValid": ["TechnologyService"],
130
+ "minimumCardinality": 0,
131
+ "maximumCardinality": null
132
+ },
133
+ "predicate": "health-check-endpoint",
134
+ "inversePredicate": null,
135
+ "relationshipCategory": null,
136
+ "archimateAlignment": null,
137
+ "bidirectional": false,
138
+ "sourceElementTypesByLayer": {
139
+ "05-technology": ["TechnologyService"]
140
+ },
141
+ "sourceElementTypes": ["TechnologyService"],
142
+ "strength": "medium",
143
+ "isRequired": false
144
+ },
145
+ {
146
+ "id": "apm-health-monitored",
147
+ "name": "Health Monitored",
148
+ "category": "apm",
149
+ "sourceLayers": ["05-technology"],
150
+ "targetLayer": "11-apm",
151
+ "targetElementTypes": ["HealthMonitored"],
152
+ "fieldPaths": ["apm.health-monitored"],
153
+ "cardinality": "single",
154
+ "format": "boolean",
155
+ "description": "whether health is actively monitored",
156
+ "examples": [
157
+ {
158
+ "elementType": "TechnologyService",
159
+ "elementId": "container-platform",
160
+ "elementName": "container-platform",
161
+ "fieldPath": "apm.health-monitored",
162
+ "value": "true",
163
+ "layer": "05-technology"
164
+ },
165
+ {
166
+ "elementType": "TechnologyService",
167
+ "elementId": "database-service",
168
+ "elementName": "database-service",
169
+ "fieldPath": "apm.health-monitored",
170
+ "value": "true",
171
+ "layer": "05-technology"
172
+ }
173
+ ],
174
+ "validationRules": {
175
+ "targetExists": true,
176
+ "targetType": "HealthMonitored",
177
+ "sourceElementTypesValid": ["TechnologyService"],
178
+ "minimumCardinality": 0,
179
+ "maximumCardinality": null
180
+ },
181
+ "predicate": "health-monitored",
182
+ "inversePredicate": null,
183
+ "relationshipCategory": null,
184
+ "archimateAlignment": null,
185
+ "bidirectional": false,
186
+ "sourceElementTypesByLayer": {
187
+ "05-technology": ["TechnologyService"]
188
+ },
189
+ "sourceElementTypes": ["TechnologyService"],
190
+ "strength": "medium",
191
+ "isRequired": false
192
+ },
193
+ {
194
+ "id": "apm-sla-target-availability",
195
+ "name": "Sla Target Availability",
196
+ "category": "apm",
197
+ "sourceLayers": ["04-application", "05-technology", "06-api"],
198
+ "targetLayer": "11-apm",
199
+ "targetElementTypes": ["SlaTargetAvailability"],
200
+ "fieldPaths": ["apm.sla-target-availability", "x-apm-sla-target-availability"],
201
+ "cardinality": "single",
202
+ "format": "percentage",
203
+ "description": "string (e.g., \"99.95%\", \"99.99%\", optional)",
204
+ "examples": [
205
+ {
206
+ "elementType": "TechnologyService",
207
+ "elementId": "container-platform",
208
+ "elementName": "container-platform",
209
+ "fieldPath": "apm.sla-target-availability",
210
+ "value": "99.95%",
211
+ "layer": "05-technology"
212
+ },
213
+ {
214
+ "elementType": "TechnologyService",
215
+ "elementId": "database-service",
216
+ "elementName": "database-service",
217
+ "fieldPath": "apm.sla-target-availability",
218
+ "value": "99.99%",
219
+ "layer": "05-technology"
220
+ }
221
+ ],
222
+ "validationRules": {
223
+ "targetExists": true,
224
+ "targetType": "SlaTargetAvailability",
225
+ "sourceElementTypesValid": [
226
+ "ApplicationService",
227
+ "Operation",
228
+ "SecurityScheme",
229
+ "TechnologyService"
230
+ ],
231
+ "minimumCardinality": 0,
232
+ "maximumCardinality": null
233
+ },
234
+ "predicate": "sla-target-availability",
235
+ "inversePredicate": null,
236
+ "relationshipCategory": null,
237
+ "archimateAlignment": null,
238
+ "bidirectional": false,
239
+ "sourceElementTypesByLayer": {
240
+ "04-application": ["ApplicationService"],
241
+ "05-technology": ["TechnologyService"],
242
+ "06-api": ["Operation", "SecurityScheme"]
243
+ },
244
+ "sourceElementTypes": [
245
+ "ApplicationService",
246
+ "Operation",
247
+ "SecurityScheme",
248
+ "TechnologyService"
249
+ ],
250
+ "strength": "medium",
251
+ "isRequired": false
252
+ },
253
+ {
254
+ "id": "apm-sla-target-latency",
255
+ "name": "Sla Target Latency",
256
+ "category": "apm",
257
+ "sourceLayers": ["04-application", "05-technology", "06-api"],
258
+ "targetLayer": "11-apm",
259
+ "targetElementTypes": ["SlaTargetLatency"],
260
+ "fieldPaths": ["apm.sla-target-latency", "x-apm-sla-target-latency"],
261
+ "cardinality": "single",
262
+ "format": "duration",
263
+ "description": "string (e.g., \"200ms\", \"500ms\", optional)",
264
+ "examples": [
265
+ {
266
+ "elementType": "TechnologyService",
267
+ "elementId": "database-service",
268
+ "elementName": "database-service",
269
+ "fieldPath": "apm.sla-target-latency",
270
+ "value": "10ms",
271
+ "layer": "05-technology"
272
+ }
273
+ ],
274
+ "validationRules": {
275
+ "targetExists": true,
276
+ "targetType": "SlaTargetLatency",
277
+ "sourceElementTypesValid": [
278
+ "ApplicationService",
279
+ "Operation",
280
+ "SecurityScheme",
281
+ "TechnologyService"
282
+ ],
283
+ "minimumCardinality": 0,
284
+ "maximumCardinality": null
285
+ },
286
+ "predicate": "sla-target-latency",
287
+ "inversePredicate": null,
288
+ "relationshipCategory": null,
289
+ "archimateAlignment": null,
290
+ "bidirectional": false,
291
+ "sourceElementTypesByLayer": {
292
+ "04-application": ["ApplicationService"],
293
+ "05-technology": ["TechnologyService"],
294
+ "06-api": ["Operation", "SecurityScheme"]
295
+ },
296
+ "sourceElementTypes": [
297
+ "ApplicationService",
298
+ "Operation",
299
+ "SecurityScheme",
300
+ "TechnologyService"
301
+ ],
302
+ "strength": "medium",
303
+ "isRequired": false
304
+ },
305
+ {
306
+ "id": "apm-trace",
307
+ "name": "Trace",
308
+ "category": "apm",
309
+ "sourceLayers": ["06-api"],
310
+ "targetLayer": "11-apm",
311
+ "targetElementTypes": ["Trace"],
312
+ "fieldPaths": ["x-apm-trace"],
313
+ "cardinality": "single",
314
+ "format": "string",
315
+ "description": "boolean (optional)",
316
+ "examples": [],
317
+ "validationRules": {
318
+ "targetExists": true,
319
+ "targetType": "Trace",
320
+ "sourceElementTypesValid": ["Operation", "SecurityScheme"],
321
+ "minimumCardinality": 0,
322
+ "maximumCardinality": null
323
+ },
324
+ "predicate": "apm-trace",
325
+ "inversePredicate": null,
326
+ "relationshipCategory": null,
327
+ "archimateAlignment": null,
328
+ "bidirectional": false,
329
+ "sourceElementTypesByLayer": {
330
+ "06-api": ["Operation", "SecurityScheme"]
331
+ },
332
+ "sourceElementTypes": ["Operation", "SecurityScheme"],
333
+ "strength": "medium",
334
+ "isRequired": false
335
+ },
336
+ {
337
+ "id": "apm-traced",
338
+ "name": "Traced",
339
+ "category": "apm",
340
+ "sourceLayers": ["04-application"],
341
+ "targetLayer": "11-apm",
342
+ "targetElementTypes": ["Traced"],
343
+ "fieldPaths": ["apm.traced"],
344
+ "cardinality": "single",
345
+ "format": "boolean",
346
+ "description": "Links to Traced in target layer",
347
+ "examples": [
348
+ {
349
+ "elementType": "ApplicationService",
350
+ "elementId": "product-service",
351
+ "elementName": "product-service",
352
+ "fieldPath": "apm.traced",
353
+ "value": "true",
354
+ "layer": "04-application"
355
+ }
356
+ ],
357
+ "validationRules": {
358
+ "targetExists": true,
359
+ "targetType": "Traced",
360
+ "sourceElementTypesValid": ["ApplicationService", "Data Properties"],
361
+ "minimumCardinality": 0,
362
+ "maximumCardinality": null
363
+ },
364
+ "predicate": "traced",
365
+ "inversePredicate": null,
366
+ "relationshipCategory": null,
367
+ "archimateAlignment": null,
368
+ "bidirectional": false,
369
+ "sourceElementTypesByLayer": {
370
+ "04-application": ["ApplicationService", "Data Properties"]
371
+ },
372
+ "sourceElementTypes": ["ApplicationService", "Data Properties"],
373
+ "strength": "medium",
374
+ "isRequired": false
375
+ },
376
+ {
377
+ "id": "archimate-application-master-data-source",
378
+ "name": "Application Master Data Source",
379
+ "category": "archimate",
380
+ "sourceLayers": ["02-business"],
381
+ "targetLayer": "04-application",
382
+ "targetElementTypes": ["MasterDataSource"],
383
+ "fieldPaths": ["application.master-data-source"],
384
+ "cardinality": "single",
385
+ "format": "string",
386
+ "description": "BusinessObject master data source from DataObject",
387
+ "examples": [],
388
+ "validationRules": {
389
+ "targetExists": true,
390
+ "targetType": "MasterDataSource",
391
+ "sourceElementTypesValid": ["BusinessObject"],
392
+ "minimumCardinality": 0,
393
+ "maximumCardinality": null
394
+ },
395
+ "predicate": "master-data-source",
396
+ "inversePredicate": null,
397
+ "relationshipCategory": null,
398
+ "archimateAlignment": null,
399
+ "bidirectional": false,
400
+ "sourceElementTypesByLayer": {
401
+ "02-business": ["BusinessObject"]
402
+ },
403
+ "sourceElementTypes": ["BusinessObject"],
404
+ "strength": "medium",
405
+ "isRequired": false
406
+ },
407
+ {
408
+ "id": "archimate-application-process-steps",
409
+ "name": "Application Process Steps",
410
+ "category": "archimate",
411
+ "sourceLayers": ["02-business"],
412
+ "targetLayer": "04-application",
413
+ "targetElementTypes": ["ProcessStep"],
414
+ "fieldPaths": ["application.process-steps"],
415
+ "cardinality": "array",
416
+ "format": "reference",
417
+ "description": "which specific ApplicationProcess steps realize this business process",
418
+ "examples": [],
419
+ "validationRules": {
420
+ "targetExists": true,
421
+ "targetType": "ProcessStep",
422
+ "sourceElementTypesValid": ["BusinessProcess"],
423
+ "minimumCardinality": 0,
424
+ "maximumCardinality": null
425
+ },
426
+ "predicate": "process-steps",
427
+ "inversePredicate": null,
428
+ "relationshipCategory": null,
429
+ "archimateAlignment": null,
430
+ "bidirectional": false,
431
+ "sourceElementTypesByLayer": {
432
+ "02-business": ["BusinessProcess"]
433
+ },
434
+ "sourceElementTypes": ["BusinessProcess"],
435
+ "strength": "medium",
436
+ "isRequired": false
437
+ },
438
+ {
439
+ "id": "archimate-application-realized-by-process",
440
+ "name": "Application Realized By Process",
441
+ "category": "archimate",
442
+ "sourceLayers": ["02-business"],
443
+ "targetLayer": "04-application",
444
+ "targetElementTypes": ["RealizedByProces"],
445
+ "fieldPaths": ["application.realized-by-process"],
446
+ "cardinality": "single",
447
+ "format": "reference",
448
+ "description": "ApplicationService - **BusinessProcess** automated by ApplicationProcess",
449
+ "examples": [],
450
+ "validationRules": {
451
+ "targetExists": true,
452
+ "targetType": "RealizedByProces",
453
+ "sourceElementTypesValid": ["BusinessProcess"],
454
+ "minimumCardinality": 0,
455
+ "maximumCardinality": null
456
+ },
457
+ "predicate": "realized-by-process",
458
+ "inversePredicate": null,
459
+ "relationshipCategory": null,
460
+ "archimateAlignment": null,
461
+ "bidirectional": false,
462
+ "sourceElementTypesByLayer": {
463
+ "02-business": ["BusinessProcess"]
464
+ },
465
+ "sourceElementTypes": ["BusinessProcess"],
466
+ "strength": "medium",
467
+ "isRequired": false
468
+ },
469
+ {
470
+ "id": "archimate-application-represented-by-dataobject",
471
+ "name": "Application Represented By Dataobject",
472
+ "category": "archimate",
473
+ "sourceLayers": ["02-business"],
474
+ "targetLayer": "04-application",
475
+ "targetElementTypes": ["RepresentedByDataobject"],
476
+ "fieldPaths": ["application.represented-by-dataobject"],
477
+ "cardinality": "single",
478
+ "format": "string",
479
+ "description": "BusinessObject represented in DataObject",
480
+ "examples": [],
481
+ "validationRules": {
482
+ "targetExists": true,
483
+ "targetType": "RepresentedByDataobject",
484
+ "sourceElementTypesValid": ["BusinessObject"],
485
+ "minimumCardinality": 0,
486
+ "maximumCardinality": null
487
+ },
488
+ "predicate": "represented-by-dataobject",
489
+ "inversePredicate": null,
490
+ "relationshipCategory": null,
491
+ "archimateAlignment": null,
492
+ "bidirectional": false,
493
+ "sourceElementTypesByLayer": {
494
+ "02-business": ["BusinessObject"]
495
+ },
496
+ "sourceElementTypes": ["BusinessObject"],
497
+ "strength": "medium",
498
+ "isRequired": false
499
+ },
500
+ {
501
+ "id": "archimate-ref",
502
+ "name": "Ref",
503
+ "category": "archimate",
504
+ "sourceLayers": ["06-api", "07-data-model"],
505
+ "targetLayer": "04-application",
506
+ "targetElementTypes": ["Element"],
507
+ "fieldPaths": ["x-archimate-ref"],
508
+ "cardinality": "single",
509
+ "format": "duration",
510
+ "description": "string (Element.id reference to ApplicationService)",
511
+ "examples": [],
512
+ "validationRules": {
513
+ "targetExists": true,
514
+ "targetType": "Element",
515
+ "sourceElementTypesValid": [
516
+ "JSONSchema",
517
+ "OpenAPIDocument",
518
+ "Operation",
519
+ "SecurityScheme",
520
+ "x-security Extension"
521
+ ],
522
+ "minimumCardinality": 0,
523
+ "maximumCardinality": null
524
+ },
525
+ "predicate": "archimate-ref",
526
+ "inversePredicate": null,
527
+ "relationshipCategory": null,
528
+ "archimateAlignment": null,
529
+ "bidirectional": false,
530
+ "sourceElementTypesByLayer": {
531
+ "06-api": ["OpenAPIDocument", "Operation", "SecurityScheme"],
532
+ "07-data-model": ["JSONSchema", "x-security Extension"]
533
+ },
534
+ "sourceElementTypes": [
535
+ "JSONSchema",
536
+ "OpenAPIDocument",
537
+ "Operation",
538
+ "SecurityScheme",
539
+ "x-security Extension"
540
+ ],
541
+ "strength": "medium",
542
+ "isRequired": false
543
+ },
544
+ {
545
+ "id": "business-apm-business-metrics",
546
+ "name": "Apm Business Metrics",
547
+ "category": "business",
548
+ "sourceLayers": ["02-business", "04-application", "06-api"],
549
+ "targetLayer": "02-business",
550
+ "targetElementTypes": ["BusinessMetric"],
551
+ "fieldPaths": ["apm.business-metrics", "x-apm-business-metrics"],
552
+ "cardinality": "array",
553
+ "format": "reference",
554
+ "description": "comma-separated business metric IDs this service tracks",
555
+ "examples": [
556
+ {
557
+ "elementType": "BusinessProcess",
558
+ "elementId": "order-process",
559
+ "elementName": "Order Fulfillment Process",
560
+ "fieldPath": "apm.business-metrics",
561
+ "value": "metric-order-fulfillment-time,metric-order-success-rate",
562
+ "layer": "02-business"
563
+ }
564
+ ],
565
+ "validationRules": {
566
+ "targetExists": true,
567
+ "targetType": "BusinessMetric",
568
+ "sourceElementTypesValid": [
569
+ "ApplicationService",
570
+ "BusinessProcess",
571
+ "Operation",
572
+ "SecurityScheme"
573
+ ],
574
+ "minimumCardinality": 0,
575
+ "maximumCardinality": null
576
+ },
577
+ "predicate": "business-metrics",
578
+ "inversePredicate": null,
579
+ "relationshipCategory": null,
580
+ "archimateAlignment": null,
581
+ "bidirectional": false,
582
+ "sourceElementTypesByLayer": {
583
+ "02-business": ["BusinessProcess"],
584
+ "04-application": ["ApplicationService"],
585
+ "06-api": ["Operation", "SecurityScheme"]
586
+ },
587
+ "sourceElementTypes": [
588
+ "ApplicationService",
589
+ "BusinessProcess",
590
+ "Operation",
591
+ "SecurityScheme"
592
+ ],
593
+ "strength": "medium",
594
+ "isRequired": false
595
+ },
596
+ {
597
+ "id": "business-interface-ref",
598
+ "name": "Interface Ref",
599
+ "category": "business",
600
+ "sourceLayers": ["06-api"],
601
+ "targetLayer": "02-business",
602
+ "targetElementTypes": ["BusinessInterface"],
603
+ "fieldPaths": ["x-business-interface-ref"],
604
+ "cardinality": "single",
605
+ "format": "duration",
606
+ "description": "string (BusinessInterface.id, optional)",
607
+ "examples": [],
608
+ "validationRules": {
609
+ "targetExists": true,
610
+ "targetType": "BusinessInterface",
611
+ "sourceElementTypesValid": ["Operation", "SecurityScheme"],
612
+ "minimumCardinality": 0,
613
+ "maximumCardinality": null
614
+ },
615
+ "predicate": "business-interface-ref",
616
+ "inversePredicate": null,
617
+ "relationshipCategory": null,
618
+ "archimateAlignment": null,
619
+ "bidirectional": false,
620
+ "sourceElementTypesByLayer": {
621
+ "06-api": ["Operation", "SecurityScheme"]
622
+ },
623
+ "sourceElementTypes": ["Operation", "SecurityScheme"],
624
+ "strength": "medium",
625
+ "isRequired": false
626
+ },
627
+ {
628
+ "id": "business-object-ref",
629
+ "name": "Object Ref",
630
+ "category": "business",
631
+ "sourceLayers": ["07-data-model"],
632
+ "targetLayer": "02-business",
633
+ "targetElementTypes": ["BusinessObject"],
634
+ "fieldPaths": ["x-business-object-ref"],
635
+ "cardinality": "single",
636
+ "format": "duration",
637
+ "description": "string (BusinessObject.id reference, optional)",
638
+ "examples": [],
639
+ "validationRules": {
640
+ "targetExists": true,
641
+ "targetType": "BusinessObject",
642
+ "sourceElementTypesValid": [
643
+ "JSONSchema",
644
+ "x-business-object-ref Extension",
645
+ "x-security Extension"
646
+ ],
647
+ "minimumCardinality": 0,
648
+ "maximumCardinality": null
649
+ },
650
+ "predicate": "business-object-ref",
651
+ "inversePredicate": null,
652
+ "relationshipCategory": null,
653
+ "archimateAlignment": null,
654
+ "bidirectional": false,
655
+ "sourceElementTypesByLayer": {
656
+ "07-data-model": ["JSONSchema", "x-business-object-ref Extension", "x-security Extension"]
657
+ },
658
+ "sourceElementTypes": [
659
+ "JSONSchema",
660
+ "x-business-object-ref Extension",
661
+ "x-security Extension"
662
+ ],
663
+ "strength": "medium",
664
+ "isRequired": false
665
+ },
666
+ {
667
+ "id": "business-service-ref",
668
+ "name": "Service Ref",
669
+ "category": "business",
670
+ "sourceLayers": ["06-api"],
671
+ "targetLayer": "02-business",
672
+ "targetElementTypes": ["BusinessService"],
673
+ "fieldPaths": ["x-business-service-ref"],
674
+ "cardinality": "single",
675
+ "format": "duration",
676
+ "description": "string (BusinessService.id, optional)",
677
+ "examples": [],
678
+ "validationRules": {
679
+ "targetExists": true,
680
+ "targetType": "BusinessService",
681
+ "sourceElementTypesValid": ["Operation", "SecurityScheme"],
682
+ "minimumCardinality": 0,
683
+ "maximumCardinality": null
684
+ },
685
+ "predicate": "business-service-ref",
686
+ "inversePredicate": null,
687
+ "relationshipCategory": null,
688
+ "archimateAlignment": null,
689
+ "bidirectional": false,
690
+ "sourceElementTypesByLayer": {
691
+ "06-api": ["Operation", "SecurityScheme"]
692
+ },
693
+ "sourceElementTypes": ["Operation", "SecurityScheme"],
694
+ "strength": "medium",
695
+ "isRequired": false
696
+ },
697
+ {
698
+ "id": "data-apm-data-quality-metrics",
699
+ "name": "Apm Data Quality Metrics",
700
+ "category": "data",
701
+ "sourceLayers": ["07-data-model"],
702
+ "targetLayer": "07-data-model",
703
+ "targetElementTypes": ["DataQualityMetric"],
704
+ "fieldPaths": ["x-apm-data-quality-metrics"],
705
+ "cardinality": "single",
706
+ "format": "duration",
707
+ "description": "DataQualityMetrics (optional)",
708
+ "examples": [],
709
+ "validationRules": {
710
+ "targetExists": true,
711
+ "targetType": "DataQualityMetric",
712
+ "sourceElementTypesValid": [
713
+ "JSONSchema",
714
+ "x-apm-data-quality-metrics Extension",
715
+ "x-security Extension"
716
+ ],
717
+ "minimumCardinality": 0,
718
+ "maximumCardinality": null
719
+ },
720
+ "predicate": "apm-data-quality-metrics",
721
+ "inversePredicate": null,
722
+ "relationshipCategory": null,
723
+ "archimateAlignment": null,
724
+ "bidirectional": false,
725
+ "sourceElementTypesByLayer": {
726
+ "07-data-model": [
727
+ "JSONSchema",
728
+ "x-apm-data-quality-metrics Extension",
729
+ "x-security Extension"
730
+ ]
731
+ },
732
+ "sourceElementTypes": [
733
+ "JSONSchema",
734
+ "x-apm-data-quality-metrics Extension",
735
+ "x-security Extension"
736
+ ],
737
+ "strength": "medium",
738
+ "isRequired": false
739
+ },
740
+ {
741
+ "id": "data-governance",
742
+ "name": "Governance",
743
+ "category": "data",
744
+ "sourceLayers": ["07-data-model"],
745
+ "targetLayer": "07-data-model",
746
+ "targetElementTypes": ["Governance"],
747
+ "fieldPaths": ["x-data-governance"],
748
+ "cardinality": "single",
749
+ "format": "string",
750
+ "description": "DataGovernance (optional)",
751
+ "examples": [],
752
+ "validationRules": {
753
+ "targetExists": true,
754
+ "targetType": "Governance",
755
+ "sourceElementTypesValid": [
756
+ "JSONSchema",
757
+ "x-data-governance Extension",
758
+ "x-security Extension"
759
+ ],
760
+ "minimumCardinality": 0,
761
+ "maximumCardinality": null
762
+ },
763
+ "predicate": "data-governance",
764
+ "inversePredicate": null,
765
+ "relationshipCategory": null,
766
+ "archimateAlignment": null,
767
+ "bidirectional": false,
768
+ "sourceElementTypesByLayer": {
769
+ "07-data-model": ["JSONSchema", "x-data-governance Extension", "x-security Extension"]
770
+ },
771
+ "sourceElementTypes": ["JSONSchema", "x-data-governance Extension", "x-security Extension"],
772
+ "strength": "medium",
773
+ "isRequired": false
774
+ },
775
+ {
776
+ "id": "data-governance-owner",
777
+ "name": "Governance Owner",
778
+ "category": "data",
779
+ "sourceLayers": ["02-business"],
780
+ "targetLayer": "07-data-model",
781
+ "targetElementTypes": ["GovernanceOwner"],
782
+ "fieldPaths": ["data.governance-owner"],
783
+ "cardinality": "single",
784
+ "format": "reference",
785
+ "description": "BusinessObject ownership by BusinessActor",
786
+ "examples": [
787
+ {
788
+ "elementType": "BusinessObject",
789
+ "elementId": "order-object",
790
+ "elementName": "Order",
791
+ "fieldPath": "data.governance-owner",
792
+ "value": "sales-rep",
793
+ "layer": "02-business"
794
+ }
795
+ ],
796
+ "validationRules": {
797
+ "targetExists": true,
798
+ "targetType": "GovernanceOwner",
799
+ "sourceElementTypesValid": ["BusinessObject"],
800
+ "minimumCardinality": 0,
801
+ "maximumCardinality": null
802
+ },
803
+ "predicate": "governance-owner",
804
+ "inversePredicate": null,
805
+ "relationshipCategory": null,
806
+ "archimateAlignment": null,
807
+ "bidirectional": false,
808
+ "sourceElementTypesByLayer": {
809
+ "02-business": ["BusinessObject"]
810
+ },
811
+ "sourceElementTypes": ["BusinessObject"],
812
+ "strength": "medium",
813
+ "isRequired": false
814
+ },
815
+ {
816
+ "id": "data-retention",
817
+ "name": "Retention",
818
+ "category": "data",
819
+ "sourceLayers": ["04-application"],
820
+ "targetLayer": "07-data-model",
821
+ "targetElementTypes": ["Retention"],
822
+ "fieldPaths": ["data.retention"],
823
+ "cardinality": "single",
824
+ "format": "duration",
825
+ "description": "Links to Retention in target layer",
826
+ "examples": [
827
+ {
828
+ "elementType": "DataObject",
829
+ "elementId": "product-data",
830
+ "elementName": "product-data",
831
+ "fieldPath": "data.retention",
832
+ "value": "7years",
833
+ "layer": "04-application"
834
+ }
835
+ ],
836
+ "validationRules": {
837
+ "targetExists": true,
838
+ "targetType": "Retention",
839
+ "sourceElementTypesValid": ["Data Properties", "DataObject"],
840
+ "minimumCardinality": 0,
841
+ "maximumCardinality": null
842
+ },
843
+ "predicate": "retention",
844
+ "inversePredicate": null,
845
+ "relationshipCategory": null,
846
+ "archimateAlignment": null,
847
+ "bidirectional": false,
848
+ "sourceElementTypesByLayer": {
849
+ "04-application": ["Data Properties", "DataObject"]
850
+ },
851
+ "sourceElementTypes": ["Data Properties", "DataObject"],
852
+ "strength": "medium",
853
+ "isRequired": false
854
+ },
855
+ {
856
+ "id": "database",
857
+ "name": "Database",
858
+ "category": "data",
859
+ "sourceLayers": ["07-data-model"],
860
+ "targetLayer": "07-data-model",
861
+ "targetElementTypes": ["Database"],
862
+ "fieldPaths": ["x-database"],
863
+ "cardinality": "single",
864
+ "format": "duration",
865
+ "description": "DatabaseMapping (optional)",
866
+ "examples": [],
867
+ "validationRules": {
868
+ "targetExists": true,
869
+ "targetType": "Database",
870
+ "sourceElementTypesValid": [
871
+ "JSONSchema",
872
+ "SchemaProperty",
873
+ "x-database Extension",
874
+ "x-security Extension"
875
+ ],
876
+ "minimumCardinality": 0,
877
+ "maximumCardinality": null
878
+ },
879
+ "predicate": "database",
880
+ "inversePredicate": null,
881
+ "relationshipCategory": null,
882
+ "archimateAlignment": null,
883
+ "bidirectional": false,
884
+ "sourceElementTypesByLayer": {
885
+ "07-data-model": [
886
+ "JSONSchema",
887
+ "SchemaProperty",
888
+ "x-database Extension",
889
+ "x-security Extension"
890
+ ]
891
+ },
892
+ "sourceElementTypes": [
893
+ "JSONSchema",
894
+ "SchemaProperty",
895
+ "x-database Extension",
896
+ "x-security Extension"
897
+ ],
898
+ "strength": "medium",
899
+ "isRequired": false
900
+ },
901
+ {
902
+ "id": "database-column",
903
+ "name": "Database Column",
904
+ "category": "data",
905
+ "sourceLayers": ["06-api"],
906
+ "targetLayer": "07-data-model",
907
+ "targetElementTypes": ["Column"],
908
+ "fieldPaths": ["x-database-column"],
909
+ "cardinality": "single",
910
+ "format": "duration",
911
+ "description": "string",
912
+ "examples": [],
913
+ "validationRules": {
914
+ "targetExists": true,
915
+ "targetType": "Column",
916
+ "sourceElementTypesValid": ["Schema"],
917
+ "minimumCardinality": 0,
918
+ "maximumCardinality": null
919
+ },
920
+ "predicate": "database-column",
921
+ "inversePredicate": null,
922
+ "relationshipCategory": null,
923
+ "archimateAlignment": null,
924
+ "bidirectional": false,
925
+ "sourceElementTypesByLayer": {
926
+ "06-api": ["Schema"]
927
+ },
928
+ "sourceElementTypes": ["Schema"],
929
+ "strength": "medium",
930
+ "isRequired": false
931
+ },
932
+ {
933
+ "id": "database-table",
934
+ "name": "Database Table",
935
+ "category": "data",
936
+ "sourceLayers": ["06-api"],
937
+ "targetLayer": "07-data-model",
938
+ "targetElementTypes": ["Table"],
939
+ "fieldPaths": ["x-database-table"],
940
+ "cardinality": "single",
941
+ "format": "duration",
942
+ "description": "string",
943
+ "examples": [],
944
+ "validationRules": {
945
+ "targetExists": true,
946
+ "targetType": "Table",
947
+ "sourceElementTypesValid": ["Schema", "SecurityScheme"],
948
+ "minimumCardinality": 0,
949
+ "maximumCardinality": null
950
+ },
951
+ "predicate": "database-table",
952
+ "inversePredicate": null,
953
+ "relationshipCategory": null,
954
+ "archimateAlignment": null,
955
+ "bidirectional": false,
956
+ "sourceElementTypesByLayer": {
957
+ "06-api": ["Schema", "SecurityScheme"]
958
+ },
959
+ "sourceElementTypes": ["Schema", "SecurityScheme"],
960
+ "strength": "medium",
961
+ "isRequired": false
962
+ },
963
+ {
964
+ "id": "motivation-constrained-by",
965
+ "name": "Constrained By",
966
+ "category": "motivation",
967
+ "sourceLayers": ["05-technology", "06-api"],
968
+ "targetLayer": "01-motivation",
969
+ "targetElementTypes": ["ConstrainedBy"],
970
+ "fieldPaths": ["motivation.constrained-by", "x-constrained-by"],
971
+ "cardinality": "array",
972
+ "format": "reference",
973
+ "description": "string[] (Constraint IDs for regulatory/compliance, optional)",
974
+ "examples": [
975
+ {
976
+ "elementType": "Node",
977
+ "elementId": "k8s-cluster",
978
+ "elementName": "k8s-cluster",
979
+ "fieldPath": "motivation.constrained-by",
980
+ "value": "constraint-aws-infrastructure,constraint-budget-500k",
981
+ "layer": "05-technology"
982
+ },
983
+ {
984
+ "elementType": "Node",
985
+ "elementId": "postgres-cluster",
986
+ "elementName": "postgres-cluster",
987
+ "fieldPath": "motivation.constrained-by",
988
+ "value": "constraint-no-proprietary-databases",
989
+ "layer": "05-technology"
990
+ },
991
+ {
992
+ "elementType": "SystemSoftware",
993
+ "elementId": "postgres",
994
+ "elementName": "postgres",
995
+ "fieldPath": "motivation.constrained-by",
996
+ "value": "constraint-no-proprietary-licenses",
997
+ "layer": "05-technology"
998
+ }
999
+ ],
1000
+ "validationRules": {
1001
+ "targetExists": true,
1002
+ "targetType": "ConstrainedBy",
1003
+ "sourceElementTypesValid": [
1004
+ "Artifact",
1005
+ "CommunicationNetwork",
1006
+ "Node",
1007
+ "Operation",
1008
+ "SecurityScheme",
1009
+ "SystemSoftware",
1010
+ "TechnologyService"
1011
+ ],
1012
+ "minimumCardinality": 0,
1013
+ "maximumCardinality": null
1014
+ },
1015
+ "predicate": "constrained-by",
1016
+ "inversePredicate": "constrains",
1017
+ "relationshipCategory": "governance",
1018
+ "archimateAlignment": null,
1019
+ "bidirectional": true,
1020
+ "sourceElementTypesByLayer": {
1021
+ "05-technology": [
1022
+ "Artifact",
1023
+ "CommunicationNetwork",
1024
+ "Node",
1025
+ "SystemSoftware",
1026
+ "TechnologyService"
1027
+ ],
1028
+ "06-api": ["Operation", "SecurityScheme"]
1029
+ },
1030
+ "sourceElementTypes": [
1031
+ "Artifact",
1032
+ "CommunicationNetwork",
1033
+ "Node",
1034
+ "Operation",
1035
+ "SecurityScheme",
1036
+ "SystemSoftware",
1037
+ "TechnologyService"
1038
+ ],
1039
+ "strength": "medium",
1040
+ "isRequired": false
1041
+ },
1042
+ {
1043
+ "id": "motivation-delivers-value",
1044
+ "name": "Delivers Value",
1045
+ "category": "motivation",
1046
+ "sourceLayers": ["02-business", "04-application"],
1047
+ "targetLayer": "01-motivation",
1048
+ "targetElementTypes": ["DeliversValue"],
1049
+ "fieldPaths": ["motivation.delivers-value"],
1050
+ "cardinality": "array",
1051
+ "format": "reference",
1052
+ "description": "BusinessService delivers Value",
1053
+ "examples": [
1054
+ {
1055
+ "elementType": "BusinessService",
1056
+ "elementId": "order-service",
1057
+ "elementName": "Order Processing Service",
1058
+ "fieldPath": "motivation.delivers-value",
1059
+ "value": "value-customer-convenience,value-operational-efficiency",
1060
+ "layer": "02-business"
1061
+ },
1062
+ {
1063
+ "elementType": "ApplicationService",
1064
+ "elementId": "product-service",
1065
+ "elementName": "product-service",
1066
+ "fieldPath": "motivation.delivers-value",
1067
+ "value": "value-customer-convenience",
1068
+ "layer": "04-application"
1069
+ }
1070
+ ],
1071
+ "validationRules": {
1072
+ "targetExists": true,
1073
+ "targetType": "DeliversValue",
1074
+ "sourceElementTypesValid": ["ApplicationService", "BusinessService"],
1075
+ "minimumCardinality": 0,
1076
+ "maximumCardinality": null
1077
+ },
1078
+ "predicate": "delivers-value",
1079
+ "inversePredicate": "delivered-by",
1080
+ "relationshipCategory": "traceability",
1081
+ "archimateAlignment": null,
1082
+ "bidirectional": true,
1083
+ "sourceElementTypesByLayer": {
1084
+ "02-business": ["BusinessService"],
1085
+ "04-application": ["ApplicationService"]
1086
+ },
1087
+ "sourceElementTypes": ["ApplicationService", "BusinessService"],
1088
+ "strength": "medium",
1089
+ "isRequired": false
1090
+ },
1091
+ {
1092
+ "id": "motivation-fulfills-requirements",
1093
+ "name": "Fulfills Requirements",
1094
+ "category": "motivation",
1095
+ "sourceLayers": ["04-application", "05-technology", "06-api"],
1096
+ "targetLayer": "01-motivation",
1097
+ "targetElementTypes": ["FulfillsRequirement"],
1098
+ "fieldPaths": ["motivation.fulfills-requirements", "x-fulfills-requirements"],
1099
+ "cardinality": "array",
1100
+ "format": "reference",
1101
+ "description": "comma-separated Requirement IDs this function fulfills",
1102
+ "examples": [
1103
+ {
1104
+ "elementType": "Node",
1105
+ "elementId": "k8s-cluster",
1106
+ "elementName": "k8s-cluster",
1107
+ "fieldPath": "motivation.fulfills-requirements",
1108
+ "value": "req-horizontal-scaling,req-99-95-availability",
1109
+ "layer": "05-technology"
1110
+ },
1111
+ {
1112
+ "elementType": "Node",
1113
+ "elementId": "postgres-cluster",
1114
+ "elementName": "postgres-cluster",
1115
+ "fieldPath": "motivation.fulfills-requirements",
1116
+ "value": "req-acid-compliance,req-replication",
1117
+ "layer": "05-technology"
1118
+ },
1119
+ {
1120
+ "elementType": "SystemSoftware",
1121
+ "elementId": "postgres",
1122
+ "elementName": "postgres",
1123
+ "fieldPath": "motivation.fulfills-requirements",
1124
+ "value": "req-acid-transactions,req-encryption-at-rest",
1125
+ "layer": "05-technology"
1126
+ }
1127
+ ],
1128
+ "validationRules": {
1129
+ "targetExists": true,
1130
+ "targetType": "FulfillsRequirement",
1131
+ "sourceElementTypesValid": [
1132
+ "ApplicationFunction",
1133
+ "CommunicationNetwork",
1134
+ "Node",
1135
+ "Operation",
1136
+ "SecurityScheme",
1137
+ "SystemSoftware"
1138
+ ],
1139
+ "minimumCardinality": 0,
1140
+ "maximumCardinality": null
1141
+ },
1142
+ "predicate": "fulfills-requirements",
1143
+ "inversePredicate": "fulfilled-by",
1144
+ "relationshipCategory": "traceability",
1145
+ "archimateAlignment": null,
1146
+ "bidirectional": true,
1147
+ "sourceElementTypesByLayer": {
1148
+ "04-application": ["ApplicationFunction"],
1149
+ "05-technology": ["CommunicationNetwork", "Node", "SystemSoftware"],
1150
+ "06-api": ["Operation", "SecurityScheme"]
1151
+ },
1152
+ "sourceElementTypes": [
1153
+ "ApplicationFunction",
1154
+ "CommunicationNetwork",
1155
+ "Node",
1156
+ "Operation",
1157
+ "SecurityScheme",
1158
+ "SystemSoftware"
1159
+ ],
1160
+ "strength": "high",
1161
+ "isRequired": false
1162
+ },
1163
+ {
1164
+ "id": "motivation-governed-by-principles",
1165
+ "name": "Governed By Principles",
1166
+ "category": "motivation",
1167
+ "sourceLayers": [
1168
+ "02-business",
1169
+ "03-security",
1170
+ "04-application",
1171
+ "05-technology",
1172
+ "06-api",
1173
+ "07-data-model",
1174
+ "08-datastore",
1175
+ "09-ux",
1176
+ "10-navigation",
1177
+ "11-apm-observability",
1178
+ "12-testing"
1179
+ ],
1180
+ "targetLayer": "01-motivation",
1181
+ "targetElementTypes": ["GovernedByPrinciple"],
1182
+ "fieldPaths": ["motivation.governed-by-principles", "x-governed-by-principles"],
1183
+ "cardinality": "array",
1184
+ "format": "reference",
1185
+ "description": "BusinessService governed by Principles",
1186
+ "examples": [
1187
+ {
1188
+ "elementType": "BusinessService",
1189
+ "elementId": "order-service",
1190
+ "elementName": "Order Processing Service",
1191
+ "fieldPath": "motivation.governed-by-principles",
1192
+ "value": "principle-customer-first,principle-automation",
1193
+ "layer": "02-business"
1194
+ },
1195
+ {
1196
+ "elementType": "ApplicationService",
1197
+ "elementId": "product-service",
1198
+ "elementName": "product-service",
1199
+ "fieldPath": "motivation.governed-by-principles",
1200
+ "value": "principle-api-first,principle-cloud-native",
1201
+ "layer": "04-application"
1202
+ },
1203
+ {
1204
+ "elementType": "Node",
1205
+ "elementId": "k8s-cluster",
1206
+ "elementName": "k8s-cluster",
1207
+ "fieldPath": "motivation.governed-by-principles",
1208
+ "value": "principle-cloud-native,principle-auto-scaling",
1209
+ "layer": "05-technology"
1210
+ }
1211
+ ],
1212
+ "validationRules": {
1213
+ "targetExists": true,
1214
+ "targetType": "GovernedByPrinciple",
1215
+ "sourceElementTypesValid": [
1216
+ "ApplicationFunction",
1217
+ "ApplicationService",
1218
+ "BusinessService",
1219
+ "CommunicationNetwork",
1220
+ "Node",
1221
+ "OpenAPIDocument",
1222
+ "Operation",
1223
+ "SecurityScheme",
1224
+ "SystemSoftware",
1225
+ "TechnologyService"
1226
+ ],
1227
+ "minimumCardinality": 0,
1228
+ "maximumCardinality": null
1229
+ },
1230
+ "predicate": "governed-by-principles",
1231
+ "inversePredicate": "governs",
1232
+ "relationshipCategory": "governance",
1233
+ "archimateAlignment": null,
1234
+ "bidirectional": true,
1235
+ "sourceElementTypesByLayer": {
1236
+ "02-business": ["BusinessService"],
1237
+ "04-application": ["ApplicationFunction", "ApplicationService"],
1238
+ "05-technology": ["CommunicationNetwork", "Node", "SystemSoftware", "TechnologyService"],
1239
+ "06-api": ["OpenAPIDocument", "Operation", "SecurityScheme"],
1240
+ "03-security": ["BusinessService"],
1241
+ "07-data-model": ["BusinessService"],
1242
+ "08-datastore": ["BusinessService"],
1243
+ "09-ux": ["BusinessService"],
1244
+ "10-navigation": ["BusinessService"],
1245
+ "11-apm-observability": ["BusinessService"],
1246
+ "12-testing": ["BusinessService"]
1247
+ },
1248
+ "sourceElementTypes": [
1249
+ "ApplicationFunction",
1250
+ "ApplicationService",
1251
+ "BusinessService",
1252
+ "CommunicationNetwork",
1253
+ "Node",
1254
+ "OpenAPIDocument",
1255
+ "Operation",
1256
+ "SecurityScheme",
1257
+ "SystemSoftware",
1258
+ "TechnologyService"
1259
+ ],
1260
+ "strength": "high",
1261
+ "isRequired": false
1262
+ },
1263
+ {
1264
+ "id": "motivation-supports-goals",
1265
+ "name": "Supports Goals",
1266
+ "category": "motivation",
1267
+ "sourceLayers": [
1268
+ "02-business",
1269
+ "03-security",
1270
+ "04-application",
1271
+ "05-technology",
1272
+ "06-api",
1273
+ "07-data-model",
1274
+ "08-datastore",
1275
+ "09-ux",
1276
+ "10-navigation",
1277
+ "11-apm-observability",
1278
+ "12-testing"
1279
+ ],
1280
+ "targetLayer": "01-motivation",
1281
+ "targetElementTypes": ["SupportsGoal"],
1282
+ "fieldPaths": ["motivation.supports-goals", "x-supports-goals"],
1283
+ "cardinality": "array",
1284
+ "format": "reference",
1285
+ "description": "BusinessService supports Goals",
1286
+ "examples": [
1287
+ {
1288
+ "elementType": "BusinessService",
1289
+ "elementId": "order-service",
1290
+ "elementName": "Order Processing Service",
1291
+ "fieldPath": "motivation.supports-goals",
1292
+ "value": "goal-customer-satisfaction,goal-revenue-growth",
1293
+ "layer": "02-business"
1294
+ },
1295
+ {
1296
+ "elementType": "ApplicationService",
1297
+ "elementId": "product-service",
1298
+ "elementName": "product-service",
1299
+ "fieldPath": "motivation.supports-goals",
1300
+ "value": "goal-product-catalog-accuracy,goal-customer-satisfaction",
1301
+ "layer": "04-application"
1302
+ },
1303
+ {
1304
+ "elementType": "TechnologyService",
1305
+ "elementId": "container-platform",
1306
+ "elementName": "container-platform",
1307
+ "fieldPath": "motivation.supports-goals",
1308
+ "value": "goal-deployment-automation,goal-horizontal-scaling",
1309
+ "layer": "05-technology"
1310
+ }
1311
+ ],
1312
+ "validationRules": {
1313
+ "targetExists": true,
1314
+ "targetType": "SupportsGoal",
1315
+ "sourceElementTypesValid": [
1316
+ "ApplicationService",
1317
+ "BusinessService",
1318
+ "Operation",
1319
+ "SecurityScheme",
1320
+ "TechnologyService"
1321
+ ],
1322
+ "minimumCardinality": 0,
1323
+ "maximumCardinality": null
1324
+ },
1325
+ "predicate": "supports-goals",
1326
+ "inversePredicate": "supported-by",
1327
+ "relationshipCategory": "traceability",
1328
+ "archimateAlignment": null,
1329
+ "bidirectional": true,
1330
+ "sourceElementTypesByLayer": {
1331
+ "02-business": ["BusinessService"],
1332
+ "04-application": ["ApplicationService"],
1333
+ "05-technology": ["TechnologyService"],
1334
+ "06-api": ["Operation", "SecurityScheme"],
1335
+ "03-security": ["BusinessService"],
1336
+ "07-data-model": ["BusinessService"],
1337
+ "08-datastore": ["BusinessService"],
1338
+ "09-ux": ["BusinessService"],
1339
+ "10-navigation": ["BusinessService"],
1340
+ "11-apm-observability": ["BusinessService"],
1341
+ "12-testing": ["BusinessService"]
1342
+ },
1343
+ "sourceElementTypes": [
1344
+ "ApplicationService",
1345
+ "BusinessService",
1346
+ "Operation",
1347
+ "SecurityScheme",
1348
+ "TechnologyService"
1349
+ ],
1350
+ "strength": "high",
1351
+ "isRequired": false
1352
+ },
1353
+ {
1354
+ "id": "security-classification",
1355
+ "name": "Classification",
1356
+ "category": "security",
1357
+ "sourceLayers": [
1358
+ "02-business",
1359
+ "03-security",
1360
+ "04-application",
1361
+ "05-technology",
1362
+ "06-api",
1363
+ "07-data-model",
1364
+ "08-datastore",
1365
+ "09-ux",
1366
+ "10-navigation",
1367
+ "11-apm-observability",
1368
+ "12-testing"
1369
+ ],
1370
+ "targetLayer": "03-security",
1371
+ "targetElementTypes": ["Classification"],
1372
+ "fieldPaths": ["security.classification"],
1373
+ "cardinality": "single",
1374
+ "format": "string",
1375
+ "description": "Links to Classification in target layer",
1376
+ "examples": [
1377
+ {
1378
+ "elementType": "Artifact",
1379
+ "elementId": "product-db",
1380
+ "elementName": "product-db",
1381
+ "fieldPath": "security.classification",
1382
+ "value": "internal",
1383
+ "layer": "05-technology"
1384
+ },
1385
+ {
1386
+ "elementType": "Artifact",
1387
+ "elementId": "customer-db",
1388
+ "elementName": "customer-db",
1389
+ "fieldPath": "security.classification",
1390
+ "value": "restricted",
1391
+ "layer": "05-technology"
1392
+ }
1393
+ ],
1394
+ "validationRules": {
1395
+ "targetExists": true,
1396
+ "targetType": "Classification",
1397
+ "sourceElementTypesValid": ["Artifact"],
1398
+ "minimumCardinality": 0,
1399
+ "maximumCardinality": null
1400
+ },
1401
+ "predicate": "classification",
1402
+ "inversePredicate": null,
1403
+ "relationshipCategory": null,
1404
+ "archimateAlignment": null,
1405
+ "bidirectional": false,
1406
+ "sourceElementTypesByLayer": {
1407
+ "05-technology": ["Artifact"],
1408
+ "02-business": ["Artifact"],
1409
+ "03-security": ["Artifact"],
1410
+ "04-application": ["Artifact"],
1411
+ "06-api": ["Artifact"],
1412
+ "07-data-model": ["Artifact"],
1413
+ "08-datastore": ["Artifact"],
1414
+ "09-ux": ["Artifact"],
1415
+ "10-navigation": ["Artifact"],
1416
+ "11-apm-observability": ["Artifact"],
1417
+ "12-testing": ["Artifact"]
1418
+ },
1419
+ "sourceElementTypes": ["Artifact"],
1420
+ "strength": "low",
1421
+ "isRequired": false
1422
+ },
1423
+ {
1424
+ "id": "security-data-pii",
1425
+ "name": "Data Pii",
1426
+ "category": "security",
1427
+ "sourceLayers": ["04-application"],
1428
+ "targetLayer": "03-security",
1429
+ "targetElementTypes": ["Pii"],
1430
+ "fieldPaths": ["data.pii"],
1431
+ "cardinality": "single",
1432
+ "format": "boolean",
1433
+ "description": "Links to Pii in target layer",
1434
+ "examples": [
1435
+ {
1436
+ "elementType": "DataObject",
1437
+ "elementId": "product-data",
1438
+ "elementName": "product-data",
1439
+ "fieldPath": "data.pii",
1440
+ "value": "false",
1441
+ "layer": "04-application"
1442
+ }
1443
+ ],
1444
+ "validationRules": {
1445
+ "targetExists": true,
1446
+ "targetType": "Pii",
1447
+ "sourceElementTypesValid": ["Data Properties", "DataObject"],
1448
+ "minimumCardinality": 0,
1449
+ "maximumCardinality": null
1450
+ },
1451
+ "predicate": "pii",
1452
+ "inversePredicate": null,
1453
+ "relationshipCategory": null,
1454
+ "archimateAlignment": null,
1455
+ "bidirectional": false,
1456
+ "sourceElementTypesByLayer": {
1457
+ "04-application": ["Data Properties", "DataObject"]
1458
+ },
1459
+ "sourceElementTypes": ["Data Properties", "DataObject"],
1460
+ "strength": "medium",
1461
+ "isRequired": false
1462
+ },
1463
+ {
1464
+ "id": "security-encrypted",
1465
+ "name": "Encrypted",
1466
+ "category": "security",
1467
+ "sourceLayers": ["06-api"],
1468
+ "targetLayer": "03-security",
1469
+ "targetElementTypes": ["Encrypted"],
1470
+ "fieldPaths": ["x-encrypted"],
1471
+ "cardinality": "single",
1472
+ "format": "string",
1473
+ "description": "boolean",
1474
+ "examples": [],
1475
+ "validationRules": {
1476
+ "targetExists": true,
1477
+ "targetType": "Encrypted",
1478
+ "sourceElementTypesValid": ["Schema"],
1479
+ "minimumCardinality": 0,
1480
+ "maximumCardinality": null
1481
+ },
1482
+ "predicate": "encrypted",
1483
+ "inversePredicate": null,
1484
+ "relationshipCategory": null,
1485
+ "archimateAlignment": null,
1486
+ "bidirectional": false,
1487
+ "sourceElementTypesByLayer": {
1488
+ "06-api": ["Schema"]
1489
+ },
1490
+ "sourceElementTypes": ["Schema"],
1491
+ "strength": "medium",
1492
+ "isRequired": false
1493
+ },
1494
+ {
1495
+ "id": "security-encryption-required",
1496
+ "name": "Encryption Required",
1497
+ "category": "security",
1498
+ "sourceLayers": ["05-technology"],
1499
+ "targetLayer": "03-security",
1500
+ "targetElementTypes": ["EncryptionRequired"],
1501
+ "fieldPaths": ["security.encryption-required"],
1502
+ "cardinality": "single",
1503
+ "format": "boolean",
1504
+ "description": "Links to EncryptionRequired in target layer",
1505
+ "examples": [
1506
+ {
1507
+ "elementType": "Artifact",
1508
+ "elementId": "product-db",
1509
+ "elementName": "product-db",
1510
+ "fieldPath": "security.encryption-required",
1511
+ "value": "true",
1512
+ "layer": "05-technology"
1513
+ },
1514
+ {
1515
+ "elementType": "Artifact",
1516
+ "elementId": "customer-db",
1517
+ "elementName": "customer-db",
1518
+ "fieldPath": "security.encryption-required",
1519
+ "value": "true",
1520
+ "layer": "05-technology"
1521
+ }
1522
+ ],
1523
+ "validationRules": {
1524
+ "targetExists": true,
1525
+ "targetType": "EncryptionRequired",
1526
+ "sourceElementTypesValid": ["Artifact"],
1527
+ "minimumCardinality": 0,
1528
+ "maximumCardinality": null
1529
+ },
1530
+ "predicate": "encryption-required",
1531
+ "inversePredicate": null,
1532
+ "relationshipCategory": null,
1533
+ "archimateAlignment": null,
1534
+ "bidirectional": false,
1535
+ "sourceElementTypesByLayer": {
1536
+ "05-technology": ["Artifact"]
1537
+ },
1538
+ "sourceElementTypes": ["Artifact"],
1539
+ "strength": "medium",
1540
+ "isRequired": false
1541
+ },
1542
+ {
1543
+ "id": "security-encryption-type",
1544
+ "name": "Encryption Type",
1545
+ "category": "security",
1546
+ "sourceLayers": ["05-technology"],
1547
+ "targetLayer": "03-security",
1548
+ "targetElementTypes": ["EncryptionType"],
1549
+ "fieldPaths": ["security.encryption-type"],
1550
+ "cardinality": "single",
1551
+ "format": "string",
1552
+ "description": "Links to EncryptionType in target layer",
1553
+ "examples": [
1554
+ {
1555
+ "elementType": "Artifact",
1556
+ "elementId": "product-db",
1557
+ "elementName": "product-db",
1558
+ "fieldPath": "security.encryption-type",
1559
+ "value": "both",
1560
+ "layer": "05-technology"
1561
+ },
1562
+ {
1563
+ "elementType": "Artifact",
1564
+ "elementId": "customer-db",
1565
+ "elementName": "customer-db",
1566
+ "fieldPath": "security.encryption-type",
1567
+ "value": "both",
1568
+ "layer": "05-technology"
1569
+ }
1570
+ ],
1571
+ "validationRules": {
1572
+ "targetExists": true,
1573
+ "targetType": "EncryptionType",
1574
+ "sourceElementTypesValid": ["Artifact"],
1575
+ "minimumCardinality": 0,
1576
+ "maximumCardinality": null
1577
+ },
1578
+ "predicate": "encryption-type",
1579
+ "inversePredicate": null,
1580
+ "relationshipCategory": null,
1581
+ "archimateAlignment": null,
1582
+ "bidirectional": false,
1583
+ "sourceElementTypesByLayer": {
1584
+ "05-technology": ["Artifact"]
1585
+ },
1586
+ "sourceElementTypes": ["Artifact"],
1587
+ "strength": "medium",
1588
+ "isRequired": false
1589
+ },
1590
+ {
1591
+ "id": "security-pii",
1592
+ "name": "Pii",
1593
+ "category": "security",
1594
+ "sourceLayers": ["05-technology", "06-api"],
1595
+ "targetLayer": "03-security",
1596
+ "targetElementTypes": ["Pii"],
1597
+ "fieldPaths": ["security.pii", "x-pii"],
1598
+ "cardinality": "single",
1599
+ "format": "boolean",
1600
+ "description": "contains personally identifiable information",
1601
+ "examples": [
1602
+ {
1603
+ "elementType": "Artifact",
1604
+ "elementId": "customer-db",
1605
+ "elementName": "customer-db",
1606
+ "fieldPath": "security.pii",
1607
+ "value": "true",
1608
+ "layer": "05-technology"
1609
+ }
1610
+ ],
1611
+ "validationRules": {
1612
+ "targetExists": true,
1613
+ "targetType": "Pii",
1614
+ "sourceElementTypesValid": ["Artifact", "Schema"],
1615
+ "minimumCardinality": 0,
1616
+ "maximumCardinality": null
1617
+ },
1618
+ "predicate": "pii",
1619
+ "inversePredicate": null,
1620
+ "relationshipCategory": null,
1621
+ "archimateAlignment": null,
1622
+ "bidirectional": false,
1623
+ "sourceElementTypesByLayer": {
1624
+ "05-technology": ["Artifact"],
1625
+ "06-api": ["Schema"]
1626
+ },
1627
+ "sourceElementTypes": ["Artifact", "Schema"],
1628
+ "strength": "medium",
1629
+ "isRequired": false
1630
+ },
1631
+ {
1632
+ "id": "security-process-security-controls",
1633
+ "name": "Process Security Controls",
1634
+ "category": "security",
1635
+ "sourceLayers": ["02-business"],
1636
+ "targetLayer": "03-security",
1637
+ "targetElementTypes": ["SecurityControl"],
1638
+ "fieldPaths": ["process.security-controls"],
1639
+ "cardinality": "array",
1640
+ "format": "string",
1641
+ "description": "security control references",
1642
+ "examples": [
1643
+ {
1644
+ "elementType": "BusinessProcess",
1645
+ "elementId": "order-process",
1646
+ "elementName": "Order Fulfillment Process",
1647
+ "fieldPath": "process.security-controls",
1648
+ "value": "control-order-approval,control-payment-verification",
1649
+ "layer": "02-business"
1650
+ }
1651
+ ],
1652
+ "validationRules": {
1653
+ "targetExists": true,
1654
+ "targetType": "SecurityControl",
1655
+ "sourceElementTypesValid": ["BusinessProcess"],
1656
+ "minimumCardinality": 0,
1657
+ "maximumCardinality": null
1658
+ },
1659
+ "predicate": "security-controls",
1660
+ "inversePredicate": null,
1661
+ "relationshipCategory": null,
1662
+ "archimateAlignment": null,
1663
+ "bidirectional": false,
1664
+ "sourceElementTypesByLayer": {
1665
+ "02-business": ["BusinessProcess"]
1666
+ },
1667
+ "sourceElementTypes": ["BusinessProcess"],
1668
+ "strength": "high",
1669
+ "isRequired": false
1670
+ },
1671
+ {
1672
+ "id": "security-process-separation-of-duty",
1673
+ "name": "Process Separation Of Duty",
1674
+ "category": "security",
1675
+ "sourceLayers": ["02-business"],
1676
+ "targetLayer": "03-security",
1677
+ "targetElementTypes": ["SeparationOfDuty"],
1678
+ "fieldPaths": ["process.separation-of-duty"],
1679
+ "cardinality": "single",
1680
+ "format": "boolean",
1681
+ "description": "Links to SeparationOfDuty in target layer",
1682
+ "examples": [
1683
+ {
1684
+ "elementType": "BusinessProcess",
1685
+ "elementId": "order-process",
1686
+ "elementName": "Order Fulfillment Process",
1687
+ "fieldPath": "process.separation-of-duty",
1688
+ "value": "true",
1689
+ "layer": "02-business"
1690
+ }
1691
+ ],
1692
+ "validationRules": {
1693
+ "targetExists": true,
1694
+ "targetType": "SeparationOfDuty",
1695
+ "sourceElementTypesValid": ["BusinessProcess"],
1696
+ "minimumCardinality": 0,
1697
+ "maximumCardinality": null
1698
+ },
1699
+ "predicate": "separation-of-duty",
1700
+ "inversePredicate": null,
1701
+ "relationshipCategory": null,
1702
+ "archimateAlignment": null,
1703
+ "bidirectional": false,
1704
+ "sourceElementTypesByLayer": {
1705
+ "02-business": ["BusinessProcess"]
1706
+ },
1707
+ "sourceElementTypes": ["BusinessProcess"],
1708
+ "strength": "medium",
1709
+ "isRequired": false
1710
+ },
1711
+ {
1712
+ "id": "security-required-permissions",
1713
+ "name": "Required Permissions",
1714
+ "category": "security",
1715
+ "sourceLayers": ["06-api"],
1716
+ "targetLayer": "03-security",
1717
+ "targetElementTypes": ["Permission"],
1718
+ "fieldPaths": ["x-required-permissions"],
1719
+ "cardinality": "array",
1720
+ "format": "duration",
1721
+ "description": "string[] (Permission.name[], optional)",
1722
+ "examples": [],
1723
+ "validationRules": {
1724
+ "targetExists": true,
1725
+ "targetType": "Permission",
1726
+ "sourceElementTypesValid": ["Operation", "SecurityScheme"],
1727
+ "minimumCardinality": 0,
1728
+ "maximumCardinality": null
1729
+ },
1730
+ "predicate": "required-permissions",
1731
+ "inversePredicate": null,
1732
+ "relationshipCategory": null,
1733
+ "archimateAlignment": null,
1734
+ "bidirectional": false,
1735
+ "sourceElementTypesByLayer": {
1736
+ "06-api": ["Operation", "SecurityScheme"]
1737
+ },
1738
+ "sourceElementTypes": ["Operation", "SecurityScheme"],
1739
+ "strength": "critical",
1740
+ "isRequired": false
1741
+ },
1742
+ {
1743
+ "id": "security-resource",
1744
+ "name": "Resource",
1745
+ "category": "security",
1746
+ "sourceLayers": ["06-api"],
1747
+ "targetLayer": "03-security",
1748
+ "targetElementTypes": ["SecureResource"],
1749
+ "fieldPaths": ["x-security-resource"],
1750
+ "cardinality": "single",
1751
+ "format": "duration",
1752
+ "description": "string (SecureResource.resource, optional)",
1753
+ "examples": [],
1754
+ "validationRules": {
1755
+ "targetExists": true,
1756
+ "targetType": "SecureResource",
1757
+ "sourceElementTypesValid": ["Operation", "SecurityScheme"],
1758
+ "minimumCardinality": 0,
1759
+ "maximumCardinality": null
1760
+ },
1761
+ "predicate": "security-resource",
1762
+ "inversePredicate": null,
1763
+ "relationshipCategory": null,
1764
+ "archimateAlignment": null,
1765
+ "bidirectional": false,
1766
+ "sourceElementTypesByLayer": {
1767
+ "06-api": ["Operation", "SecurityScheme"]
1768
+ },
1769
+ "sourceElementTypes": ["Operation", "SecurityScheme"],
1770
+ "strength": "critical",
1771
+ "isRequired": false
1772
+ },
1773
+ {
1774
+ "id": "source-code-reference",
1775
+ "name": "Source Code Reference",
1776
+ "category": "source",
1777
+ "sourceLayers": [
1778
+ "04-application",
1779
+ "06-api",
1780
+ "07-data-model",
1781
+ "08-datastore",
1782
+ "09-ux",
1783
+ "10-navigation",
1784
+ "11-apm-observability",
1785
+ "12-testing"
1786
+ ],
1787
+ "targetLayer": "external-code",
1788
+ "targetElementTypes": ["external-code"],
1789
+ "fieldPaths": ["properties.source.reference", "x-source-reference"],
1790
+ "cardinality": "single",
1791
+ "format": "object",
1792
+ "description": "Links model entity to source code location(s)",
1793
+ "examples": [],
1794
+ "validationRules": {
1795
+ "targetExists": false,
1796
+ "targetType": "external-code",
1797
+ "sourceElementTypesValid": [
1798
+ "ApplicationService",
1799
+ "Operation",
1800
+ "JSONSchema",
1801
+ "Table",
1802
+ "Component",
1803
+ "Route",
1804
+ "Metric",
1805
+ "TestCase"
1806
+ ],
1807
+ "minimumCardinality": 0,
1808
+ "maximumCardinality": null
1809
+ },
1810
+ "predicate": "source-reference",
1811
+ "inversePredicate": null,
1812
+ "relationshipCategory": null,
1813
+ "archimateAlignment": null,
1814
+ "bidirectional": false,
1815
+ "sourceElementTypesByLayer": {
1816
+ "04-application": ["ApplicationService"],
1817
+ "06-api": ["Operation"],
1818
+ "07-data-model": ["JSONSchema"],
1819
+ "08-datastore": ["Table"],
1820
+ "09-ux": ["Component"],
1821
+ "10-navigation": ["Route"],
1822
+ "11-apm-observability": ["Metric"],
1823
+ "12-testing": ["TestCase"]
1824
+ },
1825
+ "sourceElementTypes": [
1826
+ "ApplicationService",
1827
+ "Component",
1828
+ "JSONSchema",
1829
+ "Metric",
1830
+ "Operation",
1831
+ "Route",
1832
+ "Table",
1833
+ "TestCase"
1834
+ ],
1835
+ "strength": "medium",
1836
+ "isRequired": false
1837
+ }
1838
+ ]
1839
+ }