{
  "description": "PodSecurityPolicy governs the ability to make requests that affect the Security Context that will be applied to a pod and container. Deprecated in 1.21.",
  "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"
      ]
    },
    "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": [
        "PodSecurityPolicy"
      ]
    },
    "metadata": {
      "$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.2/_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta",
      "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
    },
    "spec": {
      "$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.2/_definitions.json#/definitions/io.k8s.api.policy.v1beta1.PodSecurityPolicySpec",
      "description": "spec defines the policy enforced."
    }
  },
  "type": "object",
  "x-kubernetes-group-version-kind": [
    {
      "group": "policy",
      "kind": "PodSecurityPolicy",
      "version": "v1beta1"
    }
  ],
  "$schema": "http://json-schema.org/schema#"
}