{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agentseo-dev/json-schema/agentseo-dev-backlinks-opportunity-finder-params-schema.json",
  "title": "BacklinksOpportunityFinderParams",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agentseo-dev-openapi.yaml#/components/schemas/BacklinksOpportunityFinderParams",
  "type": "object",
  "required": [
    "target",
    "prospects"
  ],
  "properties": {
    "target": {
      "type": "string",
      "description": "Target domain, brand, or site."
    },
    "campaign_goal": {
      "type": "string",
      "enum": [
        "mixed",
        "link_gap",
        "broken_link_building",
        "digital_pr",
        "resource_page",
        "reclaim_lost_links",
        "protect_authority"
      ],
      "default": "mixed"
    },
    "prospects": {
      "type": "array",
      "minItems": 1,
      "maxItems": 250,
      "items": {
        "type": "object",
        "required": [
          "source_domain"
        ],
        "additionalProperties": true,
        "properties": {
          "source_domain": {
            "type": "string"
          },
          "source_url": {
            "type": "string",
            "format": "uri"
          },
          "title": {
            "type": "string"
          },
          "source_type": {
            "type": "string",
            "enum": [
              "resource_page",
              "article",
              "directory",
              "tool_list",
              "news",
              "partner",
              "unknown"
            ]
          },
          "linked_competitors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "topics": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "domain_rank": {
            "type": "number"
          },
          "page_rank": {
            "type": "number"
          },
          "spam_score": {
            "type": "number"
          },
          "broken_link": {
            "type": "boolean"
          },
          "lost_link": {
            "type": "boolean"
          }
        }
      }
    },
    "owned_assets": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": true
      }
    },
    "competitor_domains": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "existing_backlink_domains": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "max_opportunities": {
      "type": "integer",
      "minimum": 1,
      "maximum": 50,
      "default": 20
    },
    "min_priority": {
      "type": "string",
      "enum": [
        "low",
        "medium",
        "high"
      ],
      "default": "medium"
    },
    "max_spam_score": {
      "type": "integer",
      "minimum": 0,
      "maximum": 100,
      "default": 35
    },
    "include_outreach_angles": {
      "type": "boolean",
      "default": true
    }
  }
}