{ "$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-nats-events-source-schema.json", "title": "github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.NATSEventsSource", "description": "github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.NATSEventsSource schema from Argo Workflows API", "type": "object", "properties": { "auth": { "title": "Auth information\n+optional", "$ref": "#/definitions/github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.NATSAuth" }, "connectionBackoff": { "description": "ConnectionBackoff holds backoff applied to connection.", "$ref": "#/definitions/github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.Backoff" }, "filter": { "title": "Filter\n+optional", "$ref": "#/definitions/github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.EventSourceFilter" }, "jsonBody": { "type": "boolean", "title": "JSONBody specifies that all event body payload coming from this\nsource will be JSON\n+optional" }, "metadata": { "type": "object", "title": "Metadata holds the user defined metadata which will passed along the event payload.\n+optional", "additionalProperties": { "type": "string" } }, "queue": { "type": "string", "title": "Queue is the name of the queue group to subscribe as if specified. Uses QueueSubscribe\nlogic to subscribe as queue group. If the queue is empty, uses default Subscribe logic.\n+optional" }, "subject": { "type": "string", "title": "Subject holds the name of the subject onto which messages are published" }, "tls": { "title": "TLS configuration for the nats client.\n+optional", "$ref": "#/definitions/github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.TLSConfig" }, "url": { "type": "string", "title": "URL to connect to NATS cluster" } } }