{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ecomscout-com/json-schema/ecomscout-com-competitor-store-schema.json",
  "title": "CompetitorStore",
  "description": "One ranked competitor. Similarity ranking (score), not market share.",
  "x-generated": "2026-11-06",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ecomscout-com-openapi.json#/components/schemas/CompetitorStore",
  "type": "object",
  "properties": {
    "domain": {
      "type": "string"
    },
    "url": {
      "type": "string"
    },
    "industry": {
      "type": "string"
    },
    "vertical": {
      "type": "string"
    },
    "category": {
      "type": "string"
    },
    "countryName": {
      "type": "string"
    },
    "monthlyRevenueUsdHigh": {
      "type": "number",
      "description": "Modeled high band, USD"
    },
    "monthlyVisits": {
      "type": "integer"
    },
    "ecomScoutRating": {
      "type": "number"
    },
    "ecomScoutGrade": {
      "type": "string"
    },
    "productCount": {
      "type": "integer"
    },
    "visitsChangePct": {
      "type": [
        "number",
        "null"
      ]
    },
    "trafficRatio": {
      "type": "number",
      "description": "Competitor visits ÷ seed store visits"
    },
    "tokenOverlap": {
      "type": "integer"
    },
    "sharedTokens": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "match": {
      "type": "object",
      "properties": {
        "country": {
          "type": "boolean"
        },
        "region": {
          "type": "boolean"
        },
        "industry": {
          "type": "boolean"
        },
        "vertical": {
          "type": "boolean"
        },
        "category": {
          "type": "boolean"
        },
        "geo": {
          "type": "string",
          "enum": [
            "country",
            "region",
            "global"
          ]
        }
      }
    },
    "score": {
      "type": "number"
    }
  }
}