{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/senders-ai/json-schema/senders-ai-search-page-schema.json",
  "title": "SearchPage",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/senders-ai-openapi.json#/components/schemas/SearchPage",
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "people": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/NetworkPerson"
          }
        },
        "total": {
          "type": [
            "integer",
            "null"
          ]
        },
        "page": {
          "type": "integer"
        },
        "per_page": {
          "type": "integer"
        },
        "returned": {
          "type": "integer"
        },
        "has_more": {
          "type": "boolean"
        },
        "next_page": {
          "type": [
            "integer",
            "null"
          ]
        },
        "pages_estimate": {
          "type": [
            "integer",
            "null"
          ]
        },
        "served_from": {
          "type": "string",
          "enum": [
            "network",
            "own_data"
          ]
        },
        "credits_charged": {
          "type": "integer"
        },
        "free_pages": {
          "type": "object",
          "description": "allowance, used, remaining, credits_per_page_after, rows_per_page"
        },
        "filters_applied": {
          "type": "object",
          "description": "Every filter that ran, with source explicit, alias, default or mapped and any translation."
        },
        "sort": {
          "type": "object"
        },
        "missing_data": {
          "type": "object"
        },
        "warnings": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "dnp_filtered": {
          "type": "integer"
        }
      }
    }
  },
  "$defs": {
    "NetworkPerson": {
      "type": "object",
      "description": "A search row. Never contains an email address.",
      "properties": {
        "contact_id": {
          "type": "string",
          "description": "sp_<id>: pass to /prospecting/enrich or /prospecting/acquire"
        },
        "full_name": {
          "type": "string"
        },
        "first_name": {
          "type": [
            "string",
            "null"
          ]
        },
        "last_name": {
          "type": [
            "string",
            "null"
          ]
        },
        "title": {
          "type": [
            "string",
            "null"
          ]
        },
        "seniority": {
          "type": [
            "string",
            "null"
          ]
        },
        "department": {
          "type": [
            "string",
            "null"
          ]
        },
        "city": {
          "type": [
            "string",
            "null"
          ]
        },
        "state": {
          "type": [
            "string",
            "null"
          ]
        },
        "country": {
          "type": [
            "string",
            "null"
          ]
        },
        "linkedin_url": {
          "type": [
            "string",
            "null"
          ]
        },
        "company_name": {
          "type": [
            "string",
            "null"
          ]
        },
        "company_domain": {
          "type": [
            "string",
            "null"
          ]
        },
        "company_industry": {
          "type": [
            "string",
            "null"
          ]
        },
        "company_size": {
          "type": [
            "string",
            "null"
          ]
        },
        "company_type": {
          "type": [
            "string",
            "null"
          ]
        },
        "company_hq_country": {
          "type": [
            "string",
            "null"
          ]
        },
        "current_role_start": {
          "type": [
            "string",
            "null"
          ],
          "format": "date"
        },
        "years_experience": {
          "type": [
            "integer",
            "null"
          ]
        },
        "languages": {
          "type": [
            "string",
            "null"
          ]
        },
        "email_status": {
          "type": "string",
          "enum": [
            "verified",
            "available",
            "none",
            "unknown"
          ]
        }
      }
    }
  }
}