{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/checkwebsitenow-com/json-schema/checkwebsitenow-com-error-entry-schema.json",
  "title": "ErrorEntry",
  "description": "Full solution entry (data contract errors.json 1.0) plus url and category_name.",
  "x-generated": "2026-11-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/checkwebsitenow-com-openapi.yml#/components/schemas/ErrorEntry",
  "type": "object",
  "required": [
    "slug",
    "title",
    "kind",
    "category",
    "summary",
    "meaning",
    "likely_causes",
    "visitor_steps",
    "owner_steps",
    "avoid",
    "related",
    "sources",
    "url"
  ],
  "properties": {
    "slug": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "kind": {
      "type": "string"
    },
    "category": {
      "type": "string"
    },
    "category_name": {
      "type": "string"
    },
    "http_status": {
      "type": [
        "integer",
        "null"
      ]
    },
    "aliases": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "browsers": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "severity": {
      "type": "string"
    },
    "summary": {
      "type": "string"
    },
    "meaning": {
      "type": "string"
    },
    "likely_causes": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "text": {
            "type": "string"
          },
          "who": {
            "type": "string",
            "enum": [
              "visitor",
              "owner",
              "either"
            ]
          },
          "likelihood": {
            "type": "string",
            "enum": [
              "common",
              "sometimes",
              "rare"
            ]
          }
        }
      }
    },
    "visitor_steps": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Step"
      }
    },
    "owner_steps": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Step"
      }
    },
    "avoid": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "when_to_wait": {
      "type": "string"
    },
    "related": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "partner_topic": {
      "type": "string"
    },
    "checker_match": {
      "type": [
        "object",
        "null"
      ]
    },
    "sources": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "title": {
            "type": "string"
          },
          "url": {
            "type": "string",
            "format": "uri"
          }
        }
      }
    },
    "sections": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "heading": {
            "type": "string"
          },
          "paragraphs": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      }
    },
    "questions": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "q": {
            "type": "string"
          },
          "a": {
            "type": "string"
          }
        }
      }
    },
    "url": {
      "type": "string"
    }
  },
  "$defs": {
    "Step": {
      "type": "object",
      "required": [
        "title",
        "detail"
      ],
      "properties": {
        "title": {
          "type": "string"
        },
        "detail": {
          "type": "string",
          "description": "Backtick-wrapped segments are commands."
        },
        "platforms": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "Optional per-platform hints: windows, macos, android, ios, chromeos, linux."
        }
      }
    }
  }
}