{
  "description": "SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set.",
  "properties": {
    "localhostProfile": {
      "description": "localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is \"Localhost\".",
      "type": [
        "string",
        "null"
      ]
    },
    "type": {
      "description": "type indicates which kind of seccomp profile will be applied. Valid options are:\n\nLocalhost - a profile defined in a file on the node should be used. RuntimeDefault - the container runtime default profile should be used. Unconfined - no profile should be applied.\n\n",
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "type"
  ],
  "type": "object",
  "x-kubernetes-unions": [
    {
      "discriminator": "type",
      "fields-to-discriminateBy": {
        "localhostProfile": "LocalhostProfile"
      }
    }
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "$id": "https://kubernetes.io/api/seccompprofile/v1"
}