{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agentseo-dev/json-schema/agentseo-dev-analyze-serp-params-schema.json",
  "title": "AnalyzeSerpParams",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agentseo-dev-analyze-api-openapi.yml#/components/schemas/AnalyzeSerpParams",
  "type": "object",
  "required": [
    "keyword"
  ],
  "properties": {
    "keyword": {
      "type": "string"
    },
    "location": {
      "type": "string",
      "default": "United States"
    },
    "location_code": {
      "type": "integer",
      "minimum": 1,
      "description": "Optional search location code for deterministic geo-targeting."
    },
    "device": {
      "type": "string",
      "enum": [
        "desktop",
        "mobile"
      ],
      "default": "desktop"
    },
    "language": {
      "type": "string",
      "default": "en"
    }
  }
}