{
  "description": "CompositePodGroupSchedulingPolicy defines the scheduling configuration for a CompositePodGroup. Exactly one policy must be set.",
  "properties": {
    "basic": {
      "description": "CompositeBasicSchedulingPolicy indicates that the groups belonging to the composite group should be scheduled independently.",
      "type": [
        "object",
        "null"
      ]
    },
    "gang": {
      "description": "CompositeGangSchedulingPolicy indicates that the groups belonging to the composite group should be scheduled using all-or-nothing semantics.",
      "properties": {
        "minGroupCount": {
          "description": "minGroupCount is the minimum number of child groups that must be schedulable or scheduled at the same time for the scheduler to admit the entire group. It must be a positive integer.",
          "format": "int32",
          "type": "integer"
        }
      },
      "required": [
        "minGroupCount"
      ],
      "type": [
        "object",
        "null"
      ]
    }
  },
  "type": "object",
  "x-kubernetes-unions": [
    {
      "fields-to-discriminateBy": {
        "basic": "Basic",
        "gang": "Gang"
      }
    }
  ],
  "$schema": "http://json-schema.org/schema#"
}