• Stars
    star
    495
  • Rank 88,951 (Top 2 %)
  • Language
    HTML
  • Created over 8 years ago
  • Updated about 1 month ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Various data formats for the SPDX License List including RDFa, HTML, Text, and JSON

License List Data

Please do not submit pull requests or issues against this generated data repository. We appreciate all contributions, see the contributing document for information on requesting new licenses, reporting issues or contributing pull requests related to this repository.

Preview of License List Data

An HTML website containing the of the contents of this repository is available at https://spdx.github.io/license-list-data/.

Data Formats

This repository contains various generated data formats for the SPDX License List including RDFa, HTML, Text, and JSON. The source of the license list which generates these data files can be found at https://github.com/spdx/license-list-XML. Please note that the format for the license-list-XML repository is internal to the SPDX legal team and is subject to change.

See the file accessingLicenses.md for a description on how to programmatically access the SPDX license list.

The following directories contain the license list in the format specified:

  • html - Simple HTML format of the files. (Note: These pages are not complete and valid HTML files, but simply HTML snippets for the license text.)
  • json - JSON format for the license list. The exceptions.json file contains summary information for all exceptions. The licenses.json file contains summary information for all licenses. The exceptions directory contains one file per exception named by ID containing all exception details. The license directory contains one file per license named by ID containing all license details.
  • jsonld - JSON-LD format for the license list. The directory contains a file licenses.jsonld which contains all licenses and exceptions as well as single files (one per license or exception) containing data for a single file or exception named by ID.
  • rdfa - RDFa/HTML format for the license list. The index.html file contains summary information for all licenses. The exceptions-index.html file contains summary information for all exceptions. The directory also contains well as single files (one per license or exception) containing data for a single file or exception named by ID.
  • rdfnt - RDF NT format for the license list. The directory contains a file licenses.nt which contains all licenses and exceptions as well as single files (one per license or exception) containing data for a single file or exception named by ID.
  • rdfturtle - RDF turtle format for the license list. The directory contains a file licenses.turtle which contains all licenses and exceptions as well as single files (one per license or exception) containing data for a single file or exception named by ID.
  • rdfxml - RDF/XML format for the license list. The directory contains a file licenses.rdf which contains all licenses and exceptions as well as single files (one per license or exception) containing data for a single file or exception named by ID.
  • template - SPDX template files per the license templates specified in the SPDX 2.0 specification appendix. Deprecated licenses start with "deprecated_".
  • text - Simple text files. Deprecated licenses start with "deprecated_".
  • website - HTML generated for the http://spdx.org/ website.

The file licenses.md is a table of contents for the generated licenses. The links for the files point to the text for the license.

Repository Tags and Versions

The repository is tagged with a version vX.Y.Z where vX.Y matches the version of the SPDX License List and Z represents the patch level for any changes to the license list data between releases of the license list. The repository is tagged whenever the SPDX License List is updated. Patches may include formatting changes which are not represented in the license list source XML.

Reporting Issues

As far as the output format or the generation of the output files is concerned, any issues or pull requests should be logged at the License LIst Publisher project.

As far as the content of the license information is concerned, see the license-list-XML contributing document for information on how to report issues, request new licenses, or contribute changes.

License List Data Build Process

The license list data in this repository is automatically built on commits to the master branch of the license list source by the Travis-ci script. The commit message generated by the script includes short form of the commit hash from the license list source. If the license list source has been tagged for release, a tag will also be generated for the license-list-data repository.

The script that publishes the license list data can be found in the .travis directory in the license list source.

The script uses the SPDX tools LicenseRDFaGenerator command to generate the data files.

Source code for the LicenseRDFaGenerator can be found in the SPDX tools repository.

The main entrypoint for the command is LicenseRDFaGenerator.java

The basic flow of the program is LicenseRDFaGenerator -> Translate XML to the license objects (including the license text) -> Translate the license into various output files (including the text and template files).

The code that translates the license XML into the license template text is LicenseXmlHelper.getLicenseTemplate and the code that translates the license XML into text is LicenseXmlHelper.getLicenseText.

Licensing Information

Other than the README and related documentation, all data in this repository is generated. The source of the data is the license list XML Repository. LicenseListPublisher is the tool used to publish the data. Please see the respective repositories for licensing information.

More Repositories

1

license-list-XML

This is the repository for the master files that comprise the SPDX License List
Makefile
344
star
2

spdx-spec

The SPDX specification in MarkDown and HTML formats.
Python
288
star
3

tools-python

A Python library to parse, validate and create SPDX documents.
Python
184
star
4

spdx-sbom-generator

Support CI generation of SBOMs via golang tooling.
Go
151
star
5

tools

SPDX Tools
Java
125
star
6

spdx-examples

Examples of SPDX files for software combinations
Java
123
star
7

tools-golang

Collection of Go packages to work with SPDX files
Go
121
star
8

spdx-3-model

The model for the information captured in SPDX version 3 standard.
69
star
9

spdx-online-tools

Source for the website providing online SPDX tools
JavaScript
60
star
10

tools-java

