@cda/adapter-xma 0.1.0 → 0.2.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.
package/README.md CHANGED
@@ -88,7 +88,7 @@ interface XmaSerializeOptions {
88
88
 
89
89
  This is **initial, evidence-backed XMA serialization support** — not a
90
90
  complete, universal XMA converter. Everything below was confirmed against
91
- two reference `.archimate`/`.xma` fixture pairs (see
91
+ four reference `.archimate`/`.xma` fixture pairs (see
92
92
  [`tests/fixtures/README.md`](tests/fixtures/README.md)); nothing here is
93
93
  extrapolated beyond that evidence.
94
94
 
@@ -103,8 +103,13 @@ extrapolated beyond that evidence.
103
103
  default per-category fill colors, line color, opacity, and font.
104
104
  - Notes and Groups (as `ArchiMate:ViewGraphic`), including Group
105
105
  documentation.
106
- - Three confirmed semantic relationship mappings and their graphical
107
- representation:
106
+ - **87 confirmed semantic relationship mappings** (up from 3), spanning all
107
+ eight schemes — see `src/mapping/relationship-mapping.ts` for the full
108
+ table and `tests/fixtures/README.md` for how each was derived and
109
+ verified. The original 3 (below) additionally have their graphical
110
+ `MM_DirectedRel` representation confirmed end-to-end; the other 84 were
111
+ confirmed at the semantic layer only (the same generic serializer code
112
+ path, not independently fixture-checked for the graphical layer):
108
113
  - `AssignmentRelationship` `BusinessActor` → `BusinessProcess`
109
114
  - `ServingRelationship` `ApplicationService` → `BusinessProcess` (XMA
110
115
  calls this `...Use`, not `...Serving`)
@@ -119,8 +124,25 @@ extrapolated beyond that evidence.
119
124
 
120
125
  ### Not yet guaranteed
121
126
 
122
- - Relationship type/source/target combinations beyond the three confirmed
123
- above (reported as a diagnostic, not silently dropped or guessed).
127
+ - Relationship type/source/target combinations beyond the 87 confirmed above
128
+ (reported as a diagnostic, not silently dropped or guessed).
129
+ - `AssociationRelationship` — confirmed to always serialize as the generic
130
+ `ElementElementAssociation` regardless of source/target type, but not yet
131
+ modeled (the exact-triple table can't express a type-independent rule
132
+ without one enormous list of duplicates). Still correctly diagnosed as
133
+ unsupported, not silently dropped. See "Known limitation" in
134
+ [`tests/fixtures/README.md`](tests/fixtures/README.md).
135
+ - Any relationship with a `Grouping` or `Junction` endpoint — confirmed to
136
+ use a generic form (`GroupingElementComposition`, `RealisationRelation`,
137
+ ...) instead of a type-specific tag, also not yet modeled. Same doc.
138
+ - A handful of concrete types that collapse to a coarser XMA category
139
+ specifically for relationship naming, distinct from their own element
140
+ mapping — confirmed for `TechnologyCollaboration` → `TechnologyNode`,
141
+ `BusinessCollaboration` → `BusinessRole`, and `SystemSoftware` →
142
+ `TechnologyNode`; circumstantial for `Constraint` → `MotivationRequirement`.
143
+ The two `...Collaboration` cases suggest a pattern (collapse to the type's
144
+ own singular "active structure" counterpart) but it isn't confirmed beyond
145
+ those two. Same doc.
124
146
  - More than one view per model (reported as a diagnostic).
125
147
  - Nested diagram objects, `DiagramModelReference` ("insert view as
126
148
  reference"), and purely visual (non-semantic) connections.
@@ -2,10 +2,35 @@
2
2
  * Archi relationship mapping, resolved by (relationship type, source
3
3
  * semantic type, target semantic type) — never by relationship type alone.
4
4
  *
5
- * Only THREE mappings are proven, all confirmed directly against
6
- * `tests/fixtures/relationships/relaciones.{archimate,xma}`. Every other
5
+ * 87 mappings are proven: the original 3 confirmed against
6
+ * `tests/fixtures/relationships/relaciones.{archimate,xma}`, 64 more
7
+ * confirmed against `tests/fixtures/sabsa/sabsa.{archimate,xma}`, and 20 more
8
+ * confirmed against `tests/fixtures/agile-manifesto/agile-manifesto.{archimate,xma}`
9
+ * (see each fixture pair's entry in `tests/fixtures/README.md` for the full
10
+ * derivation method and the open questions they surfaced). Every other
7
11
  * relationship type/source/target combination is unsupported for v0.1 and
8
12
  * must be diagnosed, never guessed (see `serializer/relationship-writer.ts`).
13
+ *
14
+ * `scheme` is always the scheme of the *source* type (confirmed even across
15
+ * schemes, e.g. `WorkPackage -> BusinessFunction` lives in `IMScheme`, the
16
+ * source's scheme, not `BusinessScheme`).
17
+ *
18
+ * NOT modeled here — confirmed to exist, but needs a different mechanism
19
+ * than this exact-triple table (see `tests/fixtures/README.md`):
20
+ * - `AssociationRelationship` always serializes as the generic
21
+ * `ElementElementAssociation`, regardless of source/target type.
22
+ * - Any relationship with a `Grouping` or `Junction` endpoint uses a
23
+ * generic form (e.g. `GroupingElementComposition`, `RealisationRelation`)
24
+ * instead of a type-specific one.
25
+ * - A handful of concrete types collapse to a coarser XMA "category" only
26
+ * for relationship naming (not for their own element mapping) — always a
27
+ * type's own singular "active structure" counterpart, confirmed twice
28
+ * now for the `...Collaboration` pattern specifically: `TechnologyCollaboration`
29
+ * collapses to `TechnologyNode`, and `BusinessCollaboration` collapses to
30
+ * `BusinessRole` (verified directly against raw relation instances in
31
+ * both fixtures, not inferred). Also confirmed: `SystemSoftware`
32
+ * collapses to `TechnologyNode`; `Constraint` collapses to
33
+ * `MotivationRequirement`.
9
34
  */
10
35
  export interface RelationshipMappingEntry {
11
36
  archiRelationshipType: string;
@@ -1 +1 @@
1
- {"version":3,"file":"relationship-mapping.d.ts","sourceRoot":"","sources":["../../src/mapping/relationship-mapping.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,MAAM,WAAW,wBAAwB;IACvC,qBAAqB,EAAE,MAAM,CAAC;IAC9B,eAAe,EAAE,MAAM,CAAC;IACxB,eAAe,EAAE,MAAM,CAAC;IACxB,qFAAqF;IACrF,OAAO,EAAE,MAAM,CAAC;IAChB,oGAAoG;IACpG,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,qBAAqB,EAAE,SAAS,wBAAwB,EAwBpE,CAAC;AAaF,wBAAgB,yBAAyB,CACvC,gBAAgB,EAAE,MAAM,EACxB,eAAe,EAAE,MAAM,EACvB,eAAe,EAAE,MAAM,GACtB,wBAAwB,GAAG,SAAS,CAEtC"}
1
+ {"version":3,"file":"relationship-mapping.d.ts","sourceRoot":"","sources":["../../src/mapping/relationship-mapping.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AAEH,MAAM,WAAW,wBAAwB;IACvC,qBAAqB,EAAE,MAAM,CAAC;IAC9B,eAAe,EAAE,MAAM,CAAC;IACxB,eAAe,EAAE,MAAM,CAAC;IACxB,qFAAqF;IACrF,OAAO,EAAE,MAAM,CAAC;IAChB,oGAAoG;IACpG,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,qBAAqB,EAAE,SAAS,wBAAwB,EAqnBpE,CAAC;AAaF,wBAAgB,yBAAyB,CACvC,gBAAgB,EAAE,MAAM,EACxB,eAAe,EAAE,MAAM,EACvB,eAAe,EAAE,MAAM,GACtB,wBAAwB,GAAG,SAAS,CAEtC"}
@@ -2,10 +2,35 @@
2
2
  * Archi relationship mapping, resolved by (relationship type, source
3
3
  * semantic type, target semantic type) — never by relationship type alone.
4
4
  *
5
- * Only THREE mappings are proven, all confirmed directly against
6
- * `tests/fixtures/relationships/relaciones.{archimate,xma}`. Every other
5
+ * 87 mappings are proven: the original 3 confirmed against
6
+ * `tests/fixtures/relationships/relaciones.{archimate,xma}`, 64 more
7
+ * confirmed against `tests/fixtures/sabsa/sabsa.{archimate,xma}`, and 20 more
8
+ * confirmed against `tests/fixtures/agile-manifesto/agile-manifesto.{archimate,xma}`
9
+ * (see each fixture pair's entry in `tests/fixtures/README.md` for the full
10
+ * derivation method and the open questions they surfaced). Every other
7
11
  * relationship type/source/target combination is unsupported for v0.1 and
8
12
  * must be diagnosed, never guessed (see `serializer/relationship-writer.ts`).
13
+ *
14
+ * `scheme` is always the scheme of the *source* type (confirmed even across
15
+ * schemes, e.g. `WorkPackage -> BusinessFunction` lives in `IMScheme`, the
16
+ * source's scheme, not `BusinessScheme`).
17
+ *
18
+ * NOT modeled here — confirmed to exist, but needs a different mechanism
19
+ * than this exact-triple table (see `tests/fixtures/README.md`):
20
+ * - `AssociationRelationship` always serializes as the generic
21
+ * `ElementElementAssociation`, regardless of source/target type.
22
+ * - Any relationship with a `Grouping` or `Junction` endpoint uses a
23
+ * generic form (e.g. `GroupingElementComposition`, `RealisationRelation`)
24
+ * instead of a type-specific one.
25
+ * - A handful of concrete types collapse to a coarser XMA "category" only
26
+ * for relationship naming (not for their own element mapping) — always a
27
+ * type's own singular "active structure" counterpart, confirmed twice
28
+ * now for the `...Collaboration` pattern specifically: `TechnologyCollaboration`
29
+ * collapses to `TechnologyNode`, and `BusinessCollaboration` collapses to
30
+ * `BusinessRole` (verified directly against raw relation instances in
31
+ * both fixtures, not inferred). Also confirmed: `SystemSoftware`
32
+ * collapses to `TechnologyNode`; `Constraint` collapses to
33
+ * `MotivationRequirement`.
9
34
  */
10
35
  export const RELATIONSHIP_MAPPINGS = [
11
36
  {
@@ -31,6 +56,603 @@ export const RELATIONSHIP_MAPPINGS = [
31
56
  xmaType: 'BusinessProcessBusinessProcessFlow',
32
57
  scheme: 'BusinessScheme',
33
58
  },
59
+ // StrategyScheme
60
+ {
61
+ archiRelationshipType: 'ServingRelationship',
62
+ sourceArchiType: 'Capability',
63
+ targetArchiType: 'ValueStream',
64
+ xmaType: 'StrategyCapabilityStrategyValueStreamUse',
65
+ scheme: 'StrategyScheme',
66
+ },
67
+ {
68
+ archiRelationshipType: 'CompositionRelationship',
69
+ sourceArchiType: 'ValueStream',
70
+ targetArchiType: 'ValueStream',
71
+ xmaType: 'StrategyValueStreamStrategyValueStreamComposition',
72
+ scheme: 'StrategyScheme',
73
+ },
74
+ {
75
+ archiRelationshipType: 'FlowRelationship',
76
+ sourceArchiType: 'ValueStream',
77
+ targetArchiType: 'ValueStream',
78
+ xmaType: 'StrategyValueStreamStrategyValueStreamFlow',
79
+ scheme: 'StrategyScheme',
80
+ },
81
+ {
82
+ archiRelationshipType: 'FlowRelationship',
83
+ sourceArchiType: 'ValueStream',
84
+ targetArchiType: 'CourseOfAction',
85
+ xmaType: 'StrategyValueStreamStrategyCourseOfActionFlow',
86
+ scheme: 'StrategyScheme',
87
+ },
88
+ // BusinessScheme
89
+ {
90
+ archiRelationshipType: 'CompositionRelationship',
91
+ sourceArchiType: 'BusinessProcess',
92
+ targetArchiType: 'BusinessFunction',
93
+ xmaType: 'BusinessProcessBusinessFunctionComposition',
94
+ scheme: 'BusinessScheme',
95
+ },
96
+ {
97
+ archiRelationshipType: 'CompositionRelationship',
98
+ sourceArchiType: 'BusinessProcess',
99
+ targetArchiType: 'BusinessProcess',
100
+ xmaType: 'BusinessProcessBusinessProcessComposition',
101
+ scheme: 'BusinessScheme',
102
+ },
103
+ {
104
+ archiRelationshipType: 'AssignmentRelationship',
105
+ sourceArchiType: 'BusinessActor',
106
+ targetArchiType: 'BusinessRole',
107
+ xmaType: 'BusinessActorBusinessRoleAssignment',
108
+ scheme: 'BusinessScheme',
109
+ },
110
+ {
111
+ archiRelationshipType: 'AssignmentRelationship',
112
+ sourceArchiType: 'BusinessRole',
113
+ targetArchiType: 'BusinessProcess',
114
+ xmaType: 'BusinessRoleBusinessProcessAssignment',
115
+ scheme: 'BusinessScheme',
116
+ },
117
+ {
118
+ archiRelationshipType: 'AccessRelationship',
119
+ sourceArchiType: 'BusinessProcess',
120
+ targetArchiType: 'Representation',
121
+ xmaType: 'BusinessProcessBusinessRepresentationAccess',
122
+ scheme: 'BusinessScheme',
123
+ },
124
+ {
125
+ archiRelationshipType: 'AccessRelationship',
126
+ sourceArchiType: 'BusinessProcess',
127
+ targetArchiType: 'BusinessObject',
128
+ xmaType: 'BusinessProcessBusinessObjectAccess',
129
+ scheme: 'BusinessScheme',
130
+ },
131
+ {
132
+ archiRelationshipType: 'CompositionRelationship',
133
+ sourceArchiType: 'BusinessRole',
134
+ targetArchiType: 'BusinessRole',
135
+ xmaType: 'BusinessRoleBusinessRoleComposition',
136
+ scheme: 'BusinessScheme',
137
+ },
138
+ {
139
+ archiRelationshipType: 'TriggeringRelationship',
140
+ sourceArchiType: 'BusinessEvent',
141
+ targetArchiType: 'BusinessEvent',
142
+ xmaType: 'BusinessEventBusinessEventTriggering',
143
+ scheme: 'BusinessScheme',
144
+ },
145
+ {
146
+ archiRelationshipType: 'SpecializationRelationship',
147
+ sourceArchiType: 'BusinessRole',
148
+ targetArchiType: 'BusinessRole',
149
+ xmaType: 'BusinessRoleBusinessRoleSpecialization',
150
+ scheme: 'BusinessScheme',
151
+ },
152
+ {
153
+ archiRelationshipType: 'TriggeringRelationship',
154
+ sourceArchiType: 'BusinessEvent',
155
+ targetArchiType: 'BusinessProcess',
156
+ xmaType: 'BusinessEventBusinessProcessTriggering',
157
+ scheme: 'BusinessScheme',
158
+ },
159
+ {
160
+ archiRelationshipType: 'SpecializationRelationship',
161
+ sourceArchiType: 'BusinessActor',
162
+ targetArchiType: 'BusinessActor',
163
+ xmaType: 'BusinessActorBusinessActorSpecialization',
164
+ scheme: 'BusinessScheme',
165
+ },
166
+ {
167
+ archiRelationshipType: 'TriggeringRelationship',
168
+ sourceArchiType: 'BusinessProcess',
169
+ targetArchiType: 'BusinessEvent',
170
+ xmaType: 'BusinessProcessBusinessEventTriggering',
171
+ scheme: 'BusinessScheme',
172
+ },
173
+ {
174
+ archiRelationshipType: 'RealizationRelationship',
175
+ sourceArchiType: 'BusinessProcess',
176
+ targetArchiType: 'Capability',
177
+ xmaType: 'BusinessProcessStrategyCapabilityRealisation',
178
+ scheme: 'BusinessScheme',
179
+ },
180
+ {
181
+ archiRelationshipType: 'RealizationRelationship',
182
+ sourceArchiType: 'Representation',
183
+ targetArchiType: 'Requirement',
184
+ xmaType: 'BusinessRepresentationMotivationRequirementRealisation',
185
+ scheme: 'BusinessScheme',
186
+ },
187
+ {
188
+ archiRelationshipType: 'CompositionRelationship',
189
+ sourceArchiType: 'BusinessActor',
190
+ targetArchiType: 'BusinessActor',
191
+ xmaType: 'BusinessActorBusinessActorComposition',
192
+ scheme: 'BusinessScheme',
193
+ },
194
+ {
195
+ archiRelationshipType: 'CompositionRelationship',
196
+ sourceArchiType: 'Representation',
197
+ targetArchiType: 'Representation',
198
+ xmaType: 'BusinessRepresentationBusinessRepresentationComposition',
199
+ scheme: 'BusinessScheme',
200
+ },
201
+ {
202
+ archiRelationshipType: 'AssignmentRelationship',
203
+ sourceArchiType: 'BusinessActor',
204
+ targetArchiType: 'BusinessEvent',
205
+ xmaType: 'BusinessActorBusinessEventAssignment',
206
+ scheme: 'BusinessScheme',
207
+ },
208
+ {
209
+ archiRelationshipType: 'InfluenceRelationship',
210
+ sourceArchiType: 'BusinessEvent',
211
+ targetArchiType: 'Assessment',
212
+ xmaType: 'BusinessEventMotivationAssessmentInfluence',
213
+ scheme: 'BusinessScheme',
214
+ },
215
+ {
216
+ archiRelationshipType: 'InfluenceRelationship',
217
+ sourceArchiType: 'BusinessService',
218
+ targetArchiType: 'Assessment',
219
+ xmaType: 'BusinessServiceMotivationAssessmentInfluence',
220
+ scheme: 'BusinessScheme',
221
+ },
222
+ {
223
+ archiRelationshipType: 'RealizationRelationship',
224
+ sourceArchiType: 'BusinessService',
225
+ targetArchiType: 'Requirement',
226
+ xmaType: 'BusinessServiceMotivationRequirementRealisation',
227
+ scheme: 'BusinessScheme',
228
+ },
229
+ // ApplicationScheme
230
+ {
231
+ archiRelationshipType: 'RealizationRelationship',
232
+ sourceArchiType: 'ApplicationComponent',
233
+ targetArchiType: 'ApplicationService',
234
+ xmaType: 'ApplicationComponentApplicationServiceRealisation',
235
+ scheme: 'ApplicationScheme',
236
+ },
237
+ {
238
+ archiRelationshipType: 'AccessRelationship',
239
+ sourceArchiType: 'ApplicationFunction',
240
+ targetArchiType: 'DataObject',
241
+ xmaType: 'ApplicationFunctionApplicationDataObjectAccess',
242
+ scheme: 'ApplicationScheme',
243
+ },
244
+ {
245
+ archiRelationshipType: 'AssignmentRelationship',
246
+ sourceArchiType: 'ApplicationComponent',
247
+ targetArchiType: 'ApplicationFunction',
248
+ xmaType: 'ApplicationComponentApplicationFunctionAssignment',
249
+ scheme: 'ApplicationScheme',
250
+ },
251
+ {
252
+ archiRelationshipType: 'RealizationRelationship',
253
+ sourceArchiType: 'DataObject',
254
+ targetArchiType: 'BusinessObject',
255
+ xmaType: 'ApplicationDataObjectBusinessObjectRealisation',
256
+ scheme: 'ApplicationScheme',
257
+ },
258
+ {
259
+ archiRelationshipType: 'ServingRelationship',
260
+ sourceArchiType: 'ApplicationFunction',
261
+ targetArchiType: 'BusinessProcess',
262
+ xmaType: 'ApplicationFunctionBusinessProcessUse',
263
+ scheme: 'ApplicationScheme',
264
+ },
265
+ {
266
+ archiRelationshipType: 'ServingRelationship',
267
+ sourceArchiType: 'ApplicationComponent',
268
+ targetArchiType: 'BusinessRole',
269
+ xmaType: 'ApplicationComponentBusinessRoleUse',
270
+ scheme: 'ApplicationScheme',
271
+ },
272
+ {
273
+ archiRelationshipType: 'AccessRelationship',
274
+ sourceArchiType: 'ApplicationService',
275
+ targetArchiType: 'DataObject',
276
+ xmaType: 'ApplicationServiceApplicationDataObjectAccess',
277
+ scheme: 'ApplicationScheme',
278
+ },
279
+ {
280
+ archiRelationshipType: 'RealizationRelationship',
281
+ sourceArchiType: 'DataObject',
282
+ targetArchiType: 'Requirement',
283
+ xmaType: 'ApplicationDataObjectMotivationRequirementRealisation',
284
+ scheme: 'ApplicationScheme',
285
+ },
286
+ {
287
+ archiRelationshipType: 'CompositionRelationship',
288
+ sourceArchiType: 'ApplicationComponent',
289
+ targetArchiType: 'ApplicationComponent',
290
+ xmaType: 'ApplicationComponentApplicationComponentComposition',
291
+ scheme: 'ApplicationScheme',
292
+ },
293
+ {
294
+ archiRelationshipType: 'ServingRelationship',
295
+ sourceArchiType: 'ApplicationComponent',
296
+ targetArchiType: 'ApplicationComponent',
297
+ xmaType: 'ApplicationComponentApplicationComponentUse',
298
+ scheme: 'ApplicationScheme',
299
+ },
300
+ {
301
+ archiRelationshipType: 'InfluenceRelationship',
302
+ sourceArchiType: 'ApplicationService',
303
+ targetArchiType: 'Assessment',
304
+ xmaType: 'ApplicationServiceMotivationAssessmentInfluence',
305
+ scheme: 'ApplicationScheme',
306
+ },
307
+ // TechnologyScheme
308
+ {
309
+ archiRelationshipType: 'ServingRelationship',
310
+ sourceArchiType: 'TechnologyService',
311
+ targetArchiType: 'ApplicationComponent',
312
+ xmaType: 'TechnologyServiceApplicationComponentUse',
313
+ scheme: 'TechnologyScheme',
314
+ },
315
+ {
316
+ archiRelationshipType: 'RealizationRelationship',
317
+ sourceArchiType: 'TechnologyService',
318
+ targetArchiType: 'Requirement',
319
+ xmaType: 'TechnologyServiceMotivationRequirementRealisation',
320
+ scheme: 'TechnologyScheme',
321
+ },
322
+ {
323
+ archiRelationshipType: 'AccessRelationship',
324
+ sourceArchiType: 'TechnologyService',
325
+ targetArchiType: 'Artifact',
326
+ xmaType: 'TechnologyServiceTechnologyArtifactAccess',
327
+ scheme: 'TechnologyScheme',
328
+ },
329
+ {
330
+ archiRelationshipType: 'AssignmentRelationship',
331
+ sourceArchiType: 'Node',
332
+ targetArchiType: 'Artifact',
333
+ xmaType: 'TechnologyNodeTechnologyArtifactAssignment',
334
+ scheme: 'TechnologyScheme',
335
+ },
336
+ {
337
+ archiRelationshipType: 'RealizationRelationship',
338
+ sourceArchiType: 'Artifact',
339
+ targetArchiType: 'DataObject',
340
+ xmaType: 'TechnologyArtifactApplicationDataObjectRealisation',
341
+ scheme: 'TechnologyScheme',
342
+ },
343
+ {
344
+ archiRelationshipType: 'InfluenceRelationship',
345
+ sourceArchiType: 'TechnologyService',
346
+ targetArchiType: 'Assessment',
347
+ xmaType: 'TechnologyServiceMotivationAssessmentInfluence',
348
+ scheme: 'TechnologyScheme',
349
+ },
350
+ // PhysicalScheme
351
+ {
352
+ archiRelationshipType: 'CompositionRelationship',
353
+ sourceArchiType: 'Facility',
354
+ targetArchiType: 'Facility',
355
+ xmaType: 'PhysicalFacilityPhysicalFacilityComposition',
356
+ scheme: 'PhysicalScheme',
357
+ },
358
+ // MotivationScheme
359
+ {
360
+ archiRelationshipType: 'SpecializationRelationship',
361
+ sourceArchiType: 'Principle',
362
+ targetArchiType: 'Principle',
363
+ xmaType: 'MotivationPrincipleMotivationPrincipleSpecialization',
364
+ scheme: 'MotivationScheme',
365
+ },
366
+ {
367
+ archiRelationshipType: 'InfluenceRelationship',
368
+ sourceArchiType: 'Principle',
369
+ targetArchiType: 'Principle',
370
+ xmaType: 'MotivationPrincipleMotivationPrincipleInfluence',
371
+ scheme: 'MotivationScheme',
372
+ },
373
+ {
374
+ archiRelationshipType: 'RealizationRelationship',
375
+ sourceArchiType: 'Requirement',
376
+ targetArchiType: 'Goal',
377
+ xmaType: 'MotivationRequirementMotivationGoalRealisation',
378
+ scheme: 'MotivationScheme',
379
+ },
380
+ {
381
+ archiRelationshipType: 'CompositionRelationship',
382
+ sourceArchiType: 'Value',
383
+ targetArchiType: 'Value',
384
+ xmaType: 'MotivationValueMotivationValueComposition',
385
+ scheme: 'MotivationScheme',
386
+ },
387
+ {
388
+ archiRelationshipType: 'RealizationRelationship',
389
+ sourceArchiType: 'Requirement',
390
+ targetArchiType: 'Principle',
391
+ xmaType: 'MotivationRequirementMotivationPrincipleRealisation',
392
+ scheme: 'MotivationScheme',
393
+ },
394
+ {
395
+ archiRelationshipType: 'InfluenceRelationship',
396
+ sourceArchiType: 'Goal',
397
+ targetArchiType: 'Principle',
398
+ xmaType: 'MotivationGoalMotivationPrincipleInfluence',
399
+ scheme: 'MotivationScheme',
400
+ },
401
+ {
402
+ archiRelationshipType: 'SpecializationRelationship',
403
+ sourceArchiType: 'Assessment',
404
+ targetArchiType: 'Assessment',
405
+ xmaType: 'MotivationAssessmentMotivationAssessmentSpecialization',
406
+ scheme: 'MotivationScheme',
407
+ },
408
+ {
409
+ archiRelationshipType: 'SpecializationRelationship',
410
+ sourceArchiType: 'Outcome',
411
+ targetArchiType: 'Outcome',
412
+ xmaType: 'MotivationOutcomeMotivationOutcomeSpecialization',
413
+ scheme: 'MotivationScheme',
414
+ },
415
+ {
416
+ archiRelationshipType: 'RealizationRelationship',
417
+ sourceArchiType: 'Principle',
418
+ targetArchiType: 'Goal',
419
+ xmaType: 'MotivationPrincipleMotivationGoalRealisation',
420
+ scheme: 'MotivationScheme',
421
+ },
422
+ {
423
+ archiRelationshipType: 'SpecializationRelationship',
424
+ sourceArchiType: 'Value',
425
+ targetArchiType: 'Value',
426
+ xmaType: 'MotivationValueMotivationValueSpecialization',
427
+ scheme: 'MotivationScheme',
428
+ },
429
+ {
430
+ archiRelationshipType: 'SpecializationRelationship',
431
+ sourceArchiType: 'Goal',
432
+ targetArchiType: 'Goal',
433
+ xmaType: 'MotivationGoalMotivationGoalSpecialization',
434
+ scheme: 'MotivationScheme',
435
+ },
436
+ {
437
+ archiRelationshipType: 'CompositionRelationship',
438
+ sourceArchiType: 'Requirement',
439
+ targetArchiType: 'Requirement',
440
+ xmaType: 'MotivationRequirementMotivationRequirementComposition',
441
+ scheme: 'MotivationScheme',
442
+ },
443
+ {
444
+ archiRelationshipType: 'RealizationRelationship',
445
+ sourceArchiType: 'Requirement',
446
+ targetArchiType: 'Outcome',
447
+ xmaType: 'MotivationRequirementMotivationOutcomeRealisation',
448
+ scheme: 'MotivationScheme',
449
+ },
450
+ {
451
+ archiRelationshipType: 'RealizationRelationship',
452
+ sourceArchiType: 'Principle',
453
+ targetArchiType: 'Outcome',
454
+ xmaType: 'MotivationPrincipleMotivationOutcomeRealisation',
455
+ scheme: 'MotivationScheme',
456
+ },
457
+ {
458
+ archiRelationshipType: 'InfluenceRelationship',
459
+ sourceArchiType: 'Assessment',
460
+ targetArchiType: 'Assessment',
461
+ xmaType: 'MotivationAssessmentMotivationAssessmentInfluence',
462
+ scheme: 'MotivationScheme',
463
+ },
464
+ {
465
+ archiRelationshipType: 'InfluenceRelationship',
466
+ sourceArchiType: 'Assessment',
467
+ targetArchiType: 'Goal',
468
+ xmaType: 'MotivationAssessmentMotivationGoalInfluence',
469
+ scheme: 'MotivationScheme',
470
+ },
471
+ {
472
+ archiRelationshipType: 'InfluenceRelationship',
473
+ sourceArchiType: 'Goal',
474
+ targetArchiType: 'Assessment',
475
+ xmaType: 'MotivationGoalMotivationAssessmentInfluence',
476
+ scheme: 'MotivationScheme',
477
+ },
478
+ {
479
+ archiRelationshipType: 'RealizationRelationship',
480
+ sourceArchiType: 'Outcome',
481
+ targetArchiType: 'Goal',
482
+ xmaType: 'MotivationOutcomeMotivationGoalRealisation',
483
+ scheme: 'MotivationScheme',
484
+ },
485
+ // IMScheme
486
+ {
487
+ archiRelationshipType: 'AccessRelationship',
488
+ sourceArchiType: 'WorkPackage',
489
+ targetArchiType: 'Deliverable',
490
+ xmaType: 'IMWorkpackageIMDeliverableAccess',
491
+ scheme: 'IMScheme',
492
+ },
493
+ {
494
+ archiRelationshipType: 'RealizationRelationship',
495
+ sourceArchiType: 'WorkPackage',
496
+ targetArchiType: 'BusinessFunction',
497
+ xmaType: 'IMWorkpackageBusinessFunctionRealisation',
498
+ scheme: 'IMScheme',
499
+ },
500
+ {
501
+ archiRelationshipType: 'RealizationRelationship',
502
+ sourceArchiType: 'WorkPackage',
503
+ targetArchiType: 'BusinessProcess',
504
+ xmaType: 'IMWorkpackageBusinessProcessRealisation',
505
+ scheme: 'IMScheme',
506
+ },
507
+ {
508
+ archiRelationshipType: 'CompositionRelationship',
509
+ sourceArchiType: 'Deliverable',
510
+ targetArchiType: 'Deliverable',
511
+ xmaType: 'IMDeliverableIMDeliverableComposition',
512
+ scheme: 'IMScheme',
513
+ },
514
+ // From tests/fixtures/agile-manifesto/ (20 more, including the first confirmed
515
+ // Driver-involving Influence/Specialization mappings)
516
+ {
517
+ archiRelationshipType: 'ServingRelationship',
518
+ sourceArchiType: 'ApplicationComponent',
519
+ targetArchiType: 'BusinessInteraction',
520
+ xmaType: 'ApplicationComponentBusinessInteractionUse',
521
+ scheme: 'ApplicationScheme',
522
+ },
523
+ {
524
+ archiRelationshipType: 'ServingRelationship',
525
+ sourceArchiType: 'BusinessFunction',
526
+ targetArchiType: 'BusinessFunction',
527
+ xmaType: 'BusinessFunctionBusinessFunctionUse',
528
+ scheme: 'BusinessScheme',
529
+ },
530
+ {
531
+ archiRelationshipType: 'RealizationRelationship',
532
+ sourceArchiType: 'Deliverable',
533
+ targetArchiType: 'BusinessProcess',
534
+ xmaType: 'IMDeliverableBusinessProcessRealisation',
535
+ scheme: 'IMScheme',
536
+ },
537
+ {
538
+ archiRelationshipType: 'RealizationRelationship',
539
+ sourceArchiType: 'Deliverable',
540
+ targetArchiType: 'ApplicationComponent',
541
+ xmaType: 'IMDeliverableApplicationComponentRealisation',
542
+ scheme: 'IMScheme',
543
+ },
544
+ {
545
+ archiRelationshipType: 'RealizationRelationship',
546
+ sourceArchiType: 'ApplicationComponent',
547
+ targetArchiType: 'BusinessProcess',
548
+ xmaType: 'ApplicationComponentBusinessProcessRealisation',
549
+ scheme: 'ApplicationScheme',
550
+ },
551
+ {
552
+ archiRelationshipType: 'SpecializationRelationship',
553
+ sourceArchiType: 'BusinessProcess',
554
+ targetArchiType: 'BusinessProcess',
555
+ xmaType: 'BusinessProcessBusinessProcessSpecialization',
556
+ scheme: 'BusinessScheme',
557
+ },
558
+ {
559
+ archiRelationshipType: 'AssignmentRelationship',
560
+ sourceArchiType: 'BusinessActor',
561
+ targetArchiType: 'BusinessInteraction',
562
+ xmaType: 'BusinessActorBusinessInteractionAssignment',
563
+ scheme: 'BusinessScheme',
564
+ },
565
+ {
566
+ archiRelationshipType: 'RealizationRelationship',
567
+ sourceArchiType: 'ApplicationComponent',
568
+ targetArchiType: 'BusinessInteraction',
569
+ xmaType: 'ApplicationComponentBusinessInteractionRealisation',
570
+ scheme: 'ApplicationScheme',
571
+ },
572
+ {
573
+ archiRelationshipType: 'ServingRelationship',
574
+ sourceArchiType: 'BusinessProcess',
575
+ targetArchiType: 'BusinessProcess',
576
+ xmaType: 'BusinessProcessBusinessProcessUse',
577
+ scheme: 'BusinessScheme',
578
+ },
579
+ {
580
+ archiRelationshipType: 'SpecializationRelationship',
581
+ sourceArchiType: 'Driver',
582
+ targetArchiType: 'Driver',
583
+ xmaType: 'MotivationDriverMotivationDriverSpecialization',
584
+ scheme: 'MotivationScheme',
585
+ },
586
+ {
587
+ archiRelationshipType: 'InfluenceRelationship',
588
+ sourceArchiType: 'Principle',
589
+ targetArchiType: 'Driver',
590
+ xmaType: 'MotivationPrincipleMotivationDriverInfluence',
591
+ scheme: 'MotivationScheme',
592
+ },
593
+ {
594
+ archiRelationshipType: 'InfluenceRelationship',
595
+ sourceArchiType: 'Driver',
596
+ targetArchiType: 'Driver',
597
+ xmaType: 'MotivationDriverMotivationDriverInfluence',
598
+ scheme: 'MotivationScheme',
599
+ },
600
+ {
601
+ archiRelationshipType: 'SpecializationRelationship',
602
+ sourceArchiType: 'Meaning',
603
+ targetArchiType: 'Meaning',
604
+ xmaType: 'MotivationMeaningMotivationMeaningSpecialization',
605
+ scheme: 'MotivationScheme',
606
+ },
607
+ {
608
+ archiRelationshipType: 'InfluenceRelationship',
609
+ sourceArchiType: 'Requirement',
610
+ targetArchiType: 'Driver',
611
+ xmaType: 'MotivationRequirementMotivationDriverInfluence',
612
+ scheme: 'MotivationScheme',
613
+ },
614
+ {
615
+ archiRelationshipType: 'InfluenceRelationship',
616
+ sourceArchiType: 'Requirement',
617
+ targetArchiType: 'Requirement',
618
+ xmaType: 'MotivationRequirementMotivationRequirementInfluence',
619
+ scheme: 'MotivationScheme',
620
+ },
621
+ {
622
+ archiRelationshipType: 'InfluenceRelationship',
623
+ sourceArchiType: 'Principle',
624
+ targetArchiType: 'Requirement',
625
+ xmaType: 'MotivationPrincipleMotivationRequirementInfluence',
626
+ scheme: 'MotivationScheme',
627
+ },
628
+ {
629
+ archiRelationshipType: 'InfluenceRelationship',
630
+ sourceArchiType: 'Assessment',
631
+ targetArchiType: 'Driver',
632
+ xmaType: 'MotivationAssessmentMotivationDriverInfluence',
633
+ scheme: 'MotivationScheme',
634
+ },
635
+ {
636
+ archiRelationshipType: 'InfluenceRelationship',
637
+ sourceArchiType: 'Principle',
638
+ targetArchiType: 'Assessment',
639
+ xmaType: 'MotivationPrincipleMotivationAssessmentInfluence',
640
+ scheme: 'MotivationScheme',
641
+ },
642
+ {
643
+ archiRelationshipType: 'InfluenceRelationship',
644
+ sourceArchiType: 'Driver',
645
+ targetArchiType: 'Requirement',
646
+ xmaType: 'MotivationDriverMotivationRequirementInfluence',
647
+ scheme: 'MotivationScheme',
648
+ },
649
+ {
650
+ archiRelationshipType: 'InfluenceRelationship',
651
+ sourceArchiType: 'Assessment',
652
+ targetArchiType: 'Requirement',
653
+ xmaType: 'MotivationAssessmentMotivationRequirementInfluence',
654
+ scheme: 'MotivationScheme',
655
+ },
34
656
  ];
35
657
  function relationshipKey(relationshipType, sourceType, targetType) {
36
658
  return `${relationshipType}|${sourceType}|${targetType}`;
@@ -1 +1 @@
1
- {"version":3,"file":"relationship-mapping.js","sourceRoot":"","sources":["../../src/mapping/relationship-mapping.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAYH,MAAM,CAAC,MAAM,qBAAqB,GAAwC;IACxE;QACE,qBAAqB,EAAE,wBAAwB;QAC/C,eAAe,EAAE,eAAe;QAChC,eAAe,EAAE,iBAAiB;QAClC,OAAO,EAAE,wCAAwC;QACjD,MAAM,EAAE,gBAAgB;KACzB;IACD;QACE,2EAA2E;QAC3E,4DAA4D;QAC5D,qBAAqB,EAAE,qBAAqB;QAC5C,eAAe,EAAE,oBAAoB;QACrC,eAAe,EAAE,iBAAiB;QAClC,OAAO,EAAE,sCAAsC;QAC/C,MAAM,EAAE,mBAAmB;KAC5B;IACD;QACE,qBAAqB,EAAE,kBAAkB;QACzC,eAAe,EAAE,iBAAiB;QAClC,eAAe,EAAE,iBAAiB;QAClC,OAAO,EAAE,oCAAoC;QAC7C,MAAM,EAAE,gBAAgB;KACzB;CACF,CAAC;AAEF,SAAS,eAAe,CAAC,gBAAwB,EAAE,UAAkB,EAAE,UAAkB;IACvF,OAAO,GAAG,gBAAgB,IAAI,UAAU,IAAI,UAAU,EAAE,CAAC;AAC3D,CAAC;AAED,MAAM,MAAM,GAAG,IAAI,GAAG,CACpB,qBAAqB,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC;IACnC,eAAe,CAAC,KAAK,CAAC,qBAAqB,EAAE,KAAK,CAAC,eAAe,EAAE,KAAK,CAAC,eAAe,CAAC;IAC1F,KAAK;CACN,CAAC,CACH,CAAC;AAEF,MAAM,UAAU,yBAAyB,CACvC,gBAAwB,EACxB,eAAuB,EACvB,eAAuB;IAEvB,OAAO,MAAM,CAAC,GAAG,CAAC,eAAe,CAAC,gBAAgB,EAAE,eAAe,EAAE,eAAe,CAAC,CAAC,CAAC;AACzF,CAAC"}
1
+ {"version":3,"file":"relationship-mapping.js","sourceRoot":"","sources":["../../src/mapping/relationship-mapping.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AAYH,MAAM,CAAC,MAAM,qBAAqB,GAAwC;IACxE;QACE,qBAAqB,EAAE,wBAAwB;QAC/C,eAAe,EAAE,eAAe;QAChC,eAAe,EAAE,iBAAiB;QAClC,OAAO,EAAE,wCAAwC;QACjD,MAAM,EAAE,gBAAgB;KACzB;IACD;QACE,2EAA2E;QAC3E,4DAA4D;QAC5D,qBAAqB,EAAE,qBAAqB;QAC5C,eAAe,EAAE,oBAAoB;QACrC,eAAe,EAAE,iBAAiB;QAClC,OAAO,EAAE,sCAAsC;QAC/C,MAAM,EAAE,mBAAmB;KAC5B;IACD;QACE,qBAAqB,EAAE,kBAAkB;QACzC,eAAe,EAAE,iBAAiB;QAClC,eAAe,EAAE,iBAAiB;QAClC,OAAO,EAAE,oCAAoC;QAC7C,MAAM,EAAE,gBAAgB;KACzB;IAED,iBAAiB;IACjB;QACE,qBAAqB,EAAE,qBAAqB;QAC5C,eAAe,EAAE,YAAY;QAC7B,eAAe,EAAE,aAAa;QAC9B,OAAO,EAAE,0CAA0C;QACnD,MAAM,EAAE,gBAAgB;KACzB;IACD;QACE,qBAAqB,EAAE,yBAAyB;QAChD,eAAe,EAAE,aAAa;QAC9B,eAAe,EAAE,aAAa;QAC9B,OAAO,EAAE,mDAAmD;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;AAEF,MAAM,UAAU,yBAAyB,CACvC,gBAAwB,EACxB,eAAuB,EACvB,eAAuB;IAEvB,OAAO,MAAM,CAAC,GAAG,CAAC,eAAe,CAAC,gBAAgB,EAAE,eAAe,EAAE,eAAe,CAAC,CAAC,CAAC;AACzF,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cda/adapter-xma",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "XMA output adapter for the Continuous-Driven Architecture (CDA) ecosystem. Serializes the ArchiModel produced by @cda/archi-semantic-core into an XMA document.",
5
5
  "keywords": [
6
6
  "archimate",