{
  "slug": "har-validator",
  "name": "gizza-ai/har-validator",
  "version": "0.1.0",
  "title": "HAR Validator — check an HTTP Archive file's structure — gizza.ai",
  "description": "Validate a HAR file against the HAR 1.2 spec: log/entries shape, request/response/timing fields, exact JSON paths, and timing totals.",
  "tags": [
    "har validator",
    "http archive validator",
    "validate har file",
    "har 1.2 spec",
    "har checker",
    "har lint"
  ],
  "category": "network",
  "urls": {
    "page": "https://gizza.ai/tools/har-validator/",
    "markdown": "https://gizza.ai/tools/har-validator/index.md",
    "descriptor": "https://gizza.ai/tools/har-validator/tool.json",
    "deep_link_example": "https://gizza.ai/tools/har-validator/?har=%7B%22log%22%3A%7B%22version%22%3A%221.2%22%2C%22creator%22%3A%7B%22name%22%3A%22WebInspector%22%2C%22version%22%3A%22537.36%22%7D%2C%22entries%22%3A%5B%5D%7D%7D&check_timings=true"
  },
  "cli": "gizza tool har-validator '{\"log\":{\"version\":\"1.2\",\"creator\":{\"name\":\"WebInspector\",\"version\":\"537.36\"},\"entries\":[]}}'",
  "tool": {
    "description": "Validate a HAR (HTTP Archive) file against the HAR 1.2 spec: checks the log/entries shape, every required request, response, content, cache, and timings field (with the exact JSON path of each problem), and — when check_timings is true (default) — that each entry's total time equals the sum of its timing phases. Reports ALL problems found, not just the first, and returns a readable report for both valid and invalid HARs (only non-JSON input is an error). Runs locally.",
    "parameters": {
      "additionalProperties": false,
      "properties": {
        "check_timings": {
          "default": true,
          "description": "Also check that each entry's total time equals the sum of its timing phases (blocked, dns, connect, send, wait, receive); phases of -1 are excluded. Reported as warnings. Default true.",
          "type": "boolean"
        },
        "har": {
          "description": "The HAR (HTTP Archive) file contents as JSON text — a single { \"log\": … } object with entries.",
          "type": "string"
        }
      },
      "required": [
        "har"
      ],
      "type": "object"
    }
  }
}