{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/jobspipe/json-schema/jobspipe-enrich-email-request-schema.json",
  "title": "EnrichEmailRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/jobspipe-contacts-api-openapi.yml#/components/schemas/EnrichEmailRequest",
  "type": "object",
  "required": [
    "items"
  ],
  "properties": {
    "items": {
      "type": "array",
      "minItems": 1,
      "maxItems": 100,
      "description": "The people to look up. Each needs linkedin_url, or full_name and domain.",
      "items": {
        "type": "object",
        "properties": {
          "linkedin_url": {
            "type": "string",
            "description": "The person's LinkedIn profile URL."
          },
          "full_name": {
            "type": "string",
            "description": "The person's full name, with domain."
          },
          "domain": {
            "type": "string",
            "description": "The company's website domain, e.g. acme.com, with full_name."
          },
          "type": {
            "type": "string",
            "enum": [
              "work",
              "personal"
            ],
            "description": "work (default) or personal. A personal email needs linkedin_url."
          }
        }
      }
    }
  }
}