{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-crosswork/json-schema/cisco-crosswork-install-api-vmmtask-schema.json",
  "title": "install_apiVMMTask",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-crosswork-cwvmmangager-api-openapi.yml#/components/schemas/install_apiVMMTask",
  "type": "object",
  "properties": {
    "NmTaskId": {
      "type": "string"
    },
    "NmTaskType": {
      "$ref": "#/$defs/install_apiVMMTaskTypes"
    },
    "CwVMs": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "TimeInitiated": {
      "type": "string"
    },
    "TimeCompleted": {
      "type": "string"
    },
    "Status": {
      "$ref": "#/$defs/install_apiOpStatus"
    },
    "Username": {
      "type": "string"
    },
    "InstallerVersion": {
      "type": "string"
    },
    "RunOpts": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    },
    "Output": {
      "type": "string"
    },
    "Error": {
      "type": "string"
    },
    "ClusterId": {
      "type": "string"
    },
    "DcId": {
      "type": "string"
    },
    "ManifestFile": {
      "type": "string"
    }
  },
  "$defs": {
    "install_apiOpStatus": {
      "type": "string",
      "enum": [
        "CANCELLED",
        "FAILED",
        "SUCCESSFUL",
        "QUEUED",
        "RUNNING",
        "IDLE"
      ],
      "default": "CANCELLED"
    },
    "install_apiVMMTaskTypes": {
      "type": "string",
      "enum": [
        "None",
        "Deploy",
        "Erase",
        "Refresh",
        "Plan",
        "Add",
        "Update",
        "Delete",
        "DrainRemove"
      ],
      "default": "None"
    }
  }
}