{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/orbisearch-com/json-schema/orbisearch-com-email-verification-response-schema.json",
  "title": "EmailVerificationResponse",
  "description": "Verification result for a single email address.",
  "x-generated": "2026-11-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/orbisearch-com-openapi.json#/components/schemas/EmailVerificationResponse",
  "properties": {
    "email": {
      "type": "string",
      "title": "Email",
      "description": "The email address that was verified."
    },
    "status": {
      "type": "string",
      "enum": [
        "safe",
        "risky",
        "invalid",
        "unknown"
      ],
      "pattern": "^(safe|risky|invalid|unknown)$",
      "title": "Status",
      "description": "Overall verification status: safe (deliverable), risky (uncertain), invalid (undeliverable), unknown (verification failed)."
    },
    "substatus": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Substatus",
      "description": "Specific reason for the status (e.g., deliverable, catch_all, inactive, policy_blocked, mailbox_not_found, invalid_syntax, greylisted, timeout)."
    },
    "explanation": {
      "type": "string",
      "title": "Explanation",
      "description": "Plain-English explanation of the verification result."
    },
    "email_provider": {
      "type": "string",
      "title": "Email Provider",
      "description": "Email service provider (Google Workspace, Gmail, Microsoft Outlook, etc.)."
    },
    "mx_record": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Mx Record",
      "description": "The main mail server the domain uses to receive email. Null if the domain has no mail server configured. When that happens, `substatus` will be `no_mx_records`."
    },
    "is_domain_catch_all": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Is Domain Catch All",
      "description": "True if the domain accepts mail for any username (catch-all). Null if we could not determine whether the domain is catch-all."
    },
    "is_secure_email_gateway": {
      "type": "boolean",
      "title": "Is Secure Email Gateway",
      "description": "True if the domain is protected by a secure email gateway: Proofpoint, Mimecast, Barracuda, or Trend Micro.",
      "default": false
    },
    "is_disposable": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Is Disposable",
      "description": "True if this is a temporary/disposable email service, false if not, null if unknown."
    },
    "is_role_account": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Is Role Account",
      "description": "True if this is a generic role-based email (info@, support@, etc.), false if not, null if unknown."
    },
    "is_free": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Is Free",
      "description": "True if this is from a free email provider (gmail.com, yahoo.com, etc.), false if not, null if unknown."
    },
    "confidence": {
      "anyOf": [
        {
          "type": "integer",
          "maximum": 100.0,
          "minimum": 0.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Confidence",
      "description": "How certain we are in the result, on a 0–100 scale. Use it alongside `status` to tune how aggressively you filter. For `safe` results: 99 = deliverable, highest certainty; 98 = deliverable, but the domain sits behind a secure email gateway (Mimecast, Proofpoint, Barracuda, Trend Micro) that may still filter the message after accepting it; 97 = the address exists, but carries some risk of bouncing after acceptance. For `invalid` and `risky`, 99 means we are certain of the negative result. For `unknown`, 0. `null` when no score could be attached to the result. Treat that as unscored, not as low confidence."
    }
  },
  "type": "object",
  "required": [
    "email",
    "status",
    "explanation",
    "email_provider"
  ]
}