{
  "description": "DeleteOptions may be provided when deleting an API object.",
  "properties": {
    "apiVersion": {
      "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "v1",
        "admission.k8s.io/v1",
        "admission.k8s.io/v1beta1",
        "admissionregistration.k8s.io/v1",
        "admissionregistration.k8s.io/v1alpha1",
        "admissionregistration.k8s.io/v1beta1",
        "apiextensions.k8s.io/v1",
        "apiextensions.k8s.io/v1beta1",
        "apiregistration.k8s.io/v1",
        "apiregistration.k8s.io/v1beta1",
        "apps/v1",
        "apps/v1beta1",
        "apps/v1beta2",
        "authentication.k8s.io/v1",
        "authentication.k8s.io/v1alpha1",
        "authentication.k8s.io/v1beta1",
        "authorization.k8s.io/v1",
        "authorization.k8s.io/v1beta1",
        "autoscaling/v1",
        "autoscaling/v2",
        "autoscaling/v2beta1",
        "autoscaling/v2beta2",
        "batch/v1",
        "batch/v1beta1",
        "certificates.k8s.io/v1",
        "certificates.k8s.io/v1alpha1",
        "certificates.k8s.io/v1beta1",
        "coordination.k8s.io/v1",
        "coordination.k8s.io/v1beta1",
        "discovery.k8s.io/v1",
        "discovery.k8s.io/v1beta1",
        "events.k8s.io/v1",
        "events.k8s.io/v1beta1",
        "extensions/v1beta1",
        "flowcontrol.apiserver.k8s.io/v1alpha1",
        "flowcontrol.apiserver.k8s.io/v1beta1",
        "flowcontrol.apiserver.k8s.io/v1beta2",
        "flowcontrol.apiserver.k8s.io/v1beta3",
        "imagepolicy.k8s.io/v1alpha1",
        "internal.apiserver.k8s.io/v1alpha1",
        "networking.k8s.io/v1",
        "networking.k8s.io/v1alpha1",
        "networking.k8s.io/v1beta1",
        "node.k8s.io/v1",
        "node.k8s.io/v1alpha1",
        "node.k8s.io/v1beta1",
        "policy/v1",
        "policy/v1beta1",
        "rbac.authorization.k8s.io/v1",
        "rbac.authorization.k8s.io/v1alpha1",
        "rbac.authorization.k8s.io/v1beta1",
        "resource.k8s.io/v1alpha2",
        "scheduling.k8s.io/v1",
        "scheduling.k8s.io/v1alpha1",
        "scheduling.k8s.io/v1beta1",
        "storage.k8s.io/v1",
        "storage.k8s.io/v1alpha1",
        "storage.k8s.io/v1beta1"
      ]
    },
    "dryRun": {
      "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "type": [
        "array",
        "null"
      ]
    },
    "gracePeriodSeconds": {
      "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
      "format": "int64",
      "type": [
        "integer",
        "null"
      ]
    },
    "kind": {
      "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "DeleteOptions"
      ]
    },
    "orphanDependents": {
      "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
      "type": [
        "boolean",
        "null"
      ]
    },
    "preconditions": {
      "$ref": "/api/_definitions.json#/$defs/io.k8s.apimachinery.pkg.apis.meta.v1.Preconditions",
      "description": "Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned."
    },
    "propagationPolicy": {
      "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
      "type": [
        "string",
        "null"
      ]
    }
  },
  "type": "object",
  "x-kubernetes-group-version-kind": [
    {
      "group": "",
      "kind": "DeleteOptions",
      "version": "v1"
    },
    {
      "group": "admission.k8s.io",
      "kind": "DeleteOptions",
      "version": "v1"
    },
    {
      "group": "admission.k8s.io",
      "kind": "DeleteOptions",
      "version": "v1beta1"
    },
    {
      "group": "admissionregistration.k8s.io",
      "kind": "DeleteOptions",
      "version": "v1"
    },
    {
      "group": "admissionregistration.k8s.io",
      "kind": "DeleteOptions",
      "version": "v1alpha1"
    },
    {
      "group": "admissionregistration.k8s.io",
      "kind": "DeleteOptions",
      "version": "v1beta1"
    },
    {
      "group": "apiextensions.k8s.io",
      "kind": "DeleteOptions",
      "version": "v1"
    },
    {
      "group": "apiextensions.k8s.io",
      "kind": "DeleteOptions",
      "version": "v1beta1"
    },
    {
      "group": "apiregistration.k8s.io",
      "kind": "DeleteOptions",
      "version": "v1"
    },
    {
      "group": "apiregistration.k8s.io",
      "kind": "DeleteOptions",
      "version": "v1beta1"
    },
    {
      "group": "apps",
      "kind": "DeleteOptions",
      "version": "v1"
    },
    {
      "group": "apps",
      "kind": "DeleteOptions",
      "version": "v1beta1"
    },
    {
      "group": "apps",
      "kind": "DeleteOptions",
      "version": "v1beta2"
    },
    {
      "group": "authentication.k8s.io",
      "kind": "DeleteOptions",
      "version": "v1"
    },
    {
      "group": "authentication.k8s.io",
      "kind": "DeleteOptions",
      "version": "v1alpha1"
    },
    {
      "group": "authentication.k8s.io",
      "kind": "DeleteOptions",
      "version": "v1beta1"
    },
    {
      "group": "authorization.k8s.io",
      "kind": "DeleteOptions",
      "version": "v1"
    },
    {
      "group": "authorization.k8s.io",
      "kind": "DeleteOptions",
      "version": "v1beta1"
    },
    {
      "group": "autoscaling",
      "kind": "DeleteOptions",
      "version": "v1"
    },
    {
      "group": "autoscaling",
      "kind": "DeleteOptions",
      "version": "v2"
    },
    {
      "group": "autoscaling",
      "kind": "DeleteOptions",
      "version": "v2beta1"
    },
    {
      "group": "autoscaling",
      "kind": "DeleteOptions",
      "version": "v2beta2"
    },
    {
      "group": "batch",
      "kind": "DeleteOptions",
      "version": "v1"
    },
    {
      "group": "batch",
      "kind": "DeleteOptions",
      "version": "v1beta1"
    },
    {
      "group": "certificates.k8s.io",
      "kind": "DeleteOptions",
      "version": "v1"
    },
    {
      "group": "certificates.k8s.io",
      "kind": "DeleteOptions",
      "version": "v1alpha1"
    },
    {
      "group": "certificates.k8s.io",
      "kind": "DeleteOptions",
      "version": "v1beta1"
    },
    {
      "group": "coordination.k8s.io",
      "kind": "DeleteOptions",
      "version": "v1"
    },
    {
      "group": "coordination.k8s.io",
      "kind": "DeleteOptions",
      "version": "v1beta1"
    },
    {
      "group": "discovery.k8s.io",
      "kind": "DeleteOptions",
      "version": "v1"
    },
    {
      "group": "discovery.k8s.io",
      "kind": "DeleteOptions",
      "version": "v1beta1"
    },
    {
      "group": "events.k8s.io",
      "kind": "DeleteOptions",
      "version": "v1"
    },
    {
      "group": "events.k8s.io",
      "kind": "DeleteOptions",
      "version": "v1beta1"
    },
    {
      "group": "extensions",
      "kind": "DeleteOptions",
      "version": "v1beta1"
    },
    {
      "group": "flowcontrol.apiserver.k8s.io",
      "kind": "DeleteOptions",
      "version": "v1alpha1"
    },
    {
      "group": "flowcontrol.apiserver.k8s.io",
      "kind": "DeleteOptions",
      "version": "v1beta1"
    },
    {
      "group": "flowcontrol.apiserver.k8s.io",
      "kind": "DeleteOptions",
      "version": "v1beta2"
    },
    {
      "group": "flowcontrol.apiserver.k8s.io",
      "kind": "DeleteOptions",
      "version": "v1beta3"
    },
    {
      "group": "imagepolicy.k8s.io",
      "kind": "DeleteOptions",
      "version": "v1alpha1"
    },
    {
      "group": "internal.apiserver.k8s.io",
      "kind": "DeleteOptions",
      "version": "v1alpha1"
    },
    {
      "group": "networking.k8s.io",
      "kind": "DeleteOptions",
      "version": "v1"
    },
    {
      "group": "networking.k8s.io",
      "kind": "DeleteOptions",
      "version": "v1alpha1"
    },
    {
      "group": "networking.k8s.io",
      "kind": "DeleteOptions",
      "version": "v1beta1"
    },
    {
      "group": "node.k8s.io",
      "kind": "DeleteOptions",
      "version": "v1"
    },
    {
      "group": "node.k8s.io",
      "kind": "DeleteOptions",
      "version": "v1alpha1"
    },
    {
      "group": "node.k8s.io",
      "kind": "DeleteOptions",
      "version": "v1beta1"
    },
    {
      "group": "policy",
      "kind": "DeleteOptions",
      "version": "v1"
    },
    {
      "group": "policy",
      "kind": "DeleteOptions",
      "version": "v1beta1"
    },
    {
      "group": "rbac.authorization.k8s.io",
      "kind": "DeleteOptions",
      "version": "v1"
    },
    {
      "group": "rbac.authorization.k8s.io",
      "kind": "DeleteOptions",
      "version": "v1alpha1"
    },
    {
      "group": "rbac.authorization.k8s.io",
      "kind": "DeleteOptions",
      "version": "v1beta1"
    },
    {
      "group": "resource.k8s.io",
      "kind": "DeleteOptions",
      "version": "v1alpha2"
    },
    {
      "group": "scheduling.k8s.io",
      "kind": "DeleteOptions",
      "version": "v1"
    },
    {
      "group": "scheduling.k8s.io",
      "kind": "DeleteOptions",
      "version": "v1alpha1"
    },
    {
      "group": "scheduling.k8s.io",
      "kind": "DeleteOptions",
      "version": "v1beta1"
    },
    {
      "group": "storage.k8s.io",
      "kind": "DeleteOptions",
      "version": "v1"
    },
    {
      "group": "storage.k8s.io",
      "kind": "DeleteOptions",
      "version": "v1alpha1"
    },
    {
      "group": "storage.k8s.io",
      "kind": "DeleteOptions",
      "version": "v1beta1"
    }
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://kubernetes.io/api/deleteoptions/meta/v1"
}