{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cloudmersive/json-schema/cloudmersive-virus-scan-result-schema.json",
  "title": "VirusScanResult",
  "description": "Result of running a virus 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/VirusScanResult",
  "type": "object",
  "properties": {
    "CleanResult": {
      "description": "True if the scan contained no viruses, false otherwise",
      "type": "boolean"
    },
    "FoundViruses": {
      "description": "Array of viruses found, if any",
      "type": "array",
      "items": {
        "$ref": "#/$defs/VirusFound"
      }
    }
  },
  "$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"
        }
      }
    }
  }
}