{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/orbisearch-com/json-schema/orbisearch-com-email-lookup-response-schema.json",
  "title": "EmailLookupResponse",
  "description": "Email finder result: the best deliverable email found for a LinkedIn profile URL or a (first_name, last_name, domain).",
  "x-generated": "2026-11-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/orbisearch-com-openapi.json#/components/schemas/EmailLookupResponse",
  "properties": {
    "first_name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "First Name",
      "description": "The first name searched. Null when the request supplied none and none could be determined."
    },
    "last_name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Last Name",
      "description": "The last name searched. Null when the request supplied none and none could be determined."
    },
    "domain": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Domain",
      "description": "The company's website domain. Null when the request supplied none and none could be determined."
    },
    "email_domain": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Email Domain",
      "description": "The domain searched for the email address. Null when the request supplied no domain."
    },
    "linkedin_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Linkedin Url",
      "description": "The LinkedIn profile URL this result is for. Null for a request that did not supply one."
    },
    "email": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Email",
      "description": "The deliverable email address discovered for this person at this domain. Null when no deliverable address could be confirmed."
    },
    "status": {
      "type": "string",
      "enum": [
        "safe",
        "unknown"
      ],
      "pattern": "^(safe|unknown)$",
      "title": "Status",
      "description": "Search status: safe (a deliverable address was found and is in the email field) or unknown (no deliverable address was found, or the search timed out; the email field is null)."
    },
    "substatus": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^(deliverable|no_address_found|timeout|profile_not_found|no_current_employer|no_company_website|invalid_linkedin_url|temporarily_unavailable)$"
        },
        {
          "type": "null"
        }
      ],
      "enum": [
        "deliverable",
        "no_address_found",
        "timeout",
        "profile_not_found",
        "no_current_employer",
        "no_company_website",
        "invalid_linkedin_url",
        "temporarily_unavailable"
      ],
      "title": "Substatus",
      "description": "Specific reason for the status. deliverable: a deliverable address was found (only with status=safe). no_address_found: no deliverable address was found for this person at this domain. profile_not_found: the URL supplied is a correctly formed LinkedIn profile URL but not a valid profile, for example mistyped or no longer in use. no_current_employer: we couldn't identify a current employer for this person. no_company_website: the person has a current employer, but we couldn't identify a company website for it, so there was no domain to search; if you know the company's website, search for the person by name and domain instead. invalid_linkedin_url: the value supplied is not a LinkedIn profile URL at all, for example a company page URL or plain text (bulk only; a single search rejects such a URL with 422). temporarily_unavailable: we could not complete this search and the row should be resubmitted. timeout: the caller's `timeout` parameter exhausted before the search completed (only returned from /v1/email-lookup, never from /v1/bulk-lookup, since bulk searches have no caller-tunable timeout). Every substatus is billable except invalid_linkedin_url, which costs nothing: a submit is only refunded when OrbiSearch cannot accept the submission itself."
    },
    "explanation": {
      "type": "string",
      "title": "Explanation",
      "description": "Plain-English explanation of the search result."
    },
    "confidence": {
      "anyOf": [
        {
          "type": "integer",
          "maximum": 100.0,
          "minimum": 0.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Confidence",
      "description": "How certain we are in the verdict on a 0–100 scale. See EmailVerificationResponse.confidence for the full scale."
    },
    "full_name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Full Name",
      "description": "The person's full name. Null for a search by name and domain, or when it could not be determined."
    },
    "employer_name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Employer Name",
      "description": "The person's current employer. Null for a search by name and domain, or when it could not be determined."
    },
    "employer_linkedin_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Employer Linkedin Url",
      "description": "LinkedIn URL of the person's current employer. Null for a search by name and domain, or when it could not be determined."
    },
    "all_emails": {
      "anyOf": [
        {
          "items": {
            "$ref": "#/$defs/EmailLookupFoundEmail"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "All Emails",
      "description": "Every work email found for this person. Null for a search by name and domain."
    },
    "email_provider": {
      "type": "string",
      "title": "Email Provider",
      "description": "Email service provider of the returned address (Google Workspace, 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."
    },
    "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."
    },
    "credits_consumed": {
      "type": "integer",
      "title": "Credits Consumed",
      "description": "Credits charged for this search: 1 on credit keys, 0 on unlimited plans (no credits move)."
    }
  },
  "type": "object",
  "required": [
    "status",
    "explanation",
    "email_provider",
    "credits_consumed"
  ],
  "$defs": {
    "EmailLookupFoundEmail": {
      "properties": {
        "email": {
          "type": "string",
          "title": "Email",
          "description": "The email address found for this person."
        },
        "job_order": {
          "type": "integer",
          "title": "Job Order",
          "description": "The email's position in this list, starting at 1."
        },
        "company_linkedin_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Company Linkedin Url",
          "description": "LinkedIn URL of the employer the email belongs to."
        },
        "email_domain": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Email Domain",
          "description": "Domain of the returned email address."
        }
      },
      "type": "object",
      "required": [
        "email",
        "job_order"
      ],
      "title": "EmailLookupFoundEmail",
      "description": "One work email returned for a search by LinkedIn profile URL."
    }
  }
}