{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/nobounceapi-com/json-schema/nobounceapi-com-bulk-validation-response-schema.json",
  "title": "BulkValidationResponse",
  "x-generated": "2026-11-19",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/nobounceapi-com-openapi.yml#/components/schemas/BulkValidationResponse",
  "properties": {
    "csv": {
      "description": "Enriched CSV output containing all validated rows",
      "type": "string"
    },
    "results": {
      "items": {
        "$ref": "#/$defs/ValidationResult"
      },
      "type": "array"
    },
    "skipped_count": {
      "type": "integer"
    },
    "success": {
      "type": "boolean"
    },
    "summary": {
      "properties": {
        "disposable": {
          "type": "integer"
        },
        "free_email": {
          "type": "integer"
        },
        "invalid": {
          "type": "integer"
        },
        "processed": {
          "type": "integer"
        },
        "role_based": {
          "type": "integer"
        },
        "skipped": {
          "type": "integer"
        },
        "total": {
          "type": "integer"
        },
        "total_submitted": {
          "type": "integer"
        },
        "truncated": {
          "type": "boolean"
        },
        "typos_detected": {
          "type": "integer"
        },
        "valid": {
          "type": "integer"
        }
      },
      "type": "object"
    },
    "truncated": {
      "type": "boolean"
    },
    "usage": {
      "properties": {
        "limit": {
          "type": "integer"
        },
        "remaining": {
          "type": "integer"
        },
        "used": {
          "type": "integer"
        }
      },
      "type": "object"
    },
    "warning": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "type": "object",
  "$defs": {
    "ValidationResult": {
      "properties": {
        "did_you_mean": {
          "type": [
            "string",
            "null"
          ]
        },
        "email": {
          "type": "string"
        },
        "format_valid": {
          "type": "boolean"
        },
        "free_email": {
          "type": "boolean"
        },
        "is_free_provider": {
          "type": "boolean"
        },
        "is_valid": {
          "type": "boolean"
        },
        "mx_found": {
          "type": "boolean"
        },
        "smtp_check": {
          "type": "boolean"
        },
        "smtp_status": {
          "type": [
            "string",
            "null"
          ]
        },
        "status": {
          "enum": [
            "valid",
            "valid_domain",
            "risky",
            "invalid",
            "unknown"
          ],
          "type": "string"
        },
        "sub_status": {
          "description": "Detailed classification: domain_accepts_email, disposable_email, role_based, invalid_syntax, domain_not_accepting_email, mailbox_exists",
          "type": [
            "string",
            "null"
          ]
        },
        "suggested_email": {
          "type": [
            "string",
            "null"
          ]
        },
        "verification_time": {
          "type": "number"
        },
        "verification_time_ms": {
          "type": "integer"
        }
      },
      "type": "object"
    }
  }
}