Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Generate json file compatible with "FSF License Metadata API"

オープン
#663 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

@Tarekchehahde がすでに取り組んでいます。

2026年7月11日 から。

  • #1367 @Tarekchehahde による — オープン

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
json
領域
documentation

調査の方向性

まず、FSF License Metadata API のスキーマを、参照されている trial config/choosealicense-attrs.json およびリポジトリに既存のライセンスデータと比較します。カタログのすべての識別子とタグをどのようにマッピングすべきかを判断し、生成された JSON が API 形式に準拠し、対象のライセンスを網羅していることを確認します。

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
HTML
スター
4.2k
フォーク
1.6k
平均マージ
2時間 33分
マージ済み PR(30日)
4

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

github/choosealicense.com のほかの issue

github/choosealicense.com の issue をすべて見る

似ている issue

Documentation の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。