{ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "GitX project preferences", "description": "Optional defaults in the working-tree root .gitx.json. Git branch names also require Git-specific validation.", "type": "object", "additionalProperties": false, "properties": { "prBase": { "type": "string", "minLength": 1, "pattern": "^[^\\s]+$", "not": { "pattern": "\\s" }, "description": "Default PR destination; must be a literal valid Git branch name." }, "branchPrefix": { "oneOf": [ { "$ref": "#/$defs/branchPrefix" }, { "type": "array", "minItems": 1, "uniqueItems": true, "items": { "$ref": "#/$defs/branchPrefix" } } ], "description": "A fixed prefix or allowed prefixes chosen by the intended work for inferred source branches." }, "commitScopes": { "type": "array", "minItems": 1, "uniqueItems": true, "items": { "type": "string", "pattern": "^[A-Za-z0-9][A-Za-z0-9._/-]*$", "not": { "pattern": "\\s" } } }, "checks": { "type": "array", "minItems": 1, "uniqueItems": true, "items": { "type": "string", "minLength": 1, "pattern": "\\S", "not": { "pattern": "[\\r\\n\\u0000]" } } }, "draftPR": { "type": "boolean" } }, "$defs": { "branchPrefix": { "type": "string", "minLength": 2, "pattern": "^[^\\s]+/$", "not": { "pattern": "\\s" }, "description": "Appending gitx-example must form a valid Git branch name." } } }