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 licenseXml property to License and LicenseAddition #451

Merged
merged 1 commit into from
Aug 13, 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
4 changes: 4 additions & 0 deletions model/ExpandedLicensing/Classes/License.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,7 @@ A License represents a license text, whether listed on the SPDX License List
- type: xsd:string
- minCount: 0
- maxCount: 1
- licenseXml
- type: xsd:string
- minCount: 0
- maxCount: 1
4 changes: 4 additions & 0 deletions model/ExpandedLicensing/Classes/LicenseAddition.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,7 @@ or otherwise) which is defined by an SPDX data creator (CustomLicenseAddition).
- type: xsd:string
- minCount: 0
- maxCount: 1
- licenseXml
- type: xsd:string
- minCount: 0
- maxCount: 1
19 changes: 19 additions & 0 deletions model/ExpandedLicensing/Properties/licenseXml.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
SPDX-License-Identifier: Community-Spec-1.0

# licenseXml

## Summary

Identifies all the text and metadata associated with a license in the license XML format.

## Description

The license XML format is defined and used by the SPDX legal team.
See the XML fields defined at https://github.com/spdx/license-list-XML/blob/main/DOCS/xml-fields.md for a text description.
There is also an XML schema available at https://github.com/spdx/license-list-XML/blob/main/schema/ListedLicense.xsd.

## Metadata

- name: standardLicenseTemplate
- Nature: DataProperty
- Range: xsd:string