From 4cffe6c23abb2f6580dcdcfb7ad886b34dd5d61a Mon Sep 17 00:00:00 2001 From: "Alex Pooley (@zuedev)" Date: Thu, 5 Feb 2026 15:50:45 +0000 Subject: add homepage, funding, and version fields to schema --- gitinfo.schema.json | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'gitinfo.schema.json') diff --git a/gitinfo.schema.json b/gitinfo.schema.json index c2ab95c..fb841fc 100644 --- a/gitinfo.schema.json +++ b/gitinfo.schema.json @@ -68,6 +68,23 @@ "license": { "type": "string", "description": "The license under which the repository is distributed. Use the short identifier from SPDX License List for consistency." + }, + "homepage": { + "type": "string", + "format": "uri", + "description": "The URL of the project's homepage or documentation site, if separate from the repository." + }, + "funding": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "description": "A list of URLs for sponsorship or funding platforms (e.g., GitHub Sponsors, Open Collective, Patreon)." + }, + "version": { + "type": "string", + "description": "The version of the .gitinfo schema being used. Can be a semver string or a git commit hash." } }, "additionalProperties": false -- cgit v1.2.3