From 783c958aedfc2e538368e242b3f4c7b9dc2dbe54 Mon Sep 17 00:00:00 2001 From: "Alex Pooley (@zuedev)" Date: Thu, 5 Feb 2026 15:38:03 +0000 Subject: all keys should be optional --- README.md | 4 +++- gitinfo.schema.json | 1 - 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 32461fd..fc4f8d1 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,9 @@ You can reference the schema in your `.gitinfo` file using the `$schema` propert ### Supported Keys -- `root`: The URL of the root repository. This key is mandatory and should point to the main hosting location of the repository that acts as the source of truth for the codebase. +All keys are optional. Include only the fields relevant to your project. + +- `root`: The URL of the root repository, pointing to the main hosting location that acts as the source of truth for the codebase. - `gitmail`: An email address associated with the repository for submitting git patches. See [git-send-email.io](https://git-send-email.io/) for details. - `icon`: A public URL or data URI formatted image (PNG, SVG, etc.) representing an icon for the repository. If using a data URI, we recommend using base64 encoding for compatibility. - `description`: A brief description of the repository's purpose or contents. diff --git a/gitinfo.schema.json b/gitinfo.schema.json index c382f3b..7aac4d5 100644 --- a/gitinfo.schema.json +++ b/gitinfo.schema.json @@ -4,7 +4,6 @@ "title": ".gitinfo", "description": "Schema for the .gitinfo file specification", "type": "object", - "required": ["root"], "properties": { "root": { "type": "string", -- cgit v1.2.3