{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-secure-firewall/json-schema/cisco-secure-firewall-job-history-schema.json",
  "title": "JobHistory",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-secure-firewall-deployment-api-openapi.yml#/components/schemas/JobHistory",
  "properties": {
    "deploymentNote": {
      "description": "User provided job note",
      "type": "string"
    },
    "deviceList": {
      "description": "List of devices which have been part of the job.",
      "items": {
        "$ref": "#/$defs/IDeviceListEntry",
        "type": "object"
      },
      "type": "array"
    },
    "endTime": {
      "description": "Indicates the end time (in ISO 8601 format) of the deployment job.",
      "type": "string"
    },
    "id": {
      "description": "UUID of the deployment job.",
      "type": "string"
    },
    "jobName": {
      "description": "Name of the deployed job",
      "type": "string"
    },
    "jobStatus": {
      "description": "Represents the status of the job",
      "enum": [
        "DEPLOYING",
        "DEPLOYED",
        "FAILED",
        "ABORTED",
        "EDIT_INUSE"
      ],
      "type": "string"
    },
    "jobType": {
      "enum": [
        "DEPLOYMENT",
        "ROLLBACK",
        "CERTIFICATE",
        "UNKNOWN"
      ],
      "type": "string"
    },
    "startTime": {
      "description": "Indicates the start time (in ISO 8601 format) of the deployment job.",
      "type": "string"
    },
    "type": {
      "description": "Type must be JobHistory.",
      "type": "string"
    },
    "user": {
      "description": "Creator of the deployment task.",
      "type": "string"
    }
  },
  "type": "object",
  "$defs": {
    "IDeviceListEntry": {
      "properties": {
        "canRollback": {
          "description": "Indicates whether the deployed version to device in the deployment job is rollback capable. This field is available only if context filter parameter has value as RollbackApplicable.",
          "type": "boolean"
        },
        "containerName": {
          "description": "Name of the container. This will still be displayed after deletion.",
          "type": "string"
        },
        "containerUUID": {
          "description": "UUID of the container",
          "type": "string"
        },
        "deployedVersion": {
          "description": "Config version of the device in the deployment job",
          "format": "int32",
          "type": "integer"
        },
        "deploymentStatus": {
          "description": "Deployment status of the device in the deployment job",
          "enum": [
            "DEPLOYING",
            "SUCCEEDED",
            "PARTIALLY_SUCCEEDED",
            "FAILED",
            "SSP_SUCCEEDED",
            "SSP_FAILED",
            "SSP_PRIMARY_BOOTSTRAP_SUCCEEDED",
            "SSP_PRIMARY_BOOTSTRAP_FAILED",
            "SSP_SECONDARY_BOOTSTRAP_SUCCEEDED",
            "SSP_SECONDARY_BOOTSTRAP_FAILED",
            "PRIMARY_BOOTSTRAP_SUCCEEDED",
            "PRIMARY_BOOTSTRAP_FAILED",
            "SECONDARY_BOOTSTRAP_SUCCEEDED",
            "SECONDARY_BOOTSTRAP_FAILED",
            "BREAK_SUCCEEDED",
            "BREAK_FAILED",
            "PRIMARY_BOOTSTRAP_PARTIALLY_SUCCEEDED",
            "SECONDARY_BOOTSTRAP_PARTIALLY_SUCCEEDED",
            "SSP_PRIMARY_BOOTSTRAP_PARTIALLY_SUCCEEDED",
            "SSP_SECONDARY_BOOTSTRAP_PARTIALLY_SUCCEEDED",
            "BREAK_PARTIALLY_SUCCEEDED",
            "CANCELLED",
            "NONE"
          ],
          "type": "string"
        },
        "deviceName": {
          "description": "Name of the device",
          "type": "string"
        },
        "deviceUUID": {
          "description": "UUID of the device",
          "type": "string"
        }
      },
      "type": "object"
    }
  }
}