-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add customIdToUri Map to LicenseExpression
Fixes #380 Signed-off-by: Gary O'Neall <[email protected]>
- Loading branch information
Showing
2 changed files
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
SPDX-License-Identifier: Community-Spec-1.0 | ||
|
||
# customIdToUri | ||
|
||
## Summary | ||
|
||
Maps a LicenseRef or AdditionRef string for a Custom License or a Custom License Addition to its URI ID. | ||
|
||
## Description | ||
|
||
Within a License Expression, references can be made to a Custom License or a Custom License Addition. | ||
The License Expression syntax dictates any refence starting with a "LicenseRef-" or "AdditionRef-" refers to license or addition text not found in the SPDX list of licenses. | ||
These custom licenses must be a CustomLicense, a CustomLicenseAddtion, or a SimpleLicensingText which are identified with a unique URI identifier. | ||
The key for the DictionaryEntry is the string used in the license expression and the value is the URI for the corrosponding CustomLicense, CustomLicenseAddition, or SimpleLicensingText. | ||
|
||
|
||
## Metadata | ||
|
||
- name: customIdToUri | ||
- Nature: ObjectProperty | ||
- Range: /Core/DictionaryEntry |