@memoarchitect/ontology 0.20.3 → 0.21.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 +1 -1
- package/examples/functional-logical-physical/model/catalog/functional_logical_physical.sysml +2 -3
- package/examples/gpca-pump/memo.identity.yaml +14 -13
- package/examples/gpca-pump/model/catalog/gpca_behavior_actions.sysml +44 -63
- package/examples/gpca-pump/model/catalog/gpca_context.sysml +4 -0
- package/examples/gpca-pump/model/catalog/gpca_operational.sysml +8 -0
- package/examples/gpca-pump/model/catalog/gpca_system.sysml +2 -0
- package/examples/gpca-pump/model/catalog/gpca_verification.sysml +2 -2
- package/examples/gpca-pump/model/catalog/viewpoints/logical/views/behavior_action_flow_view.sysml +1 -1
- package/examples/reusable-instrument/model/catalog/reusable_instrument.sysml +6 -0
- package/examples/surgical-closure-workflow/model/catalog/surgical_closure_workflow.sysml +8 -0
- package/examples/temperature-alarm/model/catalog/temperature_alarm.sysml +2 -0
- package/extensions/aadl/memo.package.yaml +1 -1
- package/extensions/aadl/src/runtime/memo_aadl_runtime.sysml +4 -0
- package/extensions/anatomy/memo.package.yaml +1 -1
- package/extensions/anatomy/src/selector/memo_extension_anatomy_selector.sysml +1 -0
- package/extensions/anatomy/src/vocabulary/memo_extension_anatomy_vocabulary.sysml +1 -0
- package/extensions/clinical/memo.package.yaml +1 -1
- package/extensions/clinical/src/procedures/memo_clinical_procedures.sysml +1 -0
- package/extensions/cloud/memo.package.yaml +1 -1
- package/extensions/cloud/src/cloud_extension.sysml +3 -0
- package/extensions/container/memo.package.yaml +1 -1
- package/extensions/container/src/container_extension.sysml +3 -0
- package/extensions/messaging/memo.package.yaml +1 -1
- package/extensions/messaging/src/messaging_extension.sysml +5 -0
- package/extensions/ros/memo.package.yaml +1 -1
- package/extensions/ros/src/ros_extension.sysml +58 -15
- package/methodologies/default/memo.package.yaml +1 -1
- package/methodologies/gpca/memo.package.yaml +1 -1
- package/ontology/memo.package.yaml +1 -1
- package/package.json +1 -1
- package/profile/memo.package.yaml +1 -1
- package/src/architecture/decisions/memo_decisions.sysml +9 -2
- package/src/architecture/functional/behavior/memo_behavior.sysml +21 -26
- package/src/architecture/functional/functions/memo_functions.sysml +10 -2
- package/src/architecture/implementation/hardware/common/memo_hardware_common.sysml +15 -4
- package/src/architecture/implementation/hardware/electrical/memo_hardware_electrical.sysml +8 -0
- package/src/architecture/implementation/hardware/fluidic/memo_hardware_fluidic.sysml +3 -0
- package/src/architecture/implementation/hardware/mechanical/memo_hardware_mechanical.sysml +3 -0
- package/src/architecture/implementation/hardware/optical/memo_hardware_optical.sysml +2 -0
- package/src/architecture/implementation/hardware/sensing/memo_hardware_sensing.sysml +3 -0
- package/src/architecture/implementation/software/runtime/memo_software_runtime.sysml +2 -0
- package/src/architecture/implementation/software/structure/memo_software_structure.sysml +12 -0
- package/src/architecture/implementation/ui/memo_ui.sysml +14 -0
- package/src/architecture/logical/interfaces/memo_interfaces.sysml +11 -2
- package/src/architecture/logical/structure/memo_logical_structure.sysml +16 -1
- package/src/architecture/operational/activities/memo_activities.sysml +3 -0
- package/src/architecture/operational/context/actors/memo_actors.sysml +5 -1
- package/src/architecture/operational/context/stakeholders/memo_stakeholders.sysml +4 -0
- package/src/architecture/operational/context/use_context/memo_use_context.sysml +5 -0
- package/src/architecture/operational/scenarios/memo_scenarios.sysml +1 -0
- package/src/architecture/operational/structure/memo_operational.sysml +5 -0
- package/src/architecture/operational/use_cases/memo_use_cases.sysml +4 -0
- package/src/architecture/operational/workflows/memo_workflows.sysml +5 -0
- package/src/architecture/realization/deployment/memo_deployment.sysml +12 -0
- package/src/architecture/realization/physical/memo_physical_architecture.sysml +6 -0
- package/src/architecture/variability/memo_variability.sysml +6 -0
- package/src/artifacts/configuration_management/memo_configuration_management.sysml +16 -0
- package/src/artifacts/core/memo_controlled_artifacts.sysml +16 -6
- package/src/artifacts/definitions/memo_artifact_definitions.sysml +1 -0
- package/src/artifacts/documents/risk_management/memo_risk_management.sysml +2 -0
- package/src/artifacts/standards/memo_artifacts_standards_traceability.sysml +4 -0
- package/src/assurance/cybersecurity/memo_cybersecurity.sysml +36 -0
- package/src/assurance/human_factors/memo_human_factors.sysml +4 -0
- package/src/assurance/requirements/memo_requirements.sysml +5 -1
- package/src/assurance/requirements/needs/memo_needs.sysml +2 -0
- package/src/assurance/safety_risk/analysis/memo_fmea.sysml +19 -0
- package/src/assurance/safety_risk/memo_risk.sysml +25 -1
- package/src/assurance/safety_risk/postmarket_surveillance/memo_postmarket_surveillance.sysml +2 -0
- package/src/assurance/verification_validation/clinical_evaluation/memo_clinical_evaluation.sysml +1 -0
- package/src/assurance/verification_validation/memo_assurance.sysml +5 -0
- package/src/core/annotations/memo_annotations.sysml +7 -0
- package/src/core/common/memo_common.sysml +28 -4
- package/src/core/consistency_rules/consistency_rules.sysml +5 -0
- package/src/core/enumerations/memo_enumerations.sysml +0 -5
- package/src/core/methodology_scope/methodology_scope.sysml +1 -0
- package/src/core/relationships/memo_relationships.sysml +9 -0
- package/src/core/relationships/memo_workspace_membership.sysml +1 -0
- package/src/methodology/core/memo_core.sysml +9 -0
- package/src/methodology/gates/memo_gates.sysml +1 -0
- package/src/methodology/patterns/memo_patterns.sysml +1 -0
- package/src/methodology/profiles/memo_profiles.sysml +2 -2
- package/src/methodology/rules/memo_rules.sysml +2 -0
- package/src/methodology/workflow/memo_workflow.sysml +3 -0
- package/src/rules/ontology/ontology_invariants.sysml +14 -0
- package/src/viewpoints/catalog/memo_viewpoint_catalog.sysml +1 -0
- package/src/viewpoints/clinical/clinical_viewpoint.sysml +1 -1
- package/src/viewpoints/clinical/views/clinical_evidence_view/clinical_evidence_view.sysml +2 -0
- package/src/viewpoints/clinical_workflow/clinical_workflow_viewpoint.sysml +1 -1
- package/src/viewpoints/context/context_viewpoint.sysml +1 -1
- package/src/viewpoints/cybersecurity/cybersecurity_viewpoint.sysml +1 -1
- package/src/viewpoints/cybersecurity/views/cybersecurity_assessment_view/cybersecurity_assessment_view.sysml +2 -0
- package/src/viewpoints/cybersecurity/views/threat_model_view/threat_model_view.sysml +2 -0
- package/src/viewpoints/definitions/memo_viewpoint_definitions.sysml +10 -0
- package/src/viewpoints/functional/functional_viewpoint.sysml +1 -1
- package/src/viewpoints/logical/logical_viewpoint.sysml +1 -1
- package/src/viewpoints/matrix/memo_matrix_views.sysml +4 -2
- package/src/viewpoints/operational/operational_viewpoint.sysml +1 -1
- package/src/viewpoints/physical/physical_viewpoint.sysml +1 -1
- package/src/viewpoints/rendering/memo_rendering.sysml +3 -0
- package/src/viewpoints/requirements/requirements_viewpoint.sysml +1 -1
- package/src/viewpoints/risk/risk_viewpoint.sysml +1 -1
- package/src/viewpoints/software/software_viewpoint.sysml +1 -1
- package/src/viewpoints/stakeholders_concerns/memo_stakeholders_concerns.sysml +30 -35
- package/src/viewpoints/ui_layout/ui_layout_viewpoint.sysml +1 -1
- package/src/viewpoints/ui_layout/views/screen_layout_view/screen_layout_view.sysml +1 -1
- package/src/viewpoints/usability/usability_viewpoint.sysml +1 -1
- package/src/viewpoints/usability/views/usability_engineering_view/usability_engineering_view.sysml +2 -0
- package/src/viewpoints/verification/verification_viewpoint.sysml +1 -1
- package/stage1/opensysml-9137d7e2c25cb101df40f875.json.gz +0 -0
- package/stage1/syside-fad9dd5987acf384b8552cff.ids.gz +0 -0
- package/stage1/syside-fad9dd5987acf384b8552cff.json.gz +0 -0
- package/stage1/opensysml-7c0d12db5d05ad61e9477e5f.json.gz +0 -0
- package/stage1/syside-7ec66db3391721ce52f5c658.ids.gz +0 -0
- package/stage1/syside-7ec66db3391721ce52f5c658.json.gz +0 -0
|
@@ -64,6 +64,7 @@ package memo_extension_ros {
|
|
|
64
64
|
// process, and which one it is is a design decision the model should
|
|
65
65
|
// record rather than a fact the type can assert.
|
|
66
66
|
part def RosNode specializes SoftwareComponent {
|
|
67
|
+
@MemoIdentity { :>> label = "ROS node"; }
|
|
67
68
|
attribute nodeNamespace : String;
|
|
68
69
|
// Whether the node implements the managed-node lifecycle
|
|
69
70
|
// (unconfigured / inactive / active / finalized). A lifecycle-managed
|
|
@@ -78,18 +79,22 @@ package memo_extension_ros {
|
|
|
78
79
|
// Individual deliveries are native flows/messages between ports that
|
|
79
80
|
// reference the same topic usage.
|
|
80
81
|
abstract item def RosMessage specializes MessagingMessage {
|
|
82
|
+
@MemoIdentity { :>> label = "ROS message"; }
|
|
81
83
|
attribute rosTypeName : String;
|
|
82
84
|
}
|
|
83
85
|
|
|
84
86
|
port def RosPublisher specializes MessagingPublisher {
|
|
87
|
+
@MemoIdentity { :>> label = "ROS publisher"; }
|
|
85
88
|
attribute offeredQos : RosQosProfile;
|
|
86
89
|
}
|
|
87
90
|
|
|
88
91
|
port def RosSubscriber specializes MessagingSubscriber {
|
|
92
|
+
@MemoIdentity { :>> label = "ROS subscriber"; }
|
|
89
93
|
attribute requestedQos : RosQosProfile;
|
|
90
94
|
}
|
|
91
95
|
|
|
92
96
|
interface def RosTopicInterface specializes MessagingTopicInterface {
|
|
97
|
+
@MemoIdentity { :>> label = "ROS topic interface"; }
|
|
93
98
|
end rosPublisher : RosPublisher :>> publisher;
|
|
94
99
|
end rosSubscriber : RosSubscriber :>> subscriber;
|
|
95
100
|
// A topic goes publisher to subscriber, always.
|
|
@@ -97,22 +102,29 @@ package memo_extension_ros {
|
|
|
97
102
|
}
|
|
98
103
|
|
|
99
104
|
// ── Services: one correlated request/reply contract ────────────────
|
|
100
|
-
abstract item def RosServiceRequest specializes RosMessage
|
|
101
|
-
|
|
105
|
+
abstract item def RosServiceRequest specializes RosMessage {
|
|
106
|
+
@MemoIdentity { :>> label = "ROS service request"; }
|
|
107
|
+
}
|
|
108
|
+
abstract item def RosServiceResponse specializes RosMessage {
|
|
109
|
+
@MemoIdentity { :>> label = "ROS service response"; }
|
|
110
|
+
}
|
|
102
111
|
|
|
103
112
|
port def RosServiceClient specializes SoftwarePort {
|
|
113
|
+
@MemoIdentity { :>> label = "ROS service client"; }
|
|
104
114
|
out item request : RosServiceRequest;
|
|
105
115
|
in item response : RosServiceResponse;
|
|
106
116
|
attribute serviceName : String;
|
|
107
117
|
}
|
|
108
118
|
|
|
109
119
|
port def RosServiceServer specializes SoftwarePort {
|
|
120
|
+
@MemoIdentity { :>> label = "ROS service server"; }
|
|
110
121
|
in item request : RosServiceRequest;
|
|
111
122
|
out item response : RosServiceResponse;
|
|
112
123
|
attribute serviceName : String;
|
|
113
124
|
}
|
|
114
125
|
|
|
115
126
|
interface def RosServiceInterface specializes SoftwareInterface {
|
|
127
|
+
@MemoIdentity { :>> label = "ROS service interface"; }
|
|
116
128
|
end client : RosServiceClient :>> source;
|
|
117
129
|
end server : RosServiceServer :>> target;
|
|
118
130
|
flow rosServiceRequestFlow of RosServiceRequest from client.request to server.request;
|
|
@@ -123,14 +135,27 @@ package memo_extension_ros {
|
|
|
123
135
|
// ROS 2 realizes an action through goal/result/cancel services plus
|
|
124
136
|
// feedback/status topics. The port exposes those distinct native message
|
|
125
137
|
// features, so an action cannot be mistaken for a two-message service.
|
|
126
|
-
abstract item def RosActionGoal specializes RosMessage
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
abstract item def
|
|
130
|
-
|
|
131
|
-
|
|
138
|
+
abstract item def RosActionGoal specializes RosMessage {
|
|
139
|
+
@MemoIdentity { :>> label = "ROS action goal"; }
|
|
140
|
+
}
|
|
141
|
+
abstract item def RosActionAcceptance specializes RosMessage {
|
|
142
|
+
@MemoIdentity { :>> label = "ROS action acceptance"; }
|
|
143
|
+
}
|
|
144
|
+
abstract item def RosActionFeedback specializes RosMessage {
|
|
145
|
+
@MemoIdentity { :>> label = "ROS action feedback"; }
|
|
146
|
+
}
|
|
147
|
+
abstract item def RosActionResult specializes RosMessage {
|
|
148
|
+
@MemoIdentity { :>> label = "ROS action result"; }
|
|
149
|
+
}
|
|
150
|
+
abstract item def RosActionCancel specializes RosMessage {
|
|
151
|
+
@MemoIdentity { :>> label = "ROS action cancel"; }
|
|
152
|
+
}
|
|
153
|
+
abstract item def RosActionStatus specializes RosMessage {
|
|
154
|
+
@MemoIdentity { :>> label = "ROS action status"; }
|
|
155
|
+
}
|
|
132
156
|
|
|
133
157
|
port def RosActionClient specializes SoftwarePort {
|
|
158
|
+
@MemoIdentity { :>> label = "ROS action client"; }
|
|
134
159
|
out item goal : RosActionGoal;
|
|
135
160
|
in item acceptance : RosActionAcceptance;
|
|
136
161
|
in item feedback : RosActionFeedback;
|
|
@@ -141,6 +166,7 @@ package memo_extension_ros {
|
|
|
141
166
|
}
|
|
142
167
|
|
|
143
168
|
port def RosActionServer specializes SoftwarePort {
|
|
169
|
+
@MemoIdentity { :>> label = "ROS action server"; }
|
|
144
170
|
in item goal : RosActionGoal;
|
|
145
171
|
out item acceptance : RosActionAcceptance;
|
|
146
172
|
out item feedback : RosActionFeedback;
|
|
@@ -151,6 +177,7 @@ package memo_extension_ros {
|
|
|
151
177
|
}
|
|
152
178
|
|
|
153
179
|
interface def RosActionInterface specializes SoftwareInterface {
|
|
180
|
+
@MemoIdentity { :>> label = "ROS action interface"; }
|
|
154
181
|
end client : RosActionClient :>> source;
|
|
155
182
|
end server : RosActionServer :>> target;
|
|
156
183
|
flow rosActionGoalFlow of RosActionGoal from client.goal to server.goal;
|
|
@@ -161,13 +188,27 @@ package memo_extension_ros {
|
|
|
161
188
|
flow rosActionStatusFlow of RosActionStatus from server.actionStatus to client.actionStatus;
|
|
162
189
|
}
|
|
163
190
|
|
|
164
|
-
abstract state def RosActionExecution specializes MemoState
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
state def
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
state def
|
|
191
|
+
abstract state def RosActionExecution specializes MemoState {
|
|
192
|
+
@MemoIdentity { :>> label = "ROS action execution"; }
|
|
193
|
+
}
|
|
194
|
+
state def RosActionAccepted specializes RosActionExecution {
|
|
195
|
+
@MemoIdentity { :>> label = "ROS action accepted"; }
|
|
196
|
+
}
|
|
197
|
+
state def RosActionExecuting specializes RosActionExecution {
|
|
198
|
+
@MemoIdentity { :>> label = "ROS action executing"; }
|
|
199
|
+
}
|
|
200
|
+
state def RosActionCanceling specializes RosActionExecution {
|
|
201
|
+
@MemoIdentity { :>> label = "ROS action canceling"; }
|
|
202
|
+
}
|
|
203
|
+
state def RosActionSucceeded specializes RosActionExecution {
|
|
204
|
+
@MemoIdentity { :>> label = "ROS action succeeded"; }
|
|
205
|
+
}
|
|
206
|
+
state def RosActionCanceled specializes RosActionExecution {
|
|
207
|
+
@MemoIdentity { :>> label = "ROS action canceled"; }
|
|
208
|
+
}
|
|
209
|
+
state def RosActionAborted specializes RosActionExecution {
|
|
210
|
+
@MemoIdentity { :>> label = "ROS action aborted"; }
|
|
211
|
+
}
|
|
171
212
|
|
|
172
213
|
// ── Deployment ──────────────────────────────────────────────────────
|
|
173
214
|
//
|
|
@@ -178,6 +219,7 @@ package memo_extension_ros {
|
|
|
178
219
|
// ProvidesEnvironment ProcessingNode -> RosContainerRuntime
|
|
179
220
|
// That is the proof the base is factored correctly.
|
|
180
221
|
part def RosContainerImage specializes ContainerImage {
|
|
222
|
+
@MemoIdentity { :>> label = "ROS container image"; }
|
|
181
223
|
// humble, iron, jazzy, rolling.
|
|
182
224
|
attribute rosDistribution : String;
|
|
183
225
|
// The workspace overlay the image was built from.
|
|
@@ -185,6 +227,7 @@ package memo_extension_ros {
|
|
|
185
227
|
}
|
|
186
228
|
|
|
187
229
|
part def RosContainerRuntime specializes ContainerRuntime {
|
|
230
|
+
@MemoIdentity { :>> label = "ROS container runtime"; }
|
|
188
231
|
attribute rosDistribution : String;
|
|
189
232
|
// The RMW implementation below ROS 2 — rmw_fastrtps_cpp,
|
|
190
233
|
// rmw_cyclonedds_cpp. QoS is enforced here, so it is part of any
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
# (`type`, `extends`, `usage`, `ontologies`, `methodology`, `modules`) were
|
|
8
8
|
# removed at the native semantic flip and are now rejected if present.
|
|
9
9
|
name: '@memoarchitect/methodology-default'
|
|
10
|
-
version: 0.
|
|
10
|
+
version: 0.21.0
|
|
11
11
|
description: "MEMO default medical-device methodology \u2014 selects viewpoints/views/DHF documents from @memoarchitect/ontology and adds rules, gates, patterns, profiles, and workflow."
|
|
12
12
|
license: MIT
|
|
13
13
|
tags:
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
# (`type`, `extends`, `usage`, `ontologies`, `methodology`, `modules`) were
|
|
8
8
|
# removed at the native semantic flip and are now rejected if present.
|
|
9
9
|
name: '@memoarchitect/methodology-gpca'
|
|
10
|
-
version: 0.
|
|
10
|
+
version: 0.21.0
|
|
11
11
|
description: "GPCA infusion pump methodology \u2014 subtraction-based tailoring of @memoarchitect/methodology-default for the non-networked prototype variant. Excludes cybersecurity and SOUP."
|
|
12
12
|
license: MIT
|
|
13
13
|
tags:
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
# (`type`, `extends`, `usage`, `ontologies`, `methodology`, `modules`) were
|
|
8
8
|
# removed at the native semantic flip and are now rejected if present.
|
|
9
9
|
name: '@memoarchitect/ontology'
|
|
10
|
-
version: 0.
|
|
10
|
+
version: 0.21.0
|
|
11
11
|
description: "MEMO \u2014 the single canonical medical-device ontology: core semantics, the Arcadia-inspired architecture layers (context, requirements, behavior, structure, interfaces, risk, cybersecurity,\
|
|
12
12
|
\ assurance, \u2026), compliance, viewpoints, views, and invariant rules. One namespace (memo::), one src/ tree."
|
|
13
13
|
license: MIT
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@memoarchitect/ontology",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.21.0",
|
|
4
4
|
"packageManager": "pnpm@9.15.0",
|
|
5
5
|
"description": "MEMO — Medical Engineering Modelling Ontology. Pure SysML v2 medical-device ontology with native constraints, portable to any conformant SysML v2 tool (SysIDE, SysON, sysand).",
|
|
6
6
|
"scripts": {
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
# (`type`, `extends`, `usage`, `ontologies`, `methodology`, `modules`) were
|
|
8
8
|
# removed at the native semantic flip and are now rejected if present.
|
|
9
9
|
name: '@memoarchitect/medical-modeling-profile'
|
|
10
|
-
version: 0.
|
|
10
|
+
version: 0.21.0
|
|
11
11
|
description: Closure rules and viewpoints for medical device modeling
|
|
12
12
|
license: MIT
|
|
13
13
|
tags:
|
|
@@ -7,6 +7,7 @@ package memo_architecture_decisions {
|
|
|
7
7
|
private import memo_core_relationships::*;
|
|
8
8
|
private import memo_artifacts_core::*;
|
|
9
9
|
part def DesignDecision specializes MemoPart {
|
|
10
|
+
@MemoIdentity { :>> label = "Design decision"; }
|
|
10
11
|
attribute decisionKind : String;
|
|
11
12
|
attribute decisionStatus : DesignDecisionStatusKind;
|
|
12
13
|
}
|
|
@@ -17,10 +18,15 @@ package memo_architecture_decisions {
|
|
|
17
18
|
// `variant` (SysML-textual-bnf.kebnf:254-256) of a variation point, so a trade
|
|
18
19
|
// study points at the thing that is being traded. Both are typed dependencies
|
|
19
20
|
// (memo_core_relationships::MemoTypedDependency).
|
|
20
|
-
metadata def Alternative :> MemoTypedDependency
|
|
21
|
-
|
|
21
|
+
metadata def Alternative :> MemoTypedDependency {
|
|
22
|
+
@MemoIdentity { :>> label = "Alternative"; }
|
|
23
|
+
}
|
|
24
|
+
metadata def Selected :> MemoTypedDependency {
|
|
25
|
+
@MemoIdentity { :>> label = "Selected"; }
|
|
26
|
+
}
|
|
22
27
|
|
|
23
28
|
connection def DecisionRecordedInADR :> MemoRelationship {
|
|
29
|
+
@MemoIdentity { :>> label = "Decision recorded in ADR"; }
|
|
24
30
|
end decision : DesignDecision :>> source;
|
|
25
31
|
end adr : ADRArtifact :>> target;
|
|
26
32
|
}
|
|
@@ -35,6 +41,7 @@ package memo_architecture_decisions {
|
|
|
35
41
|
// Moved out of memo_core_relationships: their ends are typed against
|
|
36
42
|
// types declared here, and core must not depend on a domain package.
|
|
37
43
|
connection def Decides :> MemoRelationship {
|
|
44
|
+
@MemoIdentity { :>> label = "Decides"; }
|
|
38
45
|
end decision : DesignDecision :>> source;
|
|
39
46
|
end affectedElement : MemoPart :>> target;
|
|
40
47
|
}
|
|
@@ -1,3 +1,19 @@
|
|
|
1
|
+
// Functional behaviour: state machines and mode configurations, behavioural
|
|
2
|
+
// obligations, contracts and timing budgets.
|
|
3
|
+
//
|
|
4
|
+
// A step of the functional layer is a function: a `SystemFunction` or
|
|
5
|
+
// `ComponentFunction`, and in a route a step of a `FunctionalFlow` that
|
|
6
|
+
// subsets the function it performs. Its control flow is a native `succession`
|
|
7
|
+
// (`first a if guard then b`) and its object flow a native `flow`; MEMO
|
|
8
|
+
// declares no definition for either.
|
|
9
|
+
//
|
|
10
|
+
// Per-technology properties belong on the extension type that owns them,
|
|
11
|
+
// typed. ROS QoS shows the shape: `attribute def RosQosProfile` has
|
|
12
|
+
// reliability, durability, deadline, liveliness and history depth as typed
|
|
13
|
+
// fields, so a publisher's offer and a subscriber's request can be compared.
|
|
14
|
+
// Where an extension needs to annotate a BASE element rather than declare its
|
|
15
|
+
// own type, the SysML-native answer is `metadata def` +
|
|
16
|
+
// `Metaobjects::SemanticMetadata`, which is what every MEMO relation carries.
|
|
1
17
|
package memo_architecture_functional_behavior {
|
|
2
18
|
private import memo_core_stdlib_quantities::*;
|
|
3
19
|
private import ScalarValues::*;
|
|
@@ -5,10 +21,6 @@ package memo_architecture_functional_behavior {
|
|
|
5
21
|
private import memo_core_common::*;
|
|
6
22
|
private import memo_core_enumerations::*;
|
|
7
23
|
|
|
8
|
-
// Typed functional execution step. Project-specific action definitions
|
|
9
|
-
// specialize this rather than bypassing MemoAction; ActivityFlow remains
|
|
10
|
-
// the composite route that sequences such steps.
|
|
11
|
-
abstract action def FunctionalAction specializes MemoAction;
|
|
12
24
|
// State machines and their mode states are SysML v2 states (behaviours), so
|
|
13
25
|
// they derive from the MemoState foundation, not the part-based
|
|
14
26
|
// MemoPart family. Transitions stay part-based (below) to keep their
|
|
@@ -16,6 +28,7 @@ package memo_architecture_functional_behavior {
|
|
|
16
28
|
// State machines retain their own execution semantics; individual modes
|
|
17
29
|
// are MemoState usages selected by stateKind.
|
|
18
30
|
state def StateMachine :> MemoState {
|
|
31
|
+
@MemoIdentity { :>> label = "State machine"; }
|
|
19
32
|
attribute machineKind : String;
|
|
20
33
|
attribute executionSemantics : String;
|
|
21
34
|
}
|
|
@@ -31,6 +44,7 @@ package memo_architecture_functional_behavior {
|
|
|
31
44
|
// Configuration, the set of items available in an active mode or state, is
|
|
32
45
|
// that performing.
|
|
33
46
|
part def ModeConfiguration specializes MemoPart {
|
|
47
|
+
@MemoIdentity { :>> label = "Mode configuration"; }
|
|
34
48
|
ref activeMode : MemoState[1];
|
|
35
49
|
}
|
|
36
50
|
// Transitions are native SysML v2 `transition` usages inside the owning
|
|
@@ -63,6 +77,7 @@ package memo_architecture_functional_behavior {
|
|
|
63
77
|
// reads. A property that IS a boolean expression over features is written as a native
|
|
64
78
|
// `require constraint { … }` in the body, which this requirement def allows, and not here.
|
|
65
79
|
requirement def BehaviorProperty :> MemoRequirementElement {
|
|
80
|
+
@MemoIdentity { :>> label = "Behavior property"; }
|
|
66
81
|
attribute propertyKind : BehaviorPropertyKind;
|
|
67
82
|
attribute languageKind : PropertyLanguageKind;
|
|
68
83
|
attribute formalExpression : String;
|
|
@@ -75,35 +90,15 @@ package memo_architecture_functional_behavior {
|
|
|
75
90
|
// This is not the procurement contract of a deliverable; that is a
|
|
76
91
|
// different definition.
|
|
77
92
|
requirement def Contract :> MemoRequirementElement {
|
|
93
|
+
@MemoIdentity { :>> label = "Contract"; }
|
|
78
94
|
subject component : MemoPart;
|
|
79
95
|
}
|
|
80
|
-
// Per-technology properties belong on the extension type that owns them,
|
|
81
|
-
// typed. ROS QoS shows the shape: `attribute def RosQosProfile` has
|
|
82
|
-
// reliability, durability, deadline, liveliness and history depth as typed
|
|
83
|
-
// fields, so a publisher's offer and a subscriber's request can be
|
|
84
|
-
// compared. Where an extension needs to annotate a BASE element rather than
|
|
85
|
-
// declare its own type, the SysML- native answer is `metadata def` +
|
|
86
|
-
// `Metaobjects::SemanticMetadata`, which is what every MEMO relation
|
|
87
|
-
// carries. An `action def`: every field it carries — what it does, what
|
|
88
|
-
// goes in and out, its worst-case execution time — describes behaviour. A
|
|
89
|
-
// behaviour cannot specialize a structure, so as a part nothing could
|
|
90
|
-
// perform one.
|
|
91
|
-
action def ActivityAction specializes FunctionalAction {
|
|
92
|
-
attribute actionKind : ActionKind;
|
|
93
|
-
attribute outputDescription : String;
|
|
94
|
-
attribute wcetMs : DurationValue;
|
|
95
|
-
attribute safetyRelevant : Boolean;
|
|
96
|
-
}
|
|
97
|
-
action def ActivityFlow specializes MemoAction {
|
|
98
|
-
attribute flowKind : ActivityFlowKind;
|
|
99
|
-
attribute guardCondition : String;
|
|
100
|
-
attribute weight : String;
|
|
101
|
-
}
|
|
102
96
|
// UI scenarios are OperativeScenario usages with scenarioKind `ui`.
|
|
103
97
|
|
|
104
98
|
// A timing budget is an obligation on what it measures, so it is a
|
|
105
99
|
// requirement like BehaviorProperty.
|
|
106
100
|
requirement def TimingConstraint :> MemoRequirementElement {
|
|
101
|
+
@MemoIdentity { :>> label = "Timing constraint"; }
|
|
107
102
|
attribute constraintKind : TimingConstraintKind;
|
|
108
103
|
attribute minMs : DurationValue;
|
|
109
104
|
attribute maxMs : DurationValue;
|
|
@@ -76,6 +76,7 @@ package memo_architecture_functional_functions {
|
|
|
76
76
|
private import memo_architecture_operational_scenarios::*;
|
|
77
77
|
|
|
78
78
|
abstract action def MemoFunction specializes MemoAction, MemoConstrainedOccurrence {
|
|
79
|
+
@MemoIdentity { :>> label = "Function"; }
|
|
79
80
|
attribute functionCategory : String;
|
|
80
81
|
attribute actionKind : ActionKind;
|
|
81
82
|
attribute trigger : String;
|
|
@@ -91,12 +92,16 @@ package memo_architecture_functional_functions {
|
|
|
91
92
|
// A responsibility of the system as a whole. Allocation is optional: a
|
|
92
93
|
// system function that no single component owns is a normal intermediate
|
|
93
94
|
// state of the functional chain, not a defect.
|
|
94
|
-
action def SystemFunction specializes MemoFunction
|
|
95
|
+
action def SystemFunction specializes MemoFunction {
|
|
96
|
+
@MemoIdentity { :>> label = "System function"; }
|
|
97
|
+
}
|
|
95
98
|
|
|
96
99
|
// A responsibility of exactly one component. `AllocatedTo` names that
|
|
97
100
|
// component; CR-ONT-074 requires it. A component function that reaches no
|
|
98
101
|
// component is a responsibility nobody has accepted.
|
|
99
|
-
action def ComponentFunction specializes MemoFunction
|
|
102
|
+
action def ComponentFunction specializes MemoFunction {
|
|
103
|
+
@MemoIdentity { :>> label = "Component function"; }
|
|
104
|
+
}
|
|
100
105
|
|
|
101
106
|
// A transfer between two functions, carrying the budgets and assurance
|
|
102
107
|
// attributes a reader needs on the transfer itself. Authored as a typed
|
|
@@ -108,6 +113,7 @@ package memo_architecture_functional_functions {
|
|
|
108
113
|
// attribute :>> latencyBudgetMs = 20.0;
|
|
109
114
|
// }
|
|
110
115
|
abstract flow def FunctionalExchange {
|
|
116
|
+
@MemoIdentity { :>> label = "Functional exchange"; }
|
|
111
117
|
attribute flowKind : FlowKind;
|
|
112
118
|
attribute latencyBudgetMs : DurationValue;
|
|
113
119
|
attribute staleAfterMs : DurationValue;
|
|
@@ -118,6 +124,7 @@ package memo_architecture_functional_functions {
|
|
|
118
124
|
// of the family a model types its flows by; the ends are left untyped, as an exchange runs from
|
|
119
125
|
// an `out` parameter of one function to an `in` parameter of another (or between ports).
|
|
120
126
|
flow def FunctionalTransfer specializes FunctionalExchange {
|
|
127
|
+
@MemoIdentity { :>> label = "Functional transfer"; }
|
|
121
128
|
end source;
|
|
122
129
|
end target;
|
|
123
130
|
}
|
|
@@ -134,6 +141,7 @@ package memo_architecture_functional_functions {
|
|
|
134
141
|
// naming the two as one kind of thing, and its steps are `action def`s
|
|
135
142
|
// already.
|
|
136
143
|
action def FunctionalFlow specializes MemoAction {
|
|
144
|
+
@MemoIdentity { :>> label = "Functional flow"; }
|
|
137
145
|
attribute flowCategory : FunctionalFlowKind;
|
|
138
146
|
attribute endToEndLatencyBudgetMs : DurationValue;
|
|
139
147
|
attribute safetyRelevant : Boolean;
|
|
@@ -22,20 +22,27 @@ package memo_architecture_implementation_hardware_common {
|
|
|
22
22
|
// `conformsTo(MemoPart)` is far too wide — it admits a requirement or a
|
|
23
23
|
// hazard. This is that type, and it carries nothing of its own: the split
|
|
24
24
|
// between an assembly and a component is what the two subtypes are for.
|
|
25
|
-
abstract part def PhysicalElement specializes MemoPart {
|
|
25
|
+
abstract part def PhysicalElement specializes MemoPart {
|
|
26
|
+
@MemoIdentity { :>> label = "Physical element"; } }
|
|
26
27
|
|
|
27
28
|
part def PhysicalAssembly specializes PhysicalElement {
|
|
29
|
+
@MemoIdentity { :>> label = "Physical assembly"; }
|
|
28
30
|
attribute responsibility : String;
|
|
29
31
|
attribute safetyRole : String;
|
|
30
32
|
attribute mtbfHours : DurationValue;
|
|
31
33
|
attribute protectionClass : String;
|
|
32
34
|
attribute ipRating : String;
|
|
33
35
|
}
|
|
34
|
-
part def PhysicalSubassembly specializes PhysicalAssembly
|
|
36
|
+
part def PhysicalSubassembly specializes PhysicalAssembly {
|
|
37
|
+
@MemoIdentity { :>> label = "Physical subassembly"; }
|
|
38
|
+
}
|
|
35
39
|
// Retained name from 0.4; an electronics-centred assembly.
|
|
36
|
-
part def HardwareAssembly specializes PhysicalAssembly
|
|
40
|
+
part def HardwareAssembly specializes PhysicalAssembly {
|
|
41
|
+
@MemoIdentity { :>> label = "Hardware assembly"; }
|
|
42
|
+
}
|
|
37
43
|
|
|
38
44
|
part def PhysicalComponent specializes PhysicalElement {
|
|
45
|
+
@MemoIdentity { :>> label = "Physical component"; }
|
|
39
46
|
attribute materialSummary : String;
|
|
40
47
|
// ISO 10993-1 contact characterization; required when true.
|
|
41
48
|
attribute patientContact : Boolean;
|
|
@@ -43,12 +50,16 @@ package memo_architecture_implementation_hardware_common {
|
|
|
43
50
|
attribute contactDuration : String;
|
|
44
51
|
}
|
|
45
52
|
|
|
46
|
-
part def HardwareComponent specializes PhysicalComponent
|
|
53
|
+
part def HardwareComponent specializes PhysicalComponent {
|
|
54
|
+
@MemoIdentity { :>> label = "Hardware component"; }
|
|
55
|
+
}
|
|
47
56
|
|
|
48
57
|
part def AcousticComponent specializes PhysicalComponent {
|
|
58
|
+
@MemoIdentity { :>> label = "Acoustic component"; }
|
|
49
59
|
attribute acousticFunction : String;
|
|
50
60
|
}
|
|
51
61
|
part def ThermalComponent specializes PhysicalComponent {
|
|
62
|
+
@MemoIdentity { :>> label = "Thermal component"; }
|
|
52
63
|
attribute thermalFunction : String;
|
|
53
64
|
attribute operatingRange : String;
|
|
54
65
|
}
|
|
@@ -3,33 +3,41 @@
|
|
|
3
3
|
// memo_architecture_implementation_hardware_common.
|
|
4
4
|
package memo_architecture_implementation_hardware_electrical {
|
|
5
5
|
private import ScalarValues::*;
|
|
6
|
+
private import memo_core_common::MemoIdentity;
|
|
6
7
|
private import memo_architecture_implementation_hardware_common::*;
|
|
7
8
|
|
|
8
9
|
part def ElectricalComponent specializes PhysicalComponent {
|
|
10
|
+
@MemoIdentity { :>> label = "Electrical component"; }
|
|
9
11
|
attribute ratedVoltageV : String;
|
|
10
12
|
attribute ratedCurrentA : String;
|
|
11
13
|
}
|
|
12
14
|
part def ElectronicComponent specializes PhysicalComponent {
|
|
15
|
+
@MemoIdentity { :>> label = "Electronic component"; }
|
|
13
16
|
attribute componentFamily : String;
|
|
14
17
|
}
|
|
15
18
|
part def PowerSupply specializes ElectricalComponent {
|
|
19
|
+
@MemoIdentity { :>> label = "Power supply"; }
|
|
16
20
|
attribute inputRange : String;
|
|
17
21
|
attribute outputRails : String;
|
|
18
22
|
}
|
|
19
23
|
part def Battery specializes ElectricalComponent {
|
|
24
|
+
@MemoIdentity { :>> label = "Battery"; }
|
|
20
25
|
attribute chemistry : String;
|
|
21
26
|
attribute capacity : String;
|
|
22
27
|
attribute rechargeable : Boolean;
|
|
23
28
|
}
|
|
24
29
|
part def Cable specializes PhysicalComponent {
|
|
30
|
+
@MemoIdentity { :>> label = "Cable"; }
|
|
25
31
|
attribute conductorCount : String;
|
|
26
32
|
attribute shielding : String;
|
|
27
33
|
}
|
|
28
34
|
part def PhysicalConnectorPart specializes PhysicalComponent {
|
|
35
|
+
@MemoIdentity { :>> label = "Physical connector part"; }
|
|
29
36
|
attribute connectorStandard : String;
|
|
30
37
|
attribute matingCycles : String;
|
|
31
38
|
}
|
|
32
39
|
part def NetworkMedium specializes PhysicalComponent {
|
|
40
|
+
@MemoIdentity { :>> label = "Network medium"; }
|
|
33
41
|
attribute mediumKind : String;
|
|
34
42
|
attribute bandwidthSummary : String;
|
|
35
43
|
}
|
|
@@ -3,13 +3,16 @@
|
|
|
3
3
|
// memo_architecture_implementation_hardware_common.
|
|
4
4
|
package memo_architecture_implementation_hardware_fluidic {
|
|
5
5
|
private import ScalarValues::*;
|
|
6
|
+
private import memo_core_common::MemoIdentity;
|
|
6
7
|
private import memo_architecture_implementation_hardware_common::*;
|
|
7
8
|
|
|
8
9
|
part def FluidicComponent specializes PhysicalComponent {
|
|
10
|
+
@MemoIdentity { :>> label = "Fluidic component"; }
|
|
9
11
|
attribute fluidPathRole : String;
|
|
10
12
|
attribute pressureRating : String;
|
|
11
13
|
}
|
|
12
14
|
part def PneumaticComponent specializes PhysicalComponent {
|
|
15
|
+
@MemoIdentity { :>> label = "Pneumatic component"; }
|
|
13
16
|
attribute pneumaticRole : String;
|
|
14
17
|
}
|
|
15
18
|
}
|
|
@@ -2,12 +2,15 @@
|
|
|
2
2
|
// physical roots in memo_architecture_implementation_hardware_common.
|
|
3
3
|
package memo_architecture_implementation_hardware_mechanical {
|
|
4
4
|
private import ScalarValues::*;
|
|
5
|
+
private import memo_core_common::MemoIdentity;
|
|
5
6
|
private import memo_architecture_implementation_hardware_common::*;
|
|
6
7
|
|
|
7
8
|
part def MechanicalPart specializes PhysicalComponent {
|
|
9
|
+
@MemoIdentity { :>> label = "Mechanical part"; }
|
|
8
10
|
attribute mechanicalFunction : String;
|
|
9
11
|
}
|
|
10
12
|
part def Enclosure specializes MechanicalPart {
|
|
13
|
+
@MemoIdentity { :>> label = "Enclosure"; }
|
|
11
14
|
attribute ingressProtection : String;
|
|
12
15
|
attribute cleanability : String;
|
|
13
16
|
}
|
|
@@ -2,9 +2,11 @@
|
|
|
2
2
|
// in memo_architecture_implementation_hardware_common.
|
|
3
3
|
package memo_architecture_implementation_hardware_optical {
|
|
4
4
|
private import ScalarValues::*;
|
|
5
|
+
private import memo_core_common::MemoIdentity;
|
|
5
6
|
private import memo_architecture_implementation_hardware_common::*;
|
|
6
7
|
|
|
7
8
|
part def OpticalComponent specializes PhysicalComponent {
|
|
9
|
+
@MemoIdentity { :>> label = "Optical component"; }
|
|
8
10
|
attribute opticalFunction : String;
|
|
9
11
|
attribute wavelengthRange : String;
|
|
10
12
|
}
|
|
@@ -3,14 +3,17 @@
|
|
|
3
3
|
// memo_architecture_implementation_hardware_common.
|
|
4
4
|
package memo_architecture_implementation_hardware_sensing {
|
|
5
5
|
private import ScalarValues::*;
|
|
6
|
+
private import memo_core_common::MemoIdentity;
|
|
6
7
|
private import memo_architecture_implementation_hardware_common::*;
|
|
7
8
|
|
|
8
9
|
part def Sensor specializes PhysicalComponent {
|
|
10
|
+
@MemoIdentity { :>> label = "Sensor"; }
|
|
9
11
|
attribute measurand : String;
|
|
10
12
|
attribute rangeSummary : String;
|
|
11
13
|
attribute accuracySummary : String;
|
|
12
14
|
}
|
|
13
15
|
part def Actuator specializes PhysicalComponent {
|
|
16
|
+
@MemoIdentity { :>> label = "Actuator"; }
|
|
14
17
|
attribute actuationKind : String;
|
|
15
18
|
attribute outputRange : String;
|
|
16
19
|
}
|
|
@@ -34,6 +34,7 @@ package memo_architecture_implementation_software_runtime {
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
part def SoftwareComponent specializes SoftwareElement {
|
|
37
|
+
@MemoIdentity { :>> label = "Software component"; }
|
|
37
38
|
attribute runtimeKind : RuntimeKind;
|
|
38
39
|
attribute responsibility : String;
|
|
39
40
|
attribute periodMs : DurationValue;
|
|
@@ -80,6 +81,7 @@ package memo_architecture_implementation_software_runtime {
|
|
|
80
81
|
// deployed. Optional: a library the product links normally needs only the
|
|
81
82
|
// module.
|
|
82
83
|
part def OTSSoftwareComponent specializes SoftwareComponent {
|
|
84
|
+
@MemoIdentity { :>> label = "OTS software component"; }
|
|
83
85
|
ref sourceModule : OTSSoftwareModule[0..1];
|
|
84
86
|
}
|
|
85
87
|
|
|
@@ -28,11 +28,13 @@ package memo_architecture_implementation_software_structure {
|
|
|
28
28
|
// "software item" is this part, not an `item def`: exchanged or stored
|
|
29
29
|
// values are DataItem, below.
|
|
30
30
|
abstract part def SoftwareElement specializes MemoPart {
|
|
31
|
+
@MemoIdentity { :>> label = "Software element"; }
|
|
31
32
|
attribute safetyClass : SafetyClassKind;
|
|
32
33
|
attribute complexity : ComplexityKind;
|
|
33
34
|
}
|
|
34
35
|
|
|
35
36
|
part def SoftwareSystem specializes SoftwareElement {
|
|
37
|
+
@MemoIdentity { :>> label = "Software system"; }
|
|
36
38
|
attribute operatingSystem : String;
|
|
37
39
|
}
|
|
38
40
|
|
|
@@ -50,6 +52,7 @@ package memo_architecture_implementation_software_structure {
|
|
|
50
52
|
}
|
|
51
53
|
|
|
52
54
|
part def SoftwareModule specializes SoftwareElement {
|
|
55
|
+
@MemoIdentity { :>> label = "Software module"; }
|
|
53
56
|
attribute moduleKind : ModuleKind;
|
|
54
57
|
attribute responsibility : String;
|
|
55
58
|
// module-kind-specific detail (set only for the relevant moduleKind)
|
|
@@ -63,16 +66,19 @@ package memo_architecture_implementation_software_structure {
|
|
|
63
66
|
}
|
|
64
67
|
|
|
65
68
|
part def Algorithm specializes MemoPart {
|
|
69
|
+
@MemoIdentity { :>> label = "Algorithm"; }
|
|
66
70
|
attribute algorithmKind : String;
|
|
67
71
|
attribute inputSummary : String;
|
|
68
72
|
attribute outputSummary : String;
|
|
69
73
|
attribute clinicalPerformanceClaim : String;
|
|
70
74
|
}
|
|
71
75
|
part def DataModel specializes MemoPart {
|
|
76
|
+
@MemoIdentity { :>> label = "Data model"; }
|
|
72
77
|
attribute schemaReference : String;
|
|
73
78
|
attribute persistenceScope : String;
|
|
74
79
|
}
|
|
75
80
|
part def ConfigurationArtifact specializes MemoPart {
|
|
81
|
+
@MemoIdentity { :>> label = "Configuration artifact"; }
|
|
76
82
|
attribute configurationScope : String;
|
|
77
83
|
attribute version : String;
|
|
78
84
|
}
|
|
@@ -82,6 +88,7 @@ package memo_architecture_implementation_software_structure {
|
|
|
82
88
|
// structural part of a program (a SoftwareElement here), and the item
|
|
83
89
|
// family is the exchanged or stored value.
|
|
84
90
|
abstract item def DataItem specializes MemoItem {
|
|
91
|
+
@MemoIdentity { :>> label = "Data item"; }
|
|
85
92
|
attribute schemaIdentifier : String;
|
|
86
93
|
attribute schemaVersion : String;
|
|
87
94
|
attribute :>> encoding : String;
|
|
@@ -101,6 +108,7 @@ package memo_architecture_implementation_software_structure {
|
|
|
101
108
|
// acquisition identity of a bought or downloaded package sits on
|
|
102
109
|
// OTSSoftwareModule.
|
|
103
110
|
part def SOUPSoftwareModule specializes SoftwareModule {
|
|
111
|
+
@MemoIdentity { :>> label = "SOUP software module"; }
|
|
104
112
|
attribute supplier : String[0..1];
|
|
105
113
|
attribute version : String[0..1];
|
|
106
114
|
attribute knownAnomalies : String[0..1];
|
|
@@ -108,6 +116,7 @@ package memo_architecture_implementation_software_structure {
|
|
|
108
116
|
attribute soupClassification : SOUPClassificationKind[0..1];
|
|
109
117
|
}
|
|
110
118
|
part def OTSSoftwareModule specializes SOUPSoftwareModule {
|
|
119
|
+
@MemoIdentity { :>> label = "OTS software module"; }
|
|
111
120
|
attribute licenseExpression : String;
|
|
112
121
|
attribute packageUrl : String;
|
|
113
122
|
attribute checksum : String;
|
|
@@ -124,6 +133,7 @@ package memo_architecture_implementation_software_structure {
|
|
|
124
133
|
// Vulnerabilities, anomalies and risks are separate objects that point at
|
|
125
134
|
// the entry; they are not attributes of the document.
|
|
126
135
|
part def SBOMEntry specializes MemoPart {
|
|
136
|
+
@MemoIdentity { :>> label = "SBOM entry"; }
|
|
127
137
|
attribute componentName : String;
|
|
128
138
|
attribute version : String;
|
|
129
139
|
attribute supplier : String;
|
|
@@ -134,6 +144,7 @@ package memo_architecture_implementation_software_structure {
|
|
|
134
144
|
ref inventoriedElement : SoftwareElement[0..1];
|
|
135
145
|
}
|
|
136
146
|
part def SoftwareBillOfMaterials specializes MemoPart {
|
|
147
|
+
@MemoIdentity { :>> label = "Software bill of materials"; }
|
|
137
148
|
attribute sbomFormat : SbomFormatKind;
|
|
138
149
|
attribute specVersion : String;
|
|
139
150
|
attribute generationTool : String;
|
|
@@ -148,6 +159,7 @@ package memo_architecture_implementation_software_structure {
|
|
|
148
159
|
// Moved out of memo_core_relationships: their ends are typed against
|
|
149
160
|
// types declared here, and core must not depend on a domain package.
|
|
150
161
|
connection def DependsOnSoup :> MemoRelationship {
|
|
162
|
+
@MemoIdentity { :>> label = "Depends on soup"; }
|
|
151
163
|
end component : MemoPart :>> source;
|
|
152
164
|
end soupItem : SoftwareElement :>> target;
|
|
153
165
|
}
|