{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cloudmersive/json-schema/cloudmersive-scan-cloud-storage-job-status-result-schema.json",
  "title": "ScanCloudStorageJobStatusResult",
  "description": "Status of the scan cloud storage job",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cloudmersive-scancloudstorage-api-openapi.yml#/components/schemas/ScanCloudStorageJobStatusResult",
  "type": "object",
  "properties": {
    "Successful": {
      "description": "Tru eif the operation to check the status of the job was successful, false otherwise",
      "type": "boolean"
    },
    "AsyncJobStatus": {
      "description": "Returns the job status of the Async Job, if applicable.  Possible states are STARTED and COMPLETED",
      "type": "string"
    },
    "AsyncJobID": {
      "description": "Job ID of the async batch job",
      "type": "string"
    },
    "Result": {
      "$ref": "#/$defs/CloudStorageAdvancedVirusScanResult",
      "description": "Output scan result, if applicable"
    },
    "JobDuration": {
      "description": "Duration of a completed job",
      "type": "string"
    },
    "ErrorMessage": {
      "description": "Error message (if any)",
      "type": "string"
    }
  },
  "$defs": {
    "AdditionalAdvancedScanInformation": {
      "description": "Additional non-threat content verification information",
      "type": "object",
      "properties": {
        "ContainsJSON": {
          "description": "True if the input file contains JSON data, false otherwise; this is not a threat signal",
          "type": "boolean"
        },
        "ContainsXML": {
          "description": "True if the input file contains XML data, false otherwise; this is not a threat signal",
          "type": "boolean"
        },
        "ContainsImage": {
          "description": "True if the input file contains an image",
          "type": "boolean"
        },
        "Hash_SHA1": {
          "description": "SHA1 hash of input file",
          "type": "string"
        },
        "RelevantSubfileName": {
          "description": "Relevant subfile name in an archive format for identified threats, if any",
          "type": "string"
        },
        "RelevantSubfileHash_SHA1": {
          "description": "SHA1 hash of relevant subfile name in an archive format for identified threats, if any",
          "type": "string"
        },
        "IsAuthenticodeSigned": {
          "description": "True if there is a valid Authenticode signature, False otherwise",
          "type": "boolean"
        }
      }
    },
    "CloudStorageAdvancedVirusScanResult": {
      "description": "Result of running an advanced virus scan on cloud storage",
      "type": "object",
      "properties": {
        "Successful": {
          "description": "True if the operation of retrieving the file, and scanning it were successfully completed, false if the file could not be downloaded from cloud storage, or if the file could not be scanned.  Note that successful completion does not mean the file is clean; for the output of the virus scanning operation itself, use the CleanResult and FoundViruses parameters.",
          "type": "boolean"
        },
        "CleanResult": {
          "description": "True if the scan contained no viruses, false otherwise",
          "type": "boolean"
        },
        "ContainsExecutable": {
          "description": "True if the scan contained an executable (application code), which can be a significant risk factor",
          "type": "boolean"
        },
        "ContainsInvalidFile": {
          "description": "True if the scan contained an invalid file (such as a PDF that is not a valid PDF, Word Document that is not a valid Word Document, etc.), which can be a significant risk factor",
          "type": "boolean"
        },
        "ContainsScript": {
          "description": "True if the scan contained a script (such as a PHP script, Python script, etc.) which can be a significant risk factor",
          "type": "boolean"
        },
        "ContainsPasswordProtectedFile": {
          "description": "True if the scan contained a password protected or encrypted file, which can be a significant risk factor",
          "type": "boolean"
        },
        "ContainsRestrictedFileFormat": {
          "description": "True if the uploaded file is of a type that is not allowed based on the optional restrictFileTypes parameter, false otherwise; if restrictFileTypes is not set, this will always be false",
          "type": "boolean"
        },
        "ContainsMacros": {
          "description": "True if the uploaded file contains embedded Macros of other embedded threats within the document, which can be a significant risk factor",
          "type": "boolean"
        },
        "ContainsXmlExternalEntities": {
          "description": "True if the uploaded file contains embedded XML External Entity threats of other embedded threats within the document, which can be a significant risk factor",
          "type": "boolean"
        },
        "ContainsInsecureDeserialization": {
          "description": "True if the uploaded file contains embedded Insecure Deserialization threats of other embedded threats within the document, which can be a significant risk factor",
          "type": "boolean"
        },
        "ContainsHtml": {
          "description": "True if the uploaded file contains HTML, which can be a significant risk factor",
          "type": "boolean"
        },
        "ContainsUnsafeArchive": {
          "description": "True if the uploaded file contains unsafe archive (e.g. zip) content, such as a Zip Bomb, or other configurations of a zip file that could lead to an unsafe extraction",
          "type": "boolean"
        },
        "ContainsOleEmbeddedObject": {
          "description": "True if the uploaded file contains an OLE embedded object, which can be a significant risk factor",
          "type": "boolean"
        },
        "VerifiedFileFormat": {
          "description": "For file format verification-supported file formats, the contents-verified file format of the file.  Null indicates that the file format is not supported for contents verification.  If a Virus or Malware is found, this field will always be set to Null.",
          "type": "string"
        },
        "FoundViruses": {
          "description": "Array of viruses found, if any",
          "type": "array",
          "items": {
            "$ref": "#/$defs/CloudStorageVirusFound"
          }
        },
        "ErrorDetailedDescription": {
          "description": "Detailed error message if the operation was not successful",
          "type": "string"
        },
        "FileSize": {
          "format": "int64",
          "description": "Size in bytes of the file that was retrieved and scanned",
          "type": "integer"
        },
        "ContentInformation": {
          "$ref": "#/$defs/AdditionalAdvancedScanInformation",
          "description": "Contains additional non-threat content verification information"
        }
      }
    },
    "CloudStorageVirusFound": {
      "description": "Virus positively identified",
      "type": "object",
      "properties": {
        "FileName": {
          "description": "Name of the file containing the virus",
          "type": "string"
        },
        "VirusName": {
          "description": "Name of the virus that was found",
          "type": "string"
        }
      }
    }
  }
}