@memoarchitect/ontology 0.6.2 → 0.6.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.
Files changed (41) hide show
  1. package/README.md +25 -3
  2. package/examples/embedded-infusion-pump/model/catalog/embedded_infusion_pump.sysml +1 -1
  3. package/examples/gpca-pump/model/catalog/gpca_behavior_actions.sysml +1 -1
  4. package/examples/gpca-pump/model/catalog/gpca_cybersecurity.sysml +1 -1
  5. package/examples/gpca-pump/model/catalog/gpca_requirements.sysml +104 -104
  6. package/examples/gpca-pump/model/catalog/gpca_trace.sysml +4 -4
  7. package/examples/gpca-pump/model/views/document_architecture_description_view.sysml +6 -0
  8. package/examples/gpca-pump/model/views/document_cyber_assessment_view.sysml +2 -0
  9. package/examples/gpca-pump/model/views/document_dhf_index_view.sysml +6 -0
  10. package/examples/gpca-pump/model/views/document_hazard_analysis_view.sysml +2 -0
  11. package/examples/gpca-pump/model/views/document_rmf_view.sysml +2 -0
  12. package/examples/gpca-pump/model/views/document_sdd_view.sysml +2 -0
  13. package/examples/gpca-pump/model/views/document_threat_model_view.sysml +2 -0
  14. package/examples/gpca-pump/model/views/document_usability_view.sysml +2 -0
  15. package/examples/gpca-pump/model/views/document_vv_view.sysml +2 -0
  16. package/examples/sysml-diagram-samples/model/samples/requirements_view.sysml +2 -2
  17. package/examples/sysml-diagram-samples/model/samples/use_case_view.sysml +4 -4
  18. package/methodologies/default/memo.package.yaml +1 -1
  19. package/methodologies/gpca/memo.package.yaml +1 -1
  20. package/ontology/memo.package.yaml +1 -1
  21. package/package.json +4 -2
  22. package/profile/memo.package.yaml +1 -1
  23. package/src/architecture/implementation/software/structure/memo_software_structure.sysml +3 -3
  24. package/src/architecture/implementation/ui/memo_ui.sysml +1 -1
  25. package/src/architecture/operational/context/stakeholders/memo_stakeholders.sysml +2 -2
  26. package/src/architecture/operational/context/use_context/memo_use_context.sysml +26 -1
  27. package/src/architecture/operational/scenarios/memo_scenarios.sysml +1 -1
  28. package/src/architecture/operational/use_cases/memo_use_cases.sysml +1 -1
  29. package/src/architecture/operational/workflows/memo_workflows.sysml +2 -2
  30. package/src/architecture/realization/deployment/memo_deployment.sysml +2 -2
  31. package/src/assurance/cybersecurity/memo_cybersecurity.sysml +0 -1
  32. package/src/assurance/requirements/memo_requirements.sysml +1 -1
  33. package/src/assurance/requirements/needs/memo_needs.sysml +1 -1
  34. package/src/compliance/artifacts/memo_artifacts.sysml +0 -1
  35. package/src/core/common/memo_common.sysml +3 -1
  36. package/src/core/enumerations/memo_enumerations.sysml +17 -1
  37. package/src/core/relationships/memo_relationships.sysml +9 -5
  38. package/src/memo_namespaces.sysml +2 -2
  39. package/src/methodology/profiles/memo_profiles.sysml +6 -22
  40. package/src/viewpoints/context/context_viewpoint.sysml +10 -1
  41. package/src/viewpoints/definitions/memo_viewpoint_definitions.sysml +7 -1
package/README.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # @memoarchitect/ontology
2
2
 
