{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/argo-workflows/refs/heads/main/json-schema/argo-workflows-github-com-argoproj-argo-events-pkg-apis-events-v1alpha1-gerrit-event-source-schema.json", "title": "github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.GerritEventSource", "description": "github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.GerritEventSource schema from Argo Workflows API", "type": "object", "properties": { "auth": { "title": "Auth hosts secret selectors for username and password\n+optional", "$ref": "#/definitions/github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.BasicAuth" }, "deleteHookOnFinish": { "type": "boolean", "title": "DeleteHookOnFinish determines whether to delete the Gerrit hook for the project once the event source is stopped.\n+optional" }, "events": { "type": "array", "title": "Events are gerrit event to listen to.\nRefer https://gerrit-review.googlesource.com/Documentation/cmd-stream-events.html#events", "items": { "type": "string" } }, "filter": { "title": "Filter\n+optional", "$ref": "#/definitions/github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.EventSourceFilter" }, "gerritBaseURL": { "type": "string", "title": "GerritBaseURL is the base URL for API requests to a custom endpoint" }, "hookName": { "type": "string", "title": "HookName is the name of the webhook" }, "maxTries": { "type": "string", "title": "MaxTries is number of attempts when posting an event to the target url\n+optional" }, "metadata": { "type": "object", "title": "Metadata holds the user defined metadata which will passed along the event payload.\n+optional", "additionalProperties": { "type": "string" } }, "projects": { "description": "List of project namespace paths like \"whynowy/test\".", "type": "array", "items": { "type": "string" } }, "sslVerify": { "type": "boolean", "title": "SslVerify to enable ssl verification\n+optional" }, "webhook": { "title": "Webhook holds configuration to run a http server", "$ref": "#/definitions/github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.WebhookContext" } } }