{
  "description": "PriorityLevelConfigurationSpec specifies the configuration of a priority level.",
  "properties": {
    "exempt": {
      "$ref": "/api/_definitions.json#/$defs/io.k8s.api.flowcontrol.v1beta2.ExemptPriorityLevelConfiguration",
      "description": "`exempt` specifies how requests are handled for an exempt priority level. This field MUST be empty if `type` is `\"Limited\"`. This field MAY be non-empty if `type` is `\"Exempt\"`. If empty and `type` is `\"Exempt\"` then the default values for `ExemptPriorityLevelConfiguration` apply."
    },
    "limited": {
      "$ref": "/api/_definitions.json#/$defs/io.k8s.api.flowcontrol.v1beta2.LimitedPriorityLevelConfiguration",
      "description": "`limited` specifies how requests are handled for a Limited priority level. This field must be non-empty if and only if `type` is `\"Limited\"`."
    },
    "type": {
      "description": "`type` indicates whether this priority level is subject to limitation on request execution.  A value of `\"Exempt\"` means that requests of this priority level are not subject to a limit (and thus are never queued) and do not detract from the capacity made available to other priority levels.  A value of `\"Limited\"` means that (a) requests of this priority level _are_ subject to limits and (b) some of the server's limited capacity is made available exclusively to this priority level. Required.",
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "type"
  ],
  "type": "object",
  "x-kubernetes-unions": [
    {
      "discriminator": "type",
      "fields-to-discriminateBy": {
        "exempt": "Exempt",
        "limited": "Limited"
      }
    }
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "$id": "https://kubernetes.io/api/prioritylevelconfigurationspec/flowcontrol/v1beta2"
}