You are correct in your understanding, and exactly as you say, the MIT license, 
for example, is an instance of ListedLicense.

The listed licenses and exceptions are not part of the information _model_; 
rather they are additional data.

You can find them all in different formats, in the 
https://github.com/spdx/license-list-data repository.
For example, the MIT license in Turtle format is expressed in 
https://github.com/spdx/license-list-data/blob/main/rdfturtle/MIT.ttl (in 
SPDXv2 ontology, for now; they will published as instances of SPDXv3 classes 
shortly).

The identifiers of these licenses are in the form of 
http://spdx.org/licenses/MIT.

So, in your example, there will be a Relationship with properties:

  *   type hasDeclaredLicense
  *   from a SoftwareArtifact
  *   to  http://spdx.org/licenses/MIT, which is an SPDX identifier (what in v3 
we call spdxId).

--
zvr
From: [email protected] <[email protected]> On Behalf Of 
[email protected]
Sent: Monday, 5 August, 2024 17:55
To: [email protected]
Subject: [spdx-tech] Question regarding ListedLicense

At the outreach meeting I realized that the "ListedLicense" class should not be 
instanciated directly. Instead, the existing (the listed) SPDX license should 
be referenced.

Alexios, you mentioned "NoAssertionLicense" and "NoneLicense" as examples of 
individuals included in the SPDX model (and I know of "NoAssertionElement" and 
"NoneElement" in Core).
Did you mean to say that the SPDX model should include the list of SPDX 
licenses as individuals that instantiate the "ListedLicense" class?

For example, a package that is licensed using MIT would be documented as:
Package instance <from- Relationship instance using "hasDeclaredLicense" -to> 
the provided "MIT" individual

Is that's correct? If so, are there plans to add those individuals to the model?

Intel Deutschland GmbH
Registered Address: Am Campeon 10, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Sean Fennelly, Jeffrey Schneiderman, Tiffany Doon Silva
Chairperson of the Supervisory Board: Nicole Lau
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#5690): https://lists.spdx.org/g/Spdx-tech/message/5690
Mute This Topic: https://lists.spdx.org/mt/107734547/21656
Group Owner: [email protected]
Unsubscribe: https://lists.spdx.org/g/Spdx-tech/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to