{
  "description": "ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).",
  "properties": {
    "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": [
    "metric",
    "target"
  ],
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://kubernetes.io/api/externalmetricsource/autoscaling/v2"
}