aboutsummaryrefslogtreecommitdiff
path: root/gitinfo.schema.json
diff options
context:
space:
mode:
authorAlex Pooley (@zuedev) <zuedev@gmail.com>2026-02-05 15:53:38 +0000
committerAlex Pooley (@zuedev) <zuedev@gmail.com>2026-02-05 15:53:38 +0000
commit353c59a286d11a20b68245b019c080de079427e9 (patch)
treee85beefe32ee90ef161d8607a13aef9f4d69d04a /gitinfo.schema.json
parent4cffe6c23abb2f6580dcdcfb7ad886b34dd5d61a (diff)
downloadgitinfo-353c59a286d11a20b68245b019c080de079427e9.tar
gitinfo-353c59a286d11a20b68245b019c080de079427e9.tar.gz
gitinfo-353c59a286d11a20b68245b019c080de079427e9.tar.bz2
gitinfo-353c59a286d11a20b68245b019c080de079427e9.tar.xz
gitinfo-353c59a286d11a20b68245b019c080de079427e9.zip
add examples for license field in schema
Diffstat (limited to 'gitinfo.schema.json')
-rw-r--r--gitinfo.schema.json27
1 files changed, 26 insertions, 1 deletions
diff --git a/gitinfo.schema.json b/gitinfo.schema.json
index fb841fc..e5efb03 100644
--- a/gitinfo.schema.json
+++ b/gitinfo.schema.json
@@ -67,7 +67,32 @@
},
"license": {
"type": "string",
- "description": "The license under which the repository is distributed. Use the short identifier from SPDX License List for consistency."
+ "description": "The license under which the repository is distributed. Use the short identifier from SPDX License List for consistency.",
+ "examples": [
+ "MIT",
+ "Apache-2.0",
+ "GPL-2.0-only",
+ "GPL-2.0-or-later",
+ "GPL-3.0-only",
+ "GPL-3.0-or-later",
+ "LGPL-2.1-only",
+ "LGPL-2.1-or-later",
+ "LGPL-3.0-only",
+ "LGPL-3.0-or-later",
+ "BSD-2-Clause",
+ "BSD-3-Clause",
+ "ISC",
+ "MPL-2.0",
+ "AGPL-3.0-only",
+ "AGPL-3.0-or-later",
+ "Unlicense",
+ "CC0-1.0",
+ "CC-BY-4.0",
+ "CC-BY-SA-4.0",
+ "WTFPL",
+ "Zlib",
+ "BSL-1.0"
+ ]
},
"homepage": {
"type": "string",