{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ayrank-com/json-schema/ayrank-com-page-size-response-schema.json",
  "title": "PageSizeResponse",
  "x-generated": "2026-12-02",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ayrank-com-openapi.json#/components/schemas/PageSizeResponse",
  "type": "object",
  "required": [
    "input",
    "finalUrl",
    "status",
    "redirects",
    "error",
    "report",
    "limits",
    "checkedAt",
    "poweredBy"
  ],
  "properties": {
    "input": {
      "type": "string"
    },
    "finalUrl": {
      "type": "string",
      "description": "URL that answered after redirects."
    },
    "status": {
      "type": [
        "integer",
        "null"
      ]
    },
    "redirects": {
      "type": "integer"
    },
    "error": {
      "type": [
        "string",
        "null"
      ],
      "description": "timeout, network, too-many-redirects or null. A read that stops during the download is reported in report.stopped instead."
    },
    "contentType": {
      "type": "string"
    },
    "contentEncoding": {
      "type": [
        "string",
        "null"
      ],
      "description": "Content-Encoding as sent, like br or gzip."
    },
    "contentLength": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Content-Length as sent, if any."
    },
    "report": {
      "type": [
        "object",
        "null"
      ],
      "description": "Null unless the final answer was 2xx. { kind (html, pdf, image, video, other), limit, limitDecimal, transferredBytes, decodedBytes, exact (whole body read), stopped (cap, timeout, network, decode or null), encoding, ratio, verdict (under, borderline, over, unknown, not-applicable), percent (decodedBytes / limit * 100), headroom (limit minus decodedBytes; negative when over), overCrawlerDefault, transferredOver, html }. html is null unless kind is html: { analysedBytes, partial, total { headings, links, textChars }, pastCut (null unless over 2,097,152 bytes) { bytes, headings, links, textChars, firstHeading { level, text, start } or null, partial, analysedBytes }, parts { script, json, rsc, style, svg, data-uri, comment, rest }, blocks [{ kind, label, bytes, share, start, count }] }. There is no score field."
    },
    "limits": {
      "type": "object",
      "description": "The caps used for this call."
    },
    "checkedAt": {
      "type": "string",
      "format": "date-time"
    },
    "poweredBy": {
      "$ref": "#/$defs/PoweredBy"
    }
  },
  "$defs": {
    "PoweredBy": {
      "type": "object",
      "required": [
        "text",
        "url"
      ],
      "properties": {
        "text": {
          "type": "string",
          "const": "Powered by AY Rank"
        },
        "url": {
          "type": "string",
          "format": "uri"
        }
      }
    }
  }
}