3
+ [Product website](https://memoarchitect.com/memo.html) ·
4
+ [Documentation](https://memoarchitect.com/memo/) ·
5
+ [GitHub repository](https://github.com/memoarchitect/memo) ·
6
+ [npm package](https://www.npmjs.com/package/@memoarchitect/ontology)
7
+
3
8
  **MEMO — Medical Engineering Modelling Ontology** — the pure SysML v2 content layer.
4
9
 
5
10
  A standalone, tool-portable SysML v2 / KerML ontology for medical-device architecture
@@ -18,24 +23,41 @@ pin an exact release; the package has no repository or runtime dependency on Mem
18
23
  Tools or Memo Architect.
19
24
 
20
25
  ```bash
21
- pnpm add @memoarchitect/ontology@0.6.2
26
+ pnpm add @memoarchitect/ontology@0.6.4
22
27
  ```
23
28
 
29
+ > **Pre-1.0 notice:** ontology names, relationships, and package layout may
30
+ > change before 1.0. Use the exact npm version above or a
31
+ > [tagged release](https://github.com/memoarchitect/memo/releases) rather than
32
+ > tracking `main` for reproducible project work.
33
+
24
34
  For coordinated development, the private `memo-meta` workspace checks out
25
35
  Ontology, Tools, and Architect as sibling repositories and links this package
26
36
  into its dependants with meta-only pnpm overrides.
27
37
 
38
+ `VERSION` is the sole release-version source for this repository. Run
39
+ `pnpm version:sync` after changing it; CI rejects unsynchronized manifests and
40
+ automatically creates the matching `v<version>` tag when the change reaches
41
+ `main`.
42
+
28
43
  ## Documentation
29
44
 
30
- Start with the [user guide](docs/index.md) to learn MEMO's layer model, choose
45
+ Start with the [published documentation](https://memoarchitect.com/memo/) to learn
46
+ MEMO's layer model, choose
31
47
  elements and relationships, and follow the GPCA pump example. The reference
32
- section describes packages, source layout, and maintenance. Build the site with:
48
+ section describes packages, source layout, and maintenance. Its source starts at
49
+ [`docs/index.md`](docs/index.md). Build the site with:
33
50
 
34
51
  ```bash
35
52
  python3 -m pip install "mkdocs>=1.6" "mkdocs-material>=9.5" "pymdown-extensions>=10.0"
36
53
  pnpm run docs:build
37
54
  ```
38
55
 
56
+ Related products: [MEMO Tools documentation](https://memoarchitect.com/memo-tools/)
57
+ and [repository](https://github.com/memoarchitect/memo-tools) ·
58
+ [MEMO Architect documentation](https://memoarchitect.com/memo-architect/)
59
+ and [repository](https://github.com/memoarchitect/memo-architect).
60
+
39
61
  ## Layout
40
62
 
41
63
  The package exposes four logical MEMO packages through `memo.manifest.yaml`.
@@ -14,7 +14,7 @@ package memo_examples_embedded_infusion_pump {
14
14
 
15
15
  // Module view (IEC 62304).
16
16
  part swInfusionControl : SoftwareModule {
17
- attribute :>> moduleKind = ModuleKind::item;
17
+ attribute :>> moduleKind = ModuleKind::'item';
18
18
  attribute :>> id = "EIP-SW-001"; attribute :>> name = "InfusionControlItem";
19
19
  attribute :>> iec62304Role = "software item, class C";
20
20
  attribute :>> safetyClass = SafetyClassKind::C;
@@ -30,7 +30,7 @@ package memo_examples_gpca_pump_model_catalog_gpca_behavior_actions {
30
30
  attribute :>> itemKind = InterfaceItemKind::command;
31
31
  }
32
32
  item def TherapyEventRecord specializes InterfaceItem {
33
- attribute :>> itemKind = InterfaceItemKind::event;
33
+ attribute :>> itemKind = InterfaceItemKind::'event';
34
34
  }
35
35
 
36
36
  action def AcquireSensorData {
@@ -128,7 +128,7 @@ package memo_examples_gpca_pump_model_catalog_gpca_cybersecurity {
128
128
  attribute :>> statement = "The system shall require authenticated and authorized service access before any therapy configuration parameter can be modified.";
129
129
  attribute :>> sourceKind = RequirementSourceKind::risk;
130
130
  attribute :>> concernKind = ConcernKind::cybersecurity;
131
- attribute :>> status = RequirementStatusKind::approved;
131
+ attribute :>> requirementStatus = RequirementStatusKind::approved;
132
132
  attribute :>> acceptanceCriteria = "Unauthenticated or unauthorized attempts to modify therapy configuration are rejected and logged.";
133
133
  attribute :>> subjectDescription = "maintenance and configuration path";
134
134
  attribute :>> actorDescription = "service personnel";