{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/vruum-ai/json-schema/vruum-ai-facade-search-request-schema.json",
  "title": "FacadeSearchRequest",
  "description": "Request body for the polymorphic ``search`` facade tool.",
  "x-generated": "2026-11-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/vruum-ai-openapi.json#/components/schemas/FacadeSearchRequest",
  "properties": {
    "type": {
      "$ref": "#/$defs/SearchEntityType",
      "description": "Entity type to search, including warm_paths and relationship_attempts."
    },
    "query": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "items": {
            "$ref": "#/$defs/FacadeBatchPersonQuery"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Query",
      "description": "Only for type='people'. A keyword string searches the existing pipeline (name/title/company); an array of {name?, company?, linkedin_url?} objects runs a batch dedup lookup (one match record per candidate, in original order; `limit` is ignored). Mutually exclusive with `filters`. For type='kb' or type='deals', use filters.query instead."
    },
    "filters": {
      "anyOf": [
        {
          "$ref": "#/$defs/FacadePeopleFilters"
        },
        {
          "$ref": "#/$defs/FacadeCompaniesFilters"
        },
        {
          "$ref": "#/$defs/FacadeDealsFilters"
        },
        {
          "$ref": "#/$defs/FacadeObjectivesFilters"
        },
        {
          "$ref": "#/$defs/FacadeMessagesFilters"
        },
        {
          "$ref": "#/$defs/FacadeEngagementsFilters"
        },
        {
          "$ref": "#/$defs/FacadeContentFilters"
        },
        {
          "$ref": "#/$defs/FacadeKbFilters"
        },
        {
          "$ref": "#/$defs/FacadeSkillsFilters"
        },
        {
          "$ref": "#/$defs/FacadeCtaLinksFilters"
        },
        {
          "$ref": "#/$defs/FacadeRelationshipAttemptsFilters"
        },
        {
          "$ref": "#/$defs/FacadeDirectoryPeopleFilters"
        },
        {
          "$ref": "#/$defs/FacadeDirectoryCompaniesFilters"
        },
        {
          "$ref": "#/$defs/FacadeClaimsFilters"
        },
        {
          "type": "null"
        }
      ],
      "title": "Filters",
      "description": "Type-specific filters — the object shape is determined by `type` (e.g. {domain} for companies, {stage, outcome, query} for deals, or {query?, industry?} for directory_companies). Unknown keys are rejected with 422."
    },
    "limit": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 1.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Limit",
      "description": "Page size. Supported for people, deals, messages, warm_paths, and relationship_attempts (max 100), engagements (max 200), and directory searches (max 40); people keyword-query mode caps at 40. Ignored for a people batch `query` array, which returns exactly one match record per candidate. Rejected (422) for other types."
    },
    "offset": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 0.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Offset",
      "description": "Pagination offset. Supported for people (list mode), deals, messages, engagements, warm_paths, and relationship_attempts. Rejected (422) for other types and for people query mode (a people batch array accepts only 0)."
    }
  },
  "additionalProperties": false,
  "type": "object",
  "required": [
    "type"
  ],
  "$defs": {
    "FacadeBatchPersonQuery": {
      "properties": {
        "name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Name",
          "description": "Person full name to look up in the existing pipeline."
        },
        "company": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Company",
          "description": "Company name to look up alongside the person name."
        },
        "linkedin_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Linkedin Url",
          "description": "LinkedIn profile URL — strongest dedup signal; exact-matched first when present."
        }
      },
      "additionalProperties": false,
      "type": "object",
      "title": "FacadeBatchPersonQuery",
      "description": "One candidate in a people batch lookup (maps to ``BatchSearchRequest.queries``)."
    },
    "FacadeClaimsFilters": {
      "properties": {
        "status": {
          "anyOf": [
            {
              "type": "string",
              "enum": [
                "open",
                "supported",
                "refuted",
                "stale",
                "retired"
              ]
            },
            {
              "type": "null"
            }
          ],
          "title": "Status",
          "description": "Claim status filter."
        },
        "person_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Person Id",
          "description": "Claims scoped to this person UUID."
        },
        "company_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Company Id",
          "description": "Claims scoped to this company UUID."
        },
        "deal_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Deal Id",
          "description": "Claims scoped to this deal UUID."
        },
        "objective_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Objective Id",
          "description": "Claims scoped to this objective UUID."
        },
        "segment": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Segment",
          "description": "Claims scoped to this named segment."
        },
        "surface": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Surface",
          "description": "Claims on this surface, e.g. 'positioning_diagnostic' for the viability claim set (VRU-846)."
        },
        "dimension": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Dimension",
          "description": "Viability dimension, e.g. 'icp_reachability' or 'price_plausibility'."
        },
        "kind": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Kind",
          "description": "Claim kind in scope, e.g. 'observed_conversion' for the loop's measurements."
        },
        "exclude_retired": {
          "type": "boolean",
          "title": "Exclude Retired",
          "description": "Drop retired (superseded) claims so live claims are never crowded out.",
          "default": false
        },
        "limit": {
          "type": "integer",
          "maximum": 100.0,
          "minimum": 1.0,
          "title": "Limit",
          "default": 50
        }
      },
      "additionalProperties": false,
      "type": "object",
      "title": "FacadeClaimsFilters",
      "description": "Filters for ``type='claims'`` (routes to ``list_claims`` — the VRU-840\nhypothesis ledger)."
    },
    "FacadeCompaniesFilters": {
      "properties": {
        "domain": {
          "type": "string",
          "title": "Domain",
          "description": "Company domain to search (e.g. 'acme.com'). Required."
        },
        "seniority": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Seniority",
          "description": "Seniority filter: executive (C-level/VP), senior (directors/managers), or junior."
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "domain"
      ],
      "title": "FacadeCompaniesFilters",
      "description": "Filters for ``type='companies'`` contact search via ``find_people_at_company``."
    },
    "FacadeContentFilters": {
      "properties": {
        "days": {
          "type": "integer",
          "minimum": 1.0,
          "title": "Days",
          "description": "Number of days of calendar history to show (default 14 — same as the underlying endpoint).",
          "default": 14
        }
      },
      "additionalProperties": false,
      "type": "object",
      "title": "FacadeContentFilters",
      "description": "Filters for ``type='content'`` (routes to ``get_content_calendar``)."
    },
    "FacadeCtaLinksFilters": {
      "properties": {},
      "additionalProperties": false,
      "type": "object",
      "title": "FacadeCtaLinksFilters",
      "description": "Filters for ``type='cta_links'`` (routes to ``get_cta_links``).\n\nThe underlying endpoint takes no filters and no pagination — this model is\nintentionally empty (pagination on ``cta_links`` is rejected at the\nrequest level, never silently ignored)."
    },
    "FacadeDealsFilters": {
      "properties": {
        "stage": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Stage",
          "description": "Deal stage filter. Matches the deal's pipeline-stage label LITERALLY (exact, case-sensitive string — not a closed enum). Native pipelines use met, qualified, proposal, negotiation, verbal_yes, closed_won, closed_lost; HubSpot-imported pipelines carry their own custom labels (e.g. 'Hot Leads', 'Prospecting', 'Trial Signup', 'Closed lost'). Pass the literal label exactly as stored. Discover the labels a tenant's pipeline actually uses via inspect_pipeline (groups deals by stage) or by listing deals (with no stage filter) and reading each deal's 'stage'."
        },
        "outcome": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Outcome",
          "description": "Deal outcome filter: won, lost, stalled."
        },
        "query": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Query",
          "description": "Free-text search for a specific deal — case-insensitive, every whitespace-separated word must match. Spans the deal name, the associated company name, and the primary contact's name/email/title. Combine with stage/outcome to scope further."
        }
      },
      "additionalProperties": false,
      "type": "object",
      "title": "FacadeDealsFilters",
      "description": "Filters for ``type='deals'`` (routes to ``get_deals``)."
    },
    "FacadeDirectoryCompaniesFilters": {
      "properties": {
        "query": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 160,
              "minLength": 3
            },
            {
              "type": "null"
            }
          ],
          "title": "Query",
          "description": "Optional company name, domain, or website search text."
        },
        "industry": {
          "anyOf": [
            {
              "$ref": "#/$defs/SearchableIndustry"
            },
            {
              "type": "null"
            }
          ],
          "description": "Canonical company-industry filter. Unspecified selects companies without enough source data. Provider labels such as SaaS are rejected."
        }
      },
      "additionalProperties": false,
      "type": "object",
      "title": "FacadeDirectoryCompaniesFilters",
      "description": "Shared company-directory lookup by text, canonical industry, or both."
    },
    "FacadeDirectoryPeopleFilters": {
      "properties": {
        "query": {
          "type": "string",
          "maxLength": 160,
          "minLength": 3,
          "title": "Query",
          "description": "Name, title, company, or email search text."
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "query"
      ],
      "title": "FacadeDirectoryPeopleFilters",
      "description": "Shared people-directory lookup, with no tenant-private fields."
    },
    "FacadeEngagementsFilters": {
      "properties": {
        "status": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Status",
          "description": "Engagement status: draft, approved, sent, failed, skipped."
        },
        "sort_by": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Sort By",
          "description": "Sort: priority (default), created_at, or status.",
          "default": "priority"
        },
        "source": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Source",
          "description": "Engagement source: comment_reply, warming, nurture, or marketing."
        },
        "objective": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Objective",
          "description": "Objective name or UUID used to filter authored engagement rows."
        }
      },
      "additionalProperties": false,
      "type": "object",
      "title": "FacadeEngagementsFilters",
      "description": "Filters for ``type='engagements'`` (routes to ``get_engagement_queue``)."
    },
    "FacadeKbFilters": {
      "properties": {
        "query": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Query",
          "description": "What to find. With match='ranked' (default): documents ranked by how well they match — authored docs and synced Drive/Notion/Slack content, by section text, title and summary — each with its summary and best_section. With match='text': the exact text (a name, number or phrase) to find line by line."
        },
        "doc_type": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Doc Type",
          "description": "Filter by type: positioning, case_study, objection_handling, battlecard, process, other (authored docs), or 'connector' for synced Drive/Notion documents only. Omit to search both."
        },
        "document_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Document Id",
          "description": "Fetch full content of one document (ignores query/doc_type), or with match='text' search only this document. Accepts an authored-doc UUID or a connector id of the form '<connection_uuid>:<source_record_id>' (as returned in search results)."
        },
        "include_content": {
          "type": "boolean",
          "title": "Include Content",
          "description": "Include full document text in search results (default false for a compact catalog). Connector docs return snippets in search mode regardless; read one in full via document_id.",
          "default": false
        },
        "modified_after": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Modified After",
          "description": "ISO-8601 timestamp (no offset = UTC); requires doc_type='connector'. Returns only synced documents modified strictly after this instant — with no query, ordered newest-first. Use this (NOT a keyword query, which is a relevance-ranked top-N sample) for exhaustive 'what synced since <date>' discovery, e.g. finding new meeting transcripts past a watermark."
        },
        "match": {
          "type": "string",
          "enum": [
            "ranked",
            "text"
          ],
          "title": "Match",
          "description": "'ranked' (default) ranks documents for the query. 'text' finds every line containing the query as exact text (case-insensitive), with the lines around it and its section, grouped by document — like grep; add document_id to search one document. Read a window around a best_section or match with manage_assistant reopen_company_source (first_section, section_count).",
          "default": "ranked"
        },
        "context_lines": {
          "type": "integer",
          "maximum": 10.0,
          "minimum": 0.0,
          "title": "Context Lines",
          "description": "match='text' only: lines of context either side of each match.",
          "default": 2
        }
      },
      "additionalProperties": false,
      "type": "object",
      "title": "FacadeKbFilters",
      "description": "Filters for ``type='kb'`` (routes to ``search_knowledge_base``)."
    },
    "FacadeMessagesFilters": {
      "properties": {
        "status": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Status",
          "description": "Message status: needs_draft (unauthored — author via manage_messages edit), draft, approved, rejected, sent (expands to post-send statuses), or all. Omit for default (needs_draft + draft + approved)."
        },
        "channel": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Channel",
          "description": "Channel filter (email, linkedin_connection, linkedin_message, …)."
        },
        "category": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Category",
          "description": "Message category: initial, followup, reply_response."
        },
        "message_type": {
          "anyOf": [
            {
              "type": "string",
              "enum": [
                "outreach",
                "inbound",
                "manual",
                "all"
              ]
            },
            {
              "type": "null"
            }
          ],
          "title": "Message Type",
          "description": "Row family (VRU-832). Omit or 'outreach' for outbound touches (default, unchanged). 'inbound' lists received replies — reply text in content, receive time in created_at, status 'received' (no actionable-status default applies); combine with category='person_reply' to exclude unsolicited inbound. 'manual' lists operator one-off sends — Vruum manual sends and provider-observed external sends (typed directly in LinkedIn/Gmail), status 'sent', no actionable-status default. 'all' returns all three families."
        },
        "has_reply": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "title": "Has Reply",
          "description": "Only messages that have (true) / have not (false) received a reply."
        },
        "warm_only": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "title": "Warm Only",
          "description": "true = only WARM follow-ups: linkedin_message rows whose plan has connection_status='connected' (the person ACCEPTED the connection request — highest-EV rows in the queue). Forces channel=linkedin_message. warm_only=true + status='needs_draft' + sort_by='expiring' pulls the warm authoring lane in one call, nearest sweep deadline first."
        },
        "person_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Person Id",
          "description": "Filter by a specific person ID."
        },
        "search": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Search",
          "description": "Search across subject, person email, person name."
        },
        "sort_by": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Sort By",
          "description": "Sort: recent (default), expiring (created_at asc — nearest sweep deadline first, pair with status='needs_draft'), person_name, subject, priority, or match_score.",
          "default": "recent"
        },
        "sequence_number_min": {
          "anyOf": [
            {
              "type": "integer",
              "minimum": 1.0
            },
            {
              "type": "null"
            }
          ],
          "title": "Sequence Number Min",
          "description": "Min sequence number, inclusive (T1=1)."
        },
        "sequence_number_max": {
          "anyOf": [
            {
              "type": "integer",
              "minimum": 1.0
            },
            {
              "type": "null"
            }
          ],
          "title": "Sequence Number Max",
          "description": "Max sequence number, inclusive (T1=1)."
        },
        "score_min": {
          "anyOf": [
            {
              "type": "integer",
              "maximum": 100.0,
              "minimum": 0.0
            },
            {
              "type": "null"
            }
          ],
          "title": "Score Min",
          "description": "Minimum match score (0-100)."
        },
        "score_max": {
          "anyOf": [
            {
              "type": "integer",
              "maximum": 100.0,
              "minimum": 0.0
            },
            {
              "type": "null"
            }
          ],
          "title": "Score Max",
          "description": "Maximum match score (0-100)."
        },
        "objective_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Objective Id",
          "description": "Objective UUID, or '__none__' for rows authored outside any objective. Filters the message's AUTHORING objective — not the person's current objective membership."
        },
        "fields": {
          "anyOf": [
            {
              "type": "string",
              "const": "compact"
            },
            {
              "type": "null"
            }
          ],
          "title": "Fields",
          "description": "Set to 'compact' for a lightweight projection WITHOUT message body — keeps message_id, person_name, category, sequence_number, channel, status, match_score (the person's latest fit score) and match_scored_at (the day it was made; score_min/score_max match only scores whose research still holds), touches_completed, objective_id, first_content_touch, channel_rewrite_reason, expires_at, connection_status. first_content_touch=true = the person has never received a content-bearing message (connection requests don't count): treat the item as an OPENER regardless of sequence_number; null = row predates the conversation_state brief (fall back to the sequence_number heuristic). expires_at (needs_draft rows only) = when the nightly sweep auto-rejects the row if still unauthored (regenerate grants a fresh window) — author nearest-deadline-first (sort_by=expiring) to beat it. connection_status = the linked plan's LinkedIn connection state: a linkedin_message row with connection_status='connected' is a WARM follow-up (they accepted the invite) — dispatch these first. Cheap on tokens for triage. An unrecognized value 422s."
        },
        "view": {
          "anyOf": [
            {
              "type": "string",
              "const": "breakdown"
            },
            {
              "type": "null"
            }
          ],
          "title": "View",
          "description": "Set to 'breakdown' for a queue-composition summary: grouped counts (by objective × category × sequence × channel × status, plus per-dimension marginals) over the full matching set, alongside a compact items page. Implies fields='compact'. An unrecognized value 422s."
        }
      },
      "additionalProperties": false,
      "type": "object",
      "title": "FacadeMessagesFilters",
      "description": "Filters for ``type='messages'`` (routes to ``get_message_queue``)."
    },
    "FacadeObjectivesFilters": {
      "properties": {
        "status": {
          "anyOf": [
            {
              "type": "string",
              "enum": [
                "draft",
                "active",
                "paused",
                "completed",
                "retired"
              ]
            },
            {
              "type": "null"
            }
          ],
          "title": "Status",
          "description": "Objective status filter. list_objectives already excludes retired objectives at the source, so status='retired' returns nothing."
        }
      },
      "additionalProperties": false,
      "type": "object",
      "title": "FacadeObjectivesFilters",
      "description": "Filters for ``type='objectives'`` (routes to ``list_objectives``,\nfiltered client-side — the underlying route has no server-side filter or\nprojection)."
    },
    "FacadePeopleFilters": {
      "properties": {
        "stage": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Stage",
          "description": "Pipeline stage: new, warming, enrolled, contacted, replied, met, opportunity, closed_won, closed_lost."
        },
        "status": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Status",
          "description": "Legacy filter — 'meeting_booked' (stage=met) or 'all' (default)."
        },
        "search": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Search",
          "description": "Free-text search across email, first/last name, title, company name."
        },
        "sort_by": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Sort By",
          "description": "Sort by recent, score, name, or company (default: score — same as the underlying endpoint).",
          "default": "score"
        },
        "enrollment": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Enrollment",
          "description": "Outreach enrollment filter: all, enrolled, paused, not_enrolled."
        },
        "relationship_type": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Relationship Type",
          "description": "Relationship filter: outbound_prospect, inbound_buyer, inbound_seller, networking, or all."
        },
        "objective": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Objective",
          "description": "Objective UUID, exact name, 'unassigned' for people with no live objective membership, or a comma-separated UUID list to combine several objectives."
        },
        "score_min": {
          "anyOf": [
            {
              "type": "integer",
              "maximum": 100.0,
              "minimum": 0.0
            },
            {
              "type": "null"
            }
          ],
          "title": "Score Min",
          "description": "Minimum match score (0-100, inclusive)."
        },
        "score_max": {
          "anyOf": [
            {
              "type": "integer",
              "maximum": 100.0,
              "minimum": 0.0
            },
            {
              "type": "null"
            }
          ],
          "title": "Score Max",
          "description": "Maximum match score (0-100, inclusive)."
        },
        "research_status": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Research Status",
          "description": "'researched', 'shallow', 'deep', 'stub', or 'all'. When omitted, matches the underlying endpoint's default: 'researched' for browsing, but 'all' when `search` is set (a search must find stubs too)."
        },
        "custom": {
          "anyOf": [
            {
              "additionalProperties": {
                "type": "string"
              },
              "type": "object"
            },
            {
              "type": "null"
            }
          ],
          "title": "Custom",
          "description": "Custom-attribute filters from CSV-import custom columns; every key=value pair must match (e.g. {'sorted_company_size': 'small'})."
        },
        "account_list": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Account List",
          "description": "Comma-separated account list UUIDs. Only people with a known employer in any selected list."
        },
        "list": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "List",
          "description": "Only people in this list — people_lists UUID or exact name (CSV-import list mirroring). Unknown list returns an empty result."
        },
        "persona": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Persona",
          "description": "Buying-center role filter: initiator, user, champion, decider, gatekeeper, influencer, executive_buyer, approver, purchaser, unknown, or 'unclassified' (no classification run yet)."
        }
      },
      "additionalProperties": false,
      "type": "object",
      "title": "FacadePeopleFilters",
      "description": "List-mode filters for ``type='people'`` (routes to ``get_user_people``).\n\nMutually exclusive with ``query`` — pass one or the other, never both."
    },
    "FacadeRelationshipAttemptsFilters": {
      "properties": {
        "target_ref": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Target Ref",
          "description": "Opaque entity_ target reference."
        }
      },
      "additionalProperties": false,
      "type": "object",
      "title": "FacadeRelationshipAttemptsFilters",
      "description": "Filters for durable web/MCP relationship actions."
    },
    "FacadeSkillsFilters": {
      "properties": {
        "scope": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Scope",
          "description": "Skill scope filter: private, company, or operator. Omit for every scope the caller can see."
        }
      },
      "additionalProperties": false,
      "type": "object",
      "title": "FacadeSkillsFilters",
      "description": "Filters for ``type='skills'`` (routes to the MCP ``list_skills`` route)."
    },
    "SearchEntityType": {
      "type": "string",
      "enum": [
        "people",
        "companies",
        "deals",
        "objectives",
        "messages",
        "engagements",
        "content",
        "kb",
        "skills",
        "cta_links",
        "warm_paths",
        "relationship_attempts",
        "directory_people",
        "directory_companies",
        "claims"
      ],
      "title": "SearchEntityType",
      "description": "The relationship-aware entity types the ``search`` facade can read."
    },
    "SearchableIndustry": {
      "type": "string",
      "enum": [
        "Unspecified",
        "Agriculture",
        "Construction",
        "Consumer Goods",
        "Consumer Services",
        "Education",
        "Energy & Utilities",
        "Financial Services",
        "Government",
        "Healthcare",
        "Hospitality & Travel",
        "Legal Services",
        "Manufacturing",
        "Marketing & Advertising",
        "Media & Entertainment",
        "Nonprofit",
        "Professional Services",
        "Real Estate",
        "Retail & E-commerce",
        "Software & Technology",
        "Staffing & Recruiting",
        "Telecommunications",
        "Transportation & Logistics",
        "Wholesale & Distribution",
        "Other"
      ],
      "title": "SearchableIndustry",
      "description": "Canonical research values plus the fallback bucket used by search."
    }
  }
}