@memoarchitect/ontology 0.20.1 → 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.
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 +14 -0
  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-9137d7e2c25cb101df40f875.json.gz +0 -0
  111. package/stage1/syside-fad9dd5987acf384b8552cff.ids.gz +0 -0
  112. package/stage1/syside-fad9dd5987acf384b8552cff.json.gz +0 -0
  113. package/stage1/opensysml-36b29604b1a0eee4ecf3757b.json.gz +0 -0
  114. package/stage1/syside-5246cc20257a6cf7dd9cdc0f.ids.gz +0 -0
  115. package/stage1/syside-5246cc20257a6cf7dd9cdc0f.json.gz +0 -0
@@ -38,6 +38,7 @@ package memo_architecture_variability {
38
38
  // the analysis is these four statements, each optional until someone has an answer.
39
39
  // What the feature shows is curated: `#ShowsView` below names its views.
40
40
  part def ProductFeature specializes MemoPart {
41
+ @MemoIdentity { :>> label = "Product feature"; }
41
42
  /** What the feature gives the people who use the product, in a sentence or two. */
42
43
  attribute valueProposition : String[0..1];
43
44
  /** Who it is for: the roles or segments that gain from it. */
@@ -51,6 +52,7 @@ package memo_architecture_variability {
51
52
  // `Requires` is taken by the native `require` relation, so these say what they join.
52
53
  connection def RequiresFeature :> MemoRelationship {
53
54
  doc /* Selecting the source feature needs the target feature selected too. */
55
+ @MemoIdentity { :>> label = "Requires feature"; }
54
56
  end dependentFeature : ProductFeature :>> source;
55
57
  end requiredFeature : ProductFeature :>> target;
56
58
  }
@@ -63,6 +65,7 @@ package memo_architecture_variability {
63
65
 
64
66
  connection def ExcludesFeature :> MemoRelationship {
65
67
  doc /* The two features cannot be selected together. Symmetric: either end may be written first. */
68
+ @MemoIdentity { :>> label = "Excludes feature"; }
66
69
  end firstFeature : ProductFeature :>> source;
67
70
  end secondFeature : ProductFeature :>> target;
68
71
  }
@@ -77,11 +80,14 @@ package memo_architecture_variability {
77
80
  // is nested in its variation, so it is a dependency's client by qualified name.
78
81
  metadata def RealizesFeature :> MemoTypedDependency {
79
82
  doc /* `#RealizesFeature dependency from <variant> to <feature>;` The variant exists to give the family this feature. */
83
+ @MemoIdentity { :>> label = "Realizes feature"; }
80
84
  }
81
85
  metadata def SelectsFeature :> MemoTypedDependency {
82
86
  doc /* `#SelectsFeature dependency from <release> to <feature>, <feature>;` The release contains the variants that realize these features. */
87
+ @MemoIdentity { :>> label = "Selects feature"; }
83
88
  }
84
89
  metadata def ShowsView :> MemoTypedDependency {
85
90
  doc /* `#ShowsView dependency from <feature> to <view>, <view>;` The views the feature's viewpoint lists: chosen for what the feature demonstrates, not found by a rule. */
91
+ @MemoIdentity { :>> label = "Shows view"; }
86
92
  }
87
93
  }
@@ -7,6 +7,7 @@ package memo_artifacts_configuration_management {
7
7
  private import memo_core_enumerations::*;
8
8
 
9
9
  part def ChangeRequest :> MemoPart {
10
+ @MemoIdentity { :>> label = "Change request"; }
10
11
  attribute changeType : ChangeTypeKind;
11
12
  attribute impactAssessment : String;
12
13
  attribute approvalStatus : String;
@@ -15,6 +16,7 @@ package memo_artifacts_configuration_management {
15
16
  }
16
17
 
17
18
  part def ConfigurationItem :> MemoPart {
19
+ @MemoIdentity { :>> label = "Configuration item"; }
18
20
  // No version and no baseline: both belong to a release of the item, not
19
21
  // to the item. A `ReleaseRecord` whose `#ReleaseOf` is this item
20
22
  // carries them.
@@ -42,6 +44,7 @@ package memo_artifacts_configuration_management {
42
44
  // `#Contains` the records of the system releases it pins, and is the validated configuration:
43
45
  // `#VerifiedByCase` names the verification cases that validated it.
44
46
  part def ReleaseRecord :> MemoPart {
47
+ @MemoIdentity { :>> label = "Release record"; }
45
48
  attribute :>> partNumber : String[1];
46
49
  attribute :>> revision : String[1];
47
50
  attribute softwareVersion : String[0..1];
@@ -54,18 +57,23 @@ package memo_artifacts_configuration_management {
54
57
 
55
58
  metadata def ReleaseOf :> MemoTypedDependency {
56
59
  doc /* `#ReleaseOf dependency from <record> to <item definition>;` The record is a release of this item. One record, one item. */
60
+ @MemoIdentity { :>> label = "Release of"; }
57
61
  }
58
62
  metadata def Contains :> MemoTypedDependency {
59
63
  doc /* `#Contains dependency from <record> to <record>, <record>;` The release pins these releases: a system of systems version its systems, a system release its components. */
64
+ @MemoIdentity { :>> label = "Contains"; }
60
65
  }
61
66
  metadata def Implements :> MemoTypedDependency {
62
67
  doc /* `#Implements dependency from <record> to <interface record>;` The release implements this revision of an interface. */
68
+ @MemoIdentity { :>> label = "Implements"; }
63
69
  }
64
70
  metadata def VerifiedByCase :> MemoTypedDependency {
65
71
  doc /* `#VerifiedByCase dependency from <record> to <verification case>;` The case that verified, or for a system of systems version validated, this release. `verifiedBy` is taken by the native relation from a requirement to its case. */
72
+ @MemoIdentity { :>> label = "Verified by case"; }
66
73
  }
67
74
  metadata def AffectsRelease :> MemoTypedDependency {
68
75
  doc /* `#AffectsRelease dependency from <change request> to <record>;` The release a change request is raised against. */
76
+ @MemoIdentity { :>> label = "Affects release"; }
69
77
  }
70
78
 
71
79
  // A regulated device is one approval in one jurisdiction: the thing a
@@ -97,18 +105,22 @@ package memo_artifacts_configuration_management {
97
105
  // devices and accessories that are themselves approved. An accessory that
98
106
  // is not a device is not a target.
99
107
  part def RegulatedDevice :> MemoPart {
108
+ @MemoIdentity { :>> label = "Regulated device"; }
100
109
  attribute jurisdiction : RegulatoryRegimeKind[1];
101
110
  attribute submissionId : String[0..1];
102
111
  }
103
112
 
104
113
  metadata def Covers :> MemoTypedDependency {
105
114
  doc /* `#Covers dependency from <device>, to <record>, <record>;` The approval covers these system releases. */
115
+ @MemoIdentity { :>> label = "Covers"; }
106
116
  }
107
117
  metadata def IntendedUseOf :> MemoTypedDependency {
108
118
  doc /* `#IntendedUseOf dependency from <intended use> to <device>;` The intended use (a requirement) states what this device is for. */
119
+ @MemoIdentity { :>> label = "Intended use of"; }
109
120
  }
110
121
  metadata def UsedWith :> MemoTypedDependency {
111
122
  doc /* `#UsedWith dependency from <device> to <device>, <device>;` The device is used with these regulated devices (compatible devices and approved accessories). */
123
+ @MemoIdentity { :>> label = "Used with"; }
112
124
  }
113
125
 
114
126
  // A project is a change set in an iteration: the work that produces
@@ -122,20 +134,24 @@ package memo_artifacts_configuration_management {
122
134
  // #Feeds dependency from prjIrrigatedTip to relGeneratorEu, relGeneratorUs;
123
135
  // #IntroducedBy dependency from outputStage::usOutput to prjIrrigatedTip;
124
136
  part def Project :> MemoPart {
137
+ @MemoIdentity { :>> label = "Project"; }
125
138
  attribute trackerLink : String[0..1];
126
139
  }
127
140
 
128
141
  metadata def Feeds :> MemoTypedDependency {
129
142
  doc /* `#Feeds dependency from <project> to <record>, <record>;` The project's work is in these releases. */
143
+ @MemoIdentity { :>> label = "Feeds"; }
130
144
  }
131
145
  metadata def IntroducedBy :> MemoTypedDependency {
132
146
  doc /* `#IntroducedBy dependency from <variant> to <project>;` The project that introduced this variant. */
147
+ @MemoIdentity { :>> label = "Introduced by"; }
133
148
  }
134
149
 
135
150
  // ── Relations owned by this package ─────────────────────────────
136
151
  // Moved out of memo_core_relationships: their ends are typed against
137
152
  // types declared here, and core must not depend on a domain package.
138
153
  connection def Changes :> MemoRelationship {
154
+ @MemoIdentity { :>> label = "Changes"; }
139
155
  end changeRequest : ChangeRequest :>> source;
140
156
  end changedElement : MemoPart :>> target;
141
157
  }
@@ -6,9 +6,12 @@ package memo_artifacts_core {
6
6
 
7
7
  // An artifact is a part: a document, a standard, a clause of one. A
8
8
  // relationship end typed MemoArtifact (TracesToDocument) takes all of them.
9
- abstract part def MemoArtifact :> MemoPart;
9
+ abstract part def MemoArtifact :> MemoPart {
10
+ @MemoIdentity { :>> label = "Artifact"; }
11
+ }
10
12
 
11
13
  part def ControlledArtifact :> MemoArtifact {
14
+ @MemoIdentity { :>> label = "Controlled artifact"; }
12
15
  attribute version : String;
13
16
  attribute artifactKind : ArtifactKind;
14
17
  attribute owner : String;
@@ -16,6 +19,7 @@ package memo_artifacts_core {
16
19
  }
17
20
 
18
21
  part def ModelOwnedArtifact :> ControlledArtifact {
22
+ @MemoIdentity { :>> label = "Model owned artifact"; }
19
23
  attribute uri : String;
20
24
  attribute mediaType : String;
21
25
  attribute contentHash : String;
@@ -26,12 +30,18 @@ package memo_artifacts_core {
26
30
  }
27
31
 
28
32
  part def ADRArtifact :> ModelOwnedArtifact {
33
+ @MemoIdentity { :>> label = "ADR artifact"; }
29
34
  attribute decisionId : String;
30
35
  }
31
36
 
32
- part def MarkdownDocumentSource :> ModelOwnedArtifact {}
33
- part def ModelQueryScript :> ModelOwnedArtifact {}
34
- part def AnalysisNotebook :> ModelOwnedArtifact {}
35
- part def ModelDataset :> ModelOwnedArtifact {}
36
- part def GeneratedReport :> ModelOwnedArtifact {}
37
+ part def MarkdownDocumentSource :> ModelOwnedArtifact {
38
+ @MemoIdentity { :>> label = "Markdown document source"; }}
39
+ part def ModelQueryScript :> ModelOwnedArtifact {
40
+ @MemoIdentity { :>> label = "Model query script"; }}
41
+ part def AnalysisNotebook :> ModelOwnedArtifact {
42
+ @MemoIdentity { :>> label = "Analysis notebook"; }}
43
+ part def ModelDataset :> ModelOwnedArtifact {
44
+ @MemoIdentity { :>> label = "Model dataset"; }}
45
+ part def GeneratedReport :> ModelOwnedArtifact {
46
+ @MemoIdentity { :>> label = "Generated report"; }}
37
47
  }
@@ -5,6 +5,7 @@ package memo_artifacts_definitions {
5
5
  private import memo_core_enumerations::*;
6
6
 
7
7
  part def ArtifactKindDef specializes MemoPart {
8
+ @MemoIdentity { :>> label = "Artifact kind def"; }
8
9
  attribute documentTitle : String;
9
10
  attribute regulatoryRef : String;
10
11
  attribute artifactKind : ArtifactKind;
@@ -1,9 +1,11 @@
1
1
  package memo_artifacts_documents_risk_management {
2
2
  private import ScalarValues::*;
3
+ private import memo_core_common::MemoIdentity;
3
4
 
4
5
  private import memo_artifacts_core::*;
5
6
 
6
7
  part def RiskManagementFile :> ModelOwnedArtifact {
8
+ @MemoIdentity { :>> label = "Risk management file"; }
7
9
  attribute standardReference : String;
8
10
  attribute clause : String;
9
11
  attribute edition : String;
@@ -54,6 +54,7 @@ package memo_artifacts_standards_traceability {
54
54
  * amendments (e.g. "IEC 62366-1:2015+AMD1:2020"). Dropping the
55
55
  * amendment is a CE/MDR regression, so it is carried explicitly
56
56
  * rather than folded into the designation by convention. */
57
+ @MemoIdentity { :>> label = "Regulatory standard"; }
57
58
  attribute designation : String;
58
59
  attribute edition : String[0..1];
59
60
  attribute issuer : String[0..1];
@@ -88,6 +89,7 @@ package memo_artifacts_standards_traceability {
88
89
  * sub-clause as child). There is no clause-specific composition
89
90
  * type, because whole/part decomposition is already one relation
90
91
  * in MEMO. */
92
+ @MemoIdentity { :>> label = "Standard clause"; }
91
93
  attribute clauseNumber : String;
92
94
  attribute title : String[0..1];
93
95
  attribute normativeStrength : String[0..1];
@@ -98,6 +100,7 @@ package memo_artifacts_standards_traceability {
98
100
  // =========================================================================
99
101
 
100
102
  connection def ConformsTo :> MemoRelationship {
103
+ @MemoIdentity { :>> label = "Conforms to"; }
101
104
  attribute :>> isTrace = true;
102
105
  doc /* Any model element claims conformance to a standard clause.
103
106
  * This is the edge the standards traceability matrix and the
@@ -116,6 +119,7 @@ package memo_artifacts_standards_traceability {
116
119
  }
117
120
 
118
121
  connection def TracesToDocument :> MemoRelationship {
122
+ @MemoIdentity { :>> label = "Traces to document"; }
119
123
  attribute :>> isTrace = true;
120
124
  doc /* Where the evidence for a clause claim is written down. The target
121
125
  * is the existing controlled-artifact type — MEMO does not model a
@@ -21,6 +21,7 @@ package memo_assurance_cybersecurity {
21
21
  private import memo_architecture_implementation_software_structure::SBOMEntry;
22
22
 
23
23
  part def CybersecurityAsset specializes MemoPart {
24
+ @MemoIdentity { :>> label = "Cybersecurity asset"; }
24
25
  attribute assetKind : AssetKind;
25
26
  attribute confidentialityNeed : SecurityNeedKind;
26
27
  attribute integrityNeed : SecurityNeedKind;
@@ -34,6 +35,7 @@ package memo_assurance_cybersecurity {
34
35
  }
35
36
 
36
37
  part def AttackSurface specializes MemoPart {
38
+ @MemoIdentity { :>> label = "Attack surface"; }
37
39
  attribute entryPointKind : InterfaceKind;
38
40
  attribute exposureLevel : String;
39
41
  attribute reachableFrom : String;
@@ -41,6 +43,7 @@ package memo_assurance_cybersecurity {
41
43
  }
42
44
 
43
45
  part def Threat specializes RiskDriver {
46
+ @MemoIdentity { :>> label = "Threat"; }
44
47
  attribute threatCategory : ThreatCategoryKind;
45
48
  attribute attackVector : String;
46
49
  attribute threatSource : String;
@@ -49,6 +52,7 @@ package memo_assurance_cybersecurity {
49
52
  }
50
53
 
51
54
  item def Vulnerability specializes RiskItem {
55
+ @MemoIdentity { :>> label = "Vulnerability"; }
52
56
  attribute weakness : String;
53
57
  attribute exploitability : String;
54
58
  attribute discoveryMethod : String;
@@ -66,6 +70,7 @@ package memo_assurance_cybersecurity {
66
70
  }
67
71
 
68
72
  item def CyberHazard specializes Hazard {
73
+ @MemoIdentity { :>> label = "Cyber hazard"; }
69
74
  attribute securityImpact : String;
70
75
  attribute safetyImpact : String;
71
76
  attribute privacyImpact : String;
@@ -73,6 +78,7 @@ package memo_assurance_cybersecurity {
73
78
  }
74
79
 
75
80
  part def CyberRisk specializes Risk {
81
+ @MemoIdentity { :>> label = "Cyber risk"; }
76
82
  attribute exploitabilityEstimate : String;
77
83
  attribute attackComplexity : String;
78
84
  attribute detectability : DetectionKind;
@@ -81,6 +87,7 @@ package memo_assurance_cybersecurity {
81
87
  }
82
88
 
83
89
  part def CyberMitigation specializes RiskControlMeasure {
90
+ @MemoIdentity { :>> label = "Cyber mitigation"; }
84
91
  attribute cyberControlKind : CyberControlKind;
85
92
  attribute securityMechanism : String;
86
93
  attribute verificationExpectation : String;
@@ -88,10 +95,12 @@ package memo_assurance_cybersecurity {
88
95
  }
89
96
 
90
97
  requirement def SecurityRequirement :> Requirement {
98
+ @MemoIdentity { :>> label = "Security requirement"; }
91
99
  attribute securityObjective : String;
92
100
  }
93
101
 
94
102
  part def TrustBoundary specializes InterfaceElement {
103
+ @MemoIdentity { :>> label = "Trust boundary"; }
95
104
  attribute boundaryType : String;
96
105
  attribute crossingConstraint : String;
97
106
  attribute trustAssumption : String;
@@ -167,6 +176,7 @@ package memo_assurance_cybersecurity {
167
176
  // MemoActor says. What kind of threat it is goes in threatActorKind; the
168
177
  // inherited actorKind names a user role and is not set on a threat.
169
178
  part def ThreatActor specializes MemoActor {
179
+ @MemoIdentity { :>> label = "Threat actor"; }
170
180
  attribute threatActorKind : ThreatActorKind;
171
181
  attribute motivation : String;
172
182
  attribute capability : ThreatCapabilityKind;
@@ -175,6 +185,7 @@ package memo_assurance_cybersecurity {
175
185
  }
176
186
 
177
187
  part def AttackTechnique specializes MemoPart {
188
+ @MemoIdentity { :>> label = "Attack technique"; }
178
189
  attribute framework : AttackTechniqueFrameworkKind;
179
190
  attribute externalId : String;
180
191
  attribute tactic : String;
@@ -183,12 +194,14 @@ package memo_assurance_cybersecurity {
183
194
  }
184
195
 
185
196
  part def SecurityProperty specializes MemoPart {
197
+ @MemoIdentity { :>> label = "Security property"; }
186
198
  attribute objectiveKind : SecurityObjectiveKind;
187
199
  attribute impactLevel : CriticalityKind;
188
200
  attribute propertyRationale : String;
189
201
  }
190
202
 
191
203
  part def CybersecurityAssumption specializes MemoPart {
204
+ @MemoIdentity { :>> label = "Cybersecurity assumption"; }
192
205
  attribute statement : String;
193
206
  attribute owner : String;
194
207
  attribute reviewDate : String;
@@ -198,6 +211,7 @@ package memo_assurance_cybersecurity {
198
211
 
199
212
  // The path's narrative is the inherited `pathSummary`.
200
213
  action def AttackPath specializes OperativeScenario {
214
+ @MemoIdentity { :>> label = "Attack path"; }
201
215
  attribute entryPoint : String;
202
216
  attribute attackGoal : String;
203
217
  }
@@ -219,12 +233,14 @@ package memo_assurance_cybersecurity {
219
233
  enum sca;
220
234
  }
221
235
  verification def SecurityAssessmentCase :> VerificationCase {
236
+ @MemoIdentity { :>> label = "Security assessment case"; }
222
237
  attribute assessmentMethod : SecurityAssessmentMethodKind;
223
238
  attribute assessmentScope : String;
224
239
  attribute toolName : String;
225
240
  attribute toolVersion : String;
226
241
  }
227
242
  part def SecurityFinding specializes MemoEvidence {
243
+ @MemoIdentity { :>> label = "Security finding"; }
228
244
  attribute findingIdentifier : String;
229
245
  attribute severity : CriticalityKind;
230
246
  attribute cvssBaseScore : Real;
@@ -237,12 +253,14 @@ package memo_assurance_cybersecurity {
237
253
  attribute testedEndpoint : String[0..1]; // URL or interface (DAST)
238
254
  }
239
255
  part def SecurityAssessmentReport specializes MemoEvidence {
256
+ @MemoIdentity { :>> label = "Security assessment report"; }
240
257
  attribute reportDate : String;
241
258
  attribute assessor : String;
242
259
  part finding : SecurityFinding[0..*];
243
260
  }
244
261
 
245
262
  action def PostmarketProcess specializes MemoAction {
263
+ @MemoIdentity { :>> label = "Postmarket process"; }
246
264
  attribute processKind : PostmarketProcessKind;
247
265
  attribute owner : String;
248
266
  attribute cadence : String;
@@ -253,6 +271,7 @@ package memo_assurance_cybersecurity {
253
271
  // pre-control (inherent) and post-control (residual) states without
254
272
  // duplicating the risk itself.
255
273
  part def CyberRiskAssessment specializes MemoPart {
274
+ @MemoIdentity { :>> label = "Cyber risk assessment"; }
256
275
  attribute assessmentStage : CyberRiskAssessmentStageKind;
257
276
  attribute probabilityEstimate : ProbabilityKind;
258
277
  attribute severityEstimate : SeverityKind;
@@ -266,6 +285,7 @@ package memo_assurance_cybersecurity {
266
285
 
267
286
  // ── Relations owned by this package ─────────────────────────────
268
287
  connection def ThreatenedBy :> MemoRelationship {
288
+ @MemoIdentity { :>> label = "Threatened by"; }
269
289
  attribute threatRole : String;
270
290
  end protectedAsset : CybersecurityAsset :>> source;
271
291
  end threat : Threat :>> target;
@@ -277,6 +297,7 @@ package memo_assurance_cybersecurity {
277
297
  :>> baseType = threatenedByLinks meta SysML::Usage;
278
298
  }
279
299
  connection def Exploits :> MemoRelationship {
300
+ @MemoIdentity { :>> label = "Exploits"; }
280
301
  end threat : Threat :>> source;
281
302
  end enablingVulnerability : Vulnerability :>> target;
282
303
  }
@@ -287,6 +308,7 @@ package memo_assurance_cybersecurity {
287
308
  :>> baseType = exploitsLinks meta SysML::Usage;
288
309
  }
289
310
  connection def RealizedByScenario :> MemoRelationship {
311
+ @MemoIdentity { :>> label = "Realized by scenario"; }
290
312
  end realizedThreat : RequirementDriver :>> source;
291
313
  end scenario : OperativeScenario :>> target;
292
314
  }
@@ -297,6 +319,7 @@ package memo_assurance_cybersecurity {
297
319
  :>> baseType = realizedByScenarioLinks meta SysML::Usage;
298
320
  }
299
321
  connection def ImpactsSafety :> MemoRelationship {
322
+ @MemoIdentity { :>> label = "Impacts safety"; }
300
323
  attribute :>> isTrace = true;
301
324
  attribute tracePurpose : String;
302
325
  end cyberElement : MemoPart :>> source;
@@ -312,6 +335,7 @@ package memo_assurance_cybersecurity {
312
335
  // ── Product-security and threat-intelligence relations ──────────
313
336
 
314
337
  connection def HasSecurityProperty :> MemoRelationship {
338
+ @MemoIdentity { :>> label = "Has security property"; }
315
339
  end characterizedAsset : CybersecurityAsset :>> source;
316
340
  end securityProperty : SecurityProperty :>> target;
317
341
  }
@@ -323,6 +347,7 @@ package memo_assurance_cybersecurity {
323
347
  }
324
348
 
325
349
  connection def ExposesAsset :> MemoRelationship {
350
+ @MemoIdentity { :>> label = "Exposes asset"; }
326
351
  end attackSurface : AttackSurface :>> source;
327
352
  end exposedAsset : CybersecurityAsset :>> target;
328
353
  }
@@ -334,6 +359,7 @@ package memo_assurance_cybersecurity {
334
359
  }
335
360
 
336
361
  connection def AttributedToThreatActor :> MemoRelationship {
362
+ @MemoIdentity { :>> label = "Attributed to threat actor"; }
337
363
  end attributedThreat : Threat :>> source;
338
364
  end threatActor : ThreatActor :>> target;
339
365
  }
@@ -345,6 +371,7 @@ package memo_assurance_cybersecurity {
345
371
  }
346
372
 
347
373
  connection def UsesAttackTechnique :> MemoRelationship {
374
+ @MemoIdentity { :>> label = "Uses attack technique"; }
348
375
  end realizedThreat : Threat :>> source;
349
376
  end attackTechnique : AttackTechnique :>> target;
350
377
  }
@@ -356,6 +383,7 @@ package memo_assurance_cybersecurity {
356
383
  }
357
384
 
358
385
  connection def IncludesAttackTechnique :> MemoRelationship {
386
+ @MemoIdentity { :>> label = "Includes attack technique"; }
359
387
  end attackPath : AttackPath :>> source;
360
388
  end attackTechnique : AttackTechnique :>> target;
361
389
  }
@@ -367,6 +395,7 @@ package memo_assurance_cybersecurity {
367
395
  }
368
396
 
369
397
  connection def RealizesCyberHazard :> MemoRelationship {
398
+ @MemoIdentity { :>> label = "Realizes cyber hazard"; }
370
399
  end realizedThreat : Threat :>> source;
371
400
  end resultingCyberHazard : CyberHazard :>> target;
372
401
  }
@@ -378,6 +407,7 @@ package memo_assurance_cybersecurity {
378
407
  }
379
408
 
380
409
  connection def AssessesCyberRisk :> MemoRelationship {
410
+ @MemoIdentity { :>> label = "Assesses cyber risk"; }
381
411
  end assessment : CyberRiskAssessment :>> source;
382
412
  end assessedRisk : CyberRisk :>> target;
383
413
  }
@@ -389,6 +419,7 @@ package memo_assurance_cybersecurity {
389
419
  }
390
420
 
391
421
  connection def IdentifiesVulnerability :> MemoRelationship {
422
+ @MemoIdentity { :>> label = "Identifies vulnerability"; }
392
423
  end finding : SecurityFinding :>> source;
393
424
  end identifiedVulnerability : Vulnerability :>> target;
394
425
  }
@@ -400,6 +431,7 @@ package memo_assurance_cybersecurity {
400
431
  }
401
432
 
402
433
  connection def AffectsSBOMEntry :> MemoRelationship {
434
+ @MemoIdentity { :>> label = "Affects SBOM entry"; }
403
435
  end vulnerability : Vulnerability :>> source;
404
436
  end affectedComponent : SBOMEntry :>> target;
405
437
  }
@@ -411,6 +443,7 @@ package memo_assurance_cybersecurity {
411
443
  }
412
444
 
413
445
  connection def DemonstratesAttackPath :> MemoRelationship {
446
+ @MemoIdentity { :>> label = "Demonstrates attack path"; }
414
447
  end finding : SecurityFinding :>> source;
415
448
  end demonstratedPath : AttackPath :>> target;
416
449
  }
@@ -422,6 +455,7 @@ package memo_assurance_cybersecurity {
422
455
  }
423
456
 
424
457
  connection def SupportsMitigationEffectiveness :> MemoRelationship {
458
+ @MemoIdentity { :>> label = "Supports mitigation effectiveness"; }
425
459
  end supportingEvidence : MemoEvidence :>> source;
426
460
  end supportedMitigation : CyberMitigation :>> target;
427
461
  }
@@ -433,6 +467,7 @@ package memo_assurance_cybersecurity {
433
467
  }
434
468
 
435
469
  connection def ConditionsCyberElement :> MemoRelationship {
470
+ @MemoIdentity { :>> label = "Conditions cyber element"; }
436
471
  end governingAssumption : CybersecurityAssumption :>> source;
437
472
  end conditionedElement :>> target;
438
473
  }
@@ -444,6 +479,7 @@ package memo_assurance_cybersecurity {
444
479
  }
445
480
 
446
481
  connection def MonitorsSBOMEntry :> MemoRelationship {
482
+ @MemoIdentity { :>> label = "Monitors SBOM entry"; }
447
483
  end postmarketProcess : PostmarketProcess :>> source;
448
484
  end monitoredComponent : SBOMEntry :>> target;
449
485
  }
@@ -14,12 +14,14 @@ package memo_assurance_human_factors {
14
14
  private import memo_architecture_operational_scenarios::*;
15
15
 
16
16
  part def UseError specializes MemoPart {
17
+ @MemoIdentity { :>> label = "Use error"; }
17
18
  attribute errorCategory : UseErrorCategoryKind;
18
19
  attribute severity : SeverityKind;
19
20
  attribute rootCauseType : String;
20
21
  }
21
22
 
22
23
  connection def CommitsUseError :> MemoRelationship {
24
+ @MemoIdentity { :>> label = "Commits use error"; }
23
25
  attribute :>> isTrace = true;
24
26
  end task : OperativeAction :>> source;
25
27
  end useError : UseError :>> target;
@@ -31,6 +33,7 @@ package memo_assurance_human_factors {
31
33
  :>> baseType = commitsUseErrorLinks meta SysML::Usage;
32
34
  }
33
35
  connection def EvaluatesTask :> MemoRelationship {
36
+ @MemoIdentity { :>> label = "Evaluates task"; }
34
37
  attribute :>> isTrace = true;
35
38
  end evaluation : MemoEvidence :>> source;
36
39
  end task : OperativeAction :>> target;
@@ -50,6 +53,7 @@ package memo_assurance_human_factors {
50
53
  // target is the usability TEST — a validation case — and not the evidence
51
54
  // it produces; `ProducesEvidence` links the two.
52
55
  connection def TestedByUsability :> MemoRelationship {
56
+ @MemoIdentity { :>> label = "Tested by usability"; }
53
57
  attribute :>> isTrace = true;
54
58
  end uiElementOrTask :>> source;
55
59
  end usabilityTest : MemoVerificationCase :>> target;
@@ -5,7 +5,8 @@ package memo_assurance_requirements {
5
5
  private import memo_core_enumerations::*;
6
6
  // StakeholderNeed and the needs hierarchy now live in memo_assurance_requirements_needs.
7
7
  private import memo_assurance_requirements_needs::*;
8
- part def RiskDriver specializes RequirementDriver { attribute driverKind : String; }
8
+ part def RiskDriver specializes RequirementDriver {
9
+ @MemoIdentity { :>> label = "Risk driver"; } attribute driverKind : String; }
9
10
 
10
11
  // What a requirement is about: the system, the software, the hardware, or
11
12
  // the instructions for use. One axis, and the members are its values.
@@ -28,6 +29,7 @@ package memo_assurance_requirements {
28
29
  }
29
30
 
30
31
  requirement def Requirement specializes MemoRequirement {
32
+ @MemoIdentity { :>> label = "Requirement"; }
31
33
  attribute requirementType : RequirementTypeKind;
32
34
  attribute sourceKind : RequirementSourceKind;
33
35
  attribute concernKind : ConcernKind;
@@ -59,6 +61,7 @@ package memo_assurance_requirements {
59
61
  // Named constant defined by a source requirements document (e.g. CriSys
60
62
  // GPCA App. A.4) and referenced from requirement statements.
61
63
  part def SystemConstant specializes MemoPart {
64
+ @MemoIdentity { :>> label = "System constant"; }
62
65
  attribute symbol : String; // identifier as written in the source, e.g. "Tolerance_Max const"
63
66
  attribute unit : String;
64
67
  attribute valueType : String;
@@ -68,6 +71,7 @@ package memo_assurance_requirements {
68
71
  // One row of a notification/alarm action table (e.g. CriSys GPCA REQ 59):
69
72
  // a named notification, its priority, and the actions the system must take.
70
73
  part def NotificationSpec specializes MemoPart {
74
+ @MemoIdentity { :>> label = "Notification spec"; }
71
75
  attribute priority : NotificationPriorityKind;
72
76
  attribute visualNotification : Boolean;
73
77
  attribute audioNotification : Boolean;
@@ -35,6 +35,7 @@ package memo_assurance_requirements_needs {
35
35
  }
36
36
 
37
37
  requirement def Need specializes MemoNeed {
38
+ @MemoIdentity { :>> label = "Need"; }
38
39
  attribute needKind : NeedKind;
39
40
  // A user need (IEC 62366-1) says WHOSE need it is with HeldBy, and the
40
41
  // user's characteristics live on the User: `userPopulation`,
@@ -66,6 +67,7 @@ package memo_assurance_requirements_needs {
66
67
  // so "which users does this need serve" is a question the model answers
67
68
  // rather than a sentence a reader interprets.
68
69
  connection def HeldBy :> MemoRelationship {
70
+ @MemoIdentity { :>> label = "Held by"; }
69
71
  end need : MemoNeed :>> source;
70
72
  end holder : OperationalParticipant :>> target;
71
73
  }