{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sightkick-so/json-schema/sightkick-so-research-keywords-gap-schema.json",
  "title": "research_keywords.gap",
  "description": "Searches a rival ranks for and the site doesn't, with theirPage and theirTraffic. Permission: spend. Spends: keywordSearches.",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sightkick-so-openapi.json#/components/schemas/research_keywords.gap",
  "type": "object",
  "properties": {
    "from": {
      "const": "gap"
    },
    "domain": {
      "type": "string",
      "minLength": 3,
      "maxLength": 120
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 450,
      "description": "seed, competitor and gap only: rows back, 100 by default (a list answers every keyword)"
    },
    "months": {
      "type": "boolean",
      "description": "Include the 12 months' searches, each with its month"
    },
    "includeOffTopic": {
      "type": "boolean",
      "description": "seed, competitor and gap only (a list holds none back): also list the rows graded off the business's topic"
    },
    "country": {
      "type": "string",
      "minLength": 2,
      "maxLength": 60,
      "description": "A country by name or two-letter code (get_settings markets). Default: the workspace's market"
    },
    "language": {
      "type": "string",
      "minLength": 2,
      "maxLength": 40,
      "description": "One of the country's languages (get_settings markets)"
    },
    "city": {
      "type": "string",
      "minLength": 2,
      "maxLength": 80,
      "description": "A city in the country: its searches, CPC and competition come from Google Ads for that place, difficulty and intent stay the country's"
    }
  },
  "required": [
    "from",
    "domain"
  ],
  "additionalProperties": false,
  "x-permission": "spend",
  "x-meter": "keywordSearches"
}