diff options
| author | Alex Pooley (@zuedev) <zuedev@gmail.com> | 2026-02-05 16:46:19 +0000 |
|---|---|---|
| committer | Alex Pooley (@zuedev) <zuedev@gmail.com> | 2026-02-05 16:46:19 +0000 |
| commit | 66cf68d7a0ec4d9c220a16c58380eefbe40b6ad6 (patch) | |
| tree | 2880b6d4f7d6c761d3d56493be7bbd66e2f8edf4 /gitinfo.schema.json | |
| parent | 672331caedaf41c07c0b8bd0ba183aad36cb1302 (diff) | |
| download | gitinfo-66cf68d7a0ec4d9c220a16c58380eefbe40b6ad6.tar gitinfo-66cf68d7a0ec4d9c220a16c58380eefbe40b6ad6.tar.gz gitinfo-66cf68d7a0ec4d9c220a16c58380eefbe40b6ad6.tar.bz2 gitinfo-66cf68d7a0ec4d9c220a16c58380eefbe40b6ad6.tar.xz gitinfo-66cf68d7a0ec4d9c220a16c58380eefbe40b6ad6.zip | |
add minItems validation for tags, mirrors, maintainers, and funding in schema
Diffstat (limited to 'gitinfo.schema.json')
| -rw-r--r-- | gitinfo.schema.json | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gitinfo.schema.json b/gitinfo.schema.json index 8cb8837..dcaa23a 100644 --- a/gitinfo.schema.json +++ b/gitinfo.schema.json @@ -35,6 +35,7 @@ "type": "string", "minLength": 1 }, + "minItems": 1, "description": "A list of tags or keywords associated with the repository for easier categorization and searchability." }, "mirrors": { @@ -43,6 +44,7 @@ "type": "string", "format": "uri" }, + "minItems": 1, "description": "A list of URLs representing mirror repositories." }, "maintainers": { @@ -63,6 +65,7 @@ "minItems": 2, "maxItems": 2 }, + "minItems": 1, "description": "A list of maintainers or contributors to the repository, provided as a 2D array with names and email addresses in the format [[name, email], ...]." }, "license": { @@ -105,6 +108,7 @@ "type": "string", "format": "uri" }, + "minItems": 1, "description": "A list of URLs for sponsorship or funding platforms (e.g., GitHub Sponsors, Open Collective, Patreon)." }, "version": { |
