{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cloudmersive/json-schema/cloudmersive-website-scan-result-schema.json",
  "title": "WebsiteScanResult",
  "description": "Result of running a website scan",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cloudmersive-scan-api-openapi.yml#/components/schemas/WebsiteScanResult",
  "type": "object",
  "properties": {
    "CleanResult": {
      "description": "True if the scan contained no threats, false otherwise",
      "type": "boolean"
    },
    "WebsiteThreatType": {
      "description": "Type of threat returned; can be None, Malware, ForcedDownload or Phishing",
      "enum": [
        "None",
        "Malware",
        "Phishing",
        "ForcedDownload",
        "UnableToConnect"
      ],
      "type": "string"
    },
    "FoundViruses": {
      "description": "Array of viruses found, if any",
      "type": "array",
      "items": {
        "$ref": "#/$defs/VirusFound"
      }
    },
    "WebsiteHttpResponseCode": {
      "format": "int32",
      "description": "The remote server URL HTTP reasponse code; useful for debugging issues with scanning; typically if the remote server returns a 200 or 300-series code this means a successful response, while a 400 or 500 series code would represent an error returned from the remote server for the provided URL.",
      "type": "integer"
    }
  },
  "$defs": {
    "VirusFound": {
      "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"
        }
      }
    }
  }
}