Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add licenseListVersion to LicenseExpression #481

Merged
merged 4 commits into from
Aug 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions model/SimpleLicensing/Classes/LicenseExpression.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ SPDX License Expressions provide a way for one to construct expressions that mor
- type: xsd:string
- minCount: 1
- maxCount: 1
- licenseListVersion
- type: /Core/SemVer
- maxCount: 1
- customIdToUri
- type: /Core/DictionaryEntry
- minCount: 0
20 changes: 20 additions & 0 deletions model/SimpleLicensing/Properties/licenseListVersion.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
SPDX-License-Identifier: Community-Spec-1.0

# licenseListVersion

## Summary

The version of the SPDX License List used in the license expression.

## Description

Recognizing that licenses are added to the SPDX License List with each subsequent version, the intent is to provide consumers with the version of the SPDX License List used.
This anticipates that in the future, license expression might have used a version of the SPDX License List that is older than the then current one.
The specified version of the SPDX License List must include all listed licenses and exceptions referenced in the expression.

## Metadata

- name: licenseListVersion
- Nature: DataProperty
- Range: /Core/SemVer