{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/webhook-create", "title": "create event", "type": "object", "properties": { "description": { "description": "The repository's current description.", "type": "string", "nullable": true }, "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, "installation": { "$ref": "#/components/schemas/simple-installation" }, "master_branch": { "description": "The name of the repository's default branch (usually `main`).", "type": "string" }, "organization": { "$ref": "#/components/schemas/organization-simple-webhooks" }, "pusher_type": { "$ref": "#/components/schemas/webhooks_deploy_pusher_type" }, "ref": { "$ref": "#/components/schemas/webhooks_ref_0" }, "ref_type": { "description": "The type of Git ref object created in the repository.", "type": "string", "enum": [ "tag", "branch" ] }, "repository": { "$ref": "#/components/schemas/repository-webhooks" }, "sender": { "$ref": "#/components/schemas/simple-user-webhooks" } }, "required": [ "ref", "ref_type", "master_branch", "description", "pusher_type", "repository", "sender" ] }