{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/smarterdata/json-schema/smarterdata-email-verification-schema.json",
  "title": "EmailVerification",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/smarterdata-openapi.json#/components/schemas/EmailVerification",
  "type": "object",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "type": "boolean"
    },
    "entity": {
      "type": "string"
    },
    "email": {
      "type": "string"
    },
    "domain": {
      "type": [
        "string",
        "null"
      ]
    },
    "status": {
      "type": "string",
      "enum": [
        "mx_ok",
        "no_mail_host",
        "invalid_syntax",
        "unknown"
      ]
    },
    "mx": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "cached": {
      "type": "boolean"
    },
    "verified_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "origin": {
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "live",
        "store",
        null
      ]
    },
    "smtp": {
      "type": "string",
      "description": "With smtp: true and a mail host: the status of the deep-check job."
    },
    "job_id": {
      "type": "string",
      "description": "The deep-check job, for GET /v1/jobs/{id}."
    },
    "credits_held": {
      "type": "integer"
    },
    "credits_used": {
      "type": "integer"
    },
    "credits_remaining": {
      "type": "integer"
    },
    "replayed": {
      "type": "boolean"
    },
    "note": {
      "type": "string"
    }
  }
}