{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cloudmersive/json-schema/cloudmersive-phishing-detection-advanced-response-schema.json",
  "title": "PhishingDetectionAdvancedResponse",
  "description": "Result of detecting phishing using AI",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cloudmersive-phishingdetection-api-openapi.yml#/components/schemas/PhishingDetectionAdvancedResponse",
  "type": "object",
  "properties": {
    "CleanResult": {
      "description": "True if the result is not phishing (clean), and false otherwise",
      "type": "boolean"
    },
    "ContainsPhishing": {
      "description": "True if the input text contains a phishing attempt, 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"
    },
    "ContainsWebUrls": {
      "description": "True if the input text contains web URLs, including homoglyph URLs and spaced-out URL workarounds",
      "type": "boolean"
    },
    "ContainsPhoneNumbers": {
      "description": "True if the input text contains phone numbers, including homoglyph digits and spaced-out or spelled-out workarounds",
      "type": "boolean"
    },
    "ContainsEmailAddresses": {
      "description": "True if the input text contains email addresses, including homoglyph characters and obfuscated workarounds",
      "type": "boolean"
    },
    "ConfidenceLevel": {
      "format": "double",
      "description": "Confidence level between 0.0 and 1.0 where values over 0.9 indicate high confidence",
      "type": "number"
    },
    "AnalysisRationale": {
      "description": "Rationale for why the conclusion was formed",
      "type": "string"
    },
    "UnsafeUrls": {
      "description": "URLs detected in the input text that were analyzed and found to be unsafe. Only populated when ProvideUrlAnalysis is true and URLs are detected.",
      "type": "array",
      "items": {
        "$ref": "#/$defs/UnsafeUrlResult"
      }
    }
  },
  "additionalProperties": false,
  "$defs": {
    "UnsafeUrlResult": {
      "description": "Result of analyzing an individual URL found in text",
      "type": "object",
      "properties": {
        "Url": {
          "description": "The URL that was detected and analyzed",
          "type": "string"
        },
        "CleanResult": {
          "description": "True if the result is not phishing (clean), and false otherwise",
          "type": "boolean"
        },
        "IsSsrfThreat": {
          "description": "True if the URL is an SSRF threat",
          "type": "boolean"
        },
        "ContainsPhishing": {
          "description": "True if the URL contains phishing threat risks, false otherwise",
          "type": "boolean"
        },
        "ContainsPhishingAttempt": {
          "description": "True if the URL contains a phishing attempt, false otherwise",
          "type": "boolean"
        }
      },
      "additionalProperties": false
    }
  }
}