{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/tekton-task/versions/v1beta1.json",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/redhat-developer/vscode-tekton/refs/heads/main/scheme/tekton.dev/v1beta1_Task.json",
    "sourceSha256": "f81b298bc9a97a8b49c1e0b28c236c5f91cb1439d1c3333e2cae25ff2b1f6b3d"
  },
  "$defs": {
    "AWSElasticBlockStoreVolumeSource": {
      "required": [
        "volumeID"
      ],
      "properties": {
        "volumeID": {
          "type": "string"
        },
        "fsType": {
          "type": "string"
        },
        "partition": {
          "type": "integer"
        },
        "readOnly": {
          "type": "boolean"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "AzureDiskVolumeSource": {
      "required": [
        "diskName",
        "diskURI"
      ],
      "properties": {
        "diskName": {
          "type": "string"
        },
        "diskURI": {
          "type": "string"
        },
        "cachingMode": {
          "type": "string"
        },
        "fsType": {
          "type": "string"
        },
        "readOnly": {
          "type": "boolean"
        },
        "kind": {
          "type": "string"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "AzureFileVolumeSource": {
      "required": [
        "secretName",
        "shareName"
      ],
      "properties": {
        "secretName": {
          "type": "string"
        },
        "shareName": {
          "type": "string"
        },
        "readOnly": {
          "type": "boolean"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "CSIVolumeSource": {
      "required": [
        "driver"
      ],
      "properties": {
        "driver": {
          "type": "string"
        },
        "readOnly": {
          "type": "boolean"
        },
        "fsType": {
          "type": "string"
        },
        "volumeAttributes": {
          "type": "object",
          "patternProperties": {
            ".*": {
              "type": "string"
            }
          }
        },
        "nodePublishSecretRef": {
          "$ref": "#/$defs/LocalObjectReference"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "Capabilities": {
      "properties": {
        "add": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "drop": {
          "items": {
            "type": "string"
          },
          "type": "array"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "CephFSVolumeSource": {
      "required": [
        "monitors"
      ],
      "properties": {
        "monitors": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "path": {
          "type": "string"
        },
        "user": {
          "type": "string"
        },
        "secretFile": {
          "type": "string"
        },
        "secretRef": {
          "$ref": "#/$defs/LocalObjectReference"
        },
        "readOnly": {
          "type": "boolean"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "CinderVolumeSource": {
      "required": [
        "volumeID"
      ],
      "properties": {
        "volumeID": {
          "type": "string"
        },
        "fsType": {
          "type": "string"
        },
        "readOnly": {
          "type": "boolean"
        },
        "secretRef": {
          "$ref": "#/$defs/LocalObjectReference"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "ConfigMapEnvSource": {
      "properties": {
        "name": {
          "type": "string"
        },
        "optional": {
          "type": "boolean"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "ConfigMapKeySelector": {
      "required": [
        "key"
      ],
      "properties": {
        "name": {
          "type": "string"
        },
        "key": {
          "type": "string"
        },
        "optional": {
          "type": "boolean"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "ConfigMapProjection": {
      "properties": {
        "name": {
          "type": "string"
        },
        "items": {
          "items": {
            "$ref": "#/$defs/KeyToPath"
          },
          "type": "array"
        },
        "optional": {
          "type": "boolean"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "ConfigMapVolumeSource": {
      "properties": {
        "name": {
          "type": "string"
        },
        "items": {
          "items": {
            "$ref": "#/$defs/KeyToPath"
          },
          "type": "array"
        },
        "defaultMode": {
          "type": "integer"
        },
        "optional": {
          "type": "boolean"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "ContainerPort": {
      "required": [
        "containerPort"
      ],
      "properties": {
        "name": {
          "type": "string"
        },
        "hostPort": {
          "type": "integer"
        },
        "containerPort": {
          "type": "integer"
        },
        "protocol": {
          "type": "string"
        },
        "hostIP": {
          "type": "string"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "DownwardAPIProjection": {
      "properties": {
        "items": {
          "items": {
            "$ref": "#/$defs/DownwardAPIVolumeFile"
          },
          "type": "array"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "DownwardAPIVolumeFile": {
      "required": [
        "path"
      ],
      "properties": {
        "path": {
          "type": "string"
        },
        "fieldRef": {
          "$ref": "#/$defs/ObjectFieldSelector"
        },
        "resourceFieldRef": {
          "$ref": "#/$defs/ResourceFieldSelector"
        },
        "mode": {
          "type": "integer"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "DownwardAPIVolumeSource": {
      "properties": {
        "items": {
          "items": {
            "$schema": "http://json-schema.org/draft-04/schema",
            "$ref": "#/$defs/DownwardAPIVolumeFile"
          },
          "type": "array"
        },
        "defaultMode": {
          "type": "integer"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "EmptyDirVolumeSource": {
      "properties": {
        "medium": {
          "type": "string"
        },
        "sizeLimit": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "type": "number"
            }
          ]
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "EnvFromSource": {
      "properties": {
        "prefix": {
          "type": "string"
        },
        "configMapRef": {
          "$schema": "http://json-schema.org/draft-04/schema",
          "$ref": "#/$defs/ConfigMapEnvSource"
        },
        "secretRef": {
          "$schema": "http://json-schema.org/draft-04/schema",
          "$ref": "#/$defs/SecretEnvSource"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "EnvVar": {
      "required": [
        "name"
      ],
      "properties": {
        "name": {
          "type": "string"
        },
        "value": {
          "type": "string"
        },
        "valueFrom": {
          "$schema": "http://json-schema.org/draft-04/schema",
          "$ref": "#/$defs/EnvVarSource"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "EnvVarSource": {
      "properties": {
        "fieldRef": {
          "$schema": "http://json-schema.org/draft-04/schema",
          "$ref": "#/$defs/ObjectFieldSelector"
        },
        "resourceFieldRef": {
          "$schema": "http://json-schema.org/draft-04/schema",
          "$ref": "#/$defs/ResourceFieldSelector"
        },
        "configMapKeyRef": {
          "$schema": "http://json-schema.org/draft-04/schema",
          "$ref": "#/$defs/ConfigMapKeySelector"
        },
        "secretKeyRef": {
          "$schema": "http://json-schema.org/draft-04/schema",
          "$ref": "#/$defs/SecretKeySelector"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "EphemeralVolumeSource": {
      "properties": {
        "volumeClaimTemplate": {
          "$schema": "http://json-schema.org/draft-04/schema",
          "$ref": "#/$defs/PersistentVolumeClaimTemplate"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "ExecAction": {
      "properties": {
        "command": {
          "items": {
            "type": "string"
          },
          "type": "array"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "FCVolumeSource": {
      "properties": {
        "targetWWNs": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "lun": {
          "type": "integer"
        },
        "fsType": {
          "type": "string"
        },
        "readOnly": {
          "type": "boolean"
        },
        "wwids": {
          "items": {
            "type": "string"
          },
          "type": "array"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "FlexVolumeSource": {
      "required": [
        "driver"
      ],
      "properties": {
        "driver": {
          "type": "string"
        },
        "fsType": {
          "type": "string"
        },
        "secretRef": {
          "$ref": "#/$defs/LocalObjectReference"
        },
        "readOnly": {
          "type": "boolean"
        },
        "options": {
          "type": "object",
          "patternProperties": {
            ".*": {
              "type": "string"
            }
          }
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "FlockerVolumeSource": {
      "properties": {
        "datasetName": {
          "type": "string"
        },
        "datasetUUID": {
          "type": "string"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "GCEPersistentDiskVolumeSource": {
      "required": [
        "pdName"
      ],
      "properties": {
        "pdName": {
          "type": "string"
        },
        "fsType": {
          "type": "string"
        },
        "partition": {
          "type": "integer"
        },
        "readOnly": {
          "type": "boolean"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "GRPCAction": {
      "required": [
        "port",
        "service"
      ],
      "properties": {
        "port": {
          "type": "integer"
        },
        "service": {
          "type": "string"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "GitRepoVolumeSource": {
      "required": [
        "repository"
      ],
      "properties": {
        "repository": {
          "type": "string"
        },
        "revision": {
          "type": "string"
        },
        "directory": {
          "type": "string"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "GlusterfsVolumeSource": {
      "required": [
        "endpoints",
        "path"
      ],
      "properties": {
        "endpoints": {
          "type": "string"
        },
        "path": {
          "type": "string"
        },
        "readOnly": {
          "type": "boolean"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "HTTPGetAction": {
      "required": [
        "port"
      ],
      "properties": {
        "path": {
          "type": "string"
        },
        "port": {
          "$schema": "http://json-schema.org/draft-04/schema",
          "$ref": "#/$defs/IntOrString"
        },
        "host": {
          "type": "string"
        },
        "scheme": {
          "type": "string"
        },
        "httpHeaders": {
          "items": {
            "$schema": "http://json-schema.org/draft-04/schema",
            "$ref": "#/$defs/HTTPHeader"
          },
          "type": "array"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "HTTPHeader": {
      "required": [
        "name",
        "value"
      ],
      "properties": {
        "name": {
          "type": "string"
        },
        "value": {
          "type": "string"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "HostPathVolumeSource": {
      "required": [
        "path"
      ],
      "properties": {
        "path": {
          "type": "string"
        },
        "type": {
          "type": "string"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "ISCSIVolumeSource": {
      "required": [
        "targetPortal",
        "iqn",
        "lun"
      ],
      "properties": {
        "targetPortal": {
          "type": "string"
        },
        "iqn": {
          "type": "string"
        },
        "lun": {
          "type": "integer"
        },
        "iscsiInterface": {
          "type": "string"
        },
        "fsType": {
          "type": "string"
        },
        "readOnly": {
          "type": "boolean"
        },
        "portals": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "chapAuthDiscovery": {
          "type": "boolean"
        },
        "chapAuthSession": {
          "type": "boolean"
        },
        "secretRef": {
          "$schema": "http://json-schema.org/draft-04/schema",
          "$ref": "#/$defs/LocalObjectReference"
        },
        "initiatorName": {
          "type": "string"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "IntOrString": {
      "required": [
        "Type",
        "IntVal",
        "StrVal"
      ],
      "properties": {
        "Type": {
          "type": "integer"
        },
        "IntVal": {
          "type": "integer"
        },
        "StrVal": {
          "type": "string"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "KeyToPath": {
      "required": [
        "key",
        "path"
      ],
      "properties": {
        "key": {
          "type": "string"
        },
        "path": {
          "type": "string"
        },
        "mode": {
          "type": "integer"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "LabelSelector": {
      "properties": {
        "matchLabels": {
          "type": "object",
          "patternProperties": {
            ".*": {
              "type": "string"
            }
          }
        },
        "matchExpressions": {
          "items": {
            "$schema": "http://json-schema.org/draft-04/schema",
            "$ref": "#/$defs/LabelSelectorRequirement"
          },
          "type": "array"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "LabelSelectorRequirement": {
      "required": [
        "key",
        "operator"
      ],
      "properties": {
        "key": {
          "type": "string"
        },
        "operator": {
          "type": "string"
        },
        "values": {
          "items": {
            "type": "string"
          },
          "type": "array"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "Lifecycle": {
      "properties": {
        "postStart": {
          "$schema": "http://json-schema.org/draft-04/schema",
          "$ref": "#/$defs/LifecycleHandler"
        },
        "preStop": {
          "$ref": "#/$defs/LifecycleHandler"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "LifecycleHandler": {
      "properties": {
        "exec": {
          "$ref": "#/$defs/ExecAction"
        },
        "httpGet": {
          "$ref": "#/$defs/HTTPGetAction"
        },
        "tcpSocket": {
          "$ref": "#/$defs/TCPSocketAction"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "LocalObjectReference": {
      "properties": {
        "name": {
          "type": "string"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "ManagedFieldsEntry": {
      "properties": {
        "manager": {
          "type": "string"
        },
        "operation": {
          "type": "string"
        },
        "apiVersion": {
          "type": "string"
        },
        "time": {
          "type": "string",
          "format": "data-time"
        },
        "fieldsType": {
          "type": "string"
        },
        "fieldsV1": {
          "properties": {},
          "type": "object",
          "additionalProperties": true
        },
        "subresource": {
          "type": "string"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "NFSVolumeSource": {
      "required": [
        "server",
        "path"
      ],
      "properties": {
        "server": {
          "type": "string"
        },
        "path": {
          "type": "string"
        },
        "readOnly": {
          "type": "boolean"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "ObjectFieldSelector": {
      "required": [
        "fieldPath"
      ],
      "properties": {
        "apiVersion": {
          "type": "string"
        },
        "fieldPath": {
          "type": "string"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "ObjectMeta": {
      "properties": {
        "name": {
          "type": "string"
        },
        "generateName": {
          "type": "string"
        },
        "namespace": {
          "type": "string"
        },
        "selfLink": {
          "type": "string"
        },
        "uid": {
          "type": "string"
        },
        "resourceVersion": {
          "type": "string"
        },
        "generation": {
          "type": "integer"
        },
        "creationTimestamp": {
          "type": "string",
          "format": "data-time"
        },
        "deletionTimestamp": {
          "type": "string",
          "format": "data-time"
        },
        "deletionGracePeriodSeconds": {
          "type": "integer"
        },
        "labels": {
          "type": "object",
          "patternProperties": {
            ".*": {
              "type": "string"
            }
          }
        },
        "annotations": {
          "type": "object",
          "patternProperties": {
            ".*": {
              "type": "string"
            }
          }
        },
        "ownerReferences": {
          "items": {
            "$schema": "http://json-schema.org/draft-04/schema",
            "$ref": "#/$defs/OwnerReference"
          },
          "type": "array"
        },
        "finalizers": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "managedFields": {
          "items": {
            "$schema": "http://json-schema.org/draft-04/schema",
            "$ref": "#/$defs/ManagedFieldsEntry"
          },
          "type": "array"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "OwnerReference": {
      "required": [
        "apiVersion",
        "kind",
        "name",
        "uid"
      ],
      "properties": {
        "apiVersion": {
          "type": "string"
        },
        "kind": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "uid": {
          "type": "string"
        },
        "controller": {
          "type": "boolean"
        },
        "blockOwnerDeletion": {
          "type": "boolean"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "Param": {
      "required": [
        "name",
        "value"
      ],
      "properties": {
        "name": {
          "type": "string"
        },
        "value": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "ParamSpec": {
      "required": [
        "name"
      ],
      "properties": {
        "name": {
          "type": "string"
        },
        "type": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "properties": {
          "type": "object",
          "patternProperties": {
            ".*": {
              "$schema": "http://json-schema.org/draft-04/schema",
              "$ref": "#/$defs/PropertySpec"
            }
          }
        },
        "default": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "enum": {
          "items": {
            "type": "string"
          },
          "type": "array"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "PersistentVolumeClaimSpec": {
      "properties": {
        "accessModes": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "selector": {
          "$schema": "http://json-schema.org/draft-04/schema",
          "$ref": "#/$defs/LabelSelector"
        },
        "resources": {
          "$ref": "#/$defs/ResourceRequirements"
        },
        "volumeName": {
          "type": "string"
        },
        "storageClassName": {
          "type": "string"
        },
        "volumeMode": {
          "type": "string"
        },
        "dataSource": {
          "$schema": "http://json-schema.org/draft-04/schema",
          "$ref": "#/$defs/TypedLocalObjectReference"
        },
        "dataSourceRef": {
          "$schema": "http://json-schema.org/draft-04/schema",
          "$ref": "#/$defs/TypedObjectReference"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "PersistentVolumeClaimTemplate": {
      "required": [
        "spec"
      ],
      "properties": {
        "metadata": {
          "$ref": "#/$defs/ObjectMeta"
        },
        "spec": {
          "$schema": "http://json-schema.org/draft-04/schema",
          "$ref": "#/$defs/PersistentVolumeClaimSpec"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "PersistentVolumeClaimVolumeSource": {
      "required": [
        "claimName"
      ],
      "properties": {
        "claimName": {
          "type": "string"
        },
        "readOnly": {
          "type": "boolean"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "PhotonPersistentDiskVolumeSource": {
      "required": [
        "pdID"
      ],
      "properties": {
        "pdID": {
          "type": "string"
        },
        "fsType": {
          "type": "string"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "PortworxVolumeSource": {
      "required": [
        "volumeID"
      ],
      "properties": {
        "volumeID": {
          "type": "string"
        },
        "fsType": {
          "type": "string"
        },
        "readOnly": {
          "type": "boolean"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "Probe": {
      "properties": {
        "exec": {
          "$schema": "http://json-schema.org/draft-04/schema",
          "$ref": "#/$defs/ExecAction"
        },
        "httpGet": {
          "$schema": "http://json-schema.org/draft-04/schema",
          "$ref": "#/$defs/HTTPGetAction"
        },
        "tcpSocket": {
          "$schema": "http://json-schema.org/draft-04/schema",
          "$ref": "#/$defs/TCPSocketAction"
        },
        "grpc": {
          "$schema": "http://json-schema.org/draft-04/schema",
          "$ref": "#/$defs/GRPCAction"
        },
        "initialDelaySeconds": {
          "type": "integer"
        },
        "timeoutSeconds": {
          "type": "integer"
        },
        "periodSeconds": {
          "type": "integer"
        },
        "successThreshold": {
          "type": "integer"
        },
        "failureThreshold": {
          "type": "integer"
        },
        "terminationGracePeriodSeconds": {
          "type": "integer"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "ProjectedVolumeSource": {
      "required": [
        "sources"
      ],
      "properties": {
        "sources": {
          "items": {
            "$schema": "http://json-schema.org/draft-04/schema",
            "$ref": "#/$defs/VolumeProjection"
          },
          "type": "array"
        },
        "defaultMode": {
          "type": "integer"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "PropertySpec": {
      "properties": {
        "type": {
          "type": "string"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "QuobyteVolumeSource": {
      "required": [
        "registry",
        "volume"
      ],
      "properties": {
        "registry": {
          "type": "string"
        },
        "volume": {
          "type": "string"
        },
        "readOnly": {
          "type": "boolean"
        },
        "user": {
          "type": "string"
        },
        "group": {
          "type": "string"
        },
        "tenant": {
          "type": "string"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "RBDVolumeSource": {
      "required": [
        "monitors",
        "image"
      ],
      "properties": {
        "monitors": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "image": {
          "type": "string"
        },
        "fsType": {
          "type": "string"
        },
        "pool": {
          "type": "string"
        },
        "user": {
          "type": "string"
        },
        "keyring": {
          "type": "string"
        },
        "secretRef": {
          "$ref": "#/$defs/LocalObjectReference"
        },
        "readOnly": {
          "type": "boolean"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "Ref": {
      "properties": {
        "name": {
          "type": "string"
        },
        "resolver": {
          "type": "string"
        },
        "params": {
          "items": {
            "$schema": "http://json-schema.org/draft-04/schema",
            "$ref": "#/$defs/Param"
          },
          "type": "array"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "ResourceClaim": {
      "required": [
        "name"
      ],
      "properties": {
        "name": {
          "type": "string"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "ResourceFieldSelector": {
      "required": [
        "resource"
      ],
      "properties": {
        "containerName": {
          "type": "string"
        },
        "resource": {
          "type": "string"
        },
        "divisor": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "type": "number"
            }
          ]
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "ResourceRequirements": {
      "properties": {
        "limits": {
          "type": "object",
          "patternProperties": {
            ".*": {
              "oneOf": [
                {
                  "type": "string"
                },
                {
                  "type": "number"
                }
              ]
            }
          }
        },
        "requests": {
          "type": "object",
          "patternProperties": {
            ".*": {
              "oneOf": [
                {
                  "type": "string"
                },
                {
                  "type": "number"
                }
              ]
            }
          }
        },
        "claims": {
          "items": {
            "$schema": "http://json-schema.org/draft-04/schema",
            "$ref": "#/$defs/ResourceClaim"
          },
          "type": "array"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "SELinuxOptions": {
      "properties": {
        "user": {
          "type": "string"
        },
        "role": {
          "type": "string"
        },
        "type": {
          "type": "string"
        },
        "level": {
          "type": "string"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "ScaleIOVolumeSource": {
      "required": [
        "gateway",
        "system",
        "secretRef"
      ],
      "properties": {
        "gateway": {
          "type": "string"
        },
        "system": {
          "type": "string"
        },
        "secretRef": {
          "$ref": "#/$defs/LocalObjectReference"
        },
        "sslEnabled": {
          "type": "boolean"
        },
        "protectionDomain": {
          "type": "string"
        },
        "storagePool": {
          "type": "string"
        },
        "storageMode": {
          "type": "string"
        },
        "volumeName": {
          "type": "string"
        },
        "fsType": {
          "type": "string"
        },
        "readOnly": {
          "type": "boolean"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "SeccompProfile": {
      "required": [
        "type"
      ],
      "properties": {
        "type": {
          "type": "string"
        },
        "localhostProfile": {
          "type": "string"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "SecretEnvSource": {
      "properties": {
        "name": {
          "type": "string"
        },
        "optional": {
          "type": "boolean"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "SecretKeySelector": {
      "required": [
        "key"
      ],
      "properties": {
        "name": {
          "type": "string"
        },
        "key": {
          "type": "string"
        },
        "optional": {
          "type": "boolean"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "SecretProjection": {
      "properties": {
        "name": {
          "type": "string"
        },
        "items": {
          "items": {
            "$ref": "#/$defs/KeyToPath"
          },
          "type": "array"
        },
        "optional": {
          "type": "boolean"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "SecretVolumeSource": {
      "properties": {
        "secretName": {
          "type": "string"
        },
        "items": {
          "items": {
            "$schema": "http://json-schema.org/draft-04/schema",
            "$ref": "#/$defs/KeyToPath"
          },
          "type": "array"
        },
        "defaultMode": {
          "type": "integer"
        },
        "optional": {
          "type": "boolean"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "SecurityContext": {
      "properties": {
        "capabilities": {
          "$schema": "http://json-schema.org/draft-04/schema",
          "$ref": "#/$defs/Capabilities"
        },
        "privileged": {
          "type": "boolean"
        },
        "seLinuxOptions": {
          "$schema": "http://json-schema.org/draft-04/schema",
          "$ref": "#/$defs/SELinuxOptions"
        },
        "windowsOptions": {
          "$schema": "http://json-schema.org/draft-04/schema",
          "$ref": "#/$defs/WindowsSecurityContextOptions"
        },
        "runAsUser": {
          "type": "integer"
        },
        "runAsGroup": {
          "type": "integer"
        },
        "runAsNonRoot": {
          "type": "boolean"
        },
        "readOnlyRootFilesystem": {
          "type": "boolean"
        },
        "allowPrivilegeEscalation": {
          "type": "boolean"
        },
        "procMount": {
          "type": "string"
        },
        "seccompProfile": {
          "$schema": "http://json-schema.org/draft-04/schema",
          "$ref": "#/$defs/SeccompProfile"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "ServiceAccountTokenProjection": {
      "required": [
        "path"
      ],
      "properties": {
        "audience": {
          "type": "string"
        },
        "expirationSeconds": {
          "type": "integer"
        },
        "path": {
          "type": "string"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "Sidecar": {
      "required": [
        "name"
      ],
      "properties": {
        "name": {
          "type": "string"
        },
        "image": {
          "type": "string"
        },
        "command": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "args": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "workingDir": {
          "type": "string"
        },
        "ports": {
          "items": {
            "$ref": "#/$defs/ContainerPort"
          },
          "type": "array"
        },
        "envFrom": {
          "items": {
            "$ref": "#/$defs/EnvFromSource"
          },
          "type": "array"
        },
        "env": {
          "items": {
            "$ref": "#/$defs/EnvVar"
          },
          "type": "array"
        },
        "resources": {
          "$ref": "#/$defs/ResourceRequirements"
        },
        "volumeMounts": {
          "items": {
            "$ref": "#/$defs/VolumeMount"
          },
          "type": "array"
        },
        "volumeDevices": {
          "items": {
            "$ref": "#/$defs/VolumeDevice"
          },
          "type": "array"
        },
        "livenessProbe": {
          "$ref": "#/$defs/Probe"
        },
        "readinessProbe": {
          "$ref": "#/$defs/Probe"
        },
        "startupProbe": {
          "$ref": "#/$defs/Probe"
        },
        "lifecycle": {
          "$ref": "#/$defs/Lifecycle"
        },
        "terminationMessagePath": {
          "type": "string"
        },
        "terminationMessagePolicy": {
          "type": "string"
        },
        "imagePullPolicy": {
          "type": "string"
        },
        "securityContext": {
          "$ref": "#/$defs/SecurityContext"
        },
        "stdin": {
          "type": "boolean"
        },
        "stdinOnce": {
          "type": "boolean"
        },
        "tty": {
          "type": "boolean"
        },
        "script": {
          "type": "string"
        },
        "workspaces": {
          "items": {
            "$ref": "#/$defs/WorkspaceUsage"
          },
          "type": "array"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "Step": {
      "required": [
        "name"
      ],
      "properties": {
        "name": {
          "type": "string"
        },
        "image": {
          "type": "string"
        },
        "command": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "args": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "workingDir": {
          "type": "string"
        },
        "ports": {
          "items": {
            "$schema": "http://json-schema.org/draft-04/schema",
            "$ref": "#/$defs/ContainerPort"
          },
          "type": "array"
        },
        "envFrom": {
          "items": {
            "$schema": "http://json-schema.org/draft-04/schema",
            "$ref": "#/$defs/EnvFromSource"
          },
          "type": "array"
        },
        "env": {
          "items": {
            "$schema": "http://json-schema.org/draft-04/schema",
            "$ref": "#/$defs/EnvVar"
          },
          "type": "array"
        },
        "resources": {
          "$schema": "http://json-schema.org/draft-04/schema",
          "$ref": "#/$defs/ResourceRequirements"
        },
        "volumeMounts": {
          "items": {
            "$schema": "http://json-schema.org/draft-04/schema",
            "$ref": "#/$defs/VolumeMount"
          },
          "type": "array"
        },
        "volumeDevices": {
          "items": {
            "$schema": "http://json-schema.org/draft-04/schema",
            "$ref": "#/$defs/VolumeDevice"
          },
          "type": "array"
        },
        "livenessProbe": {
          "$schema": "http://json-schema.org/draft-04/schema",
          "$ref": "#/$defs/Probe"
        },
        "readinessProbe": {
          "$ref": "#/$defs/Probe"
        },
        "startupProbe": {
          "$ref": "#/$defs/Probe"
        },
        "lifecycle": {
          "$schema": "http://json-schema.org/draft-04/schema",
          "$ref": "#/$defs/Lifecycle"
        },
        "terminationMessagePath": {
          "type": "string"
        },
        "terminationMessagePolicy": {
          "type": "string"
        },
        "imagePullPolicy": {
          "type": "string"
        },
        "securityContext": {
          "$schema": "http://json-schema.org/draft-04/schema",
          "$ref": "#/$defs/SecurityContext"
        },
        "stdin": {
          "type": "boolean"
        },
        "stdinOnce": {
          "type": "boolean"
        },
        "tty": {
          "type": "boolean"
        },
        "script": {
          "type": "string"
        },
        "timeout": {
          "pattern": "^[-+]?([0-9]*(\\.[0-9]*)?(ns|us|µs|μs|ms|s|m|h))+$",
          "type": "string"
        },
        "workspaces": {
          "items": {
            "$schema": "http://json-schema.org/draft-04/schema",
            "$ref": "#/$defs/WorkspaceUsage"
          },
          "type": "array"
        },
        "onError": {
          "type": "string"
        },
        "stdoutConfig": {
          "$schema": "http://json-schema.org/draft-04/schema",
          "$ref": "#/$defs/StepOutputConfig"
        },
        "stderrConfig": {
          "$ref": "#/$defs/StepOutputConfig"
        },
        "ref": {
          "$schema": "http://json-schema.org/draft-04/schema",
          "$ref": "#/$defs/Ref"
        },
        "params": {
          "items": {
            "$ref": "#/$defs/Param"
          },
          "type": "array"
        },
        "results": {
          "items": {
            "$schema": "http://json-schema.org/draft-04/schema",
            "$ref": "#/$defs/StepResult"
          },
          "type": "array"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "StepOutputConfig": {
      "properties": {
        "path": {
          "type": "string"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "StepResult": {
      "required": [
        "name"
      ],
      "properties": {
        "name": {
          "type": "string"
        },
        "type": {
          "type": "string"
        },
        "properties": {
          "type": "object",
          "patternProperties": {
            ".*": {
              "$ref": "#/$defs/PropertySpec"
            }
          }
        },
        "description": {
          "type": "string"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "StepTemplate": {
      "required": [
        "name"
      ],
      "properties": {
        "name": {
          "type": "string"
        },
        "image": {
          "type": "string"
        },
        "command": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "args": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "workingDir": {
          "type": "string"
        },
        "ports": {
          "items": {
            "$ref": "#/$defs/ContainerPort"
          },
          "type": "array"
        },
        "envFrom": {
          "items": {
            "$ref": "#/$defs/EnvFromSource"
          },
          "type": "array"
        },
        "env": {
          "items": {
            "$ref": "#/$defs/EnvVar"
          },
          "type": "array"
        },
        "resources": {
          "$ref": "#/$defs/ResourceRequirements"
        },
        "volumeMounts": {
          "items": {
            "$ref": "#/$defs/VolumeMount"
          },
          "type": "array"
        },
        "volumeDevices": {
          "items": {
            "$ref": "#/$defs/VolumeDevice"
          },
          "type": "array"
        },
        "livenessProbe": {
          "$ref": "#/$defs/Probe"
        },
        "readinessProbe": {
          "$ref": "#/$defs/Probe"
        },
        "startupProbe": {
          "$ref": "#/$defs/Probe"
        },
        "lifecycle": {
          "$ref": "#/$defs/Lifecycle"
        },
        "terminationMessagePath": {
          "type": "string"
        },
        "terminationMessagePolicy": {
          "type": "string"
        },
        "imagePullPolicy": {
          "type": "string"
        },
        "securityContext": {
          "$ref": "#/$defs/SecurityContext"
        },
        "stdin": {
          "type": "boolean"
        },
        "stdinOnce": {
          "type": "boolean"
        },
        "tty": {
          "type": "boolean"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "StorageOSVolumeSource": {
      "properties": {
        "volumeName": {
          "type": "string"
        },
        "volumeNamespace": {
          "type": "string"
        },
        "fsType": {
          "type": "string"
        },
        "readOnly": {
          "type": "boolean"
        },
        "secretRef": {
          "$ref": "#/$defs/LocalObjectReference"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "TCPSocketAction": {
      "required": [
        "port"
      ],
      "properties": {
        "port": {
          "$ref": "#/$defs/IntOrString"
        },
        "host": {
          "type": "string"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "Task": {
      "required": [
        "metadata",
        "spec"
      ],
      "properties": {
        "kind": {
          "type": "string"
        },
        "apiVersion": {
          "type": "string"
        },
        "metadata": {
          "$schema": "http://json-schema.org/draft-04/schema",
          "$ref": "#/$defs/ObjectMeta"
        },
        "spec": {
          "$schema": "http://json-schema.org/draft-04/schema",
          "$ref": "#/$defs/TaskSpec"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "TaskResource": {
      "required": [
        "name",
        "type"
      ],
      "properties": {
        "name": {
          "type": "string"
        },
        "type": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "targetPath": {
          "type": "string"
        },
        "optional": {
          "type": "boolean"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "TaskResources": {
      "properties": {
        "inputs": {
          "items": {
            "$schema": "http://json-schema.org/draft-04/schema",
            "$ref": "#/$defs/TaskResource"
          },
          "type": "array"
        },
        "outputs": {
          "items": {
            "$ref": "#/$defs/TaskResource"
          },
          "type": "array"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "TaskResult": {
      "required": [
        "name"
      ],
      "properties": {
        "name": {
          "type": "string"
        },
        "type": {
          "type": "string"
        },
        "properties": {
          "type": "object",
          "patternProperties": {
            ".*": {
              "$ref": "#/$defs/PropertySpec"
            }
          }
        },
        "description": {
          "type": "string"
        },
        "value": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "TaskSpec": {
      "properties": {
        "resources": {
          "$schema": "http://json-schema.org/draft-04/schema",
          "$ref": "#/$defs/TaskResources"
        },
        "params": {
          "items": {
            "$schema": "http://json-schema.org/draft-04/schema",
            "$ref": "#/$defs/ParamSpec"
          },
          "type": "array"
        },
        "displayName": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "steps": {
          "items": {
            "$schema": "http://json-schema.org/draft-04/schema",
            "$ref": "#/$defs/Step"
          },
          "type": "array"
        },
        "volumes": {
          "items": {
            "$schema": "http://json-schema.org/draft-04/schema",
            "$ref": "#/$defs/Volume"
          },
          "type": "array"
        },
        "stepTemplate": {
          "$schema": "http://json-schema.org/draft-04/schema",
          "$ref": "#/$defs/StepTemplate"
        },
        "sidecars": {
          "items": {
            "$schema": "http://json-schema.org/draft-04/schema",
            "$ref": "#/$defs/Sidecar"
          },
          "type": "array"
        },
        "workspaces": {
          "items": {
            "$schema": "http://json-schema.org/draft-04/schema",
            "$ref": "#/$defs/WorkspaceDeclaration"
          },
          "type": "array"
        },
        "results": {
          "items": {
            "$schema": "http://json-schema.org/draft-04/schema",
            "$ref": "#/$defs/TaskResult"
          },
          "type": "array"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "TypedLocalObjectReference": {
      "required": [
        "apiGroup",
        "kind",
        "name"
      ],
      "properties": {
        "apiGroup": {
          "type": "string"
        },
        "kind": {
          "type": "string"
        },
        "name": {
          "type": "string"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "TypedObjectReference": {
      "required": [
        "apiGroup",
        "kind",
        "name"
      ],
      "properties": {
        "apiGroup": {
          "type": "string"
        },
        "kind": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "namespace": {
          "type": "string"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "Volume": {
      "required": [
        "name"
      ],
      "properties": {
        "name": {
          "type": "string"
        },
        "hostPath": {
          "$schema": "http://json-schema.org/draft-04/schema",
          "$ref": "#/$defs/HostPathVolumeSource"
        },
        "emptyDir": {
          "$schema": "http://json-schema.org/draft-04/schema",
          "$ref": "#/$defs/EmptyDirVolumeSource"
        },
        "gcePersistentDisk": {
          "$schema": "http://json-schema.org/draft-04/schema",
          "$ref": "#/$defs/GCEPersistentDiskVolumeSource"
        },
        "awsElasticBlockStore": {
          "$schema": "http://json-schema.org/draft-04/schema",
          "$ref": "#/$defs/AWSElasticBlockStoreVolumeSource"
        },
        "gitRepo": {
          "$schema": "http://json-schema.org/draft-04/schema",
          "$ref": "#/$defs/GitRepoVolumeSource"
        },
        "secret": {
          "$schema": "http://json-schema.org/draft-04/schema",
          "$ref": "#/$defs/SecretVolumeSource"
        },
        "nfs": {
          "$schema": "http://json-schema.org/draft-04/schema",
          "$ref": "#/$defs/NFSVolumeSource"
        },
        "iscsi": {
          "$schema": "http://json-schema.org/draft-04/schema",
          "$ref": "#/$defs/ISCSIVolumeSource"
        },
        "glusterfs": {
          "$schema": "http://json-schema.org/draft-04/schema",
          "$ref": "#/$defs/GlusterfsVolumeSource"
        },
        "persistentVolumeClaim": {
          "$schema": "http://json-schema.org/draft-04/schema",
          "$ref": "#/$defs/PersistentVolumeClaimVolumeSource"
        },
        "rbd": {
          "$schema": "http://json-schema.org/draft-04/schema",
          "$ref": "#/$defs/RBDVolumeSource"
        },
        "flexVolume": {
          "$schema": "http://json-schema.org/draft-04/schema",
          "$ref": "#/$defs/FlexVolumeSource"
        },
        "cinder": {
          "$schema": "http://json-schema.org/draft-04/schema",
          "$ref": "#/$defs/CinderVolumeSource"
        },
        "cephfs": {
          "$schema": "http://json-schema.org/draft-04/schema",
          "$ref": "#/$defs/CephFSVolumeSource"
        },
        "flocker": {
          "$schema": "http://json-schema.org/draft-04/schema",
          "$ref": "#/$defs/FlockerVolumeSource"
        },
        "downwardAPI": {
          "$schema": "http://json-schema.org/draft-04/schema",
          "$ref": "#/$defs/DownwardAPIVolumeSource"
        },
        "fc": {
          "$schema": "http://json-schema.org/draft-04/schema",
          "$ref": "#/$defs/FCVolumeSource"
        },
        "azureFile": {
          "$schema": "http://json-schema.org/draft-04/schema",
          "$ref": "#/$defs/AzureFileVolumeSource"
        },
        "configMap": {
          "$schema": "http://json-schema.org/draft-04/schema",
          "$ref": "#/$defs/ConfigMapVolumeSource"
        },
        "vsphereVolume": {
          "$schema": "http://json-schema.org/draft-04/schema",
          "$ref": "#/$defs/VsphereVirtualDiskVolumeSource"
        },
        "quobyte": {
          "$schema": "http://json-schema.org/draft-04/schema",
          "$ref": "#/$defs/QuobyteVolumeSource"
        },
        "azureDisk": {
          "$schema": "http://json-schema.org/draft-04/schema",
          "$ref": "#/$defs/AzureDiskVolumeSource"
        },
        "photonPersistentDisk": {
          "$schema": "http://json-schema.org/draft-04/schema",
          "$ref": "#/$defs/PhotonPersistentDiskVolumeSource"
        },
        "projected": {
          "$schema": "http://json-schema.org/draft-04/schema",
          "$ref": "#/$defs/ProjectedVolumeSource"
        },
        "portworxVolume": {
          "$schema": "http://json-schema.org/draft-04/schema",
          "$ref": "#/$defs/PortworxVolumeSource"
        },
        "scaleIO": {
          "$schema": "http://json-schema.org/draft-04/schema",
          "$ref": "#/$defs/ScaleIOVolumeSource"
        },
        "storageos": {
          "$schema": "http://json-schema.org/draft-04/schema",
          "$ref": "#/$defs/StorageOSVolumeSource"
        },
        "csi": {
          "$schema": "http://json-schema.org/draft-04/schema",
          "$ref": "#/$defs/CSIVolumeSource"
        },
        "ephemeral": {
          "$schema": "http://json-schema.org/draft-04/schema",
          "$ref": "#/$defs/EphemeralVolumeSource"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "VolumeDevice": {
      "required": [
        "name",
        "devicePath"
      ],
      "properties": {
        "name": {
          "type": "string"
        },
        "devicePath": {
          "type": "string"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "VolumeMount": {
      "required": [
        "name",
        "mountPath"
      ],
      "properties": {
        "name": {
          "type": "string"
        },
        "readOnly": {
          "type": "boolean"
        },
        "mountPath": {
          "type": "string"
        },
        "subPath": {
          "type": "string"
        },
        "mountPropagation": {
          "type": "string"
        },
        "subPathExpr": {
          "type": "string"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "VolumeProjection": {
      "properties": {
        "secret": {
          "$schema": "http://json-schema.org/draft-04/schema",
          "$ref": "#/$defs/SecretProjection"
        },
        "downwardAPI": {
          "$schema": "http://json-schema.org/draft-04/schema",
          "$ref": "#/$defs/DownwardAPIProjection"
        },
        "configMap": {
          "$schema": "http://json-schema.org/draft-04/schema",
          "$ref": "#/$defs/ConfigMapProjection"
        },
        "serviceAccountToken": {
          "$schema": "http://json-schema.org/draft-04/schema",
          "$ref": "#/$defs/ServiceAccountTokenProjection"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "VsphereVirtualDiskVolumeSource": {
      "required": [
        "volumePath"
      ],
      "properties": {
        "volumePath": {
          "type": "string"
        },
        "fsType": {
          "type": "string"
        },
        "storagePolicyName": {
          "type": "string"
        },
        "storagePolicyID": {
          "type": "string"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "WindowsSecurityContextOptions": {
      "properties": {
        "gmsaCredentialSpecName": {
          "type": "string"
        },
        "gmsaCredentialSpec": {
          "type": "string"
        },
        "runAsUserName": {
          "type": "string"
        },
        "hostProcess": {
          "type": "boolean"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "WorkspaceDeclaration": {
      "required": [
        "name"
      ],
      "properties": {
        "name": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "mountPath": {
          "type": "string"
        },
        "readOnly": {
          "type": "boolean"
        },
        "optional": {
          "type": "boolean"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "WorkspaceUsage": {
      "required": [
        "name",
        "mountPath"
      ],
      "properties": {
        "name": {
          "type": "string"
        },
        "mountPath": {
          "type": "string"
        }
      },
      "type": "object",
      "additionalProperties": false
    }
  },
  "$ref": "#/$defs/Task"
}
