{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cloudmersive/json-schema/cloudmersive-spam-detection-advanced-response-schema.json",
  "title": "SpamDetectionAdvancedResponse",
  "description": "Result of detecting spam using AI",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cloudmersive-spamdetection-api-openapi.yml#/components/schemas/SpamDetectionAdvancedResponse",
  "type": "object",
  "properties": {
    "CleanResult": {
      "description": "True if the result is not spam (clean), and false otherwise",
      "type": "boolean"
    },
    "SpamRiskLevel": {
      "format": "double",
      "description": "Overall spam risk level between 0.0 and 1.0",
      "type": "number"
    },
    "ContainsSpam": {
      "description": "True if the input text contains spam, false otherwise",
      "type": "boolean"
    },
    "ContainsUnsolicitedSales": {
      "description": "True if the input text contains unsolicited sales, false otherwise",
      "type": "boolean"
    },
    "ContainsPromotionalContent": {
      "description": "True if the input text contains promotional content, false otherwise",
      "type": "boolean"
    },
    "ContainsPhishingAttempt": {
      "description": "True if the input text contains a phishing attempt, false otherwise",
      "type": "boolean"
    },
    "AnalysisRationale": {
      "description": "Rationale for why the conclusion was formed",
      "type": "string"
    }
  },
  "additionalProperties": false
}