Skip to content

Rename ContactPointRelationshipType -> ContactType; Revise hasContactPoint desc - #1271

Open
bact wants to merge 5 commits into
spdx:developfrom
bact:rename-contacttype
Open

Rename ContactPointRelationshipType -> ContactType; Revise hasContactPoint desc#1271
bact wants to merge 5 commits into
spdx:developfrom
bact:rename-contacttype

Conversation

@bact

@bact bact commented May 17, 2026

Copy link
Copy Markdown
Collaborator
  • Rename ContactPointRelationshipType to ContactType
  • Update ContactType description
    • Make it more explicit that this is an enum (not a property; it does not directly "provide information")
    • Remove "securityVulnerability" example that just repeating the entry description.
  • Update "hasContactPoint" relationship type description
    • Make it clearer that the contact type is in the to element
    • Use "can" (ISO verb for possibility / capability) instead of "may" (permission)

…onship

- Clarify description of hasContactPoint
  - "security" type of contact is not exist (what exist is "securityVulnerability")
  - Make it more clear that the contact type is in the `to` element
- Rename `ContactPointRelationshipType` to `ContactType`
  - Remove ambiguity whether it is a type of `ContactPointRelationship` (it is not)
  - Matched `contactType` property
  - Shorter
  - See `LifecycleScopeType` (for `LifecycleScopedRelationship`) for example
- Update the `ContactType` description
  - Remove "securityVulnerability" example that just repeating the entry description.
  - Make it more explicit that this is an enum (not the property)

Signed-off-by: Arthit Suriyawongkul <arthit@gmail.com>
@bact bact added this to the 3.1-rc2 milestone May 17, 2026
@bact
bact requested a review from rnjudge May 17, 2026 14:11
@bact bact added Profile:Core Core profile and related matters relationship Relationship and related matters labels May 17, 2026
@bact bact changed the title Clarify hasContactPoint reltype and contactType of ContactPointRelationship Clarify hasContactPoint reltype; ContactPointRelationshipType -> ContactType May 17, 2026
@bact bact changed the title Clarify hasContactPoint reltype; ContactPointRelationshipType -> ContactType Rename ContactPointRelationshipType -> ContactType; Revise hasContactPoint desc May 17, 2026
@bact

bact commented May 17, 2026

Copy link
Copy Markdown
Collaborator Author

The name *RelationshipType should be reserved for a vocab that constrains two ends of relationships.

bact added 3 commits May 18, 2026 13:48
Signed-off-by: Arthit Suriyawongkul <arthit@gmail.com>
Signed-off-by: Arthit Suriyawongkul <arthit@gmail.com>
may = persmission
can = possibility / capability

Signed-off-by: Arthit Suriyawongkul <arthit@gmail.com>
@bact
bact requested review from kestewart and zvr May 27, 2026 01:18
## Summary

Identifies the nature of the contactPointRelationship.
Identifies the nature of the `ContactPointRelationship`.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be ContactPoint?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As we still have ContactPointRelationship as a subclass of Relationship, this -Relationship suffixed naming is consistent with classes like /Core/LifecycleScopedRelationship and /Security/VulnAssessmentRelationship.

@goneall

goneall commented Aug 28, 2026

Copy link
Copy Markdown
Member

@bact - if you could resolve the conflicts, we can merge in. On a call with @kestewart and Kate's OK with the change.

Signed-off-by: Arthit Suriyawongkul <arthit@gmail.com>
@bact
bact requested a review from kestewart August 29, 2026 20:46
@bact

bact commented Aug 29, 2026

Copy link
Copy Markdown
Collaborator Author

Conflicts resolved.

@goneall

goneall commented Aug 29, 2026

Copy link
Copy Markdown
Member

@kestewart - ready to merge - if you could do a second review and merge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Profile:Core Core profile and related matters relationship Relationship and related matters

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ContactPointRelationType is not a vocab for relationship type

3 participants