{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agentseo-dev/json-schema/agentseo-dev-llm-mentions-response-schema.json",
  "title": "LlmMentionsResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agentseo-dev-llm-mentions-api-openapi.yml#/components/schemas/LlmMentionsResponse",
  "type": "object",
  "properties": {
    "brand": {
      "type": "string"
    },
    "overall_mention_share": {
      "type": "number"
    },
    "total_results": {
      "type": "integer"
    },
    "brand_mentions": {
      "type": "integer"
    },
    "per_query": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": true
      }
    },
    "mention_audit": {
      "type": "object",
      "properties": {
        "brand": {
          "type": "string"
        },
        "visibility_status": {
          "type": "string",
          "enum": [
            "strong",
            "mixed",
            "weak"
          ]
        },
        "strongest_queries": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "weakest_queries": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "gap_summary": {
          "type": "string"
        }
      }
    },
    "agent_workflow": {
      "$ref": "#/$defs/AgentWorkflow"
    },
    "markdown_summary": {
      "type": "string"
    }
  },
  "$defs": {
    "AgentWorkflow": {
      "type": "object",
      "properties": {
        "summary": {
          "type": "string"
        },
        "decision": {
          "type": "string",
          "enum": [
            "ready",
            "act_now",
            "monitor",
            "blocker"
          ]
        },
        "confidence": {
          "type": "number",
          "minimum": 0,
          "maximum": 1
        },
        "recommended_actions": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/AgentWorkflowAction"
          }
        },
        "evidence": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/AgentWorkflowEvidence"
          }
        },
        "limitations": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "next_calls": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/AgentWorkflowNextCall"
          }
        }
      }
    },
    "AgentWorkflowAction": {
      "type": "object",
      "properties": {
        "priority": {
          "type": "string",
          "enum": [
            "critical",
            "high",
            "medium",
            "low"
          ]
        },
        "action": {
          "type": "string"
        },
        "why": {
          "type": "string"
        }
      }
    },
    "AgentWorkflowEvidence": {
      "type": "object",
      "properties": {
        "finding": {
          "type": "string"
        },
        "detail": {
          "type": "string"
        },
        "severity": {
          "type": "string",
          "enum": [
            "critical",
            "high",
            "medium",
            "low"
          ]
        }
      }
    },
    "AgentWorkflowNextCall": {
      "type": "object",
      "properties": {
        "endpoint": {
          "type": "string"
        },
        "reason": {
          "type": "string"
        }
      }
    }
  }
}