{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agentseo-dev/json-schema/agentseo-dev-ai-visibility-prompt-set-params-schema.json",
  "title": "AiVisibilityPromptSetParams",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agentseo-dev-openapi.yaml#/components/schemas/AiVisibilityPromptSetParams",
  "type": "object",
  "required": [
    "target",
    "category",
    "topics"
  ],
  "properties": {
    "target": {
      "type": "string",
      "minLength": 1
    },
    "category": {
      "type": "string",
      "minLength": 1,
      "maxLength": 160
    },
    "audience": {
      "type": "string",
      "maxLength": 180
    },
    "locale": {
      "type": "string",
      "default": "United States"
    },
    "platforms": {
      "type": "array",
      "minItems": 1,
      "maxItems": 6,
      "items": {
        "type": "string",
        "enum": [
          "chatgpt",
          "perplexity",
          "google_ai",
          "gemini",
          "copilot",
          "claude"
        ]
      },
      "default": [
        "chatgpt",
        "perplexity",
        "google_ai"
      ]
    },
    "competitors": {
      "type": "array",
      "maxItems": 20,
      "items": {
        "type": "string"
      },
      "default": []
    },
    "topics": {
      "type": "array",
      "minItems": 1,
      "maxItems": 40,
      "items": {
        "type": "string",
        "maxLength": 120
      }
    },
    "product_terms": {
      "type": "array",
      "maxItems": 40,
      "items": {
        "type": "string"
      },
      "default": []
    },
    "personas": {
      "type": "array",
      "maxItems": 20,
      "items": {
        "type": "string"
      },
      "default": []
    },
    "owned_assets": {
      "type": "array",
      "maxItems": 100,
      "items": {
        "type": "object",
        "required": [
          "url",
          "title"
        ],
        "properties": {
          "url": {
            "type": "string",
            "format": "uri"
          },
          "title": {
            "type": "string",
            "maxLength": 180
          },
          "page_type": {
            "type": "string",
            "enum": [
              "homepage",
              "docs",
              "blog_post",
              "comparison",
              "pricing",
              "product",
              "case_study",
              "tool",
              "other"
            ],
            "default": "other"
          },
          "topics": {
            "type": "array",
            "maxItems": 20,
            "items": {
              "type": "string"
            }
          }
        }
      },
      "default": []
    },
    "prompt_count": {
      "type": "integer",
      "minimum": 6,
      "maximum": 50,
      "default": 20
    },
    "cadence": {
      "type": "string",
      "enum": [
        "weekly",
        "biweekly",
        "monthly"
      ],
      "default": "weekly"
    },
    "include_citation_checks": {
      "type": "boolean",
      "default": true
    },
    "include_competitor_checks": {
      "type": "boolean",
      "default": true
    }
  }
}