SPDX Command Line Tools using the Spdx-Java-Library
Java
59
star
11

spdx-to-osv

Produce an Open Source Vulnerability JSON file based on information in an SPDX document
Java
59
star
12

ntia-conformance-checker

Check SPDX SBOM for NTIA minimum elements
Python
53
star
13

spdx-maven-plugin

Plugin for supporting SPDX in a Maven build.
Java
44
star
14

license-list

SPDX License List - Archived through v2.6
42
star
15

Spdx-Java-Library

Java library which implements the Java object model for SPDX and provides useful helper functions
Java
33
star
16

spdx-license-diff

Chrome/Firefox browser extension to compare text against spdx license list
JavaScript
33
star
17

cdx2spdx

Utility that converts SBOM documents from CycloneDX to SPDX
Java
27
star
18

meetings

This repository stores meetings minutes for the SPDX project
26
star
19

spdx-license-matcher

A tool to match license text with SPDX license list using a an algorithm with finds close matches. It follows SPDX Matching guidelines to keep the substantial text as well as ignore the replaceable text for matching purposes.
Python
26
star
20

sbom-landscape

SPDX SBOM Landscape
15
star
21

governance

SPDX Governance, based on Community Specification model
15
star
22

spdx-gradle-plugin

Java
15
star
23

gordf

Go
11
star
24

LicenseListPublisher

Tool that generates license data found in the license-list-data repository from the license-list-XML source
Java
11
star
25

spdx-build-tool

Support a continuous integration (CI) generation of SPDX files by creating a plugins or extensions to build tools. These plugins or extensions will generate valid SPDX documents based on the build file metadata and source files. https://github.com/spdx/
Python
11
star
26

spdx-tools-js

JavaScript
9
star
27

ATTIC-osit

Open Source Inspect Tool by OSE, Samsung
Java
8
star
28

license-coverage-grader

This is a tool which take an SPDX document and pointer to the original source files, and determine a "grade" score to quantify how complete the licensing information is at the file level for the code represented by the SPDX document.
Python
7
star
29

ATTIC-tools-go

Legacy SPDX Parser Go Language Library - replaced by tools-golang
Go
6
star
30

yalm-python

Implement SPDX License Matching in Python. Project in CommunityBridge Linux Foundation 2020.
Python
6
star
31

spdx-github

SPDX Github Integration Tools
Python
5
star
32

spec-parser

automagically process the specification
Python
5
star
33

tools-ts

TypeScript
4
star
34

outreach

content for outreach activities
4
star
35

ATTIC-airs

Auto IdentifieR using Spdx by OSE, Samsung
Java
4
star
36

schema-to-java

Generates Java classes from the SPDX Schema
Java
3
star
37

spdx-adoption

Keeping list of projects that are using SPDX headers, and those that are able to generate SPDX documents.
3
star
38

license-test-files

Test files which can be used to check license scanners.
3
star
39

change-proposal

Repository for change proposal for the SPDX project
3
star
40

license-test-generator

Tool to generate the license test files (github.com/spdx/license-test-files) from the SPDX listed licenses (github.com/spdx/license-list-data)
PHP
3
star
41

spdx-java-jackson-store

JSON storage implementation for the SPDX tools
Java
3
star
42

TEST-LicenseList-XML

This is a copy of the LicenseListXML repository to be used for testing
Makefile
2
star
43

spdx-java-rdf-store

SPDX Tools RDF Support Library
Java
2
star
44

GSoC

SPDX participation in the Google Summer of Code program
2
star
45

canonical-serialisation

SPDX Canonicalisation repo
CSS
2
star
46

package-licenses-mapping

Data mapping license declarations as found in package manifests to a SPDX license expression.
2
star
47

spdx-java-spreadsheet-store

SPDX Java library spreadsheet storage
Java
2
star
48

license-test-scans

Tools to help compare license scans
Python
2
star
49

spec-v3-template

Templates and examples for writing the v3 specification
2
star
50

spdx-java-tagvalue-store

SPDX Document Storage using the Tag/Value format
Java
2
star
51

spdx-model-to-java

Generates Java source files from the SPDX spec version 3+ suitable for inclusion in the SPDX Java Library
Java
2
star
52

tools-list

List of the known available tools in a machine readable format.
1
star
53

license-namespace-test

Test repository for the license namespace
1
star
54

spdx-testbed

Java
1
star
55

spdx-website

This repo contains all the assets used in the spdx.org website
1
star
56

licensegenplugin

Maven plugin for generating the license data from the license list XML repository
Java
1
star
57

DOCS

This is a repository for general documentation related to SPDX
1
star
58

spdx-3-build-profile

1
star
59

spdx-3-serialization-prototype-playground

TEMPORARY repo to contain different draft examples for SPDX 3.0 serializations
Python
1
star
60

licenseRequestImages

License Request Image Repository
1
star
61

license-mgmt

GSoC 2022 project for a web-based license management system
CSS
1
star
62

crypto-algorithms

List of cryptographic algorithms and their characteristics
1
star
63

rollup-plugin-spdx

TypeScript
1
star
64

using

Information on how to use the SPDX specification
1
star