{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/webhook-repository-dispatch-sample", "title": "repository_dispatch event", "type": "object", "properties": { "action": { "type": "string", "description": "The `event_type` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body." }, "branch": { "type": "string" }, "client_payload": { "type": "object", "nullable": true, "additionalProperties": true, "description": "The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body." }, "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, "installation": { "$ref": "#/components/schemas/simple-installation" }, "organization": { "$ref": "#/components/schemas/organization-simple-webhooks" }, "repository": { "$ref": "#/components/schemas/repository-webhooks" }, "sender": { "$ref": "#/components/schemas/simple-user-webhooks" } }, "required": [ "action", "branch", "client_payload", "repository", "sender", "installation" ] }