Skip to content

Commit

Permalink
Add licenseXml property to License and LicenseAddition
Browse files Browse the repository at this point in the history
Resolves #359

Signed-off-by: Gary O'Neall <gary@sourceauditor.com>
  • Loading branch information
goneall committed Aug 13, 2023
1 parent e7838ef commit 27371c9
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
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

0 comments on commit 27371c9

Please sign in to comment.