{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/truelist-io/json-schema/truelist-io-verify-inline-schema.json",
  "title": "verify_inline",
  "x-generated": "2026-11-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/truelist-io-openapi.yml#/components/schemas/verify_inline",
  "type": "object",
  "properties": {
    "emails": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/email"
      }
    }
  },
  "$defs": {
    "email": {
      "type": "object",
      "properties": {
        "address": {
          "type": "string",
          "format": "email",
          "description": "The email address"
        },
        "domain": {
          "type": "string",
          "description": "The email address domain"
        },
        "canonical": {
          "type": "string",
          "description": "The canonical (or local) part of the email address"
        },
        "mx_record": {
          "type": "string",
          "description": "The the mx record that was found and used for validation"
        },
        "email_state": {
          "type": "string",
          "enum": [
            "ok",
            "email_invalid",
            "risky",
            "unknown",
            "accept_all"
          ],
          "description": "A simple state that shows the verification result."
        },
        "email_sub_state": {
          "type": "string",
          "enum": [
            "email_ok",
            "accept_all",
            "is_disposable",
            "is_role",
            "failed_mx_check",
            "failed_smtp_check",
            "failed_spam_trap",
            "failed_no_mailbox",
            "failed_greylisted",
            "failed_syntax_check",
            "unknown_error"
          ],
          "description": "More details about the email's validation status."
        },
        "verified_at": {
          "type": "date-time",
          "format": "email",
          "description": "The time the email was verified.  If the email already exists in your account and has been validated before, and the email has been checked within your revalidation period, the email will not be revalidated."
        }
      }
    }
  }
}