{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ploid/json-schema/ploid-linked-in-search-request-schema.json",
  "title": "LinkedInSearchRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ploid-linked-in-api-openapi.yml#/components/schemas/LinkedInSearchRequest",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "filters": {
      "$ref": "#/$defs/LinkedInSearchFilters"
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100,
      "default": 25
    },
    "cursor": {
      "type": "string",
      "maxLength": 1000,
      "description": "Pagination cursor from a previous response."
    }
  },
  "$defs": {
    "LinkedInSearchFilterValue": {
      "oneOf": [
        {
          "type": "string",
          "minLength": 1,
          "maxLength": 200
        },
        {
          "type": "array",
          "minItems": 1,
          "maxItems": 10,
          "items": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200
          },
          "description": "Items joined with spaces must total at most 200 characters."
        }
      ]
    },
    "LinkedInSearchFilters": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "keywords": {
          "type": "string",
          "maxLength": 500
        },
        "location": {
          "$ref": "#/$defs/LinkedInSearchFilterValue"
        },
        "title": {
          "$ref": "#/$defs/LinkedInSearchFilterValue"
        },
        "currentCompany": {
          "$ref": "#/$defs/LinkedInSearchFilterValue"
        },
        "school": {
          "$ref": "#/$defs/LinkedInSearchFilterValue"
        }
      }
    }
  }
}