@memoarchitect/ontology 0.20.3 → 0.22.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 (115) hide show
  1. package/README.md +1 -1
  2. package/examples/functional-logical-physical/model/catalog/functional_logical_physical.sysml +2 -3
  3. package/examples/gpca-pump/memo.identity.yaml +14 -13
  4. package/examples/gpca-pump/model/catalog/gpca_behavior_actions.sysml +44 -63
  5. package/examples/gpca-pump/model/catalog/gpca_context.sysml +4 -0
  6. package/examples/gpca-pump/model/catalog/gpca_operational.sysml +8 -0
  7. package/examples/gpca-pump/model/catalog/gpca_system.sysml +2 -0
  8. package/examples/gpca-pump/model/catalog/gpca_verification.sysml +2 -2
  9. package/examples/gpca-pump/model/catalog/viewpoints/logical/views/behavior_action_flow_view.sysml +1 -1
  10. package/examples/reusable-instrument/model/catalog/reusable_instrument.sysml +6 -0
  11. package/examples/surgical-closure-workflow/model/catalog/surgical_closure_workflow.sysml +8 -0
  12. package/examples/temperature-alarm/model/catalog/temperature_alarm.sysml +2 -0
  13. package/extensions/aadl/memo.package.yaml +1 -1
  14. package/extensions/aadl/src/runtime/memo_aadl_runtime.sysml +4 -0
  15. package/extensions/anatomy/memo.package.yaml +1 -1
  16. package/extensions/anatomy/src/selector/memo_extension_anatomy_selector.sysml +1 -0
  17. package/extensions/anatomy/src/vocabulary/memo_extension_anatomy_vocabulary.sysml +1 -0
  18. package/extensions/clinical/memo.package.yaml +1 -1
  19. package/extensions/clinical/src/procedures/memo_clinical_procedures.sysml +1 -0
  20. package/extensions/cloud/memo.package.yaml +1 -1
  21. package/extensions/cloud/src/cloud_extension.sysml +3 -0
  22. package/extensions/container/memo.package.yaml +1 -1
  23. package/extensions/container/src/container_extension.sysml +3 -0
  24. package/extensions/messaging/memo.package.yaml +1 -1
  25. package/extensions/messaging/src/messaging_extension.sysml +5 -0
  26. package/extensions/ros/memo.package.yaml +1 -1
  27. package/extensions/ros/src/ros_extension.sysml +58 -15
  28. package/methodologies/default/memo.package.yaml +1 -1
  29. package/methodologies/gpca/memo.package.yaml +1 -1
  30. package/ontology/memo.package.yaml +1 -1
  31. package/package.json +1 -1
  32. package/profile/memo.package.yaml +1 -1
  33. package/src/architecture/decisions/memo_decisions.sysml +9 -2
  34. package/src/architecture/functional/behavior/memo_behavior.sysml +21 -26
  35. package/src/architecture/functional/functions/memo_functions.sysml +10 -2
  36. package/src/architecture/implementation/hardware/common/memo_hardware_common.sysml +15 -4
  37. package/src/architecture/implementation/hardware/electrical/memo_hardware_electrical.sysml +8 -0
  38. package/src/architecture/implementation/hardware/fluidic/memo_hardware_fluidic.sysml +3 -0
  39. package/src/architecture/implementation/hardware/mechanical/memo_hardware_mechanical.sysml +3 -0
  40. package/src/architecture/implementation/hardware/optical/memo_hardware_optical.sysml +2 -0
  41. package/src/architecture/implementation/hardware/sensing/memo_hardware_sensing.sysml +3 -0
  42. package/src/architecture/implementation/software/runtime/memo_software_runtime.sysml +2 -0
  43. package/src/architecture/implementation/software/structure/memo_software_structure.sysml +12 -0
  44. package/src/architecture/implementation/ui/memo_ui.sysml +14 -0
  45. package/src/architecture/logical/interfaces/memo_interfaces.sysml +11 -2
  46. package/src/architecture/logical/structure/memo_logical_structure.sysml +16 -1
  47. package/src/architecture/operational/activities/memo_activities.sysml +3 -0
  48. package/src/architecture/operational/context/actors/memo_actors.sysml +5 -1
  49. package/src/architecture/operational/context/stakeholders/memo_stakeholders.sysml +4 -0
  50. package/src/architecture/operational/context/use_context/memo_use_context.sysml +5 -0
  51. package/src/architecture/operational/scenarios/memo_scenarios.sysml +1 -0
  52. package/src/architecture/operational/structure/memo_operational.sysml +5 -0
  53. package/src/architecture/operational/use_cases/memo_use_cases.sysml +4 -0
  54. package/src/architecture/operational/workflows/memo_workflows.sysml +5 -0
  55. package/src/architecture/realization/deployment/memo_deployment.sysml +12 -0
  56. package/src/architecture/realization/physical/memo_physical_architecture.sysml +6 -0
  57. package/src/architecture/variability/memo_variability.sysml +6 -0
  58. package/src/artifacts/configuration_management/memo_configuration_management.sysml +16 -0
  59. package/src/artifacts/core/memo_controlled_artifacts.sysml +16 -6
  60. package/src/artifacts/definitions/memo_artifact_definitions.sysml +1 -0
  61. package/src/artifacts/documents/risk_management/memo_risk_management.sysml +2 -0
  62. package/src/artifacts/standards/memo_artifacts_standards_traceability.sysml +4 -0
  63. package/src/assurance/cybersecurity/memo_cybersecurity.sysml +36 -0
  64. package/src/assurance/human_factors/memo_human_factors.sysml +4 -0
  65. package/src/assurance/requirements/memo_requirements.sysml +5 -1
  66. package/src/assurance/requirements/needs/memo_needs.sysml +2 -0
  67. package/src/assurance/safety_risk/analysis/memo_fmea.sysml +19 -0
  68. package/src/assurance/safety_risk/memo_risk.sysml +25 -1
  69. package/src/assurance/safety_risk/postmarket_surveillance/memo_postmarket_surveillance.sysml +2 -0
  70. package/src/assurance/verification_validation/clinical_evaluation/memo_clinical_evaluation.sysml +1 -0
  71. package/src/assurance/verification_validation/memo_assurance.sysml +5 -0
  72. package/src/core/annotations/memo_annotations.sysml +7 -0
  73. package/src/core/common/memo_common.sysml +28 -4
  74. package/src/core/consistency_rules/consistency_rules.sysml +5 -0
  75. package/src/core/enumerations/memo_enumerations.sysml +0 -5
  76. package/src/core/methodology_scope/methodology_scope.sysml +1 -0
  77. package/src/core/relationships/memo_relationships.sysml +9 -0
  78. package/src/core/relationships/memo_workspace_membership.sysml +1 -0
  79. package/src/methodology/core/memo_core.sysml +9 -0
  80. package/src/methodology/gates/memo_gates.sysml +1 -0
  81. package/src/methodology/patterns/memo_patterns.sysml +1 -0
  82. package/src/methodology/profiles/memo_profiles.sysml +2 -2
  83. package/src/methodology/rules/memo_rules.sysml +2 -0
  84. package/src/methodology/workflow/memo_workflow.sysml +3 -0
  85. package/src/rules/ontology/ontology_invariants.sysml +16 -2
  86. package/src/viewpoints/catalog/memo_viewpoint_catalog.sysml +1 -0
  87. package/src/viewpoints/clinical/clinical_viewpoint.sysml +1 -1
  88. package/src/viewpoints/clinical/views/clinical_evidence_view/clinical_evidence_view.sysml +2 -0
  89. package/src/viewpoints/clinical_workflow/clinical_workflow_viewpoint.sysml +1 -1
  90. package/src/viewpoints/context/context_viewpoint.sysml +1 -1
  91. package/src/viewpoints/cybersecurity/cybersecurity_viewpoint.sysml +1 -1
  92. package/src/viewpoints/cybersecurity/views/cybersecurity_assessment_view/cybersecurity_assessment_view.sysml +2 -0
  93. package/src/viewpoints/cybersecurity/views/threat_model_view/threat_model_view.sysml +2 -0
  94. package/src/viewpoints/definitions/memo_viewpoint_definitions.sysml +10 -0
  95. package/src/viewpoints/functional/functional_viewpoint.sysml +1 -1
  96. package/src/viewpoints/logical/logical_viewpoint.sysml +1 -1
  97. package/src/viewpoints/matrix/memo_matrix_views.sysml +4 -2
  98. package/src/viewpoints/operational/operational_viewpoint.sysml +1 -1
  99. package/src/viewpoints/physical/physical_viewpoint.sysml +1 -1
  100. package/src/viewpoints/rendering/memo_rendering.sysml +3 -0
  101. package/src/viewpoints/requirements/requirements_viewpoint.sysml +1 -1
  102. package/src/viewpoints/risk/risk_viewpoint.sysml +1 -1
  103. package/src/viewpoints/software/software_viewpoint.sysml +1 -1
  104. package/src/viewpoints/stakeholders_concerns/memo_stakeholders_concerns.sysml +30 -35
  105. package/src/viewpoints/ui_layout/ui_layout_viewpoint.sysml +1 -1
  106. package/src/viewpoints/ui_layout/views/screen_layout_view/screen_layout_view.sysml +1 -1
  107. package/src/viewpoints/usability/usability_viewpoint.sysml +1 -1
  108. package/src/viewpoints/usability/views/usability_engineering_view/usability_engineering_view.sysml +2 -0
  109. package/src/viewpoints/verification/verification_viewpoint.sysml +1 -1
  110. package/stage1/opensysml-38b58af8f1ce330053e05f1e.json.gz +0 -0
  111. package/stage1/syside-ca5c563522d5f99a57a61152.ids.gz +0 -0
  112. package/stage1/syside-ca5c563522d5f99a57a61152.json.gz +0 -0
  113. package/stage1/opensysml-7c0d12db5d05ad61e9477e5f.json.gz +0 -0
  114. package/stage1/syside-7ec66db3391721ce52f5c658.ids.gz +0 -0
  115. package/stage1/syside-7ec66db3391721ce52f5c658.json.gz +0 -0
