{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/getsliq-com/json-schema/getsliq-com-person-out-schema.json",
  "title": "PersonOut",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/getsliq-com-people-api-openapi.yml#/components/schemas/PersonOut",
  "properties": {
    "id": {
      "description": "Stable Sliq prospect id; the path segment for GET /people/{id}/interactions.",
      "title": "Id",
      "type": "integer"
    },
    "name": {
      "title": "Name",
      "type": "string"
    },
    "title": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Title"
    },
    "company": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Company"
    },
    "email": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Email"
    },
    "linkedin_slug": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "The person's LinkedIn profile slug, the part after linkedin.com/in/.",
      "title": "Linkedin Slug"
    },
    "channel": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "Which channel(s) the prospect is enrolled on: 'linkedin', 'email', 'both', or null.",
      "title": "Channel"
    },
    "agent_id": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "description": "Id of the Sliq agent (campaign) this prospect currently belongs to; resolve to a name via GET /agents. Null when the prospect is not in any campaign — e.g. a durable contact whose campaign was deleted.",
      "title": "Agent Id"
    },
    "stage": {
      "description": "Lead-funnel bucket — the furthest-advanced state across both channels. Filterable via the `stage` query param on GET /people.",
      "enum": [
        "not_started",
        "queued",
        "contacted",
        "engaged",
        "replied",
        "interested",
        "meeting_booked",
        "not_interested",
        "finished",
        "not_reached",
        "already_connected"
      ],
      "title": "Stage",
      "type": "string"
    },
    "is_connected": {
      "description": "Whether a LinkedIn connection exists — including a pre-existing 1st-degree connection that `stage` parks outside the earned funnel. Orthogonal to `stage`.",
      "title": "Is Connected",
      "type": "boolean"
    },
    "created_at": {
      "format": "date-time",
      "title": "Created At",
      "type": "string"
    },
    "updated_at": {
      "format": "date-time",
      "title": "Updated At",
      "type": "string"
    }
  },
  "required": [
    "id",
    "name",
    "stage",
    "is_connected",
    "created_at",
    "updated_at"
  ],
  "type": "object"
}