{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/majr-app/json-schema/majr-app-audit-response-schema.json",
  "title": "AuditResponse",
  "x-generated": "2026-10-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/seo-openapi.json#/components/schemas/AuditResponse",
  "properties": {
    "url": {
      "type": "string",
      "title": "Url"
    },
    "score": {
      "type": "number",
      "title": "Score"
    },
    "findable": {
      "type": "number",
      "title": "Findable",
      "description": "0..1 over the three checks that decide whether this URL can be reached and indexed at all (http_200, indexable, crawlable). A failure means the page is unreachable, or it carries a block this audit directly observed — a noindex on the page, or a robots.txt Disallow covering its path. Fix these before any presentation or citation issue — only hard blocks count here, never missing hints, so anything below 1.0 is worth acting on immediately. The indexable finding's detail names where the block was observed (robots metadata, X-Robots-Tag, or both). It does not name a crawler, and crawlable reports only the User-agent: * group: the fix is the same either way, and this audit is in no position to say which engines still index you.",
      "default": 0.0
    },
    "citable": {
      "type": "number",
      "title": "Citable",
      "description": "0..1 over the checks that decide whether an engine can extract and attribute the page once it has been reached (canonical, canonical_resolves, title, title_length, meta_description, og_title, og_image, json_ld, h1, ssr_text). canonical scores here because a page without one is still indexed — the tag decides which URL gets credited, not whether the page is reachable. canonical_resolves fetches that target and fails when it does not answer 200, because a tag pointing at a dead URL credits the content to nothing; a page declaring no canonical passes it, since canonical has already failed and a missing tag should not outrank a broken one.",
      "default": 0.0
    },
    "findings": {
      "items": {
        "$ref": "#/$defs/Finding"
      },
      "type": "array",
      "title": "Findings"
    },
    "version": {
      "type": "string",
      "title": "Version",
      "default": "v1"
    }
  },
  "type": "object",
  "required": [
    "url",
    "score"
  ],
  "$defs": {
    "Finding": {
      "properties": {
        "check": {
          "type": "string",
          "title": "Check"
        },
        "ok": {
          "type": "boolean",
          "title": "Ok"
        },
        "detail": {
          "type": "string",
          "title": "Detail",
          "default": ""
        }
      },
      "type": "object",
      "required": [
        "check",
        "ok"
      ],
      "title": "Finding"
    }
  }
}