{
  "description": "ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).",
  "properties": {
    "describedObject": {
      "$ref": "/api/_definitions.json#/$defs/io.k8s.api.autoscaling.v2.CrossVersionObjectReference",
      "description": "describedObject specifies the descriptions of a object,such as kind,name apiVersion"
    },
    "metric": {
      "$ref": "/api/_definitions.json#/$defs/io.k8s.api.autoscaling.v2.MetricIdentifier",
      "description": "metric identifies the target metric by name and selector"
    },
    "target": {
      "$ref": "/api/_definitions.json#/$defs/io.k8s.api.autoscaling.v2.MetricTarget",
      "description": "target specifies the target value for the given metric"
    }
  },
  "required": [
    "describedObject",
    "target",
    "metric"
  ],
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://kubernetes.io/api/objectmetricsource/autoscaling/v2"
}