|
|
(2 intermediate revisions by one other user not shown) |
Line 1: |
Line 1: |
− | <p>SPDX Vocabulary Specification<br /> <br /> Version:<br /> 1.0<br /> <br /> Latest Version:<br /> http://spdx.org/rdf/terms<br /><br /> Alternate Formats:<br /> <br /> <br /> RDF/XML<br /> Turtle<br /> <br /> <br /> <br /> <br /> Copyright © 2010-2011 Linux Foundation and its Contributors. All other rights are expressly reserved.<br /> Licensed under the Creative Commons Attribution License 3.0 unported.<br /><br /> Abstract<br /> <br /> <br /> This specification describes the SPDX language, defined as a dictionary of named properties and classes using W3C's RDF Technology.<br /><br /> SPDX is a designed to allow the exchange of data about software packages. This information includes general information about the package, licensing information about the package as a whole, a manifest of files contained in the package and licensing information related to the contained files.<br /> <br /><br /> The spdx prefix used in this document expands to http://spdx.org/rdf/terms#. Any terms in this document without an explicit prefix may be assumed to be in the spdx namespace.<br /><br /><br /> Other vocabularies used by this one<br /><br /> <br /> DOAP <br /> <br /><br /> Classes<br /><br /> <br /> SpdxDocument<br /> CreationInfo<br /> Package<br /> ExtractedLicensingInfo<br /> Checksum<br /> PackageVerificationCode<br /> File<br /> Review<br /> License<br /> ConjunctiveLicenseSet<br /> DisjunctiveLicenseSet<br /> AnyLicenseInfo<br /> SimpleLicenseInfo<br /> <br /><br /> <br /> Class: SpdxDocument<br /><br /> An SdpxDocument is a summary of the contents, provenance, ownership and licensing analysis of a specific software package. This is, effectively, the top level of SPDX information.<br /><br /> <br /> Status:<br /> stable<br /> <br /> Properties:<br /> <br /> <br /> specVersion<br /> <br />Cardinality: Mandatory, one<br /> <br /> <br /> dataLicense<br /> <br />Cardinality: Mandatory, one<br /><br /> <br /> creationInfo<br /> <br />Cardinality: Mandatory, one<br /> <br /> <br /> <br /> describesPackage<br /> <br />Cardinality: Mandatory, one<br /> <br /><br /> <br /> hasExtractedLicensingInfo<br /> <br />Cardinality: Optional, zero or more <br /><br /> <br /> referencesFile<br /> <br />Cardinality: Mandatory, one or more<br /> <br /><br /> <br /> reviewed<br /> <br />Cardinality: Optional, zero or more.<br /> <br /><br /> <br /> <br /> <br /> <br /><br /> <br /> Class: CreationInfo<br /><br /> A CreationInfo provides information about the individuals, organizations and tools involved in the creation of an SpdxDocument.<br /><br /> <br /> Status:<br /> stable<br /> <br /> Properties:<br /><br /> <br /> <br /> creator<br /> <br />Cardinality: Mandatory, one or more<br /><br /> <br /> created<br /> <br />Cardinality: Mandatory, one<br /><br /> <br /> <br /> rdfs:comment<br /> <br />Cardinality: Optional, zero or one<br /><br /> <br /> <br /> <br /> <br /><br /> <br /> Class: Package<br /><br /> A Package represents a collection of software files that are delivered as a single functional component.<br /><br /> <br /> Status:<br /> stable<br /> <br /> Properties:<br /><br /> <br /> <br /> name<br /> <br />Cardinality: Mandatory, one<br /><br /> <br /> versionInfo<br /> <br />Cardinality: Optional, zero or one<br /> <br /> <br /> packageFileName<br /> <br />Cardinality: Mandatory, one<br /><br /> <br /> supplier<br /> <br />Cardinality: Optional, zero or one<br /><br /> <br /> originator<br /> <br />Cardinality: Optional, zero or one<br /> <br /> <br /> downloadLocation<br /> <br />Cardinality: Mandatory, one<br /><br /> <br /> packageVerificationCode<br /> <br />Cardinality: Mandatory, one<br /><br /> <br /> checksum<br /> <br />Cardinality: Optional, zero or one<br /><br /> <br /> sourceInfo<br /> <br />Cardinality: Optional, zero or one<br /><br /> <br /> licenseConcluded<br /> <br />Cardinality: Mandatory, one<br /><br /> <br /> licenseInfoFromFiles<br /> <br />Cardinality: Mandatory, one or more<br /><br /> <br /> licenseDeclared<br /> <br />Cardinality: Mandatory, one<br /><br /> <br /> licenseComments<br /> <br />Cardinality: Optional, zero or one <br /><br /> <br /> copyrightText<br /> <br />Cardinality: Mandatory, one<br /><br /> <br /> summary<br /> <br />Cardinality: Optional, zero or one<br /><br /> <br /> description<br /> <br />Cardinality: Optional, zero or one<br /><br /> <br /> hasFile<br /> <br />Cardinality: Mandatory, one or more<br /><br /> <br /> <br /> <br /> <br /><br /> <br /> Class: ExtractedLicensingInfo<br /><br /> An ExtractedLicensingInfo represents a license or licensing notice that was found in the package. Any license text that is recognized as a license may be represented as a License rather than an ExtractedLicensingInfo.<br /><br /> <br /> Status:<br /> stable<br /> <br /> Properties:<br /><br /> <br /> <br /> licenseId<br /> <br />Cardinality: Mandatory, one<br /><br /> <br /> extractedText<br /> <br />Cardinality: Mandatory, one<br /><br /> <br /> <br /> <br /> <br /><br /> <br /> Class: File <br /><br /> A File represents a named sequence of information that is contained in a software package.<br /><br /> <br /> Status:<br /> stable<br /> <br /> Properties:<br /><br /> <br /> <br /> fileName<br /> <br />Cardinality: Mandatory, one <br /><br /> <br /> fileType<br /> <br />Cardinality: Optional, zero or one <br /><br /> <br /> checksum<br /> <br />Cardinality: Mandatory, one <br /><br /> <br /> licenseConcluded<br /> <br />Cardinality: Mandatory, one <br /><br /> <br /> licenseInfoInFile<br /> <br />Cardinality: Mandatory, one or more <br /><br /> <br /> licenseComments<br /> <br />Cardinality: Optional, zero or one <br /><br /> <br /> copyrightText<br /> <br />Cardinality: Mandatory, one<br /><br /> <br /> artifactOf<br /> <br />Cardinality: Optional, zero or one <br /><br /> <br /> <br /> <br /> <br /><br /> <br /> Class: Review<br /><br /> A Review represents an audit and signoff by an individual, organization or tool on the information in an SpdxDocument.<br /><br /> <br /> Status:<br /> stable<br /> <br /> Properties:<br /><br /> <br /> <br /> reviewer<br /> <br />Cardinality: Mandatory, one<br /><br /> <br /> reviewDate<br /> <br />Cardinality: Mandatory, one<br /><br /> <br /> <br /> rdfs:comment<br /> <br />Cardinality: Optional, zero or one<br /><br /> <br /> <br /> <br /> <br /><br /> <br /> Class: License<br /> <br /> A License represents a software copyright license. This class is used by the SPDX license list to represent standard licenses.<br /> <br /> <br /> Status:<br /> stable<br /> <br /> Properties:<br /><br /> <br /> <br /> licenseId<br /> <br />Cardinality: Mandatory, one <br /> <br /> <br /> licenseText<br /> <br />Cardinality: Mandatory, one <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> Class: Checksum<br /><br /> A Checksum is value that allows the contents of a file to be authenticated. Even small changes to the content of the file will change it's checksum. This class allows the results of a variety of checksum and cryptographic message digest algorithms to be represented.<br /><br /> <br /> Status:<br /> stable<br /> <br /> Properties:<br /><br /> <br /> <br /> algorithm<br /> <br />Cardinality: Mandatory, one<br /><br /> <br /> checksumValue<br /> <br />Cardinality: Mandatory, one<br /><br /> <br /> <br /> <br /> <br /><br /> <br /> Class: PackageVerificationCode<br /><br /> A PackageVerificationCode is a value that allows authentication of the package. This differs from the Checksum in that it uses an algorithm that allows the SPDX file to be embedded in the package. This verification code is produced using a cryptographic hash algorithm applied to a manifest of the package. Some files in the package (e.g. the SPDX files) are explicitly excluded from the verification code. This allows those excluded files to not impact the verification code.<br /><br /> <br /> Status:<br /> stable<br /> <br /> Properties:<br /><br /> <br /> <br /> packageVerificationCodeExcludedFile<br /> <br />Cardinality: Optional, zero or more<br /><br /> <br /> packageVerificationCodeValue<br /> <br />Cardinality: Mandatory, one<br /><br /> <br /> <br /> <br /> <br /><br /> <br /> Class: ConjunctiveLicenseSet<br /><br /> A ConjunctiveLicenseSet represents a set of licensing information all of which apply.<br /><br /> This class refines rdfs:Container. <br /><br /> <br /> Status:<br /> stable<br /> <br /> Properties:<br /><br /> <br /> <br /> member<br /> <br />Cardinality: Mandatory, two or more.<br /><br /> <br /> <br /> <br /> <br /><br /> <br /> Class: DisjunctiveLicenseSet<br /><br /> A DisjunctiveLicenseSet represents a set of licensing information where only one license applies at a time. This class implies that the recipient gets to choose one of these licenses they would prefer to use.<br /><br /> This class refines rdfs:Container. <br /><br /> <br /> Status:<br /> stable<br /> <br /> Properties:<br /><br /> <br /> <br /> member<br /> <br />Cardinality: Mandatory, two or more.<br /><br /> <br /> <br /> <br /> <br /><br /> <br /> Class: AnyLicenseInfo<br /><br /> The AnyLicenseInfo class includes all resources that represent licensing information.<br /><br /><br /> <br /> Status:<br /> stable<br /> <br /> Members<br /> All resources in any of the following classes:<br /> <br /> <br /> License<br /> <br /> ExtractedLicensingInfo<br /> <br /> ConjunctiveLicenseSet<br /> <br /> DisjunctiveLicenseSet<br /> <br /> <br /> <br /> <br /><br /> <br /> Class: SimpleLicenseInfo<br /><br /> The SimpleLicenseInfo class includes all resources that represent simple, atomic, licensing information.<br /><br /><br /> <br /> Status:<br /> stable<br /> <br /> Members<br /> All resources in any of the following classes:<br /> <br /> <br /> License<br /> <br /> ExtractedLicensingInfo<br /> <br /> <br /> <br /> <br /><br /><br /> Properties<br /> <br /> <br /> algorithm<br /> artifactOf<br /> checksum<br /> checksumValue<br /> copyrightText<br /> created<br /> creationInfo<br /> creator<br /> dataLicense<br /> describesPackage<br /> description<br /> downloadLocation<br /> extractedText<br /> fileName<br /> fileType<br /> hasExtractedLicensingInfo<br /> hasFile<br /> licenseComments<br /> licenseConcluded<br /> licenseDeclared<br /> licenseId<br /> licenseText<br /> licenseInfoFromFiles<br /> licenseInfoInFile<br /> member<br /> name<br /> originator<br /> packageFileName<br /> packageVerificationCode<br /> packageVerificationCodeExcludedFile<br /> packageVerificationCodeValue<br /> referencesFile<br /> reviewDate<br /> reviewed<br /> reviewer<br /> sourceInfo<br /> specVerison<br /> summary<br /> supplier<br /> versionInfo<br /> <br /><br /> <br /> Property: algorithm<br /><br /> Identifies the algorithm used to produce the subject Checksum.<br /> <br /> Currently, SHA-1 is the only supported algorithm. It is anticipated that other algorithms will be supported at a later time.<br /><br /> <br /> Status: stable <br /> Domain: Checksum <br /> Range: <br /> spdx:checksumAlgorithm_sha1 <br /> <br /> <br /> <br /> <br /> <br /><br /> <br /> Property: artifactOf<br /><br /> <br /> Indicates the project in which the file originated.<br /> <br /> Tools must preserve doap:hompage and doap:name properties and the URI (if one is known) of doap:Project resources that are values of this property. All other properties of doap:Projects are not directly supported by SPDX and may be dropped when translating to or from some SPDX formats.<br /><br /> <br /><br /> <br /> Status: stable <br /> Domain: File <br /> Range: doap:Project <br /> <br /> <br /> <br /><br /> <br /> Property: checksum<br /><br /> The checksum property provides a mechanism that can be used to verify that the contents of a File or Package have not changed.<br /><br /> <br /> Status: stable <br /> Domain: Any of:<br /> <br /> <br /> Package <br /> File <br /> <br /> <br /> Range:Checksum<br /> <br /> <br /><br /> <br /> Property: checksumValue<br /><br /> The checksumValue property provides a lower case hexidecimal encoded digest value produced using a specific algorithm.<br /><br /> <br /> Status: stable <br /> Domain:Checksum<br /> Range:xsd:hexBinary<br /> <br /> <br /><br /> <br /> Property: created<br /><br /> The date and time at which the SpdxDocument was created. This value must in UTC and have 'Z' as its timezone indicator.<br /><br /> <br /> Status: stable <br /> Domain:CreationInfo<br /> Range:xsd:dateTime<br /> <br /> <br /><br /> <br /> Property: copyrightText<br /><br /> The text of copyright declarations recited in the Package or File.<br /><br /> <br /> Status: stable <br /> Domain: Any of:<br /> <br /> <br /> Package <br /> File <br /> <br /><br /> Range: Any of:<br /> <br /> <br /> rdfs:Literal <br /> spdx:none <br /> spdx:noassertion <br /> <br /><br /> <br /> <br /><br /> <br /> Property: creationInfo<br /><br /> The creationInfo property relates an SpdxDocument to a set of information about the creation of the SpdxDocument.<br /><br /> <br /> Status: stable <br /> Domain:SpdxDocument<br /> Range:CreationInfo<br /> <br /> <br /><br /> <br /> Property: creator<br /><br /> <br /> The name and, optionally, contact information of a person, organization or tool that created, or was used to create, the SpdxDocument.<br /><br /> Values of this property must conform to the agent and tool syntax.<br /> <br /><br /> <br /> Status: stable <br /> Domain:CreationInfo<br /> Range:xsd:string<br /> <br /> <br /><br /> <br /> Property: dataLicense<br /><br /> <br /> The licensing under which the creator of this SPDX document allows related data to be reproduced.<br /><br /> The only valid value for this property is http://spdx.org/licenses/PDDL-1.0. This is to alleviate any concern that content (the data) in an SPDX file is subject to any form of intellectual property right that could restrict the re-use of the information or the creation of another SPDX file for the same project(s). This approach avoids intellectual property and related restrictions over the SPDX file, however individuals can still contract one to one to restrict release of specific collections of SPDX files (which map to software bill of materials) and the identification of the supplier of SPDX files.<br /> <br /> <br /> <br /> Status: stable<br /> Domain:SpdxDocument <br /> Range: <br /> <br /> http://spdx.org/licenses/PDDL-1.0<br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> Property: describesPackage<br /><br /> The describesPackage property relates an SpdxDocument to the package which it describes.<br /><br /> <br /> Status: stable <br /> Domain:SpdxDocument<br /> Range:Package<br /> <br /> <br /><br /> <br /> Property: description<br /><br /> Provides a detailed description of the package.<br /><br /> <br /> Status: stable <br /> Domain:Package<br /> Range:xsd:string<br /> <br /> <br /><br /> <br /> Property: downloadLocation<br /><br /> The URI at which this package is available for download. Private (i.e., not publicly reachable) URIs are acceptable as values of this property.<br /><br /> The values http://spdx.org/rdf/terms#none and http://spdx.org/rdf/terms#noassertion may be used to specify that the package is not downloadable or that no attempt was made to determine its download location, respectively.<br /><br /> <br /> Status: stable <br /> Domain: Package <br /> Range: xsd:anyURI<br /> <br /> <br /><br /> <br /> Property: extractedText<br /><br /> Verbatim license or licensing notice text that was discovered.<br /><br /> <br /> Status: stable <br /> Domain: ExtractedLicensingInfo <br /> Range: xsd:string<br /> <br /> <br /><br /> <br /> Property: fileName<br /><br /> The name of the file relative to the root of the package.<br /><br /> <br /> Status: stable <br /> Domain:File<br /> Range: xsd:string<br /> <br /> <br /><br /> <br /> Property: fileType<br /><br /> The type of the file.<br /><br /> <br /> Status: stable <br /> Domain: File <br /> Range: <br /> One of:<br /> <br /> <br /> <br /> spdx:fileType_source <br /> Indicates the file is a source code file. <br /><br /> <br /> spdx:fileType_archive <br /> Indicates the file is an archive file.<br /> <br /><br /> <br /> spdx:fileType_binary <br /> Indicates the file is not a text file. filetype_archive is preferred for archive files even though they are binary.<br /> <br /><br /> <br /> spdx:fileType_other <br /> Indicates the file did not fall into any of the other categories.<br /> <br /> <br /> <br /> <br /> <br /> <br /><br /> <br /> Property: hasExtractedLicensingInfo<br /><br /> Indicates that a particular ExtractedLicensingInfo was defined in the subject SpdxDocument.<br /><br /> <br /> Status: stable <br /> Domain:SpdxDocument<br /> Range:ExtractedLicensingInfo<br /> <br /> <br /><br /> <br /> Property: hasFile<br /><br /> Indicates that a particular file belongs to a package.<br /><br /> <br /> Status: stable <br /> Domain:Package<br /> Range:File<br /> <br /> <br /><br /> <br /> Property: licenseComments<br /><br /> The licenseComments property allows the preparer of the SPDX document to describe why the licensing in spdx:licenseConcluded was chosen.<br /><br /> <br /> Status: stable <br /> Domain: Any of:<br /> <br /> Package <br /> File <br /> <br /><br /> Range:xsd:string<br /> <br /> <br /><br /> <br /> Property: licenseConcluded<br /><br /> The licensing that the preparer of this SPDX document has concluded, based on the evidence, actually applies to the package.<br /> <br /> <br /> Status: stable <br /> Domain: Any of:<br /> <br /> <br /> Package <br /> File <br /> <br /><br /> Range: <br /> Any of:<br /> <br /> <br /> <br /> <br /> AnyLicenseInfo<br /> <br /> spdx:none<br /> <br /> spdx:noassertion<br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> Property: licenseDeclared<br /><br /> The licensing that the creators of the software in the package, or the packager, have declared. Declarations by the original software creator should be preferred, if they exist.<br /> <br /> <br /> Status: stable <br /> Domain: Package <br /> Range: <br /> Any of:<br /> <br /> <br /> <br /> <br /> AnyLicenseInfo<br /> <br /> spdx:none<br /> <br /> spdx:noassertion<br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> Property: licenseId<br /><br /> A short name for the license that is at least 3 characters long and made up of the characters from the set 'a'-'z', 'A'-'Z', '0'-'9', '+', '_', '.', and '-'. Formally, all licenseId values must match the regular expression: [-+_.a-zA-Z0-9]{3,}<br /><br /> <br /> Status: <br /> stable <br /><br /> Domain:<br /> <br /> <br /> <br /> License<br /> <br /> ExtractedLicensingInfo<br /> <br /> <br /><br /> Range: xsd:string<br /> <br /> <br /><br /> <br /> Property: licenseText<br /><br /> The full text of the license.<br /><br /> <br /> Status: stable <br /> Domain: License <br /> Range: xsd:string<br /> <br /> <br /><br /> <br /> Property: licenseInfoFromFiles<br /> <br /> The licensing information that was discovered directly within the package. There will be an instance of this property for each distinct value of all licenseInfoInFile properties of all files contained in the package.<br /> <br /> <br /> Status: stable <br /> Domain: Package <br /> Range: <br /> Any of:<br /> <br /> <br /> <br /> <br /> SimpleLicenseInfo<br /> <br /> spdx:none<br /> <br /> spdx:noassertion<br /><br /> <br /> <br /> <br /> <br /> <br /> <br /><br /> <br /> Property: licenseInfoInFile<br /><br /> Licensing information that was discovered directly in the subject file.<br /> <br /> <br /> Status: stable <br /> Domain: File <br /> Range: <br /> Any of:<br /> <br /> <br /> <br /> <br /> SimpleLicenseInfo<br /> <br /> spdx:none<br /> <br /> spdx:noassertion<br /> <br /> <br /> <br /> <br /> <br /> <br /><br /> <br /> Property: member<br /><br /> A license, or other licensing information, that is a member of the subject license set.<br /><br /> <br /> Status: stable <br /> Domain: <br /> Any of:<br /><br /> <br /> <br /> ConjunctiveLicenseSet <br /> DisjunctiveLicenseSet <br /> <br /><br /> Range: AnyLicenseInfo<br /><br /> Refines: rdfs:member <br /> <br /> <br /><br /> <br /> Property: name<br /><br /> The full name of the package including version information.<br /><br /> <br /> Status: stable <br /> Domain:Package<br /> Range: xsd:string<br /> <br /> <br /><br /> <br /> Property: originator<br /><br /> <br /> The name and, optionally, contact information of the person or organization that originally created the package.<br /><br /> Values of this property must conform to the agent and tool syntax.<br /> <br /><br /> <br /> Status: stable <br /> Domain: Package <br /> Range: <br /> xsd:string or the individual spdx:noassertion <br /> <br /> <br /> <br /><br /> <br /> Property: packageFileName<br /><br /> The base name of the package file name. For example, zlib-1.2.5.tar.gz.<br /><br /> <br /> Status: stable <br /> Domain: Package <br /> Range: xsd:string<br /> <br /> <br /><br /> <br /> Property: packageVerificationCode<br /><br /> <br /> A manifest based authentication code for the package. This allows consumers of this data to determine if a package they have in hand is identical to the package from which the data was produced. This algorithm works even if the SPDX document is included in the package. This algorithm is described in detail in the SPDX specification.<br /><br /> The package verification code algorithm is defined in section 4.7 of the full specification.<br /> <br /><br /> <br /> Status: stable <br /> Domain: Package <br /> Range: PackageVerificationCode<br /> <br /> <br /><br /> <br /> Property: packageVerificationCodeExcludedFile<br /><br /> A file that was excluded when calculating the package verification code. This is usually a file containing SPDX data regarding the package. If a package contains more than one SPDX file all SPDX files must be excluded from the package verification code. If this is not done it would be impossible to correctly calculate the verification codes in both files.<br /><br /> <br /> Status: stable <br /> Domain: PackageVerificationCode <br /> Range: xsd:string<br /> <br /> <br /><br /> <br /> Property: packageVerificationCodeValue<br /><br /> The actual package verification code as a hex encoded value.<br /><br /> <br /> Status: stable <br /> Domain: PackageVerificationCode <br /> Range:xsd:hexBinary<br /> <br /> <br /><br /> <br /> Property: referencesFile<br /><br /> Indicates that a particular file belongs as part of the set of analyzed files in the SpdxDocument.<br /><br /> <br /> Status: stable <br /> Domain:SpdxDocument<br /> Range:File<br /> <br /> <br /><br /> <br /> Property: reviewDate<br /><br /> The date and time at which the SpdxDocument was reviewed. This value must be in UTC and have 'Z' as its timezone indicator.<br /><br /> <br /> Status: stable <br /> Domain:Review<br /> Range:xsd:dateTime<br /> <br /> <br /><br /> <br /> Property: reviewed<br /><br /> The review property relates a SpdxDocument to the review history.<br /><br /> <br /> Status: stable <br /> Domain:SpdxDocument<br /> Range:Review<br /> <br /> <br /><br /> <br /> Property: reviewer<br /><br /> <br /> The name and, optionally, contact information of the person who performed the review.<br /> <br /> Values of this property must conform to the agent and tool syntax.<br /> <br /><br /> <br /> Status: stable <br /> Domain:Review<br /> Range:xsd:string<br /> <br /> <br /><br /> <br /> Property: sourceInfo<br /><br /> Allows the producer(s) of the SPDX document to describe how the package was acquired and/or changed from the original source.<br /><br /> <br /> Status: stable <br /> Domain: Package <br /> Range: xsd:string<br /> <br /> <br /><br /> <br /> Property: specVersion<br /><br /> Identifies the version of this specification that was used to produce this SPDX document. Currently the only supported value is SPDX-1.0.<br /><br /> <br /> Status: stable <br /> Domain: SpdxDocument <br /> Range: xsd:string<br /> <br /> <br /> <br /><br /> <br /> Property: summary<br /><br /> Provides a short description of the package.<br /><br /> <br /> Status: stable <br /> Domain: Package <br /> Range: xsd:string<br /> <br /> <br /><br /> <br /> Property: supplier<br /><br /> <br /> The name and, optionally, contact information of the person or organization that is the immediate supplier of this package to the recipient. The supplier may be different than originator when the software has been repackaged. For example if you get glibc from RedHat, RedHat is the Package Supplier, but FSF is the originator.<br /><br /> Values of this property must conform to the agent and tool syntax.<br /> <br /><br /> <br /> Status: stable <br /> Domain: Package <br /> Range: <br /> xsd:string or the individual spdx:noassertion <br /> <br /> <br /> <br /> <br /> <br /> Property: versionInfo<br /> <br /> Provides an indication of the version of the package that is described by this SpdxDocument.<br /> <br /> <br /> Status: stable <br /> Domain: Package <br /> Range: xsd:string<br /> <br /> <br /><br /> <br /><br /> Individuals<br /><br /> <br /> checksumAlgorithm_sha1<br /> fileType_archive<br /> fileType_binary<br /> fileType_other<br /> fileType_source<br /> noassertion<br /> none<br /> <br /><br /> <br /> Individual: checksumAlgorithm_sha1<br /><br /> Indicates the algorithm used was SHA-1<br /><br /> <br /> Status: stable <br /> <br /> <br /><br /> <br /> Individual: fileType_archive<br /><br /> Indicates the file is an archive file.<br /><br /> <br /> Status: stable <br /> <br /> <br /><br /> <br /> Individual: fileType_binary<br /><br /> Indicates the file is not a text file. spdx:filetype_archive is preferred for archive files even though they are binary.<br /><br /> <br /> Status: stable <br /> <br /> <br /><br /> <br /> Individual: fileType_other<br /><br /> Indicates the file is not a source, archive or binary file.<br /><br /> <br /> Status: stable <br /> <br /> <br /><br /> <br /> Individual: fileType_source<br /><br /> Indicates the file is a source code file.<br /><br /> <br /> Status: stable <br /> <br /> <br /><br /> <br /> Individual: noassertion<br /><br /> Indicates that the preparer of the SPDX document is not making any assertion<br /> regarding the value of this field.<br /><br /> <br /> Status: stable <br /> <br /><br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /><br /> <br /><br /> <br /> Individual: none<br /><br /> When this value is used as the object of a property it indicates that the preparer of the SpdxDocument believes that there is no value for the property. This value should only be used if there is sufficient evidence to support this assertion.<br /> <br /> <br /> Status: stable <br /> <br /><br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /><br /><br /> Agent and Tool Identifiers<br /> <br /> Fields that identify entities that have acted in relation to the SPDX file are single line of text which name the agent or tool and, optionally, provide contact information. For example, "Person: Jane Doe (jane.doe@example.com)", "Organization: ExampleCodeInspect (contact@example.com)" and "Tool: LicenseFind - 1.0". The exact syntax of agent and tool identifications is described below in ABNF.<br /><br /> <br />agent = person / organization<br /><br />tool = "Tool: " name 0*1( " " DASH " " version)<br />person = "Person: " name 0*1contact-info<br />organization = "Organization: " name 0*1contact-info<br /><br />name = 1*( UNRESERVED ) / U+0022 1*( VCHAR-SANS-QUOTE ) U+0022<br />contact-info = " (" email-addr ")"<br />email-addr = local-name-atom *( "." local-name-atom ) "@" domain-name-atom 1*( "." domain-name-atom )<br /> <br />version = 1*VCHAR-SANS-QUOTE<br /><br />local-name-atom = 1*( ALPHA / DIGIT / ; Printable US-ASCII<br /> "!" / "#" / ; characters not including<br /> "$" / "%" / ; specials.<br /> "&" / "'" /<br /> "*" / "+" /<br /> "-" / "/" /<br /> "=" / "?" /<br /> "^" / "_" /<br /> "`" / "{" /<br /> "|" / "}" /<br /> "~" )<br />domain-name-atom = 1*( ALPHA / DIGIT / "-" )<br /> <br />DASH = U+2010 / U+2212 / ; hyphen, minus, em dash and <br /> U+2013 / U+2014 ; en dash<br /> <br />UNRESERVED = U+0020-U+0027 / ; visible unicode characters <br /> U+0029-U+0080 / ; except '(' and dashes<br /> U+00A0-U+200F / <br /> U+2011-U+2027 / <br /> U+202A-U+2211 / <br /> U+2213-U+E01EF <br /> <br />VCHAR-SANS-QUOTE = U+0020-U+0021 / ; visible unicode characters <br /> U+0023-U+0080 / ; except quotation mark <br /> U+00a0-U+E01EF</p><p> </p>
| + | __NOTOC__ |
| + | == SPDX Vocabulary Specification == |
| + | |
| + | ; Version: |
| + | : 1.0 |
| + | ; Latest Version: |
| + | : http://spdx.org/rdf/terms |
| + | ; Alternate Formats: |
| + | :* [http://spdx.org/rdf/terms.rdf RDF/XML] |
| + | :* [http://spdx.org/rdf/terms.ttl Turtle] |
| + | |
| + | Copyright © 2010-2011 Linux Foundation and its Contributors. All other rights are expressly reserved. |
| + | |
| + | Licensed under the [http://creativecommons.org/licenses/by/3.0/ Creative Commons Attribution License 3.0 unported]. |
| + | |
| + | ==Abstract== |
| + | |
| + | This specification describes the SPDX language, defined as a dictionary of named properties and classes using W3C's RDF Technology. |
| + | |
| + | SPDX is a designed to allow the exchange of data about software packages. This information includes general information about the package, licensing information about the package as a whole, a manifest of files contained in the package and licensing information related to the contained files. |
| + | |
| + | The <code>spdx</code> prefix used in this document expands to <code>http://spdx.org/rdf/terms#</code>. Any terms in this document without an explicit prefix may be assumed to be in the <code>spdx</code> namespace. |
| + | |
| + | ==Other vocabularies used by this one== |
| + | |
| + | * [http://trac.usefulinc.com/doap DOAP] |
| + | |
| + | ==Classes== |
| + | |
| + | * <code>SpdxDocument</code> |
| + | * <code>CreationInfo</code> |
| + | * <code>Package</code> |
| + | * <code>ExtractedLicensingInfo</code> |
| + | * <code>Checksum</code> |
| + | * <code>PackageVerificationCode</code> |
| + | * <code>File</code> |
| + | * <code>Review</code> |
| + | * <code>License</code> |
| + | * <code>ConjunctiveLicenseSet</code> |
| + | * <code>DisjunctiveLicenseSet</code> |
| + | * <code>AnyLicenseInfo</code> |
| + | * <code>SimpleLicenseInfo</code> |
| + | |
| + | ===Class: <code>SpdxDocument</code>=== |
| + | |
| + | An <code>SdpxDocument</code> is a summary of the contents, provenance, ownership and licensing analysis of a specific software package. This is, effectively, the top level of SPDX information. |
| + | |
| + | ; Status: |
| + | : stable |
| + | ; Properties: |
| + | :* <code>specVersion</code><br />Cardinality: Mandatory, one |
| + | :* <code>dataLicense</code><br />Cardinality: Mandatory, one |
| + | :* <code>creationInfo</code><br />Cardinality: Mandatory, one |
| + | :* <code>describesPackage</code><br />Cardinality: Mandatory, one |
| + | :* <code>hasExtractedLicensingInfo</code><br />Cardinality: Optional, zero or more |
| + | :* <code>referencesFile</code><br />Cardinality: Mandatory, one or more |
| + | :* <code>reviewed</code><br />Cardinality: Optional, zero or more. |
| + | |
| + | ===Class: <code>CreationInfo</code>=== |
| + | |
| + | A <code>CreationInfo</code> provides information about the individuals, organizations and tools involved in the creation of an <code>SpdxDocument</code>. |
| + | |
| + | ; Status: |
| + | : stable |
| + | ; Properties: |
| + | :* <code>creator</code><br />Cardinality: Mandatory, one or more |
| + | :* <code>created</code><br />Cardinality: Mandatory, one |
| + | :* [http://www.w3.org/TR/rdf-schema/#ch_comment <code>rdfs:comment</code>]<br />Cardinality: Optional, zero or one |
| + | |
| + | ===Class: <code>Package</code>=== |
| + | |
| + | A <code>Package</code> represents a collection of software files that are delivered as a single functional component. |
| + | |
| + | ; Status: |
| + | : stable |
| + | ; Properties: |
| + | :* <code>name</code><br />Cardinality: Mandatory, one |
| + | :* <code>versionInfo</code><br />Cardinality: Optional, zero or one |
| + | :* <code>packageFileName</code><br />Cardinality: Mandatory, one |
| + | :* <code>supplier</code><br />Cardinality: Optional, zero or one |
| + | :* <code>originator</code><br />Cardinality: Optional, zero or one |
| + | :* <code>downloadLocation</code><br />Cardinality: Mandatory, one |
| + | :* <code>packageVerificationCode</code><br />Cardinality: Mandatory, one |
| + | :* <code>checksum</code><br />Cardinality: Optional, zero or one |
| + | :* <code>sourceInfo</code><br />Cardinality: Optional, zero or one |
| + | :* <code>licenseConcluded</code><br />Cardinality: Mandatory, one |
| + | :* <code>licenseInfoFromFiles</code><br />Cardinality: Mandatory, one or more |
| + | :* <code>licenseDeclared</code><br />Cardinality: Mandatory, one |
| + | :* <code>licenseComments</code><br />Cardinality: Optional, zero or one |
| + | :* <code>copyrightText</code><br />Cardinality: Mandatory, one |
| + | :* <code>summary</code><br />Cardinality: Optional, zero or one |
| + | :* <code>description</code><br />Cardinality: Optional, zero or one |
| + | :* <code>hasFile</code><br />Cardinality: Mandatory, one or more |
| + | |
| + | ===Class: <code>ExtractedLicensingInfo</code>=== |
| + | |
| + | An <code>ExtractedLicensingInfo</code> represents a license or licensing notice that was found in the package. Any license text that is recognized as a license may be represented as a <code>License</code> rather than an <code>ExtractedLicensingInfo</code>. |
| + | |
| + | ; Status: |
| + | : stable |
| + | ; Properties: |
| + | :* <code>licenseId</code><br />Cardinality: Mandatory, one |
| + | :* <code>extractedText</code><br />Cardinality: Mandatory, one |
| + | |
| + | ===Class: <code>File</code>=== |
| + | |
| + | A <code>File</code> represents a named sequence of information that is contained in a software package. |
| + | |
| + | ; Status: |
| + | : stable |
| + | ; Properties: |
| + | :* <code>fileName</code><br />Cardinality: Mandatory, one |
| + | :* <code>fileType</code><br />Cardinality: Optional, zero or one |
| + | :* <code>checksum</code><br />Cardinality: Mandatory, one |
| + | :* <code>licenseConcluded</code><br />Cardinality: Mandatory, one |
| + | :* <code>licenseInfoInFile</code><br />Cardinality: Mandatory, one or more |
| + | :* <code>licenseComments</code><br />Cardinality: Optional, zero or one |
| + | :* <code>copyrightText</code><br />Cardinality: Mandatory, one |
| + | :* <code>artifactOf</code><br />Cardinality: Optional, zero or one |
| + | |
| + | ===Class: <code>Review</code>=== |
| + | |
| + | A <code>Review</code> represents an audit and signoff by an individual, organization or tool on the information in an <code>SpdxDocument</code>. |
| + | |
| + | ; Status: |
| + | : stable |
| + | ; Properties: |
| + | :* <code>reviewer</code><br />Cardinality: Mandatory, one |
| + | :* <code>reviewDate</code><br />Cardinality: Mandatory, one |
| + | :* [http://www.w3.org/TR/rdf-schema/#ch_comment <code>rdfs:comment</code>]<br />Cardinality: Optional, zero or one |
| + | |
| + | ===Class: <code>License</code>=== |
| + | |
| + | A <code>License</code> represents a software copyright license. This class is used by the SPDX license list to represent standard licenses. |
| + | |
| + | ; Status: |
| + | : stable |
| + | ; Properties: |
| + | :* <code>licenseId</code><br />Cardinality: Mandatory, one |
| + | :* <code>licenseText</code><br />Cardinality: Mandatory, one |
| + | |
| + | ===Class: <code>Checksum</code>=== |
| + | |
| + | A <code>Checksum</code> is value that allows the contents of a file to be authenticated. Even small changes to the content of the file will change it's checksum. This class allows the results of a variety of checksum and cryptographic message digest algorithms to be represented. |
| + | |
| + | ; Status: |
| + | : stable |
| + | ; Properties: |
| + | :* <code>algorithm</code><br />Cardinality: Mandatory, one |
| + | :* <code>checksumValue</code><br />Cardinality: Mandatory, one |
| + | |
| + | ===Class: <code>PackageVerificationCode</code>=== |
| + | |
| + | A <code>PackageVerificationCode</code> is a value that allows authentication of the package. This differs from the <code>Checksum</code> in that it uses an algorithm that allows the SPDX file to be embedded in the package. This verification code is produced using a cryptographic hash algorithm applied to a manifest of the package. Some files in the package (e.g. the SPDX files) are explicitly excluded from the verification code. This allows those excluded files to not impact the verification code. |
| + | |
| + | ; Status: |
| + | : stable |
| + | ; Properties: |
| + | :* <code>packageVerificationCodeExcludedFile</code><br />Cardinality: Optional, zero or more |
| + | :* <code>packageVerificationCodeValue</code><br />Cardinality: Mandatory, one |
| + | |
| + | ===Class: <code>ConjunctiveLicenseSet</code>=== |
| + | |
| + | A <code>ConjunctiveLicenseSet</code> represents a set of licensing information all of which apply. |
| + | |
| + | This class refines [http://www.w3.org/TR/rdf-schema/#ch_container <code>rdfs:Container</code>]. |
| + | |
| + | ; Status: |
| + | : stable |
| + | ; Properties: |
| + | :* <code>member</code><br />Cardinality: Mandatory, two or more. |
| + | |
| + | ===Class: <code>DisjunctiveLicenseSet</code>=== |
| + | |
| + | A <code>DisjunctiveLicenseSet</code> represents a set of licensing information where only one license applies at a time. This class implies that the recipient gets to choose one of these licenses they would prefer to use. |
| + | |
| + | This class refines [http://www.w3.org/TR/rdf-schema/#ch_container <code>rdfs:Container</code>]. |
| + | |
| + | ; Status: |
| + | : stable |
| + | ; Properties: |
| + | :* <code>member</code><br />Cardinality: Mandatory, two or more. |
| + | |
| + | ===Class: <code>AnyLicenseInfo</code>=== |
| + | |
| + | The <code>AnyLicenseInfo</code> class includes all resources that represent licensing information. |
| + | |
| + | ; Status: |
| + | : stable |
| + | ; Members |
| + | : All resources in any of the following classes: |
| + | :* <code>License</code> |
| + | :* <code>ExtractedLicensingInfo</code> |
| + | :* <code>ConjunctiveLicenseSet</code> |
| + | :* <code>DisjunctiveLicenseSet</code> |
| + | |
| + | ===Class: <code>SimpleLicenseInfo</code>=== |
| + | |
| + | The <code>SimpleLicenseInfo</code> class includes all resources that represent simple, atomic, licensing information. |
| + | |
| + | ; Status: |
| + | : stable |
| + | ; Members |
| + | : All resources in any of the following classes: |
| + | :* <code>License</code> |
| + | :* <code>ExtractedLicensingInfo</code> |
| + | |
| + | ==Properties== |
| + | |
| + | * <code>algorithm</code> |
| + | * <code>artifactOf</code> |
| + | * <code>checksum</code> |
| + | * <code>checksumValue</code> |
| + | * <code>copyrightText</code> |
| + | * <code>created</code> |
| + | * <code>creationInfo</code> |
| + | * <code>creator</code> |
| + | * <code>dataLicense</code> |
| + | * <code>describesPackage</code> |
| + | * <code>description</code> |
| + | * <code>downloadLocation</code> |
| + | * <code>extractedText</code> |
| + | * <code>fileName</code> |
| + | * <code>fileType</code> |
| + | * <code>hasExtractedLicensingInfo</code> |
| + | * <code>hasFile</code> |
| + | * <code>licenseComments</code> |
| + | * <code>licenseConcluded</code> |
| + | * <code>licenseDeclared</code> |
| + | * <code>licenseId</code> |
| + | * <code>licenseText</code> |
| + | * <code>licenseInfoFromFiles</code> |
| + | * <code>licenseInfoInFile</code> |
| + | * <code>member</code> |
| + | * <code>name</code> |
| + | * <code>originator</code> |
| + | * <code>packageFileName</code> |
| + | * <code>packageVerificationCode</code> |
| + | * <code>packageVerificationCodeExcludedFile</code> |
| + | * <code>packageVerificationCodeValue</code> |
| + | * <code>referencesFile</code> |
| + | * <code>reviewDate</code> |
| + | * <code>reviewed</code> |
| + | * <code>reviewer</code> |
| + | * <code>sourceInfo</code> |
| + | * <code>specVerison</code> |
| + | * <code>summary</code> |
| + | * <code>supplier</code> |
| + | * <code>versionInfo</code> |
| + | |
| + | ===Property: <code>algorithm</code>=== |
| + | |
| + | Identifies the algorithm used to produce the subject <code>Checksum</code>. |
| + | |
| + | Currently, [http://www.itl.nist.gov/fipspubs/fip180-1.htm SHA-1] is the only supported algorithm. It is anticipated that other algorithms will be supported at a later time. |
| + | |
| + | ; Status: |
| + | : stable |
| + | ; Domain: |
| + | : <code>Checksum</code> |
| + | ; Range: |
| + | : <code>spdx:checksumAlgorithm_sha1</code> |
| + | |
| + | ===Property: <code>artifactOf</code>=== |
| + | |
| + | Indicates the project in which the file originated. |
| + | |
| + | Tools must preserve <code>doap:hompage</code> and <code>doap:name</code> properties and the URI (if one is known) of <code>doap:Project</code> resources that are values of this property. All other properties of <code>doap:Projects</code> are not directly supported by SPDX and may be dropped when translating to or from some SPDX formats. |
| + | |
| + | ; Status: |
| + | : stable |
| + | ; Domain: |
| + | : <code>File</code> |
| + | ; Range: |
| + | : [http://usefulinc.com/ns/doap#Project <code>doap:Project</code>] |
| + | |
| + | ===Property: <code>checksum</code>=== |
| + | |
| + | The <code>checksum</code> property provides a mechanism that can be used to verify that the contents of a <code>File</code> or <code>Package</code> have not changed. |
| + | |
| + | ; Status: |
| + | : stable |
| + | ; Domain: |
| + | : Any of: |
| + | :* <code>Package</code> |
| + | :* <code>File</code> |
| + | ; Range: |
| + | : Checksum |
| + | |
| + | ===Property: <code>checksumValue</code>=== |
| + | |
| + | The <code>checksumValue</code> property provides a lower case hexidecimal encoded digest value produced using a specific algorithm. |
| + | |
| + | ; Status: |
| + | : stable |
| + | ; Domain: |
| + | : <code>Checksum</code> |
| + | ; Range: |
| + | : [http://www.w3.org/TR/xmlschema-2/#hexBinary <code>xsd:hexBinary</code>] |
| + | |
| + | ===Property: <code>created</code>=== |
| + | |
| + | The date and time at which the <code>SpdxDocument</code> was created. This value must in UTC and have 'Z' as its timezone indicator. |
| + | |
| + | ; Status: |
| + | : stable |
| + | ; Domain: |
| + | : <code>CreationInfo</code> |
| + | ; Range: |
| + | : [http://www.w3.org/TR/xmlschema-2/#dateTime <code>xsd:dateTime</code>] |
| + | |
| + | ===Property: <code>copyrightText</code>=== |
| + | |
| + | The text of copyright declarations recited in the <code>Package</code> or <code>File</code>. |
| + | |
| + | ; Status: |
| + | : stable |
| + | ; Domain: |
| + | : Any of: |
| + | :* <code>Package</code> |
| + | :* <code>File</code> |
| + | ; Range: |
| + | : Any of: |
| + | :* [http://www.w3.org/TR/rdf-schema/#ch_literal <code>rdfs:Literal</code>] |
| + | :* <code>spdx:none</code> |
| + | :* <code>spdx:noassertion</code> |
| + | |
| + | ===Property: <code>creationInfo</code>=== |
| + | |
| + | The <code>creationInfo</code> property relates an <code>SpdxDocument</code> to a set of information about the creation of the <code>SpdxDocument</code>. |
| + | |
| + | ; Status: |
| + | : stable |
| + | ; Domain: |
| + | : <code>SpdxDocument</code> |
| + | ; Range: |
| + | : <code>CreationInfo</code> |
| + | |
| + | ===Property: <code>creator</code>=== |
| + | |
| + | The name and, optionally, contact information of a person, organization or tool that created, or was used to create, the <code>SpdxDocument</code>. |
| + | |
| + | Values of this property must conform to the agent and tool syntax. |
| + | |
| + | ; Status: |
| + | : stable |
| + | ; Domain: |
| + | : <code>CreationInfo</code> |
| + | ; Range: |
| + | : [http://www.w3.org/TR/xmlschema-2/#string <code>xsd:string</code>] |
| + | |
| + | ===Property: <code>dataLicense</code>=== |
| + | |
| + | The licensing under which the <code>creator</code> of this SPDX document allows related data to be reproduced. |
| + | |
| + | The only valid value for this property is <code>http://spdx.org/licenses/PDDL-1.0</code>. This is to alleviate any concern that content (the data) in an SPDX file is subject to any form of intellectual property right that could restrict the re-use of the information or the creation of another SPDX file for the same project(s). This approach avoids intellectual property and related restrictions over the SPDX file, however individuals can still contract one to one to restrict release of specific collections of SPDX files (which map to software bill of materials) and the identification of the supplier of SPDX files. |
| + | |
| + | ; Status: |
| + | : stable |
| + | ; Domain: |
| + | : <code>SpdxDocument</code> |
| + | ; Range: |
| + | : [http://spdx.org/licenses/PDDL-1.0 <code>http://spdx.org/licenses/PDDL-1.0</code>] |
| + | |
| + | ===Property: <code>describesPackage</code>=== |
| + | |
| + | The <code>describesPackage</code> property relates an <code>SpdxDocument</code> to the package which it describes. |
| + | |
| + | ; Status: |
| + | : stable |
| + | ; Domain: |
| + | : <code>SpdxDocument</code> |
| + | ; Range: |
| + | : <code>Package</code> |
| + | |
| + | ===Property: <code>description</code>=== |
| + | |
| + | Provides a detailed description of the package. |
| + | |
| + | ; Status: |
| + | : stable |
| + | ; Domain: |
| + | : <code>Package</code> |
| + | ; Range: |
| + | : [http://www.w3.org/TR/xmlschema-2/#string <code>xsd:string</code>] |
| + | |
| + | ===Property: <code>downloadLocation</code>=== |
| + | |
| + | The URI at which this package is available for download. Private (i.e., not publicly reachable) URIs are acceptable as values of this property. |
| + | |
| + | The values <code>http://spdx.org/rdf/terms#none</code> and <code>http://spdx.org/rdf/terms#noassertion</code> may be used to specify that the package is not downloadable or that no attempt was made to determine its download location, respectively. |
| + | |
| + | ; Status: |
| + | : stable |
| + | ; Domain: |
| + | : <code>Package</code> |
| + | ; Range: |
| + | : [http://www.w3.org/TR/xmlschema-2/#anyURI <code>xsd:anyURI</code>] |
| + | |
| + | ===Property: <code>extractedText</code>=== |
| + | |
| + | Verbatim license or licensing notice text that was discovered. |
| + | |
| + | ; Status: |
| + | : stable |
| + | ; Domain: |
| + | : <code>ExtractedLicensingInfo</code> |
| + | ; Range: |
| + | : [http://www.w3.org/TR/xmlschema-2/#string <code>xsd:string</code>] |
| + | |
| + | ===Property: <code>fileName</code>=== |
| + | |
| + | The name of the file relative to the root of the package. |
| + | |
| + | ; Status: |
| + | : stable |
| + | ; Domain: |
| + | : <code>File</code> |
| + | ; Range: |
| + | : [http://www.w3.org/TR/xmlschema-2/#string <code>xsd:string</code>] |
| + | |
| + | ===Property: <code>fileType</code>=== |
| + | |
| + | The type of the file. |
| + | |
| + | ; Status: |
| + | : stable |
| + | ; Domain: |
| + | : <code>File</code> |
| + | ; Range: |
| + | : One of: |
| + | :* <code>spdx:fileType_source</code> Indicates the file is a source code file. |
| + | :* <code>spdx:fileType_archive</code> Indicates the file is an archive file. |
| + | :* <code>spdx:fileType_binary</code> Indicates the file is not a text file. <code>filetype_archive</code> is preferred for archive files even though they are binary. |
| + | :* <code>spdx:fileType_other</code> Indicates the file did not fall into any of the other categories. |
| + | |
| + | ===Property: <code>hasExtractedLicensingInfo</code>=== |
| + | |
| + | Indicates that a particular <code>ExtractedLicensingInfo</code> was defined in the subject <code>SpdxDocument</code>. |
| + | |
| + | ; Status: |
| + | : stable |
| + | ; Domain: |
| + | : <code>SpdxDocument</code> |
| + | ; Range: |
| + | : <code>ExtractedLicensingInfo</code> |
| + | |
| + | ===Property: <code>hasFile</code>=== |
| + | |
| + | Indicates that a particular file belongs to a package. |
| + | |
| + | ; Status: |
| + | : stable |
| + | ; Domain: |
| + | : <code>Package</code> |
| + | ; Range: |
| + | : <code>File</code> |
| + | |
| + | ===Property: <code>licenseComments</code>=== |
| + | |
| + | The <code>licenseComments</code> property allows the preparer of the SPDX document to describe why the licensing in <code>spdx:licenseConcluded</code> was chosen. |
| + | |
| + | ; Status: |
| + | : stable |
| + | ; Domain: |
| + | : Any of: |
| + | :* <code>Package</code> |
| + | :* <code>File</code> |
| + | ; Range: |
| + | : [http://www.w3.org/TR/xmlschema-2/#string <code>xsd:string</code>] |
| + | |
| + | ===Property: <code>licenseConcluded</code>=== |
| + | |
| + | The licensing that the preparer of this SPDX document has concluded, based on the evidence, actually applies to the package. |
| + | |
| + | ; Status: |
| + | : stable |
| + | ; Domain: |
| + | : Any of: |
| + | :* <code>Package</code> |
| + | :* <code>File</code> |
| + | ; Range: |
| + | : Any of: |
| + | :* <code>AnyLicenseInfo</code> |
| + | :* <code>spdx:none</code> |
| + | :* <code>spdx:noassertion</code> |
| + | |
| + | ===Property: <code>licenseDeclared</code>=== |
| + | |
| + | The licensing that the creators of the software in the package, or the packager, have declared. Declarations by the original software creator should be preferred, if they exist. |
| + | |
| + | ; Status: |
| + | : stable |
| + | ; Domain: |
| + | : <code>Package</code> |
| + | ; Range: |
| + | : Any of: |
| + | :* <code>AnyLicenseInfo</code> |
| + | :* <code>spdx:none</code> |
| + | :* <code>spdx:noassertion</code> |
| + | |
| + | ===Property: <code>licenseId</code>=== |
| + | |
| + | A short name for the license that is at least 3 characters long and made up of the characters from the set 'a'-'z', 'A'-'Z', '0'-'9', '+', '_', '.', and '-'. Formally, all <code>licenseId</code> values must match the regular expression: <code>[-+_.a-zA-Z0-9]{3,}</code> |
| + | |
| + | ; Status: |
| + | : stable |
| + | ; Domain: |
| + | :* <code>License</code> |
| + | :* <code>ExtractedLicensingInfo</code> |
| + | ; Range: |
| + | : [http://www.w3.org/TR/xmlschema-2/#string <code>xsd:string</code>] |
| + | |
| + | ===Property: <code>licenseText</code>=== |
| + | |
| + | The full text of the license. |
| + | |
| + | ; Status: |
| + | : stable |
| + | ; Domain: |
| + | : <code>License</code> |
| + | ; Range: |
| + | : [http://www.w3.org/TR/xmlschema-2/#string <code>xsd:string</code>] |
| + | |
| + | ===Property: <code>licenseInfoFromFiles</code>=== |
| + | |
| + | The licensing information that was discovered directly within the package. There will be an instance of this property for each distinct value of all <code>licenseInfoInFile</code> properties of all files contained in the package. |
| + | |
| + | ; Status: |
| + | : stable |
| + | ; Domain: |
| + | : <code>Package</code> |
| + | ; Range: |
| + | : Any of: |
| + | :* <code>SimpleLicenseInfo</code> |
| + | :* <code>spdx:none</code> |
| + | :* <code>spdx:noassertion</code> |
| + | |
| + | ===Property: <code>licenseInfoInFile</code>=== |
| + | |
| + | Licensing information that was discovered directly in the subject file. |
| + | |
| + | ; Status: |
| + | : stable |
| + | ; Domain: |
| + | : <code>File</code> |
| + | ; Range: |
| + | : Any of: |
| + | :* <code>SimpleLicenseInfo</code> |
| + | :* <code>spdx:none</code> |
| + | :* <code>spdx:noassertion</code> |
| + | |
| + | ===Property: <code>member</code>=== |
| + | |
| + | A license, or other licensing information, that is a member of the subject license set. |
| + | |
| + | ; Status: |
| + | : stable |
| + | ; Domain: |
| + | : Any of: |
| + | :* <code>ConjunctiveLicenseSet</code> |
| + | :* <code>DisjunctiveLicenseSet</code> |
| + | ; Range: |
| + | : <code>AnyLicenseInfo</code> |
| + | ; Refines: |
| + | : [http://www.w3.org/TR/rdf-schema/#ch_member <code>rdfs:member</code>] |
| + | |
| + | ===Property: <code>name</code>=== |
| + | |
| + | The full name of the package including version information. |
| + | |
| + | ; Status: |
| + | : stable |
| + | ; Domain: |
| + | : <code>Package</code> |
| + | ; Range: |
| + | : [http://www.w3.org/TR/xmlschema-2/#string <code>xsd:string</code>] |
| + | |
| + | ===Property: <code>originator</code>=== |
| + | |
| + | The name and, optionally, contact information of the person or organization that originally created the package. |
| + | |
| + | Values of this property must conform to the agent and tool syntax. |
| + | |
| + | ; Status: |
| + | : stable |
| + | ; Domain: |
| + | : <code>Package</code> |
| + | ; Range: |
| + | : [http://www.w3.org/TR/xmlschema-2/#string <code>xsd:string</code>] or the individual <code>spdx:noassertion</code> |
| + | |
| + | ===Property: <code>packageFileName</code>=== |
| + | |
| + | The base name of the package file name. For example, <code>zlib-1.2.5.tar.gz</code>. |
| + | |
| + | ; Status: |
| + | : stable |
| + | ; Domain: |
| + | : <code>Package</code> |
| + | ; Range: |
| + | : [http://www.w3.org/TR/xmlschema-2/#string <code>xsd:string</code>] |
| + | |
| + | ===Property: <code>packageVerificationCode</code>=== |
| + | |
| + | A manifest based authentication code for the package. This allows consumers of this data to determine if a package they have in hand is identical to the package from which the data was produced. This algorithm works even if the SPDX document is included in the package. This algorithm is described in detail in the SPDX specification. |
| + | |
| + | The package verification code algorithm is defined in section 4.7 of the full specification. |
| + | |
| + | ; Status: |
| + | : stable |
| + | ; Domain: |
| + | : <code>Package</code> |
| + | ; Range: |
| + | : <code>PackageVerificationCode</code> |
| + | |
| + | ===Property: <code>packageVerificationCodeExcludedFile</code>=== |
| + | |
| + | A file that was excluded when calculating the package verification code. This is usually a file containing SPDX data regarding the package. If a package contains more than one SPDX file all SPDX files must be excluded from the package verification code. If this is not done it would be impossible to correctly calculate the verification codes in both files. |
| + | |
| + | ; Status: |
| + | : stable |
| + | ; Domain: |
| + | : <code>PackageVerificationCode</code> |
| + | ; Range: |
| + | : [http://www.w3.org/TR/xmlschema-2/#string <code>xsd:string</code>] |
| + | |
| + | ===Property: <code>packageVerificationCodeValue</code>=== |
| + | |
| + | The actual package verification code as a hex encoded value. |
| + | |
| + | ; Status: |
| + | : stable |
| + | ; Domain: |
| + | : <code>PackageVerificationCode</code> |
| + | ; Range: |
| + | : [http://www.w3.org/TR/xmlschema-2/#hexBinary <code>xsd:hexBinary</code>] |
| + | |
| + | ===Property: <code>referencesFile</code>=== |
| + | |
| + | Indicates that a particular file belongs as part of the set of analyzed files in the <code>SpdxDocument</code>. |
| + | |
| + | ; Status: |
| + | : stable |
| + | ; Domain: |
| + | : <code>SpdxDocument</code> |
| + | ; Range: |
| + | : <code>File</code> |
| + | |
| + | ===Property: <code>reviewDate</code>=== |
| + | |
| + | The date and time at which the <code>SpdxDocument</code> was reviewed. This value must be in UTC and have 'Z' as its timezone indicator. |
| + | |
| + | ; Status: |
| + | : stable |
| + | ; Domain: |
| + | : <code>Review</code> |
| + | ; Range: |
| + | : [http://www.w3.org/TR/xmlschema-2/#dateTime <code>xsd:dateTime</code>] |
| + | |
| + | ===Property: <code>reviewed</code>=== |
| + | |
| + | The <code>review</code> property relates a <code>SpdxDocument</code> to the review history. |
| + | |
| + | ; Status: |
| + | : stable |
| + | ; Domain: |
| + | : <code>SpdxDocument</code> |
| + | ; Range: |
| + | : <code>Review</code> |
| + | |
| + | ===Property: <code>reviewer</code>=== |
| + | |
| + | The name and, optionally, contact information of the person who performed the review. |
| + | |
| + | Values of this property must conform to the agent and tool syntax. |
| + | |
| + | ; Status: |
| + | : stable |
| + | ; Domain: |
| + | : <code>Review</code> |
| + | ; Range: |
| + | : [http://www.w3.org/TR/xmlschema-2/#string <code>xsd:string</code>] |
| + | |
| + | ===Property: <code>sourceInfo</code>=== |
| + | |
| + | Allows the producer(s) of the SPDX document to describe how the package was acquired and/or changed from the original source. |
| + | |
| + | ; Status: |
| + | : stable |
| + | ; Domain: |
| + | : <code>Package</code> |
| + | ; Range: |
| + | : [http://www.w3.org/TR/xmlschema-2/#string <code>xsd:string</code>] |
| + | |
| + | ===Property: <code>specVersion</code>=== |
| + | |
| + | Identifies the version of this specification that was used to produce this SPDX document. Currently the only supported value is <code>SPDX-1.0</code>. |
| + | |
| + | ; Status: |
| + | : stable |
| + | ; Domain: |
| + | : <code>SpdxDocument</code> |
| + | ; Range: |
| + | : [http://www.w3.org/TR/xmlschema-2/#string <code>xsd:string</code>] |
| + | |
| + | ===Property: <code>summary</code>=== |
| + | |
| + | Provides a short description of the package. |
| + | |
| + | ; Status: |
| + | : stable |
| + | ; Domain: |
| + | : <code>Package</code> |
| + | ; Range: |
| + | : [http://www.w3.org/TR/xmlschema-2/#string <code>xsd:string</code>] |
| + | |
| + | ===Property: <code>supplier</code>=== |
| + | |
| + | The name and, optionally, contact information of the person or organization that is the immediate supplier of this package to the recipient. The supplier may be different than <code>originator</code> when the software has been repackaged. For example if you get glibc from RedHat, RedHat is the Package Supplier, but FSF is the <code>originator</code>. |
| + | |
| + | Values of this property must conform to the agent and tool syntax. |
| + | |
| + | ; Status: |
| + | : stable |
| + | ; Domain: |
| + | : <code>Package</code> |
| + | ; Range: |
| + | : [http://www.w3.org/TR/xmlschema-2/#string <code>xsd:string</code>] or the individual <code>spdx:noassertion</code> |
| + | |
| + | ===Property: <code>versionInfo</code>=== |
| + | |
| + | Provides an indication of the version of the package that is described by this <code>SpdxDocument</code>. |
| + | |
| + | ; Status: |
| + | : stable |
| + | ; Domain: |
| + | : <code>Package</code> |
| + | ; Range: |
| + | : [http://www.w3.org/TR/xmlschema-2/#string <code>xsd:string</code>] |
| + | |
| + | ==Individuals== |
| + | |
| + | * <code>checksumAlgorithm_sha1</code> |
| + | * <code>fileType_archive</code> |
| + | * <code>fileType_binary</code> |
| + | * <code>fileType_other</code> |
| + | * <code>fileType_source</code> |
| + | * <code>noassertion</code> |
| + | * <code>none</code> |
| + | |
| + | ===Individual: <code>checksumAlgorithm_sha1</code>=== |
| + | |
| + | Indicates the algorithm used was [http://www.itl.nist.gov/fipspubs/fip180-1.htm SHA-1] |
| + | |
| + | ; Status: |
| + | : stable |
| + | |
| + | ===Individual: <code>fileType_archive</code>=== |
| + | |
| + | Indicates the file is an archive file. |
| + | |
| + | ; Status: |
| + | : stable |
| + | |
| + | ===Individual: <code>fileType_binary</code>=== |
| + | |
| + | Indicates the file is not a text file. <code>spdx:filetype_archive</code> is preferred for archive files even though they are binary. |
| + | |
| + | ; Status: |
| + | : stable |
| + | |
| + | ===Individual: <code>fileType_other</code>=== |
| + | |
| + | Indicates the file is not a source, archive or binary file. |
| + | |
| + | ; Status: |
| + | : stable |
| + | |
| + | ===Individual: <code>fileType_source</code>=== |
| + | |
| + | Indicates the file is a source code file. |
| + | |
| + | ; Status: |
| + | : stable |
| + | |
| + | ===Individual: <code>noassertion</code>=== |
| + | |
| + | Indicates that the preparer of the SPDX document is not making any assertion regarding the value of this field. |
| + | |
| + | ; Status: |
| + | : stable |
| + | |
| + | ===Individual: <code>none</code>=== |
| + | |
| + | When this value is used as the object of a property it indicates that the preparer of the <code>SpdxDocument</code> believes that there is no value for the property. This value should only be used if there is sufficient evidence to support this assertion. |
| + | |
| + | ; Status: |
| + | : stable |
| + | |
| + | ==Agent and Tool Identifiers== |
| + | |
| + | Fields that identify entities that have acted in relation to the SPDX file are single line of text which name the agent or tool and, optionally, provide contact information. For example, "Person: Jane Doe (jane.doe@example.com)", "Organization: ExampleCodeInspect (contact@example.com)" and "Tool: LicenseFind - 1.0". The exact syntax of agent and tool identifications is described below in [http://tools.ietf.org/html/rfc4234 ABNF]. |
| + | |
| + | agent = person / organization tool = "Tool: " name 0*1( " " DASH " " version) person = |
| + | "Person: " name 0*1contact-info organization = "Organization: " name 0*1contact-info name = |
| + | 1*( UNRESERVED ) / U+0022 1*( VCHAR-SANS-QUOTE ) U+0022 contact-info = " (" email-addr ")" |
| + | email-addr = local-name-atom *( "." local-name-atom ) "@" domain-name-atom 1*( "." domain- |
| + | name-atom ) version = 1*VCHAR-SANS-QUOTE local-name-atom = 1*( ALPHA / DIGIT / ; Printable |
| + | US-ASCII "!" / "#" / ; characters not including "$" / "%" / ; specials. "&" / "'" / "*" / |
| + | "+" / "-" / "/" / "=" / "?" / "^" / "_" / "`" / "{" / "|" / "}" / "~" ) domain-name-atom = |
| + | 1*( ALPHA / DIGIT / "-" ) DASH = U+2010 / U+2212 / ; hyphen, minus, em dash and U+2013 / |
| + | U+2014 ; en dash UNRESERVED = U+0020-U+0027 / ; visible unicode characters U+0029-U+0080 / |
| + | ; except '(' and dashes U+00A0-U+200F / U+2011-U+2027 / U+202A-U+2211 / U+2213-U+E01EF |
| + | VCHAR-SANS-QUOTE = U+0020-U+0021 / ; visible unicode characters U+0023-U+0080 / ; except |
| + | quotation mark U+00a0-U+E01EF |
| + | |
| + | [[Category:Technical]] |
Copyright © 2010-2011 Linux Foundation and its Contributors. All other rights are expressly reserved.
This specification describes the SPDX language, defined as a dictionary of named properties and classes using W3C's RDF Technology.
SPDX is a designed to allow the exchange of data about software packages. This information includes general information about the package, licensing information about the package as a whole, a manifest of files contained in the package and licensing information related to the contained files.
Indicates the project in which the file originated.
The name and, optionally, contact information of a person, organization or tool that created, or was used to create, the SpdxDocument
.
Values of this property must conform to the agent and tool syntax.
Provides a detailed description of the package.
The URI at which this package is available for download. Private (i.e., not publicly reachable) URIs are acceptable as values of this property.
Verbatim license or licensing notice text that was discovered.
The name of the file relative to the root of the package.
The type of the file.
Indicates that a particular file belongs to a package.
The licensing that the preparer of this SPDX document has concluded, based on the evidence, actually applies to the package.
The licensing that the creators of the software in the package, or the packager, have declared. Declarations by the original software creator should be preferred, if they exist.
A short name for the license that is at least 3 characters long and made up of the characters from the set 'a'-'z', 'A'-'Z', '0'-'9', '+', '_', '.', and '-'. Formally, all licenseId
values must match the regular expression: [-+_.a-zA-Z0-9]{3,}
The full text of the license.
The licensing information that was discovered directly within the package. There will be an instance of this property for each distinct value of all licenseInfoInFile
properties of all files contained in the package.
Licensing information that was discovered directly in the subject file.
A license, or other licensing information, that is a member of the subject license set.
The full name of the package including version information.
The name and, optionally, contact information of the person or organization that originally created the package.
Values of this property must conform to the agent and tool syntax.
The base name of the package file name. For example, zlib-1.2.5.tar.gz
.
A manifest based authentication code for the package. This allows consumers of this data to determine if a package they have in hand is identical to the package from which the data was produced. This algorithm works even if the SPDX document is included in the package. This algorithm is described in detail in the SPDX specification.
The package verification code algorithm is defined in section 4.7 of the full specification.
A file that was excluded when calculating the package verification code. This is usually a file containing SPDX data regarding the package. If a package contains more than one SPDX file all SPDX files must be excluded from the package verification code. If this is not done it would be impossible to correctly calculate the verification codes in both files.
The actual package verification code as a hex encoded value.
Indicates that a particular file belongs as part of the set of analyzed files in the SpdxDocument
.
The name and, optionally, contact information of the person who performed the review.
Values of this property must conform to the agent and tool syntax.
Allows the producer(s) of the SPDX document to describe how the package was acquired and/or changed from the original source.
Identifies the version of this specification that was used to produce this SPDX document. Currently the only supported value is SPDX-1.0
.
Provides a short description of the package.
The name and, optionally, contact information of the person or organization that is the immediate supplier of this package to the recipient. The supplier may be different than originator
when the software has been repackaged. For example if you get glibc from RedHat, RedHat is the Package Supplier, but FSF is the originator
.
Values of this property must conform to the agent and tool syntax.
Indicates the file is an archive file.
Indicates the file is not a text file. spdx:filetype_archive
is preferred for archive files even though they are binary.
Indicates the file is not a source, archive or binary file.
Indicates the file is a source code file.
Indicates that the preparer of the SPDX document is not making any assertion regarding the value of this field.
When this value is used as the object of a property it indicates that the preparer of the SpdxDocument
believes that there is no value for the property. This value should only be used if there is sufficient evidence to support this assertion.
Fields that identify entities that have acted in relation to the SPDX file are single line of text which name the agent or tool and, optionally, provide contact information. For example, "Person: Jane Doe (jane.doe@example.com)", "Organization: ExampleCodeInspect (contact@example.com)" and "Tool: LicenseFind - 1.0". The exact syntax of agent and tool identifications is described below in ABNF.