@memoarchitect/ontology 0.4.4
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/LICENSE +19 -0
- package/README.md +70 -0
- package/examples/gpca-pump/dhf/documents/DOC-RMP-001.md +210 -0
- package/examples/gpca-pump/memo.config.yaml +9 -0
- package/examples/gpca-pump/methodology/gpca_methodology.sysml +11 -0
- package/examples/gpca-pump/methodology/gpca_profiles.sysml +25 -0
- package/examples/gpca-pump/methodology/gpca_scope.sysml +25 -0
- package/examples/gpca-pump/model/catalog/gpca_analysis.sysml +231 -0
- package/examples/gpca-pump/model/catalog/gpca_architecture.sysml +272 -0
- package/examples/gpca-pump/model/catalog/gpca_behavior_actions.sysml +81 -0
- package/examples/gpca-pump/model/catalog/gpca_behavior_modes.sysml +363 -0
- package/examples/gpca-pump/model/catalog/gpca_behavior_subsystems.sysml +205 -0
- package/examples/gpca-pump/model/catalog/gpca_context.sysml +113 -0
- package/examples/gpca-pump/model/catalog/gpca_cybersecurity.sysml +172 -0
- package/examples/gpca-pump/model/catalog/gpca_formal_behavior.sysml +173 -0
- package/examples/gpca-pump/model/catalog/gpca_interfaces.sysml +1062 -0
- package/examples/gpca-pump/model/catalog/gpca_operational.sysml +209 -0
- package/examples/gpca-pump/model/catalog/gpca_physical.sysml +53 -0
- package/examples/gpca-pump/model/catalog/gpca_requirements.sysml +1505 -0
- package/examples/gpca-pump/model/catalog/gpca_risk.sysml +744 -0
- package/examples/gpca-pump/model/catalog/gpca_system.sysml +144 -0
- package/examples/gpca-pump/model/catalog/gpca_trace.sysml +696 -0
- package/examples/gpca-pump/model/catalog/gpca_verification.sysml +285 -0
- package/examples/gpca-pump/model/samples/README.md +24 -0
- package/examples/gpca-pump/model/samples/action_flow_view.sysml +72 -0
- package/examples/gpca-pump/model/samples/action_flow_view.viewlayout +9 -0
- package/examples/gpca-pump/model/samples/functional_flow_view.sysml +153 -0
- package/examples/gpca-pump/model/samples/interconnection_view.sysml +93 -0
- package/examples/gpca-pump/model/samples/interconnection_view.viewlayout +99 -0
- package/examples/gpca-pump/model/samples/operational_behaviour_view.sysml +145 -0
- package/examples/gpca-pump/model/samples/tree_view.sysml +56 -0
- package/examples/gpca-pump/model/views/behavior_action_flow_view.sysml +41 -0
- package/examples/gpca-pump/model/views/context_system_context_view.sysml +43 -0
- package/examples/gpca-pump/model/views/cybersecurity_cybersecurity_view.sysml +44 -0
- package/examples/gpca-pump/model/views/document_architecture_description_view.sysml +29 -0
- package/examples/gpca-pump/model/views/document_cyber_assessment_view.sysml +28 -0
- package/examples/gpca-pump/model/views/document_dhf_index_view.sysml +29 -0
- package/examples/gpca-pump/model/views/document_hazard_analysis_view.sysml +29 -0
- package/examples/gpca-pump/model/views/document_rmf_view.sysml +29 -0
- package/examples/gpca-pump/model/views/document_sdd_view.sysml +29 -0
- package/examples/gpca-pump/model/views/document_threat_model_view.sysml +28 -0
- package/examples/gpca-pump/model/views/document_usability_view.sysml +28 -0
- package/examples/gpca-pump/model/views/document_vv_view.sysml +29 -0
- package/examples/gpca-pump/model/views/functional_function_allocation_view.sysml +42 -0
- package/examples/gpca-pump/model/views/functional_function_browser_view.sysml +41 -0
- package/examples/gpca-pump/model/views/logical_device_interconnect_view.sysml +43 -0
- package/examples/gpca-pump/model/views/logical_logical_architecture_view.sysml +42 -0
- package/examples/gpca-pump/model/views/logical_mode_state_view.sysml +42 -0
- package/examples/gpca-pump/model/views/logical_system_decomposition_view.sysml +44 -0
- package/examples/gpca-pump/model/views/operational_scenario_sequence_view.sysml +41 -0
- package/examples/gpca-pump/model/views/operational_use_case_view.sysml +43 -0
- package/examples/gpca-pump/model/views/physical_physical_bom_view.sysml +41 -0
- package/examples/gpca-pump/model/views/requirements_requirements_trace_view.sysml +42 -0
- package/examples/gpca-pump/model/views/risk_fmea_view.sysml +42 -0
- package/examples/gpca-pump/model/views/risk_risk_chain_view.sysml +44 -0
- package/examples/gpca-pump/model/views/software_software_architecture_view.sysml +43 -0
- package/examples/gpca-pump/model/views/verification_verification_coverage_view.sysml +42 -0
- package/memo.manifest.yaml +13 -0
- package/methodologies/default/memo.package.yaml +9 -0
- package/methodologies/gpca/memo.package.yaml +9 -0
- package/ontology/memo.package.yaml +8 -0
- package/ontology/memo.rendering.yaml +47 -0
- package/package.json +65 -0
- package/profile/archetypes.yaml +36 -0
- package/profile/memo.package.yaml +9 -0
- package/profile/templates/connected-device/starter.sysml +8 -0
- package/profile/templates/infusion-pump/starter.sysml +8 -0
- package/profile/templates/monitoring-device/starter.sysml +8 -0
- package/profile/templates/samd/starter.sysml +8 -0
- package/src/architecture/analysis/memo_fmea.sysml +91 -0
- package/src/architecture/assurance/memo_assurance.sysml +29 -0
- package/src/architecture/behavior/memo_behavior.sysml +65 -0
- package/src/architecture/constraints/memo_constraints.sysml +14 -0
- package/src/architecture/context/memo_context.sysml +58 -0
- package/src/architecture/cybersecurity/memo_cybersecurity.sysml +99 -0
- package/src/architecture/decisions/memo_decisions.sysml +12 -0
- package/src/architecture/functions/memo_functions.sysml +30 -0
- package/src/architecture/hardware_structure/memo_hardware_structure.sysml +15 -0
- package/src/architecture/interfaces/memo_interfaces.sysml +103 -0
- package/src/architecture/logical_structure/memo_logical_structure.sysml +10 -0
- package/src/architecture/operational/memo_operational.sysml +51 -0
- package/src/architecture/physical/memo_physical_architecture.sysml +19 -0
- package/src/architecture/requirements/memo_requirements.sysml +69 -0
- package/src/architecture/risk/memo_arch_risk.sysml +7 -0
- package/src/architecture/risk/memo_risk.sysml +80 -0
- package/src/architecture/software_structure/memo_software_structure.sysml +44 -0
- package/src/architecture/system/memo_system_analysis.sysml +54 -0
- package/src/artifacts/clinical_safety_report.sysml +12 -0
- package/src/artifacts/cybersecurity_assessment_report.sysml +12 -0
- package/src/artifacts/definitions/memo_artifact_definitions.sysml +12 -0
- package/src/artifacts/design_change_log.sysml +12 -0
- package/src/artifacts/design_history_file_index.sysml +12 -0
- package/src/artifacts/design_input_plan.sysml +12 -0
- package/src/artifacts/design_output_plan.sysml +12 -0
- package/src/artifacts/evidence_record.sysml +12 -0
- package/src/artifacts/failure_mode_effects_analysis.sysml +12 -0
- package/src/artifacts/hazard_analysis_report.sysml +12 -0
- package/src/artifacts/labeling_specification.sysml +12 -0
- package/src/artifacts/requirements_specification.sysml +12 -0
- package/src/artifacts/requirements_traceability_matrix.sysml +12 -0
- package/src/artifacts/risk_management_plan.sysml +12 -0
- package/src/artifacts/software_design_description.sysml +12 -0
- package/src/artifacts/software_development_plan.sysml +12 -0
- package/src/artifacts/soup_list.sysml +12 -0
- package/src/artifacts/system_architecture_description.sysml +12 -0
- package/src/artifacts/test_protocol.sysml +12 -0
- package/src/artifacts/test_report.sysml +12 -0
- package/src/artifacts/threat_model_report.sysml +12 -0
- package/src/artifacts/usability_engineering_report.sysml +12 -0
- package/src/compliance/artifacts/memo_artifacts.sysml +13 -0
- package/src/compliance/change/memo_change.sysml +17 -0
- package/src/compliance/dhf-templates/21cfr820/change-record.md +45 -0
- package/src/compliance/dhf-templates/21cfr820/design-input.md +67 -0
- package/src/compliance/dhf-templates/21cfr820/design-output.md +80 -0
- package/src/compliance/dhf-templates/21cfr820/design-review.md +51 -0
- package/src/compliance/dhf-templates/21cfr820/design-validation.md +64 -0
- package/src/compliance/dhf-templates/21cfr820/design-verification.md +57 -0
- package/src/compliance/dhf-templates/21cfr820/dhf-index.md +111 -0
- package/src/compliance/dhf-templates/21cfr820/transfer-plan.md +50 -0
- package/src/compliance/dhf-templates/21cfr820/user-needs.md +81 -0
- package/src/compliance/dhf-templates/21cfr820/vv-plan.md +89 -0
- package/src/compliance/dhf-templates/21cfr820/vv-report.md +85 -0
- package/src/compliance/dhf-templates/fda-cybersecurity/incident-response.md +66 -0
- package/src/compliance/dhf-templates/fda-cybersecurity/postmarket-surveillance.md +63 -0
- package/src/compliance/dhf-templates/fda-cybersecurity/security-arch.md +83 -0
- package/src/compliance/dhf-templates/fda-cybersecurity/threat-model.md +100 -0
- package/src/compliance/dhf-templates/fda-cybersecurity/vuln-assessment.md +77 -0
- package/src/compliance/dhf-templates/iec-62304/change-control.md +40 -0
- package/src/compliance/dhf-templates/iec-62304/detailed-design.md +69 -0
- package/src/compliance/dhf-templates/iec-62304/integration-test.md +68 -0
- package/src/compliance/dhf-templates/iec-62304/sad.md +115 -0
- package/src/compliance/dhf-templates/iec-62304/sbom.md +67 -0
- package/src/compliance/dhf-templates/iec-62304/sdp.md +108 -0
- package/src/compliance/dhf-templates/iec-62304/soup.md +77 -0
- package/src/compliance/dhf-templates/iec-62304/srs.md +138 -0
- package/src/compliance/dhf-templates/iec-62304/sw-traceability.md +111 -0
- package/src/compliance/dhf-templates/iec-62304/system-test.md +67 -0
- package/src/compliance/dhf-templates/iec-62366/formative-eval.md +47 -0
- package/src/compliance/dhf-templates/iec-62366/summative-eval.md +69 -0
- package/src/compliance/dhf-templates/iec-62366/task-analysis.md +57 -0
- package/src/compliance/dhf-templates/iec-62366/ue-plan.md +81 -0
- package/src/compliance/dhf-templates/iec-62366/ui-spec.md +61 -0
- package/src/compliance/dhf-templates/iec-62366/urra.md +74 -0
- package/src/compliance/dhf-templates/iec-62366/use-spec.md +61 -0
- package/src/compliance/dhf-templates/iso-14971/fmea.md +93 -0
- package/src/compliance/dhf-templates/iso-14971/fta.md +70 -0
- package/src/compliance/dhf-templates/iso-14971/har.md +165 -0
- package/src/compliance/dhf-templates/iso-14971/risk-benefit.md +51 -0
- package/src/compliance/dhf-templates/iso-14971/risk-matrix.md +51 -0
- package/src/compliance/dhf-templates/iso-14971/rmp.md +169 -0
- package/src/compliance/dhf-templates/iso-14971/rmr.md +101 -0
- package/src/compliance/dhf-templates/shared/snippets/approval-block.md +16 -0
- package/src/compliance/dhf-templates/shared/snippets/document-control-header.md +15 -0
- package/src/compliance/dhf-templates/shared/snippets/references-section.md +16 -0
- package/src/compliance/dhf-templates/shared/snippets/revision-history-table.md +11 -0
- package/src/compliance/document_views/memo_document_views.sysml +7 -0
- package/src/compliance/iso14971/risk_management_file.sysml +16 -0
- package/src/compliance/postmarket/memo_postmarket.sysml +16 -0
- package/src/core/common/memo_common.sysml +50 -0
- package/src/core/consistency_rules/consistency_rules.sysml +41 -0
- package/src/core/dimensions/dimensions.sysml +37 -0
- package/src/core/enumerations/memo_enumerations.sysml +562 -0
- package/src/core/methodology_scope/methodology_scope.sysml +46 -0
- package/src/core/relationships/memo_relationships.sysml +230 -0
- package/src/core/semantics/semantics.sysml +20 -0
- package/src/core/stdlib/collections.sysml +6 -0
- package/src/core/stdlib/functions.sysml +6 -0
- package/src/core/stdlib/scalars.sysml +6 -0
- package/src/core/stdlib/time.sysml +6 -0
- package/src/medical_device_library.sysml +100 -0
- package/src/memo_namespaces.sysml +668 -0
- package/src/methodology/LICENSES/MIT.txt +19 -0
- package/src/methodology/memo_archetypes.sysml +93 -0
- package/src/methodology/memo_core.sysml +53 -0
- package/src/methodology/memo_gates.sysml +11 -0
- package/src/methodology/memo_patterns.sysml +12 -0
- package/src/methodology/memo_profiles.sysml +218 -0
- package/src/methodology/memo_rules.sysml +15 -0
- package/src/methodology/memo_viewpoints.sysml +5 -0
- package/src/methodology/memo_workflow.sysml +14 -0
- package/src/rules/closure/closure_rules.sysml +180 -0
- package/src/rules/coverage/coverage_rules.sysml +258 -0
- package/src/rules/crosslayer/cross_layer_rules.sysml +38 -0
- package/src/rules/lifecycle/lifecycle_rules.sysml +41 -0
- package/src/rules/quantitative/quantitative_rules.sysml +34 -0
- package/src/viewpoints/clinical/clinical_evidence_view.sysml +13 -0
- package/src/viewpoints/clinical/clinical_viewpoint.sysml +25 -0
- package/src/viewpoints/context/context_viewpoint.sysml +25 -0
- package/src/viewpoints/context/system_context_view.sysml +29 -0
- package/src/viewpoints/cybersecurity/cybersecurity_assessment_view.sysml +13 -0
- package/src/viewpoints/cybersecurity/cybersecurity_viewpoint.sysml +27 -0
- package/src/viewpoints/cybersecurity/threat_model_view.sysml +13 -0
- package/src/viewpoints/definitions/memo_viewpoint_definitions.sysml +82 -0
- package/src/viewpoints/functional/function_allocation_view.sysml +29 -0
- package/src/viewpoints/functional/functional_viewpoint.sysml +25 -0
- package/src/viewpoints/functional/system_functional_tree_view.sysml +29 -0
- package/src/viewpoints/logical/logical_architecture_view.sysml +29 -0
- package/src/viewpoints/logical/logical_viewpoint.sysml +25 -0
- package/src/viewpoints/operational/operational_viewpoint.sysml +25 -0
- package/src/viewpoints/operational/use_case_view.sysml +29 -0
- package/src/viewpoints/physical/network_topology_view.sysml +29 -0
- package/src/viewpoints/physical/physical_bom_view.sysml +29 -0
- package/src/viewpoints/physical/physical_viewpoint.sysml +25 -0
- package/src/viewpoints/requirements/requirements_traceability_view.sysml +29 -0
- package/src/viewpoints/requirements/requirements_viewpoint.sysml +25 -0
- package/src/viewpoints/risk/risk_chain_view.sysml +30 -0
- package/src/viewpoints/risk/risk_viewpoint.sysml +25 -0
- package/src/viewpoints/software/software_architecture_view.sysml +29 -0
- package/src/viewpoints/software/software_viewpoint.sysml +25 -0
- package/src/viewpoints/usability/usability_engineering_view.sysml +13 -0
- package/src/viewpoints/usability/usability_viewpoint.sysml +25 -0
- package/src/viewpoints/verification/verification_coverage_view.sysml +29 -0
- package/src/viewpoints/verification/verification_viewpoint.sysml +25 -0
- package/template/memo.package.yaml +5 -0
- package/template/src/catalog/starter.sysml +12 -0
- package/template/src/documents/.gitkeep +1 -0
- package/template/src/views/.gitkeep +1 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: document-control-header
|
|
3
|
+
title: Document Control Header
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
| Field | Value |
|
|
7
|
+
| --- | --- |
|
|
8
|
+
| **Product** | {{project.product}} |
|
|
9
|
+
| **Company** | {{project.company}} |
|
|
10
|
+
| **Device Type** | {{project.device_type}} |
|
|
11
|
+
| **Document Version** | {{project.version}} |
|
|
12
|
+
| **Development Phase** | {{project.phase}} |
|
|
13
|
+
| **Date** | — |
|
|
14
|
+
| **Confidentiality** | Confidential — {{project.company}} |
|
|
15
|
+
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: references-section
|
|
3
|
+
title: References
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
## References
|
|
7
|
+
|
|
8
|
+
| Standard | Title |
|
|
9
|
+
| --- | --- |
|
|
10
|
+
| ISO 14971:2019 | Medical devices — Application of risk management to medical devices |
|
|
11
|
+
| IEC 62304:2006+AMD1:2015 | Medical device software — Software life cycle processes |
|
|
12
|
+
| IEC 62366-1:2015+AMD1:2020 | Medical devices — Usability engineering |
|
|
13
|
+
| ISO 13485:2016 | Medical devices — Quality management systems |
|
|
14
|
+
| 21 CFR Part 820 | Quality System Regulation |
|
|
15
|
+
| IEC 81001-5-1:2021 | Health software and health IT systems safety, effectiveness and security |
|
|
16
|
+
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
package memo_compliance_document_views {
|
|
2
|
+
private import ScalarValues::*;
|
|
3
|
+
|
|
4
|
+
public import memo_viewpoints_definitions::MemoDocumentView;
|
|
5
|
+
public import memo_viewpoints_cybersecurity_threat_model_view::MemoCybersecurityThreatModelView;
|
|
6
|
+
public import memo_viewpoints_cybersecurity_cybersecurity_assessment_view::MemoCybersecurityAssessmentView;
|
|
7
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
package memo_compliance_iso14971 {
|
|
2
|
+
private import ScalarValues::*;
|
|
3
|
+
|
|
4
|
+
private import memo_core_common::*;
|
|
5
|
+
private import memo_core_enumerations::*;
|
|
6
|
+
|
|
7
|
+
doc /* ISO 14971 Risk Management File — the top-level deliverable
|
|
8
|
+
that aggregates all risk management artifacts required by
|
|
9
|
+
ISO 14971:2019 clause 4.5. */
|
|
10
|
+
part def RiskManagementFile specializes TraceableElement {
|
|
11
|
+
attribute standardReference : String;
|
|
12
|
+
attribute clause : String;
|
|
13
|
+
attribute edition : String;
|
|
14
|
+
attribute completenessStatus : String;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
package memo_compliance_postmarket {
|
|
2
|
+
private import ScalarValues::*;
|
|
3
|
+
|
|
4
|
+
private import memo_core_common::*;
|
|
5
|
+
private import memo_core_enumerations::*;
|
|
6
|
+
part def ClinicalEvaluation specializes TraceableElement {
|
|
7
|
+
attribute evaluationStage : String;
|
|
8
|
+
attribute clinicalDataSource : String;
|
|
9
|
+
attribute conclusion : String;
|
|
10
|
+
}
|
|
11
|
+
part def PostMarketSurveillance specializes TraceableElement {
|
|
12
|
+
attribute surveillanceKind : String;
|
|
13
|
+
attribute dataSource : String;
|
|
14
|
+
attribute reportingObligation : String;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
package memo_core_common {
|
|
2
|
+
private import ScalarValues::*;
|
|
3
|
+
|
|
4
|
+
private import memo_core_enumerations::*;
|
|
5
|
+
|
|
6
|
+
part def IdentifiedElement {
|
|
7
|
+
attribute id : String;
|
|
8
|
+
attribute name : String;
|
|
9
|
+
attribute description : String;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
part def TraceableElement specializes IdentifiedElement {
|
|
13
|
+
attribute rationale : String;
|
|
14
|
+
attribute sourceReference : String;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
part def DocumentedElement specializes TraceableElement {
|
|
18
|
+
attribute title : String;
|
|
19
|
+
attribute shortDescription : String;
|
|
20
|
+
attribute longDescription : String;
|
|
21
|
+
attribute documentUsage : String[*];
|
|
22
|
+
attribute sectionIdentifier : String;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
part def RequirementDriver specializes TraceableElement;
|
|
26
|
+
part def VerifiableElement specializes TraceableElement;
|
|
27
|
+
part def ArchitectureElement specializes TraceableElement;
|
|
28
|
+
part def InterfaceElement specializes TraceableElement;
|
|
29
|
+
part def EvidenceElement specializes TraceableElement;
|
|
30
|
+
|
|
31
|
+
part def ExchangeItem specializes TraceableElement {
|
|
32
|
+
attribute semantics : String;
|
|
33
|
+
attribute unit : String;
|
|
34
|
+
attribute minValue : String;
|
|
35
|
+
attribute maxValue : String;
|
|
36
|
+
attribute encoding : String;
|
|
37
|
+
attribute timestampRequired : Boolean;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
part def LayerElement specializes TraceableElement {
|
|
41
|
+
attribute layerName : String;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
part def Citation specializes IdentifiedElement {
|
|
45
|
+
attribute source : String;
|
|
46
|
+
attribute section : String;
|
|
47
|
+
attribute uri : String;
|
|
48
|
+
attribute year : String;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
// Consistency rule base types per Epic N.
|
|
2
|
+
// Bare imports (no `private`) per ADR-1-16 fallback.
|
|
3
|
+
package memo_core_consistency_rules {
|
|
4
|
+
private import ScalarValues::*;
|
|
5
|
+
|
|
6
|
+
private import memo_core_common::*;
|
|
7
|
+
private import memo_core_enumerations::*;
|
|
8
|
+
|
|
9
|
+
part def ConsistencyRule specializes TraceableElement {
|
|
10
|
+
attribute appliesTo : String;
|
|
11
|
+
attribute predicate : RulePredicateKind;
|
|
12
|
+
attribute strength : RuleStrengthKind;
|
|
13
|
+
attribute severity : RuleSeverityKind;
|
|
14
|
+
attribute rationaleText : String;
|
|
15
|
+
attribute category : RuleCategoryKind;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
part def RelationshipConsistencyRule specializes ConsistencyRule {
|
|
19
|
+
attribute relationshipType : String;
|
|
20
|
+
attribute minCount : String;
|
|
21
|
+
attribute maxCount : String;
|
|
22
|
+
attribute direction : String;
|
|
23
|
+
attribute relatedKinds : String;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
part def AttributeConsistencyRule specializes ConsistencyRule {
|
|
27
|
+
attribute targetAttribute : String;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
part def ConditionalConsistencyRule specializes RelationshipConsistencyRule {
|
|
31
|
+
attribute conditionAttribute : String;
|
|
32
|
+
attribute conditionOperator : String;
|
|
33
|
+
attribute conditionValues : String;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
part def CoverageConsistencyRule specializes ConsistencyRule {
|
|
37
|
+
attribute standardReference : String;
|
|
38
|
+
attribute clause : String;
|
|
39
|
+
attribute coverageTarget : String;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
// Multi-valued attributes collapsed to scalar pending grammar extension (ADR-1-16).
|
|
2
|
+
// Bare import (no `private`) per ADR-1-16 fallback.
|
|
3
|
+
package memo_core_dimensions {
|
|
4
|
+
private import ScalarValues::*;
|
|
5
|
+
|
|
6
|
+
private import memo_core_common::*;
|
|
7
|
+
|
|
8
|
+
enum def DimensionKind {
|
|
9
|
+
enum architecture;
|
|
10
|
+
enum compliance;
|
|
11
|
+
enum artifact;
|
|
12
|
+
enum viewpointType;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
part def ElementKind specializes TraceableElement {
|
|
16
|
+
attribute kindName : String;
|
|
17
|
+
attribute primaryDimension : DimensionKind;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
part def ArchitectureElementKind specializes ElementKind {
|
|
21
|
+
attribute archLayer : String;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
part def ComplianceElementKind specializes ElementKind {
|
|
25
|
+
attribute standardReference : String;
|
|
26
|
+
attribute clause : String;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
part def ArtifactElementKind specializes ElementKind {
|
|
30
|
+
attribute documentTitle : String;
|
|
31
|
+
attribute regulatoryReference : String;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
part def ViewpointTypeKind specializes ElementKind {
|
|
35
|
+
attribute typeId : String;
|
|
36
|
+
}
|
|
37
|
+
}
|