{ "$schema": "http://json-schema.org/draft-07/schema#", "title": "Branch", "description": "Branch represents a repository branch", "type": "object", "properties": { "commit": { "$ref": "#/definitions/PayloadCommit" }, "effective_branch_protection_name": { "type": "string", "x-go-name": "EffectiveBranchProtectionName" }, "enable_status_check": { "type": "boolean", "x-go-name": "EnableStatusCheck" }, "name": { "type": "string", "x-go-name": "Name" }, "protected": { "type": "boolean", "x-go-name": "Protected" }, "required_approvals": { "type": "integer", "format": "int64", "x-go-name": "RequiredApprovals" }, "status_check_contexts": { "type": "array", "items": { "type": "string" }, "x-go-name": "StatusCheckContexts" }, "user_can_merge": { "type": "boolean", "x-go-name": "UserCanMerge" }, "user_can_push": { "type": "boolean", "x-go-name": "UserCanPush" } }, "x-go-package": "forgejo.org/modules/structs" }