github / github/choosealicense.com

Generate json file compatible with "FSF License Metadata API"

Open
#663 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
4.2k
Forks
1.6k
Avg merge
19m
Merged PRs (30d)
5

Description

In order to make your data more reusable, please generate the file shown in the title.

"FSF License Metadata API" is defined in the following site.
It is a convenient data format that can be reused.
https://wking.github.io/fsf-api/licenses-full.json

That data format can associate the license identifiers with the catalog name and "tags".
For example,
```
{"licenses":{
"apsl2": { /* fileName of choosealicense.com/_licenses/apsl2.txt */
"name": "Apple Public Source License",
"identifiers": {
"spdx": ["APSL-2.0"],
"OSI" : ["Apple Public Source License"],
"FSF" : ["FSF/apsl"]
]
},
"tags": [
"libre" /* FSF information*/,
"patent-use" /* choosealicense information */
]
}
}
```
Please have a look at the data I made for a trial.
https://github.com/reversi-fun/license_doc_similality1/blob/master/config/choosealicense-attrs.json

From this json data and the similarity of the license text, you can deduce the characteristics of the unknown license.

For example, SPDX / ODC-by-1.0 is not included in choosealicense, but it can be inferred that it has characteristics similar to SPDX / ODbl-1.0.

Please look at the attached figure.
https://github.com/reversi-fun/license_doc_similality1/blob/master/data/lic_graph.sfdp.svg
![license-odc-by-ODbl](https://user-images.githubusercontent.com/2231549/59867630-ad7ef900-93c9-11e9-8848-0c3a33fbce9f.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.