@@ -7,6 +7,7 @@ package memo_assurance_safety_risk_analysis {
7
7
  private import memo_core_enumerations::*;
8
8
  private import memo_assurance_safety_risk::*; // RiskItem
9
9
  part def FMEAWorksheet specializes AnalysisArtifact {
10
+ @MemoIdentity { :>> label = "FMEA worksheet"; }
10
11
  attribute analysisScope : String;
11
12
  attribute standardReference : String;
12
13
  attribute analysisBasis : String;
@@ -24,6 +25,7 @@ package memo_assurance_safety_risk_analysis {
24
25
  // failure-mode-to-control relation; one whole/part and one mitigation
25
26
  // relation is the lean shape the rest of the ontology already uses.
26
27
  item def FailureMode specializes RiskItem {
28
+ @MemoIdentity { :>> label = "Failure mode"; }
27
29
  attribute failureModeKind : FailureModeKind;
28
30
  doc /* One-line statement of what this failure does, for the worksheet
29
31
  * row. The structured form is a FailureEffect. */
@@ -39,6 +41,7 @@ package memo_assurance_safety_risk_analysis {
39
41
  attribute criticality : CriticalityKind;
40
42
  }
41
43
  item def FailureEffect specializes RiskItem {
44
+ @MemoIdentity { :>> label = "Failure effect"; }
42
45
  attribute effectLevel : FailureEffectLevelKind;
43
46
  attribute effectOnPatient : String;
44
47
  attribute effectOnOperator : String;
@@ -46,23 +49,27 @@ package memo_assurance_safety_risk_analysis {
46
49
  attribute severity : SeverityKind;
47
50
  }
48
51
  item def FailureCause specializes RiskItem {
52
+ @MemoIdentity { :>> label = "Failure cause"; }
49
53
  attribute causeCategory : FailureCauseCategoryKind;
50
54
  attribute causeDescription : String;
51
55
  attribute occurrenceRating : ProbabilityKind;
52
56
  attribute preventionMethod : String;
53
57
  }
54
58
  part def DetectionMethod specializes MemoPart {
59
+ @MemoIdentity { :>> label = "Detection method"; }
55
60
  attribute methodKind : DetectionMethodKind;
56
61
  attribute detectionPoint : String;
57
62
  attribute confidence : DetectionKind;
58
63
  }
59
64
  part def FMEAAction specializes VerifiableElement {
65
+ @MemoIdentity { :>> label = "FMEA action"; }
60
66
  attribute actionKind : FMEAActionKind;
61
67
  attribute responsible : String;
62
68
  attribute targetCompletionDate : String;
63
69
  attribute revisedRpn : Integer;
64
70
  }
65
71
  part def FaultTree specializes AnalysisArtifact {
72
+ @MemoIdentity { :>> label = "Fault tree"; }
66
73
  attribute standardReference : String;
67
74
  attribute analysisScope : String;
68
75
  attribute topEventDescription : String;
@@ -70,6 +77,7 @@ package memo_assurance_safety_risk_analysis {
70
77
  attribute revisionDate : String;
71
78
  }
72
79
  part def FaultTreeNode specializes MemoPart {
80
+ @MemoIdentity { :>> label = "Fault tree node"; }
73
81
  attribute eventKind : FaultTreeEventKind;
74
82
  attribute probability : Real;
75
83
  attribute failureRate : Real;
@@ -79,23 +87,27 @@ package memo_assurance_safety_risk_analysis {
79
87
  attribute nValue : Integer;
80
88
  }
81
89
  item def MinimalCutSet specializes RiskItem {
90
+ @MemoIdentity { :>> label = "Minimal cut set"; }
82
91
  attribute cutSetOrder : Integer;
83
92
  attribute probability : Real;
84
93
  attribute involvedEvents : String;
85
94
  attribute significance : String;
86
95
  }
87
96
  part def HAZOPStudy specializes AnalysisArtifact {
97
+ @MemoIdentity { :>> label = "HAZOP study"; }
88
98
  attribute standardReference : String;
89
99
  attribute processDescription : String;
90
100
  attribute studyScope : String;
91
101
  attribute teamComposition : String;
92
102
  }
93
103
  part def HAZOPNode specializes MemoPart {
104
+ @MemoIdentity { :>> label = "HAZOP node"; }
94
105
  attribute nodeDescription : String;
95
106
  attribute designIntent : String;
96
107
  attribute operatingConditions : String;
97
108
  }
98
109
  item def HAZOPDeviation specializes RiskItem {
110
+ @MemoIdentity { :>> label = "HAZOP deviation"; }
99
111
  attribute guideWord : HAZOPGuideWordKind;
100
112
  attribute parameter : String;
101
113
  attribute cause : String;
@@ -122,6 +134,7 @@ package memo_assurance_safety_risk_analysis {
122
134
  enum useErrorLeadsToHazard;
123
135
  }
124
136
  connection def Causes :> MemoRelationship {
137
+ @MemoIdentity { :>> label = "Causes"; }
125
138
  attribute causeKind : CauseKind;
126
139
  // Untyped both ways, because CauseKind spans metaclasses: a failure
127
140
  // mode or cause (items) causes an effect, a component or use error
@@ -138,6 +151,7 @@ package memo_assurance_safety_risk_analysis {
138
151
  :>> baseType = causesLinks meta SysML::Usage;
139
152
  }
140
153
  connection def DetectedBy :> MemoRelationship {
154
+ @MemoIdentity { :>> label = "Detected by"; }
141
155
  end failureMode : FailureMode :>> source;
142
156
  end detectionMethod : DetectionMethod :>> target;
143
157
  }
@@ -148,6 +162,7 @@ package memo_assurance_safety_risk_analysis {
148
162
  :>> baseType = detectedByLinks meta SysML::Usage;
149
163
  }
150
164
  connection def InputToGate :> MemoRelationship {
165
+ @MemoIdentity { :>> label = "Input to gate"; }
151
166
  end input : FaultTreeNode :>> source;
152
167
  end gate : FaultTreeNode :>> target;
153
168
  }
@@ -158,6 +173,7 @@ package memo_assurance_safety_risk_analysis {
158
173
  :>> baseType = inputToGateLinks meta SysML::Usage;
159
174
  }
160
175
  connection def ProducesEvent :> MemoRelationship {
176
+ @MemoIdentity { :>> label = "Produces event"; }
161
177
  end gate : FaultTreeNode :>> source;
162
178
  end eventElement : FaultTreeNode :>> target;
163
179
  }
@@ -168,6 +184,7 @@ package memo_assurance_safety_risk_analysis {
168
184
  :>> baseType = producesEventLinks meta SysML::Usage;
169
185
  }
170
186
  connection def ContainsEvent :> MemoRelationship {
187
+ @MemoIdentity { :>> label = "Contains event"; }
171
188
  end cutSet : MinimalCutSet :>> source;
172
189
  end eventElement : FaultTreeNode :>> target;
173
190
  }
@@ -178,6 +195,7 @@ package memo_assurance_safety_risk_analysis {
178
195
  :>> baseType = containsEventLinks meta SysML::Usage;
179
196
  }
180
197
  connection def IdentifiesHazard :> MemoRelationship {
198
+ @MemoIdentity { :>> label = "Identifies hazard"; }
181
199
  end deviation : HAZOPDeviation :>> source;
182
200
  end hazard : Hazard :>> target;
183
201
  }
@@ -188,6 +206,7 @@ package memo_assurance_safety_risk_analysis {
188
206
  :>> baseType = identifiesHazardLinks meta SysML::Usage;
189
207
  }
190
208
  connection def HasFailureMode :> MemoRelationship {
209
+ @MemoIdentity { :>> label = "Has failure mode"; }
191
210
  attribute :>> isTrace = true;
192
211
  end element : MemoPart :>> source;
193
212
  end failureMode : FailureMode :>> target;
@@ -16,12 +16,14 @@ package memo_assurance_safety_risk {
16
16
  // operational-world root (memo_architecture_operational_structure::IntendedUse,
17
17
  // a MemoMission).
18
18
  part def ReasonablyForeseeableMisuse specializes MemoPart {
19
+ @MemoIdentity { :>> label = "Reasonably foreseeable misuse"; }
19
20
  attribute misuseContext : String;
20
21
  attribute foreseeableBasis : String;
21
22
  attribute affectedUseContext : String;
22
23
  }
23
24
 
24
25
  part def Risk specializes RiskDriver {
26
+ @MemoIdentity { :>> label = "Risk"; }
25
27
  attribute probabilityEstimate : ProbabilityKind;
26
28
  attribute severityEstimate : SeverityKind;
27
29
  attribute riskLevel : CriticalityKind;
@@ -37,9 +39,11 @@ package memo_assurance_safety_risk {
37
39
  attribute residualBenefitRiskRequired : Boolean[0..1];
38
40
  }
39
41
  part def ResidualRisk specializes Risk {
42
+ @MemoIdentity { :>> label = "Residual risk"; }
40
43
  attribute benefitRiskRequired : Boolean;
41
44
  }
42
45
  part def RiskMatrix specializes MemoPart {
46
+ @MemoIdentity { :>> label = "Risk matrix"; }
43
47
  attribute probabilityScaleDefinition : String;
44
48
  attribute severityScaleDefinition : String;
45
49
  attribute riskLevelMapping : String;
@@ -54,6 +58,7 @@ package memo_assurance_safety_risk {
54
58
  // device characteristic whose implementation, failure, or misuse can affect
55
59
  // safety. This is the modelable output of ISO 14971 §5.3.
56
60
  part def SafetyRelatedCharacteristic specializes MemoPart {
61
+ @MemoIdentity { :>> label = "Safety related characteristic"; }
57
62
  attribute characteristic : String;
58
63
  attribute safetyImpact : String;
59
64
  attribute normalUseRelevant : Boolean;
@@ -77,14 +82,18 @@ package memo_assurance_safety_risk {
77
82
  // AssessedAgainst instead. One base per metaclass is the right shape here
78
83
  // — forcing the two families under one supertype would put a hazard and a
79
84
  // risk matrix back in the same picker.
80
- abstract item def RiskItem specializes MemoItem;
85
+ abstract item def RiskItem specializes MemoItem {
86
+ @MemoIdentity { :>> label = "Risk item"; }
87
+ }
81
88
 
82
89
  item def Hazard specializes RiskItem {
90
+ @MemoIdentity { :>> label = "Hazard"; }
83
91
  attribute hazardType : HazardTypeKind;
84
92
  attribute severity : SeverityKind;
85
93
  attribute foreseeable : Boolean;
86
94
  }
87
95
  item def SequenceOfEvents specializes RiskItem {
96
+ @MemoIdentity { :>> label = "Sequence of events"; }
88
97
  attribute initiatingEvent : String;
89
98
  attribute contributingFactors : String;
90
99
  }
@@ -92,32 +101,38 @@ package memo_assurance_safety_risk {
92
101
  // taxonomy pattern: cause -> hazard -> hazardous situation -> harm;
93
102
  // several HazardCause elements may converge on one Hazard).
94
103
  item def HazardCause specializes RiskItem {
104
+ @MemoIdentity { :>> label = "Hazard cause"; }
95
105
  attribute causeSource : CauseSourceKind;
96
106
  attribute contributingFactors : String;
97
107
  }
98
108
  item def HazardousSituation specializes RiskItem {
109
+ @MemoIdentity { :>> label = "Hazardous situation"; }
99
110
  attribute exposedPersons : String;
100
111
  attribute operatingCondition : String;
101
112
  // ISO 14971 P1: probability that the hazardous situation occurs.
102
113
  attribute probabilityOfOccurrence : ProbabilityKind;
103
114
  }
104
115
  item def Harm specializes RiskItem {
116
+ @MemoIdentity { :>> label = "Harm"; }
105
117
  attribute clinicalImpact : String;
106
118
  attribute reversibility : String;
107
119
  attribute severity : SeverityKind;
108
120
  }
109
121
  part def RiskControlMeasure specializes VerifiableElement {
122
+ @MemoIdentity { :>> label = "Risk control measure"; }
110
123
  attribute controlKind : RiskControlKind;
111
124
  attribute implementationKind : RiskControlImplementationKind;
112
125
  attribute verificationStatus : String;
113
126
  }
114
127
  part def Benefit specializes MemoPart {
128
+ @MemoIdentity { :>> label = "Benefit"; }
115
129
  attribute beneficialOutcome : String;
116
130
  attribute beneficiary : String;
117
131
  attribute clinicalSignificance : String;
118
132
  attribute supportingEvidence : String;
119
133
  }
120
134
  part def OverallResidualRiskEvaluation specializes MemoPart {
135
+ @MemoIdentity { :>> label = "Overall residual risk evaluation"; }
121
136
  attribute conclusion : String;
122
137
  attribute reviewer : String;
123
138
  }
@@ -127,6 +142,7 @@ package memo_assurance_safety_risk {
127
142
  // types declared here, and core must not depend on a domain package.
128
143
  // ISO 14971 risk chain — distinct sequence-of-events relations over risk elements.
129
144
  connection def TracesRisk :> MemoRelationship {
145
+ @MemoIdentity { :>> label = "Traces risk"; }
130
146
  attribute :>> isTrace = true;
131
147
  end sourceRiskElement : RiskItem :>> source;
132
148
  end targetRiskElement : RiskItem :>> target;
@@ -140,6 +156,7 @@ package memo_assurance_safety_risk {
140
156
  // The final ISO 14971 chain edge. P2 is the conditional probability that
141
157
  // the hazardous situation results in the harm.
142
158
  connection def LeadsToHarm :> MemoRelationship {
159
+ @MemoIdentity { :>> label = "Leads to harm"; }
143
160
  attribute conditionalProbability : ProbabilityKind;
144
161
  end hazardousSituation : HazardousSituation :>> source;
145
162
  end resultingHarm : Harm :>> target;
@@ -155,6 +172,7 @@ package memo_assurance_safety_risk {
155
172
  // architecture, and the scenario package cannot see `Hazard`. On this side
156
173
  // both ends are visible.
157
174
  connection def HazardRelatedScenario :> MemoRelationship {
175
+ @MemoIdentity { :>> label = "Hazard related scenario"; }
158
176
  attribute :>> isTrace = true;
159
177
  end hazard : RiskItem :>> source;
160
178
  end scenario : OperativeScenario :>> target;
@@ -166,6 +184,7 @@ package memo_assurance_safety_risk {
166
184
  :>> baseType = hazardRelatedScenarioLinks meta SysML::Usage;
167
185
  }
168
186
  connection def AssessedAgainst :> MemoRelationship {
187
+ @MemoIdentity { :>> label = "Assessed against"; }
169
188
  end risk : Risk :>> source;
170
189
  end riskMatrix : RiskMatrix :>> target;
171
190
  }
@@ -181,6 +200,7 @@ package memo_assurance_safety_risk {
181
200
  // risk (§7), and which overall evaluation covered that residual (§8). Named
182
201
  // from the risk's side, like AssessedAgainst.
183
202
  connection def EstimatedFor :> MemoRelationship {
203
+ @MemoIdentity { :>> label = "Estimated for"; }
184
204
  end risk : Risk :>> source;
185
205
  end riskElement : RiskItem :>> target;
186
206
  }
@@ -191,6 +211,7 @@ package memo_assurance_safety_risk {
191
211
  :>> baseType = estimatedForLinks meta SysML::Usage;
192
212
  }
193
213
  connection def ReducedBy :> MemoRelationship {
214
+ @MemoIdentity { :>> label = "Reduced by"; }
194
215
  end residualRisk : ResidualRisk :>> source;
195
216
  end control : RiskControlMeasure :>> target;
196
217
  }
@@ -201,6 +222,7 @@ package memo_assurance_safety_risk {
201
222
  :>> baseType = reducedByLinks meta SysML::Usage;
202
223
  }
203
224
  connection def EvaluatedIn :> MemoRelationship {
225
+ @MemoIdentity { :>> label = "Evaluated in"; }
204
226
  end residualRisk : ResidualRisk :>> source;
205
227
  end evaluation : OverallResidualRiskEvaluation :>> target;
206
228
  }
@@ -223,6 +245,7 @@ package memo_assurance_safety_risk {
223
245
  enum fmeaAction;
224
246
  }
225
247
  connection def Mitigates :> MemoRelationship {
248
+ @MemoIdentity { :>> label = "Mitigates"; }
226
249
  attribute :>> isTrace = true;
227
250
  attribute mitigationKind : MitigationKind;
228
251
  // Untyped: controls/hazards may be item defs (RiskControlMeasure, Hazard, …).
@@ -241,6 +264,7 @@ package memo_assurance_safety_risk {
241
264
  // generic relations that accept the pair say something else (`causes` between a benefit and a risk would say
242
265
  // the benefit gives rise to it). Named from the benefit's side, the way AssessedAgainst is from the risk's.
243
266
  connection def WeighedAgainst :> MemoRelationship {
267
+ @MemoIdentity { :>> label = "Weighed against"; }
244
268
  end benefit : Benefit :>> source;
245
269
  end risk : Risk :>> target;
246
270
  }
@@ -6,6 +6,7 @@ package memo_assurance_safety_risk_postmarket_surveillance {
6
6
  private import memo_core_common::*;
7
7
 
8
8
  part def PostMarketSurveillance :> MemoPart {
9
+ @MemoIdentity { :>> label = "Post market surveillance"; }
9
10
  attribute surveillanceKind : String;
10
11
  attribute dataSource : String;
11
12
  attribute reportingObligation : String;
@@ -15,6 +16,7 @@ package memo_assurance_safety_risk_postmarket_surveillance {
15
16
  // Moved out of memo_core_relationships: their ends are typed against
16
17
  // types declared here, and core must not depend on a domain package.
17
18
  connection def FeedsBackTo :> MemoRelationship {
19
+ @MemoIdentity { :>> label = "Feeds back to"; }
18
20
  end feedbackItem : PostMarketSurveillance :>> source;
19
21
  end designElement : MemoPart :>> target;
20
22
  }
@@ -4,6 +4,7 @@ package memo_assurance_verification_validation_clinical_evaluation {
4
4
  private import memo_core_common::*;
5
5
 
6
6
  part def ClinicalEvaluation :> MemoPart {
7
+ @MemoIdentity { :>> label = "Clinical evaluation"; }
7
8
  attribute evaluationStage : String;
8
9
  attribute clinicalDataSource : String;
9
10
  attribute conclusion : String;
@@ -21,11 +21,13 @@ package memo_assurance_verification_validation {
21
21
  // the note on UseCase. Reusable test action, distinct from a case's
22
22
  // pass/fail criteria.
23
23
  action def TestStep specializes MemoAction {
24
+ @MemoIdentity { :>> label = "Test step"; }
24
25
  attribute stepAction : String;
25
26
  attribute expectedResult : String;
26
27
  attribute referencedItem : String;
27
28
  }
28
29
  verification def VerificationCase :> MemoVerificationCase, VerificationCases::VerificationCase {
30
+ @MemoIdentity { :>> label = "Verification case"; }
29
31
  attribute methodKind : MemoVerificationMethodKind;
30
32
  attribute acceptanceCriteria : String;
31
33
  // The protocol: what is tested and how, before any run. A run records what happened (TestRun).
@@ -44,6 +46,7 @@ package memo_assurance_verification_validation {
44
46
  // record, so a run is evidence the case produces (`ProducesEvidence`), one case to many runs. The
45
47
  // verdict is the standard library's (VerificationCases.sysml:58), not a string.
46
48
  part def TestRun specializes MemoEvidence {
49
+ @MemoIdentity { :>> label = "Test run"; }
47
50
  attribute verdict : VerificationCases::VerdictKind;
48
51
  attribute executedAt : Iso8601DateTime[0..1];
49
52
  attribute softwareVersion : String[0..1];
@@ -54,6 +57,7 @@ package memo_assurance_verification_validation {
54
57
  }
55
58
  // Orders a reusable TestStep within a verification or validation case.
56
59
  connection def PerformsStep :> MemoRelationship {
60
+ @MemoIdentity { :>> label = "Performs step"; }
57
61
  attribute sequence : Integer;
58
62
  end verificationCase : MemoVerificationCase :>> source;
59
63
  end testStep : TestStep :>> target;
@@ -65,6 +69,7 @@ package memo_assurance_verification_validation {
65
69
  :>> baseType = performsStepLinks meta SysML::Usage;
66
70
  }
67
71
  verification def ValidationCase :> MemoVerificationCase {
72
+ @MemoIdentity { :>> label = "Validation case"; }
68
73
  attribute validationMethod : ValidationMethodKind;
69
74
  attribute userParticipation : String;
70
75
  attribute acceptanceCriteria : String;
@@ -22,6 +22,7 @@ package memo_core_annotations {
22
22
  private import memo_core_relationships::*;
23
23
 
24
24
  abstract part def ModelAnnotation specializes MemoPart {
25
+ @MemoIdentity { :>> label = "Model annotation"; }
25
26
  // `body` is the annotation content; `shortDescription` is the one-line
26
27
  // form shown in badges, tables, and generated indexes.
27
28
  attribute body : String;
@@ -35,6 +36,7 @@ package memo_core_annotations {
35
36
  }
36
37
 
37
38
  part def ModelComment specializes ModelAnnotation {
39
+ @MemoIdentity { :>> label = "Model comment"; }
38
40
  attribute commentStatus : CommentStatusKind;
39
41
  // Why the comment closed. Required in practice for `resolved` and
40
42
  // `rejected` — a closed review point with no stated disposition is an
@@ -45,12 +47,14 @@ package memo_core_annotations {
45
47
  }
46
48
 
47
49
  part def ModelRationale specializes ModelAnnotation {
50
+ @MemoIdentity { :>> label = "Model rationale"; }
48
51
  // Decision, trade-off, standard clause, or evidence that the rationale
49
52
  // rests on. The body explains the reasoning in full.
50
53
  attribute basis : String;
51
54
  }
52
55
 
53
56
  part def ModelNote specializes ModelAnnotation {
57
+ @MemoIdentity { :>> label = "Model note"; }
54
58
  // A lightweight category for filtering notes without constraining their
55
59
  // content (for example assumption, usage, implementation, or warning).
56
60
  attribute noteKind : String;
@@ -62,6 +66,7 @@ package memo_core_annotations {
62
66
  // The end is `remark`, not `comment`: `comment` is a reserved KerML
63
67
  // keyword and cannot name a feature.
64
68
  connection def CommentsOn :> MemoRelationship {
69
+ @MemoIdentity { :>> label = "Comments on"; }
65
70
  end remark : ModelComment :>> source;
66
71
  end annotatedElement :>> target;
67
72
  }
@@ -73,6 +78,7 @@ package memo_core_annotations {
73
78
  }
74
79
 
75
80
  connection def RationaleFor :> MemoRelationship {
81
+ @MemoIdentity { :>> label = "Rationale for"; }
76
82
  end rationaleRecord : ModelRationale :>> source;
77
83
  end justifiedElement :>> target;
78
84
  }
@@ -84,6 +90,7 @@ package memo_core_annotations {
84
90
  }
85
91
 
86
92
  connection def NotesOn :> MemoRelationship {
93
+ @MemoIdentity { :>> label = "Notes on"; }
87
94
  end noteRecord : ModelNote :>> source;
88
95
  end notedElement :>> target;
89
96
  }
@@ -122,6 +122,7 @@ package memo_core_common {
122
122
  // table cell or chip shows whole; it is a different density, not a
123
123
  // different authority.
124
124
  abstract part def MemoPart {
125
+ @MemoIdentity { :>> label = "Part"; }
125
126
  // editorial status and lifecycle
126
127
  attribute status : ElementStatusKind;
127
128
  attribute lifecycleState : LifecycleStateKind;
@@ -140,17 +141,25 @@ package memo_core_common {
140
141
  // A resource a body of work spends: an instrument, a person, a consumable or the platform. It
141
142
  // carries what an hour of its capacity costs and what one use of it costs.
142
143
  abstract part def MemoResource specializes MemoPart {
144
+ @MemoIdentity { :>> label = "Resource"; }
143
145
  attribute capacityCostRate : CostRateValue[0..1];
144
146
  attribute unitCost : MoneyValue[0..1];
145
147
  }
146
148
 
147
149
  // ─── Role bases retained from the original kernel, re-founded on
148
150
  // MemoPart so all existing content inherits the dimensions. ───
149
- part def RequirementDriver specializes MemoPart;
150
- abstract part def VerifiableElement specializes MemoPart;
151
- part def InterfaceElement specializes MemoPart;
151
+ part def RequirementDriver specializes MemoPart {
152
+ @MemoIdentity { :>> label = "Requirement driver"; }
153
+ }
154
+ abstract part def VerifiableElement specializes MemoPart {
155
+ @MemoIdentity { :>> label = "Verifiable element"; }
156
+ }
157
+ part def InterfaceElement specializes MemoPart {
158
+ @MemoIdentity { :>> label = "Interface element"; }
159
+ }
152
160
  enum def EvidenceKind { enum testArtifact; enum evidence; enum formativeEvaluation; enum usabilityValidation; enum securityClaim; }
153
161
  part def MemoEvidence specializes MemoPart {
162
+ @MemoIdentity { :>> label = "Evidence"; }
154
163
  attribute evidenceKind : EvidenceKind;
155
164
  attribute version : String;
156
165
  attribute artifactKind : ArtifactKind[0..1];
@@ -168,13 +177,16 @@ package memo_core_common {
168
177
  attribute findingsSummary : String;
169
178
  attribute designChangesTriggered : String;
170
179
  }
171
- abstract part def AnalysisArtifact specializes MemoPart;
180
+ abstract part def AnalysisArtifact specializes MemoPart {
181
+ @MemoIdentity { :>> label = "Analysis artifact"; }
182
+ }
172
183
 
173
184
  // ─── Construct-specific foundations (non-part metaclasses) ───────
174
185
 
175
186
  // Behavioral foundation: operational activities, tasks, system actions,
176
187
  // and interaction steps specialize MemoAction.
177
188
  action def MemoAction {
189
+ @MemoIdentity { :>> label = "Action"; }
178
190
  attribute status : ElementStatusKind;
179
191
  }
180
192
 
@@ -190,6 +202,7 @@ package memo_core_common {
190
202
  // The shape is the SYSMOD method's `ConstrainedOccurrence`. It is declared on an `occurrence def`
191
203
  // because `startShot` and `endShot` are found through one; `MemoFunction` specializes it.
192
204
  abstract occurrence def MemoConstrainedOccurrence {
205
+ @MemoIdentity { :>> label = "Constrained occurrence"; }
193
206
  constraint precondition;
194
207
  constraint postcondition;
195
208
  ref occurrence :>> startShot { assert constraint :> precondition; }
@@ -198,11 +211,13 @@ package memo_core_common {
198
211
 
199
212
  // Boundary feature foundation for typed ports.
200
213
  port def MemoPort {
214
+ @MemoIdentity { :>> label = "Port"; }
201
215
  attribute status : ElementStatusKind;
202
216
  }
203
217
 
204
218
  // Interaction-contract foundation for interface definitions between ports.
205
219
  abstract interface def MemoInterface {
220
+ @MemoIdentity { :>> label = "MEMO interface"; }
206
221
  end source;
207
222
  end target;
208
223
  }
@@ -212,6 +227,7 @@ package memo_core_common {
212
227
  // exchanged is expressed by its use in a port or flow, not by a second
213
228
  // ontology root.
214
229
  abstract item def MemoItem {
230
+ @MemoIdentity { :>> label = "Item"; }
215
231
  attribute status : ElementStatusKind;
216
232
  // What the item CARRIES, as distinct from what it is called. Removed
217
233
  // by `595bfac` while modelling native wrappers; nothing replaced them,
@@ -230,6 +246,7 @@ package memo_core_common {
230
246
  // Use-case foundation. The domain UseCase adds its goal and actor
231
247
  // references; identity is `@MemoIdentity`, as everywhere else.
232
248
  abstract use case def MemoUseCase {
249
+ @MemoIdentity { :>> label = "MEMO use case"; }
233
250
  attribute status : ElementStatusKind;
234
251
  }
235
252
 
@@ -246,15 +263,18 @@ package memo_core_common {
246
263
  // name. The text of a need or a requirement is its native `doc`, which SysML
247
264
  // defines as the requirement's text.
248
265
  abstract requirement def MemoRequirementElement {
266
+ @MemoIdentity { :>> label = "Requirement element"; }
249
267
  attribute status : ElementStatusKind;
250
268
  }
251
269
 
252
270
  requirement def MemoNeed :> MemoRequirementElement {
271
+ @MemoIdentity { :>> label = "MEMO need"; }
253
272
  attribute needSource : String;
254
273
  attribute priority : String;
255
274
  }
256
275
 
257
276
  requirement def MemoRequirement :> MemoRequirementElement {
277
+ @MemoIdentity { :>> label = "MEMO requirement"; }
258
278
  attribute acceptanceCriteria : String;
259
279
  }
260
280
 
@@ -266,6 +286,7 @@ package memo_core_common {
266
286
  // prose a document renders is `doc`, and the one-line register a table cell
267
287
  // shows is `@MemoIdentity`'s `shortDescription`.
268
288
  abstract requirement def MemoMission :> MemoRequirementElement {
289
+ @MemoIdentity { :>> label = "Mission"; }
269
290
  attribute missionKind : String;
270
291
  attribute successCriteria : String;
271
292
  attribute operationalContext : String;
@@ -276,6 +297,7 @@ package memo_core_common {
276
297
  // the part-based MemoPart — so, like MemoAction, it stands on its own and
277
298
  // takes its identity from `@MemoIdentity`.
278
299
  verification def MemoVerificationCase {
300
+ @MemoIdentity { :>> label = "MEMO verification case"; }
279
301
  attribute status : ElementStatusKind;
280
302
  }
281
303
 
@@ -287,6 +309,7 @@ package memo_core_common {
287
309
  enum def StateKind { enum mode; enum logical; }
288
310
 
289
311
  state def MemoState {
312
+ @MemoIdentity { :>> label = "State"; }
290
313
  attribute stateKind : StateKind;
291
314
  attribute status : ElementStatusKind;
292
315
  attribute modeKind : String;
@@ -296,6 +319,7 @@ package memo_core_common {
296
319
  }
297
320
 
298
321
  part def Citation specializes MemoPart {
322
+ @MemoIdentity { :>> label = "Citation"; }
299
323
  attribute source : String;
300
324
  attribute section : String;
301
325
  attribute uri : String;
@@ -14,6 +14,7 @@ package memo_core_consistency_rules {
14
14
  abstract constraint def MemoConsistencyRule :> MemoConstraint;
15
15
 
16
16
  part def ConsistencyRule specializes MemoPart {
17
+ @MemoIdentity { :>> label = "Consistency rule"; }
17
18
  attribute appliesTo : String;
18
19
  attribute predicate : RulePredicateKind;
19
20
  attribute strength : RuleStrengthKind;
@@ -23,6 +24,7 @@ package memo_core_consistency_rules {
23
24
  }
24
25
 
25
26
  part def RelationshipConsistencyRule specializes ConsistencyRule {
27
+ @MemoIdentity { :>> label = "Relationship consistency rule"; }
26
28
  attribute relationshipType : String;
27
29
  attribute minCount : String;
28
30
  attribute maxCount : String;
@@ -31,16 +33,19 @@ package memo_core_consistency_rules {
31
33
  }
32
34
 
33
35
  part def AttributeConsistencyRule specializes ConsistencyRule {
36
+ @MemoIdentity { :>> label = "Attribute consistency rule"; }
34
37
  attribute targetAttribute : String;
35
38
  }
36
39
 
37
40
  part def ConditionalConsistencyRule specializes RelationshipConsistencyRule {
41
+ @MemoIdentity { :>> label = "Conditional consistency rule"; }
38
42
  attribute conditionAttribute : String;
39
43
  attribute conditionOperator : String;
40
44
  attribute conditionValues : String;
41
45
  }
42
46
 
43
47
  part def CoverageConsistencyRule specializes ConsistencyRule {
48
+ @MemoIdentity { :>> label = "Coverage consistency rule"; }
44
49
  attribute standardReference : String;
45
50
  attribute clause : String;
46
51
  attribute coverageTarget : String;
@@ -727,11 +727,6 @@ package memo_core_enumerations {
727
727
  enum encrypt;
728
728
  enum authenticate;
729
729
  }
730
- enum def ActivityFlowKind {
731
- enum controlFlow;
732
- enum objectFlow;
733
- enum exceptionFlow;
734
- }
735
730
  enum def MessageKind {
736
731
  enum synchronous;
737
732
  enum asynchronous;
@@ -10,6 +10,7 @@ package memo_core_methodology_scope {
10
10
  private import memo_core_dimensions::*;
11
11
 
12
12
  part def ElementKindAlias specializes MemoPart {
13
+ @MemoIdentity { :>> label = "Element kind alias"; }
13
14
  attribute methodTerm : String;
14
15
  attribute concreteKind : String;
15
16
  attribute concreteOntology : String;