{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-catalyst-center/json-schema/cisco-catalyst-center-device-deployment-status-list-response-schema.json",
  "title": "DeviceDeploymentStatusListResponse",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-catalyst-center-status-api-openapi.yml#/components/schemas/DeviceDeploymentStatusListResponse",
  "type": "object",
  "properties": {
    "response": {
      "$ref": "#/$defs/DeviceDeploymentStatusList"
    },
    "version": {
      "type": "string"
    }
  },
  "$defs": {
    "ActivityId": {
      "type": "string",
      "description": "activity id from intent/api/v1/activity",
      "format": "uuid"
    },
    "ConfigGroupName": {
      "type": "string",
      "description": "name of the config group that has been provisioned."
    },
    "ConfigGroupVersion": {
      "type": "integer",
      "description": "version of the config group that has been provisioned. version increments everytime for a provisioning operation."
    },
    "DeviceDeployment": {
      "required": [
        "configGroupName",
        "configGroupVersion",
        "deployActivityId",
        "networkDeviceId",
        "status"
      ],
      "type": "object",
      "properties": {
        "deployActivityId": {
          "$ref": "#/$defs/ActivityId"
        },
        "configGroupName": {
          "$ref": "#/$defs/ConfigGroupName"
        },
        "configGroupVersion": {
          "$ref": "#/$defs/ConfigGroupVersion"
        },
        "createTime": {
          "allOf": [
            {
              "$ref": "#/$defs/EpochMilliseconds"
            },
            {
              "description": "create time of the device deployment status record; as measured in Unix epoch time in milliseconds"
            },
            {}
          ]
        },
        "endTime": {
          "allOf": [
            {
              "$ref": "#/$defs/EpochMilliseconds"
            },
            {
              "description": "device provisioning end time; as measured in Unix epoch time in milliseconds"
            },
            {}
          ]
        },
        "error": {
          "$ref": "#/$defs/DeviceError"
        },
        "lastUpdateTime": {
          "allOf": [
            {
              "$ref": "#/$defs/EpochMilliseconds"
            },
            {
              "description": "last update time of the device deployment status record; as measured in Unix epoch time in milliseconds"
            },
            {}
          ]
        },
        "networkDeviceId": {
          "$ref": "#/$defs/NetworkDeviceId"
        },
        "startTime": {
          "allOf": [
            {
              "$ref": "#/$defs/EpochMilliseconds"
            },
            {
              "description": "device provisioning start time; as measured in Unix epoch time in milliseconds"
            },
            {}
          ]
        },
        "status": {
          "allOf": [
            {
              "$ref": "#/$defs/DeviceStatus"
            },
            {
              "description": "provisioning status on the device"
            },
            {}
          ]
        }
      }
    },
    "DeviceDeploymentStatusList": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/DeviceDeployment"
      }
    },
    "DeviceError": {
      "type": "object",
      "properties": {
        "message": {
          "type": "string",
          "description": "A brief message about the error"
        },
        "remedy": {
          "type": "string",
          "description": "A brief message to suggest remedy to the failure"
        }
      }
    },
    "DeviceStatus": {
      "type": "string",
      "description": "Device status:\n  * 'NOT_STARTED' - provisioning has not started on this device\n  * 'SUCCESS' - provisioning has completed with a success\n  * 'FAILED' - provisioning has completed with a failure\n  * 'CONFIGURING' - provisioning is in progress\n  * 'ROLLBACK_SUCCESS' - provisioning has successfully rolled back to the previous version \n  * 'ROLLBACK_FAILURE' - there was a failure in rolling back to the previous version\n  * 'CANCELLED' - provisioning was cancelled by the user\n  * 'NOT_SUPPORTED' - provisioning cannot be done on the device as the device does not support it\n  * 'PENDING' - provisioning will start soon on the device\n",
      "enum": [
        "NOT_STARTED",
        "SUCCESS",
        "FAILED",
        "CONFIGURING",
        "ROLLBACK_SUCCESS",
        "ROLLBACK_FAILURE",
        "CANCELLED",
        "NOT_SUPPORTED",
        "PENDING"
      ]
    },
    "EpochMilliseconds": {
      "minimum": 0,
      "type": "integer",
      "description": "A date and time represented as ***milliseconds*** since the Unix epoch.",
      "format": "int64"
    },
    "NetworkDeviceId": {
      "type": "string",
      "description": "Id of the device",
      "format": "uuid"
    }
  }
}