textual-notation-of-model/packages/methods/de4sdv/de4sdv_stakeholders.sysml
0 view(s) · 22 declared member(s)
Source
1/*2 * Reusable DE4SDV stakeholder role definitions.3 *4 * Native `stakeholder` parameters are PartUsages. Explicit item definitions5 * are not forbidden as their types (OMG SysML v2 Part 1, 7.11.2). Local roles6 * remain reusable non-individual part definitions specializing Stakeholder;7 * `individual` identifies one unique real or perceived entity, not a reusable8 * role. This package keeps role vocabulary out of feature-specific slices.9 *10 * Eight roles below are locally adapted from GfSE/SAF-SysMLV2, Apache-2.0,11 * revision c57bd42db60a00c51168f6aba8e2229ba0165b6c,12 * Stakeholders/stakeholders_library.sysml. Attribution: GfSE SAF contributors.13 * Upstream `individual item def` declarations specializing Stakeholders are14 * structurally modified into reusable local `part def` specializations of15 * Stakeholder, with local risk/effort/contact/categories. HardwareDeveloper's16 * description is narrowed to hardware; Supplier's description is shortened.17 * Descriptions below express role responsibilities, not achieved obligations.18 * These are adaptations, not unchanged imports, full SAF adoption or upstream19 * endorsement. Retain the Apache-2.0 terms in the repository LICENSE. The20 * pinned upstream tree has no NOTICE-named file; this is provenance, not legal21 * clearance. See methodologies/sysmod-sysmlv2/pilots/saf-source.yaml.22 * Role typing assigns no real person, competence, approval authority or safety23 * acceptance; ComplianceEngineer is not an external regulatory authority.24 */2526package DE4SDV_Stakeholders {27 enum def PriorityKind :> ScalarValues::Real {28 none = 0.0;29 low = 0.25;30 medium = 0.5;31 high = 0.75;32 critical = 1.0;33 }3435 enum def StakeholderCategoryKind {36 Expert;37 RequirementOwner;38 User;39 Other;40 }4142 part def Stakeholder {43 private doc ontologyDefinition /* A role, person, organization, or community with concerns about the system or44 * increment. */45 doc /* Reusable role of a party participating in or affected by engineering.46 * Not one identified individual or a grant of acceptance authority. */47 attribute risk : PriorityKind;48 attribute effort : PriorityKind;49 attribute contact : ScalarValues::String;50 attribute categories[*] : StakeholderCategoryKind;51 }5253 // ─── DE4SDV-originated roles ───5455 part def RoadUser :> Stakeholder;56 part def VehicleOccupant :> Stakeholder;57 part def SystemsEngineer :> Stakeholder;58 part def ProductLineEngineer :> Stakeholder;59 part def ComplianceEngineer :> Stakeholder;60 part def VerificationEngineer :> Stakeholder;61 part def OpenSourceReviewer :> Stakeholder;6263 // ─── Eight locally adapted GfSE SAF roles (separate from local roles) ───64 // Source: https://github.com/GfSE/SAF-SysMLV2/blob/c57bd42db60a00c51168f6aba8e2229ba0165b6c/Stakeholders/stakeholders_library.sysml65 // License: Apache-2.06667 part def SafetyExpert :> Stakeholder {68 doc /*69 * Evaluates system safety and ensures safety measures are implemented.70 * Source: GfSE SAF stakeholder library — SafetyExpert.71 */72 }7374 part def SecurityExpert :> Stakeholder {75 doc /*76 * Ensures the system design meets security requirements and mitigates77 * vulnerabilities.78 * Source: GfSE SAF stakeholder library — SecurityExpert.79 */80 }8182 part def SystemArchitect :> Stakeholder {83 doc /*84 * Designs and maintains the system architecture.85 * Source: GfSE SAF stakeholder library — SystemArchitect.86 */87 }8889 part def SoftwareDeveloper :> Stakeholder {90 doc /*91 * Organization or individual responsible for system development,92 * including design and testing.93 * Source: GfSE SAF stakeholder library — SoftwareDeveloper.94 */95 }9697 part def HardwareDeveloper :> Stakeholder {98 doc /*99 * Organization or individual responsible for hardware development,100 * including design and testing.101 * Source: GfSE SAF stakeholder library — HardwareDeveloper.102 */103 }104105 part def Maintainer :> Stakeholder {106 doc /*107 * Ensures system availability through maintenance during its lifecycle.108 * Source: GfSE SAF stakeholder library — Maintainer.109 */110 }111112 part def Supplier :> Stakeholder {113 doc /*114 * Organization or individual that enters into an agreement with the115 * Acquirer for the supply of a product or service.116 * Source: GfSE SAF stakeholder library — Supplier (ISO/IEC 15288:2022).117 */118 }119120 part def ProjectManager :> Stakeholder {121 doc /*122 * Responsible for project resources, planning, and meeting milestones.123 * Source: GfSE SAF stakeholder library — ProjectManager.124 */125 }126}127