{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/senders-ai/json-schema/senders-ai-prospect-schema.json",
  "title": "Prospect",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/senders-ai-openapi.json#/components/schemas/Prospect",
  "type": "object",
  "required": [
    "id",
    "email",
    "status"
  ],
  "properties": {
    "id": {
      "type": "integer"
    },
    "campaign_id": {
      "type": [
        "integer",
        "null"
      ]
    },
    "email": {
      "type": [
        "string",
        "null"
      ],
      "format": "email"
    },
    "name": {
      "type": [
        "string",
        "null"
      ]
    },
    "first_name": {
      "type": [
        "string",
        "null"
      ]
    },
    "last_name": {
      "type": [
        "string",
        "null"
      ]
    },
    "title": {
      "type": [
        "string",
        "null"
      ]
    },
    "organization": {
      "type": [
        "string",
        "null"
      ]
    },
    "linkedin_url": {
      "type": [
        "string",
        "null"
      ]
    },
    "timezone": {
      "type": [
        "string",
        "null"
      ]
    },
    "status": {
      "type": "string",
      "enum": [
        "pending",
        "contacted",
        "replied",
        "bounced",
        "unsubscribed",
        "dnc",
        "held",
        "meeting_booked"
      ]
    },
    "lead_status": {
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "interested",
        "meeting_booked",
        "not_interested",
        "out_of_office",
        "wrong_person",
        "closed",
        null
      ]
    },
    "reply_sentiment": {
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "positive",
        "negative",
        "neutral",
        "auto_reply",
        null
      ]
    },
    "last_contacted_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "ISO 8601, UTC"
    },
    "replied_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "ISO 8601, UTC"
    },
    "created_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "ISO 8601, UTC"
    }
  }
}