{ "$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-resource-event-source-schema.json", "title": "github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.ResourceEventSource", "description": "ResourceEventSource refers to a event-source for K8s resource related events.", "type": "object", "properties": { "eventTypes": { "description": "EventTypes is the list of event type to watch.\nPossible values are - ADD, UPDATE and DELETE.", "type": "array", "items": { "type": "string" } }, "filter": { "title": "Filter is applied on the metadata of the resource\nIf you apply filter, then the internal event informer will only monitor objects that pass the filter.\n+optional", "$ref": "#/definitions/github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.ResourceFilter" }, "groupVersionResource": { "title": "Group of the resource", "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.GroupVersionResource" }, "metadata": { "type": "object", "title": "Metadata holds the user defined metadata which will passed along the event payload.\n+optional", "additionalProperties": { "type": "string" } }, "namespace": { "type": "string", "title": "Namespace where resource is deployed" } } }