{
    "definitions": {
        "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_autoscaling_v2beta2_HPAScalingPolicy": {
            "description": "HPAScalingPolicy is a single policy which must hold true for a specified past interval.",
            "properties": {
                "periodSeconds": {
                    "_format": "int32",
                    "description": "PeriodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).",
                    "type": "integer"
                },
                "type": {
                    "description": "Type is used to specify the scaling policy.",
                    "type": "string"
                },
                "value": {
                    "_format": "int32",
                    "description": "Value contains the amount of change which is permitted by the policy. It must be greater than zero",
                    "type": "integer"
                }
            },
            "required": [
                "type",
                "value",
                "periodSeconds"
            ],
            "type": "object"
        }
    },
    "description": "HPAScalingRules configures the scaling behavior for one direction. These Rules are applied after calculating DesiredReplicas from metrics for the HPA. They can limit the scaling velocity by specifying scaling policies. They can prevent flapping by specifying the stabilization window, so that the number of replicas is not set instantly, instead, the safest value from the stabilization window is chosen.",
    "properties": {
        "policies": {
            "description": "policies is a list of potential scaling polices which can be used during scaling. At least one policy must be specified, otherwise the HPAScalingRules will be discarded as invalid",
            "items": {
                "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_autoscaling_v2beta2_HPAScalingPolicy"
            },
            "type": [
                "array",
                "null"
            ]
        },
        "selectPolicy": {
            "description": "selectPolicy is used to specify which policy should be used. If not set, the default value MaxPolicySelect is used.",
            "type": [
                "string",
                "null"
            ]
        },
        "stabilizationWindowSeconds": {
            "description": "StabilizationWindowSeconds is the number of seconds for which past recommendations should be considered while scaling up or scaling down. StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour). If not set, use the default values: - For scale up: 0 (i.e. no stabilization is done). - For scale down: 300 (i.e. the stabilization window is 300 seconds long).",
            "format": "int32",
            "type": [
                "integer",
                "null"
            ]
        }
    },
    "type": "object"
}