{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/xeorank-com/json-schema/xeorank-com-analyze-response-schema.json",
  "title": "AnalyzeResponse",
  "x-generated": "2026-11-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/xeorank-com-openapi.json#/components/schemas/AnalyzeResponse",
  "properties": {
    "url": {
      "type": "string",
      "title": "Url"
    },
    "title": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Title"
    },
    "analyzed_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Analyzed At"
    },
    "query": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Query"
    },
    "missing_topics": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Missing Topics"
    },
    "competitor_themes": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Competitor Themes"
    },
    "summary": {
      "type": "string",
      "title": "Summary"
    },
    "score": {
      "type": "number",
      "title": "Score"
    },
    "seo_breakdown": {
      "anyOf": [
        {
          "$ref": "#/$defs/SeoScoreBreakdown"
        },
        {
          "type": "null"
        }
      ]
    },
    "page_type": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "homepage",
            "about",
            "contact",
            "collection",
            "search_results",
            "profile",
            "article",
            "product",
            "service",
            "faq",
            "howto",
            "job_posting",
            "event",
            "recipe",
            "course",
            "dataset",
            "software",
            "medical",
            "webpage",
            "legal",
            "pricing",
            "auth",
            "support",
            "error"
          ]
        },
        {
          "type": "null"
        }
      ],
      "title": "Page Type"
    },
    "page_type_confidence": {
      "anyOf": [
        {
          "type": "number",
          "maximum": 1.0,
          "minimum": 0.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Page Type Confidence"
    },
    "schema_validation": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Schema Validation"
    },
    "grounded": {
      "type": "boolean",
      "title": "Grounded",
      "default": false
    },
    "aeo_score": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Aeo Score"
    },
    "aeo_recommendations": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Aeo Recommendations"
    },
    "geo_score": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Geo Score"
    },
    "geo_recommendations": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Geo Recommendations"
    },
    "recommendations": {
      "items": {
        "$ref": "#/$defs/Recommendation"
      },
      "type": "array",
      "title": "Recommendations"
    },
    "verification_signals": {
      "additionalProperties": {
        "additionalProperties": true,
        "type": "object"
      },
      "type": "object",
      "title": "Verification Signals"
    },
    "passing_signals": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Passing Signals"
    },
    "total_signals": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Total Signals"
    },
    "aeo_recommendations_all": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Aeo Recommendations All"
    },
    "geo_recommendations_all": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Geo Recommendations All"
    }
  },
  "type": "object",
  "required": [
    "url",
    "summary",
    "score"
  ],
  "$defs": {
    "Recommendation": {
      "properties": {
        "rule_id": {
          "type": "string",
          "title": "Rule Id"
        },
        "category": {
          "type": "string",
          "title": "Category"
        },
        "priority": {
          "type": "string",
          "title": "Priority"
        },
        "title": {
          "type": "string",
          "title": "Title"
        },
        "description": {
          "type": "string",
          "title": "Description"
        },
        "impact": {
          "type": "string",
          "title": "Impact"
        },
        "locator": {
          "anyOf": [
            {
              "additionalProperties": true,
              "type": "object"
            },
            {
              "type": "null"
            }
          ],
          "title": "Locator"
        }
      },
      "type": "object",
      "required": [
        "rule_id",
        "category",
        "priority",
        "title",
        "description",
        "impact"
      ],
      "title": "Recommendation"
    },
    "SeoScoreBreakdown": {
      "properties": {
        "overall": {
          "type": "number",
          "title": "Overall",
          "default": 0.0
        },
        "technical": {
          "type": "number",
          "title": "Technical",
          "default": 0.0
        },
        "on_page": {
          "type": "number",
          "title": "On Page",
          "default": 0.0
        },
        "content": {
          "type": "number",
          "title": "Content",
          "default": 0.0
        },
        "links": {
          "type": "number",
          "title": "Links",
          "default": 0.0
        }
      },
      "type": "object",
      "title": "SeoScoreBreakdown"
    }
  }
}