{
  "description": "MigrationPolicy holds migration policy (i.e. configurations) to apply to a VM or group of VMs",
  "properties": {
    "apiVersion": {
      "description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
      "type": [
        "string",
        "null"
      ]
    },
    "kind": {
      "description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
      "type": [
        "string",
        "null"
      ]
    },
    "metadata": {
      "type": [
        "object",
        "null"
      ]
    },
    "spec": {
      "additionalProperties": false,
      "properties": {
        "allowAutoConverge": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "allowPostCopy": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "allowWorkloadDisruption": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "bandwidthPerMigration": {
          "oneOf": [
            {
              "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$",
              "type": "string"
            },
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "x-kubernetes-int-or-string": true
        },
        "completionTimeoutPerGiB": {
          "format": "int64",
          "type": [
            "integer",
            "null"
          ]
        },
        "selectors": {
          "additionalProperties": false,
          "properties": {
            "namespaceSelector": {
              "additionalProperties": {
                "type": "string"
              },
              "type": [
                "object",
                "null"
              ]
            },
            "virtualMachineInstanceSelector": {
              "additionalProperties": {
                "type": "string"
              },
              "type": [
                "object",
                "null"
              ]
            }
          },
          "type": "object"
        }
      },
      "required": [
        "selectors"
      ],
      "type": "object"
    },
    "status": {
      "nullable": true,
      "type": [
        "object",
        "null"
      ]
    }
  },
  "required": [
    "spec"
  ],
  "type": "object"
}