{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rodz-io/json-schema/rodz-io-recruitment-campaign-watchlist-config-schema.json",
  "title": "RecruitmentCampaignWatchlistConfig",
  "description": "Watch a named list of companies and get told when one starts hiring in volume.\n\nSame filters as the Recruitment Campaign signal, applied to your own list of\naccounts instead of the open market. A company qualifies once it has at\nleast ``minJobCount`` matching roles open inside the ``publishedDate``\nwindow. Companies are given in ``companies`` as a name, a domain, or a\nLinkedIn company URL.",
  "x-generated": "2026-11-23",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/rodz-io-openapi.json#/components/schemas/RecruitmentCampaignWatchlistConfig",
  "properties": {
    "sourceType": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "csv",
            "hubspot_list",
            "pipedrive_filter",
            "hubspot_company_list",
            "pipedrive_org_filter"
          ]
        },
        {
          "type": "null"
        }
      ],
      "title": "Sourcetype",
      "description": "Where the watched list comes from. Omit it to use the list you send inline in this request. Set it to read a list that already exists in your connected CRM instead — the connection itself is made in the dashboard. Call `GET /api/v1/watchlists/sources` for the lists available on your account."
    },
    "sourceListId": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Sourcelistid",
      "description": "Id of the CRM list or filter to read, as returned by `GET /api/v1/watchlists/sources`. Required when `sourceType` is set, ignored otherwise."
    },
    "sourceDynamicSync": {
      "type": "boolean",
      "title": "Sourcedynamicsync",
      "description": "Keep the watched list in step with the CRM list: entries added there start being watched, entries removed stop. Set false to take a one-off copy at creation and leave it frozen. Has no effect without `sourceType`.",
      "default": true
    },
    "enablePersonaTargeting": {
      "type": "boolean",
      "title": "Enablepersonatargeting",
      "description": "Enable persona-based targeting",
      "default": false
    },
    "targetPersonas": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Targetpersonas",
      "description": "Filter by job-role persona (decision-maker targeting). Accepted values are the persona display names listed here; see GET /v1/personas for the full taxonomy with department, seniority and EN/FR job titles. Titles are matched by meaning, not as text: `targetPersonas` and `customPersonaTitles` form ONE list and a person qualifies by matching ANY entry. Each entry is read as a function plus a seniority level, in any language (\"Directeur Commercial\" satisfies \"Sales Director\", \"Président\" or \"Directeur général\" a CEO target), and a role at that level or above qualifies: a Director or Head target refuses a plain Manager; a founder running the company counts as CEO. A custom title carries the level its own words state; one with no level word accepts every level. Valid values: \"Account Executive\", \"Account Manager\", \"Accountant\", \"Agency Director\", \"Business Analyst\", \"Business Developer\", \"Business Unit Director\", \"Buyer\", \"CEO\", \"CIO\", \"CSR Director\", \"CSR Manager\", \"CTO\", \"Communication Director\", \"Community Manager\", \"Content Manager\", \"Copywriter\", \"Creative Director\", \"Customer Success Director\", \"Customer Success Manager\", \"Customer Support Agent\", \"Cybersecurity Director\", \"Data Analyst\", \"Data Director\", \"Designer\", \"DevOps Engineer\", \"Digital Director\", \"Digital Project Manager\", \"Ecommerce Director\", \"Ecommerce Manager\", \"Engineering Manager\", \"Engineering Office Director\", \"Ergonomist\", \"Executive Assistant\", \"Finance Director\", \"Finance Manager\", \"GTM Director\", \"GTM Manager\", \"Growth Director\", \"Growth Manager\", \"HR Assistant\", \"HR Development\", \"HR Director\", \"Happiness Manager\", \"IT Project Manager\", \"Industrial Director\", \"Innovation Director\", \"Lab Manager\", \"Legal Counsel\", \"Legal Director\", \"Legal Manager\", \"Logistics Coordinator\", \"Logistics Director\", \"M&A Director\", \"Marketing Director\", \"Marketing Manager\", \"Office Manager\", \"Omnichannel Director\", \"Operations Director\", \"Operations Manager\", \"Payroll Manager\", \"Payroll Officer\", \"Procurement Specialist\", \"Product Director\", \"Product Manager\", \"Project Manager\", \"Purchasing Director\", \"Purchasing Manager\", \"Quality Health and Safety\", \"Quality Manager\", \"Quality Technician\", \"R&D Director\", \"R&D Engineer\", \"R&D Manager\", \"Recruitment Manager\", \"Research Director\", \"Research Scientist\", \"SDR / BDR\", \"Sales Director\", \"Sales Manager\", \"Social Media Director\", \"Social Media Manager\", \"Software Engineer\", \"Supply Chain Director\", \"Support Director\", \"Support Manager\", \"Talent Acquisition\", \"Technical Director\", \"Training Director\", \"Training Officer\", \"Transformation Director\", \"UX Designer\", \"Warehouse Director\", \"Web Developer\""
    },
    "personaExportMode": {
      "type": "string",
      "title": "Personaexportmode",
      "description": "How your personas are searched at each company. \"top_ranked\" (default) tries them in the order you listed and stops at the first one with a match; \"all_personas\" searches every persona, and the same person is never delivered twice. On job offer, republished job offer and recruitment campaign signals the personas are tried one after another in both modes, until the company reaches \"maxLeadsPerCompany\" for the day. A company where nobody is found is delivered alone, with no contact, unless \"requireContact\" is on.",
      "default": "top_ranked"
    },
    "maxLeadsPerCompany": {
      "anyOf": [
        {
          "type": "integer",
          "maximum": 50.0,
          "minimum": 1.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Maxleadspercompany",
      "description": "Maximum number of contacts each persona search delivers at a company; 1 when omitted. With \"top_ranked\" that is the maximum for the company; with \"all_personas\" a company can receive up to this many per persona. On job offer, republished job offer and recruitment campaign signals it is the maximum number of contacts per company per day, and `dailyLeadLimit` counts companies: with a limit of 1 and a maximum of 10, you receive at most 10 contacts from one company per day. A company is delivered at most once a day, however many jobs it posts."
    },
    "personaId": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Personaid",
      "description": "Legacy single persona ID"
    },
    "personaLocations": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Personalocations",
      "description": "Where to look for contacts, e.g. `[\"France\", \"Germany\"]`. With `personaLocationsOnly` true, it alone decides which contacts are accepted (empty = anywhere) and `locations` only targets where the job is, so a job in Germany can come with a contact based in another country you list here. With `personaLocationsOnly` false (the default), contacts must also be located in one of `locations`. Pass names, as for `locations`."
    },
    "personaExcludedLocations": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Personaexcludedlocations",
      "description": "Where the contacts must NOT be located. With `personaLocationsOnly` true and only exclusions set, contacts anywhere except these places are accepted. With `personaLocationsOnly` false, `excludedLocations` also applies to contacts."
    },
    "customPersonaTitles": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Custompersonatitles",
      "description": "Custom free-text job titles to target in addition to predefined personas"
    },
    "excludedTitles": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Excludedtitles",
      "description": "Job titles to exclude. Matched as whole words, case- and accent-insensitive: \"intern\" excludes \"Intern\" and \"Interns\", never \"International\"; a phrase matches the same words in the same order; end a word with * to match a prefix (\"infirmi*\" excludes \"Infirmière\")."
    },
    "requireContact": {
      "type": "boolean",
      "title": "Requirecontact",
      "description": "Only deliver leads with a contact. Off (default): when the people search finds nobody matching your personas at a company, you still receive the company alone, with no contact, priced as a company-level lead. On: that company is neither delivered nor charged, and it does not count toward `dailyLeadLimit`. Only applies when `enablePersonaTargeting` is on.",
      "default": false
    },
    "jobTitleInclude": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Jobtitleinclude",
      "description": "Keywords the job title must include. Each keyword is matched anywhere in the title, not against the whole title: `sales` matches \"Head of Sales EMEA\". A multi-word keyword must appear with its words in that order (`head of sales` does not match \"Head of Inside Sales\"). Case and accents are ignored. Several keywords match when ANY one is found, or ALL of them with `jobTitleIncludeAll`."
    },
    "jobTitleExclude": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Jobtitleexclude",
      "description": "Keywords the job title must not include: a job is skipped when its title contains any of them anywhere (`intern` skips \"Sales Intern\"). Case and accents are ignored."
    },
    "jobTitleIncludeAll": {
      "type": "boolean",
      "title": "Jobtitleincludeall",
      "description": "Require EVERY `jobTitleInclude` keyword in the title instead of any one.",
      "default": false
    },
    "jobDescriptionInclude": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Jobdescriptioninclude",
      "description": "Keywords the job description must include, each matched anywhere in the description text (`Salesforce` matches a posting asking for \"experience with Salesforce CRM\"). A multi-word keyword must appear with its words in that order. Case and accents are ignored. Several keywords match when ANY one is found, or ALL of them with `jobDescriptionIncludeAll`."
    },
    "jobDescriptionExclude": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Jobdescriptionexclude",
      "description": "Keywords the job description must not include: a job is skipped when its description contains any of them anywhere. Case and accents are ignored."
    },
    "jobDescriptionIncludeAll": {
      "type": "boolean",
      "title": "Jobdescriptionincludeall",
      "description": "Require EVERY `jobDescriptionInclude` keyword in the description instead of any one.",
      "default": false
    },
    "jobTitleQuery": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Jobtitlequery",
      "description": "Advanced: a boolean search string applied to the job title instead of `jobTitleInclude` / `jobTitleExclude` (operators: AND, OR, NOT, parentheses, quoted phrases — e.g. `(\"head of marketing\" OR \"VP marketing\") AND NOT intern`). When non-empty, the include/exclude title lists are ignored. Leave null for the simple list-based mode."
    },
    "jobDescriptionQuery": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Jobdescriptionquery",
      "description": "Advanced: a boolean search string applied to the job description instead of `jobDescriptionInclude` / `jobDescriptionExclude` (same operator syntax as `jobTitleQuery`). When non-empty, the include/exclude description lists are ignored. Leave null for simple list-based mode."
    },
    "locations": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Locations",
      "description": "Job locations to search, e.g. `[\"France\", \"Belgium\"]`. Applies to the JOB's location, not the hiring company's headquarters: a job in France at a company headquartered abroad matches France. Optional — **leave it empty or omit it to search worldwide**. Multiple locations are OR'd, so adding more widens the search rather than narrowing it. Pass names, not ids (`\"France\"`); unrecognised names are rejected with 400 `INVALID_LOCATION`. A continent covers all of its countries: `\"Europe\"`, `\"Asia\"`, `\"Africa\"`, `\"North America\"`, `\"South America\"`, `\"Oceania\"` (French names such as `\"Asie\"` or `\"Amérique du Nord\"` work too). A worldwide signal can match far more jobs than a country-scoped one, so set `dailyLeadLimit` to what you actually want delivered. On job signals `dailyLeadLimit` counts companies: each company is delivered at most once a day, however many jobs it posts. Contacts: unless `personaLocationsOnly` is true, contacts must also be located in one of these locations; set `personaLocationsOnly` with `personaLocations` to choose where contacts are, independently of where the job is."
    },
    "excludedLocations": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Excludedlocations",
      "description": "Job locations to exclude from results"
    },
    "companySizeFilters": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Companysizefilters",
      "description": "Company size filter. Values: \"Self-employed\", \"1-10\", \"11-50\", \"51-200\", \"201-500\", \"501-1000\", \"1001-5000\", \"5001-10000\", \"10001+\". A company qualifies when its declared size band OR its employee count falls in a selected band; a count within 10% of a band edge counts for both neighbouring bands, and a company declaring 501+ employees is never placed in a smaller band by a low count. The delivered `employee_range` / `employee_count` are the pair the lead was judged on."
    },
    "excludedCompanySizeFilters": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Excludedcompanysizefilters",
      "description": "Company sizes to exclude from results"
    },
    "industryFilters": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Industryfilters",
      "description": "Only return jobs at companies in these industries. Uses LinkedIn industry names, the same vocabulary as every other signal (e.g. 'Software Development', 'Hospitality', 'Staffing and Recruiting'). Empty = all industries. Call GET /api/v1/signals/industries for the valid list; names must match exactly."
    },
    "industryMatchExact": {
      "type": "boolean",
      "title": "Industrymatchexact",
      "description": "Set to true to match only the industries listed in `industryFilters`. By default the filter follows the LinkedIn industry hierarchy both ways: a company labelled with a broader industry that contains a listed one matches (a filter on 'Housing and Community Development' accepts a company labelled 'Government Administration'), and so does a company labelled with a narrower industry inside a listed one (a filter on 'Technology, Information and Internet' accepts 'Software Development'). With true, both are rejected; a category name (e.g. 'Technology and Media') still covers its industries. `excludedIndustryFilters` is unchanged. Default false.",
      "default": false
    },
    "allowUnknownIndustry": {
      "type": "boolean",
      "title": "Allowunknownindustry",
      "description": "Whether a lead whose company industry could not be determined is delivered when you filter on `industryFilters`. Default true: such leads are delivered, so a narrow industry selection still reaches companies whose industry is not published. Set to false to receive only leads whose company industry is known and matches your `industryFilters` - fewer leads, none with an empty industry. Has no effect without `industryFilters` (`excludedIndustryFilters` alone never refuses an unknown industry). Example: `industryFilters: [\"Hospitality\"]`, `industryMatchExact: true`, `allowUnknownIndustry: false` delivers only companies labelled Hospitality.",
      "default": true
    },
    "companyIndustryExcluded": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Companyindustryexcluded",
      "description": "Exclude companies in these industries — typically agencies and consultancies posting on a client's behalf. Same LinkedIn industry vocabulary as `industryFilters`. To exclude named companies rather than whole industries, use `excludedWebsites`. Defaults to recruitment agencies and consultancies.",
      "default": [
        "Staffing and Recruiting",
        "Business Consulting and Services"
      ]
    },
    "excludedWebsites": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Excludedwebsites",
      "description": "Company website domains to exclude from results — e.g. companies you already work with. Accepts domains or URLs (normalized to the bare domain, like 'acme.com'); matching is case-insensitive and ignores 'www.'."
    },
    "publishedDate": {
      "type": "string",
      "title": "Publisheddate",
      "description": "How recently the jobs must have been posted. Use \"24h\", or a count followed by a unit — \"7d\" / \"30d\" (days), \"2w\" (weeks), \"3m\" / \"12m\" (months); the spelled-out forms (\"30 days\", \"3 months\") are accepted too. Defaults to \"30d\" for campaigns.",
      "default": "30d"
    },
    "getEmails": {
      "type": "boolean",
      "title": "Getemails",
      "description": "Enable email enrichment (0.5 credit/lead, charged only on success)",
      "default": false
    },
    "getPhones": {
      "type": "boolean",
      "title": "Getphones",
      "description": "Enable phone enrichment (5 credits/lead, charged only on success)",
      "default": false
    },
    "getSireneData": {
      "type": "boolean",
      "title": "Getsirenedata",
      "description": "Enrich with French SIRENE registry data: the company's SIREN and, once enabled for your account, its company register record (`company.registry`) (1 credit/lead, charged only when the lead is delivered with a SIREN)",
      "default": false
    },
    "detectTechnologies": {
      "type": "boolean",
      "title": "Detecttechnologies",
      "description": "Detect technologies used on the company's public website (1 credit/lead, charged only on success)",
      "default": false
    },
    "getHomepageContent": {
      "type": "boolean",
      "title": "Gethomepagecontent",
      "description": "Fetch the company's homepage content (1 credit/lead, charged only on success)",
      "default": false
    },
    "includeCompanyPhone": {
      "type": "boolean",
      "title": "Includecompanyphone",
      "description": "Add the company's main switchboard number to each lead (`company.phone` in the webhook, E.164), for calling the company rather than one person. Only landlines are delivered, never a personal mobile. 0.5 credit per number found: nothing is charged when no switchboard number is found. Off by default.",
      "default": false
    },
    "companies": {
      "items": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "$ref": "#/$defs/WatchedCompanyObject"
          }
        ]
      },
      "type": "array",
      "maxItems": 15000,
      "title": "Companies",
      "description": "The companies to watch. Each entry is either a plain string — a name, a domain, or a LinkedIn company URL (e.g. `\"Doctolib\"`, `\"payfit.com\"`, `\"https://www.linkedin.com/company/lemlist\"`) — or an object `{name, domain, linkedinUrl}` (all optional, at least one required) such as `{\"name\": \"PayFit\", \"domain\": \"payfit.com\", \"linkedinUrl\": \"https://www.linkedin.com/company/payfit\"}`. Both forms can be mixed in one list. Send every identifier you have: each is another way to recognise the company, so an object matches more of your list than any single string. A domain matches most reliably; a name has to match exactly once punctuation and legal suffixes are ignored, so `\"ACME, Inc.\"` and `\"Acme\"` are the same company but `\"Nova\"` and `\"Nova Systems\"` are not.\n\n**Accepted entry forms:** a company name (`\"Doctolib\"`); a domain or website URL (`\"payfit.com\"`, `\"https://www.payfit.com/fr\"`); its LinkedIn company page (`\"https://www.linkedin.com/company/payfit\"`, in any spelling: with or without `https://` and `www.`, a country subdomain, a trailing path or query; school and showcase pages too); its numeric LinkedIn company id (`\"10426145\"`) or a Sales Navigator company link (`\"https://www.linkedin.com/sales/company/10426145\"`), both read as that id; or an object `{name, domain, linkedinUrl}` combining several. Any other LinkedIn link names no company: a person's profile (`/in/`), a post or a group page is refused with 422 `INVALID_COMPANY_ENTRY`, which lists each offending entry, and nothing is saved.\n\nConsumed into the watchlist on create, so it is NOT echoed back in `config` — the watched list has exactly one home. Read it with `GET /api/v1/watchlists/{signalId}/companies`, and add, replace or remove entries with `POST` / `DELETE` on the same path. **Deprecated in a `PATCH`** (it still works: the entries are ADDED, with a `DEPRECATED_FIELD` warning)."
    },
    "companyOnlyWhenContactsRefused": {
      "type": "boolean",
      "title": "Companyonlywhencontactsrefused",
      "description": "Deliver the company alone, with no contact, when people were found at it but every one was filtered out by your persona, location or company size settings. Off by default: that company produces nothing, the same as before this option existed. On: you still get the company — priced and delivered exactly like a company-only lead, the same as when nobody at all is found there. `requireContact` takes precedence when both are set. Only applies when `enablePersonaTargeting` is on.",
      "default": false
    },
    "personaLocationsOnly": {
      "type": "boolean",
      "title": "Personalocationsonly",
      "description": "Judge the contact's location by `personaLocations` and `personaExcludedLocations` only, while `locations` keeps targeting where the job is; an empty `personaLocations` then accepts contacts anywhere. Default false: contacts must also be located in one of `locations` and outside `excludedLocations`.",
      "default": false
    },
    "minJobCount": {
      "type": "integer",
      "title": "Minjobcount",
      "description": "Minimum number of matching open positions a company must have to qualify. Optional: 10 when omitted.",
      "default": 10
    },
    "maxJobCount": {
      "type": "integer",
      "title": "Maxjobcount",
      "description": "Maximum matching open positions; companies with more than this are excluded.",
      "default": 1000
    }
  },
  "type": "object",
  "$defs": {
    "WatchedCompanyObject": {
      "properties": {
        "name": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 500
            },
            {
              "type": "null"
            }
          ],
          "title": "Name",
          "description": "The company name as you know it, e.g. `\"PayFit\"`."
        },
        "domain": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 500
            },
            {
              "type": "null"
            }
          ],
          "title": "Domain",
          "description": "The company website, e.g. `\"payfit.com\"`. A full URL is accepted and reduced to its domain."
        },
        "linkedinUrl": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 2000
            },
            {
              "type": "null"
            }
          ],
          "title": "Linkedinurl",
          "description": "The company LinkedIn page, e.g. `\"https://www.linkedin.com/company/payfit\"`. The most precise identifier of the three. A Sales Navigator company link (`/sales/company/<id>`) or the numeric LinkedIn company id is accepted too, and so are school and showcase pages; any other LinkedIn link (a person's profile, a post) is refused with 422 `INVALID_COMPANY_ENTRY`."
        }
      },
      "additionalProperties": false,
      "type": "object",
      "title": "WatchedCompanyObject",
      "description": "One company, with everything you know about it.\n\nThe object form of a company-list entry. Send every identifier you have:\neach one is another way to recognise the company, and together they\nseparate two companies that share a name."
    }
  }
}