{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rankparse-com/json-schema/rankparse-com-page-seo-data-schema.json",
  "title": "PageSeoData",
  "x-generated": "2026-11-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/rankparse-com-openapi.yaml#/components/schemas/PageSeoData",
  "type": "object",
  "required": [
    "url",
    "status_code"
  ],
  "properties": {
    "url": {
      "type": "string"
    },
    "final_url": {
      "type": "string"
    },
    "status_code": {
      "type": "integer"
    },
    "response_time_ms": {
      "type": "integer"
    },
    "title": {
      "$ref": "#/$defs/PageSeoTitle"
    },
    "description": {
      "$ref": "#/$defs/PageSeoDescription"
    },
    "canonical": {
      "$ref": "#/$defs/PageSeoCanonical"
    },
    "robots": {
      "$ref": "#/$defs/PageSeoRobots"
    },
    "viewport": {
      "type": [
        "string",
        "null"
      ]
    },
    "language": {
      "$ref": "#/$defs/PageSeoLanguage"
    },
    "hreflang": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/PageSeoHreflang"
      }
    },
    "headings": {
      "$ref": "#/$defs/PageSeoHeadings"
    },
    "og": {
      "$ref": "#/$defs/PageSeoOg"
    },
    "twitter": {
      "$ref": "#/$defs/PageSeoTwitter"
    },
    "json_ld": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "images": {
      "$ref": "#/$defs/PageSeoImages"
    },
    "links": {
      "$ref": "#/$defs/PageSeoLinks"
    },
    "word_count": {
      "type": "integer"
    },
    "favicon": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "$defs": {
    "PageSeoCanonical": {
      "type": "object",
      "properties": {
        "url": {
          "type": [
            "string",
            "null"
          ]
        },
        "self_referential": {
          "type": "boolean"
        }
      }
    },
    "PageSeoDescription": {
      "type": "object",
      "properties": {
        "text": {
          "type": [
            "string",
            "null"
          ]
        },
        "length": {
          "type": "integer"
        },
        "optimal": {
          "type": "boolean"
        }
      }
    },
    "PageSeoHeadings": {
      "type": "object",
      "properties": {
        "h1": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "h2": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "h3_count": {
          "type": "integer"
        }
      }
    },
    "PageSeoHreflang": {
      "type": "object",
      "properties": {
        "lang": {
          "type": "string"
        },
        "url": {
          "type": "string"
        }
      }
    },
    "PageSeoImages": {
      "type": "object",
      "properties": {
        "total": {
          "type": "integer"
        },
        "missing_alt": {
          "type": "integer"
        }
      }
    },
    "PageSeoLanguage": {
      "type": "object",
      "properties": {
        "primary": {
          "type": [
            "string",
            "null"
          ]
        },
        "tag": {
          "type": [
            "string",
            "null"
          ]
        },
        "source": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "PageSeoLinks": {
      "type": "object",
      "properties": {
        "internal": {
          "type": "integer"
        },
        "external": {
          "type": "integer"
        }
      }
    },
    "PageSeoOg": {
      "type": "object",
      "properties": {
        "title": {
          "type": [
            "string",
            "null"
          ]
        },
        "description": {
          "type": [
            "string",
            "null"
          ]
        },
        "image": {
          "type": [
            "string",
            "null"
          ]
        },
        "type": {
          "type": [
            "string",
            "null"
          ]
        },
        "url": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "PageSeoRobots": {
      "type": "object",
      "properties": {
        "index": {
          "type": "boolean"
        },
        "follow": {
          "type": "boolean"
        },
        "raw": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "PageSeoTitle": {
      "type": "object",
      "properties": {
        "text": {
          "type": [
            "string",
            "null"
          ]
        },
        "length": {
          "type": "integer"
        },
        "optimal": {
          "type": "boolean"
        }
      }
    },
    "PageSeoTwitter": {
      "type": "object",
      "properties": {
        "card": {
          "type": [
            "string",
            "null"
          ]
        },
        "title": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    }
  }
}