{ "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/argo-workflows/refs/heads/main/json-structure/argo-workflows-github-com-argoproj-argo-events-pkg-apis-events-v1alpha1-nats-events-source-structure.json", "name": "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": { "name": "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": { "name": "Filter\n+optional", "$ref": "#/definitions/github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.EventSourceFilter" }, "jsonBody": { "type": "boolean", "name": "JSONBody specifies that all event body payload coming from this\nsource will be JSON\n+optional" }, "metadata": { "type": "object", "name": "Metadata holds the user defined metadata which will passed along the event payload.\n+optional", "additionalProperties": { "type": "string" } }, "queue": { "type": "string", "name": "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", "name": "Subject holds the name of the subject onto which messages are published" }, "tls": { "name": "TLS configuration for the nats client.\n+optional", "$ref": "#/definitions/github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.TLSConfig" }, "url": { "type": "string", "name": "URL to connect to NATS cluster" } } }