{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cloudmersive/json-schema/cloudmersive-spam-detection-advanced-form-submission-request-schema.json",
  "title": "SpamDetectionAdvancedFormSubmissionRequest",
  "description": "AI advanced spam detection request",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cloudmersive-spamdetection-api-openapi.yml#/components/schemas/SpamDetectionAdvancedFormSubmissionRequest",
  "type": "object",
  "properties": {
    "InputFormFields": {
      "description": "Form fields and values that you received in your form submission",
      "type": "array",
      "items": {
        "$ref": "#/$defs/SpamDetectionAdvancedFormField"
      }
    },
    "AllowUnsolicitedSales": {
      "description": "True if unsolicited sales should be allowed, false otherwise",
      "type": "boolean"
    },
    "AllowPromotionalContent": {
      "description": "True if promotional content should be allowed, false otherwise",
      "type": "boolean"
    },
    "AllowPhishing": {
      "description": "True if phishing should be allowed, false otherwise",
      "type": "boolean"
    }
  },
  "additionalProperties": false,
  "$defs": {
    "SpamDetectionAdvancedFormField": {
      "description": "Form field submitted to run spam detection on",
      "type": "object",
      "properties": {
        "FieldTitle": {
          "description": "Title of the field",
          "type": "string"
        },
        "FieldValue": {
          "description": "Value of the field",
          "type": "string"
        }
      },
      "additionalProperties": false
    }
  }
}