{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/argo-workflows/refs/heads/main/json-structure/argo-workflows-io-k8s-api-core-v1-weighted-pod-affinity-term-structure.json",
  "name": "io.k8s.api.core.v1.WeightedPodAffinityTerm",
  "description": "The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)",
  "type": "object",
  "properties": {
    "podAffinityTerm": {
      "description": "Required. A pod affinity term, associated with the corresponding weight.",
      "$ref": "#/definitions/io.k8s.api.core.v1.PodAffinityTerm"
    },
    "weight": {
      "description": "weight associated with matching the corresponding podAffinityTerm, in the range 1-100.",
      "type": "int32"
    }
  },
  "required": [
    "weight",
    "podAffinityTerm"
  ]
}