{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/openrush-com/json-schema/openrush-com-backlink-gap-request-schema.json",
  "title": "BacklinkGapRequest",
  "description": "compare_backlink_gap — the backlink gap / link intersect, computed\nserver-side in ONE call. Given the client and its competitors, it unions each\ncompetitor's referring domains, counts how many competitors link to each,\nattaches TRUE authority + spam (bulk endpoint), drops spam/low-authority, and\nflags the ones the client already earned — returning a ranked, report-ready\nlist instead of thousands of rows the caller has to join by hand.\n\nFan-out (how many rivals to pull) and per-rival depth are inferred internally\n(the top-N by authority recover essentially the full intersect, and depth is\npriced per call), so they are not caller knobs.",
  "x-generated": "2026-11-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/openrush-com-openapi.json#/components/schemas/BacklinkGapRequest",
  "properties": {
    "domain": {
      "type": "string",
      "maxLength": 253,
      "minLength": 2,
      "title": "Domain"
    },
    "competitors": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "maxItems": 20,
      "minItems": 1,
      "title": "Competitors"
    },
    "min_competitors": {
      "type": "integer",
      "maximum": 20.0,
      "minimum": 1.0,
      "title": "Min Competitors",
      "default": 2
    },
    "min_authority": {
      "type": "integer",
      "maximum": 1000.0,
      "minimum": 0.0,
      "title": "Min Authority",
      "default": 100
    },
    "max_spam": {
      "type": "integer",
      "maximum": 100.0,
      "minimum": 0.0,
      "title": "Max Spam",
      "default": 30
    },
    "include_earned": {
      "type": "boolean",
      "title": "Include Earned",
      "default": true
    },
    "limit": {
      "type": "integer",
      "maximum": 200.0,
      "minimum": 1.0,
      "title": "Limit",
      "default": 50
    },
    "exclude_domains": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "maxItems": 500,
      "title": "Exclude Domains"
    }
  },
  "type": "object",
  "required": [
    "domain",
    "competitors"
  ]
}