RoleRelationship

Summary

RoleRelationship represents a relationship between an entity holding a role and the scope or context in which that role applies. The givenRole property specifies the role assigned.

Description

RoleRelationship is a concrete subclass of Relationship that captures the connection between an entities (such as a person, organization, tool, or component) and the specific position, function, or responsibility it fulfills. This relationship type is used when documenting roles that are not implicitly defined by the SPDX document structure, allowing explicit modeling of organizational responsibilities, tooling involvement, or component functions across systems or contexts. RoleRelationship inherits the from and to properties from Relationship, where:

  • relationshipType = hasRoleIn.
  • from: The element to which the role is assigned (the role recipient).
  • to: The context, system, element or domain within which the role exists.

Metadata

https://spdx.org/rdf/3.1/terms/Core/RoleRelationship

Name RoleRelationship
Instantiability Concrete
SubclassOf Relationship

Class hierarchy

/Core/Element
       /Core/Relationship
             /Core/RoleRelationship

Properties

Property Type minCount maxCount
assignedBy Agent 0 *
givenRole Role 1 *

All properties

Property Type minCount maxCount
assignedBy Agent 0 *
comment xsd:string 0 1
completeness RelationshipCompleteness 0 1
creationInfo CreationInfo 1 1
description xsd:string 0 1
endTime DateTime 0 1
extension Extension 0 *
externalIdentifier ExternalIdentifier 0 *
externalRef ExternalRef 0 *
from Element 1 1
givenRole Role 1 *
name xsd:string 0 1
relationshipType RelationshipType 1 1
spdxId xsd:anyURI 1 1
startTime DateTime 0 1
summary xsd:string 0 1
to Element 1 *
verifiedUsing IntegrityMethod 0 *