Argo Workflows · JSON Structure

Argo Workflows Github Com Argoproj Argo Events Pkg Apis Events V1Alpha1 Template Structure

github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.Template schema from Argo Workflows API

Type: object Properties: 11
CNCFContainersData ProcessingKubernetesMachine-LearningOpen-SourceWorkflow Engine

github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.Template is a JSON Structure definition published by Argo Workflows, describing 11 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

affinity container imagePullSecrets metadata nodeSelector priority priorityClassName securityContext serviceAccountName tolerations volumes

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$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-template-structure.json",
  "name": "github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.Template",
  "description": "github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.Template schema from Argo Workflows API",
  "type": "object",
  "properties": {
    "affinity": {
      "name": "If specified, the pod's scheduling constraints\n+optional",
      "$ref": "#/definitions/io.k8s.api.core.v1.Affinity"
    },
    "container": {
      "name": "Container is the main container image to run in the sensor pod\n+optional",
      "$ref": "#/definitions/github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.Container"
    },
    "imagePullSecrets": {
      "type": "array",
      "name": "ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec.\nIf specified, these secrets will be passed to individual puller implementations for them to use. For example,\nin the case of docker, only DockerConfig type secrets are honored.\nMore info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod\n+optional\n+patchMergeKey=name\n+patchStrategy=merge",
      "items": {
        "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference"
      }
    },
    "metadata": {
      "name": "Metadata sets the pods's metadata, i.e. annotations and labels",
      "$ref": "#/definitions/github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.Metadata"
    },
    "nodeSelector": {
      "type": "object",
      "name": "NodeSelector is a selector which must be true for the pod to fit on a node.\nSelector which must match a node's labels for the pod to be scheduled on that node.\nMore info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/\n+optional",
      "additionalProperties": {
        "type": "string"
      }
    },
    "priority": {
      "type": "int32",
      "name": "The priority value. Various system components use this field to find the\npriority of the EventSource pod. When Priority Admission Controller is enabled,\nit prevents users from setting this field. The admission controller populates\nthis field from PriorityClassName.\nThe higher the value, the higher the priority.\nMore info: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/\n+optional"
    },
    "priorityClassName": {
      "type": "string",
      "name": "If specified, indicates the EventSource pod's priority. \"system-node-critical\"\nand \"system-cluster-critical\" are two special keywords which indicate the\nhighest priorities with the former being the highest priority. Any other\nname must be defined by creating a PriorityClass object with that name.\nIf not specified, the pod priority will be default or zero if there is no\ndefault.\nMore info: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/\n+optional"
    },
    "securityContext": {
      "name": "SecurityContext holds pod-level security attributes and common container settings.\nOptional: Defaults to empty.  See type description for default values of each field.\n+optional",
      "$ref": "#/definitions/io.k8s.api.core.v1.PodSecurityContext"
    },
    "serviceAccountName": {
      "type": "string",
      "name": "ServiceAccountName is the name of the ServiceAccount to use to run sensor pod.\nMore info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/\n+optional"
    },
    "tolerations": {
      "type": "array",
      "name": "If specified, the pod's tolerations.\n+optional",
      "items": {
        "$ref": "#/definitions/io.k8s.api.core.v1.Toleration"
      }
    },
    "volumes": {
      "type": "array",
      "name": "Volumes is a list of volumes that can be mounted by containers in a io.argoproj.workflow.v1alpha1.\n+patchStrategy=merge\n+patchMergeKey=name\n+optional",
      "items": {
        "$ref": "#/definitions/io.k8s.api.core.v1.Volume"
      }
    }
  }
}

Work with this as data

Every JSON Structure here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Structure
curl "https://apis.io/api/v1/json-structures/argo-workflows-github-com-argoproj-argo-events-pkg-apis-events-v1alpha1-template-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.