{
  "overall": "ok",
  "go_no_go": "GO",
  "generated_at": "2026-09-19T08:39:25.174Z",
  "ok": true,
  "status": "ok",
  "state": "TX",
  "industry": "construction",
  "naics_prefix": "23",
  "source": {
    "inspection_bulk_zip": "https://data.dol.gov/data-catalog/OSHA/inspection/OSHA_inspection.zip",
    "violation_bulk_zip": "https://data.dol.gov/data-catalog/OSHA/violation/OSHA_violation.zip",
    "catalog": "https://apiprod.dol.gov/v4/datasets",
    "dataset_ids": {
      "inspection": 10334,
      "violation": 10338
    },
    "inspection_last_modified": "Fri, 18 Sep 2026 11:04:25 GMT",
    "violation_last_modified": "Fri, 18 Sep 2026 11:11:14 GMT",
    "inspection_etag": "\"2433152ebba7a6932348934d2fc56911-173\"",
    "violation_etag": "\"6b2fcece09bf6cb274326dc56b333d5b-244\""
  },
  "record_count": 50,
  "display_count": 50,
  "checks": {
    "inspection_zip_head": {
      "level": "ok",
      "detail": "HTTP 200 in 80 ms; Last-Modified=Fri, 18 Sep 2026 11:04:25 GMT; ETag=\"2433152ebba7a6932348934d2fc56911-173\""
    },
    "violation_zip_head": {
      "level": "ok",
      "detail": "HTTP 200 in 15 ms; Last-Modified=Fri, 18 Sep 2026 11:11:14 GMT; ETag=\"6b2fcece09bf6cb274326dc56b333d5b-244\""
    },
    "sample_feed": {
      "level": "ok",
      "detail": "50 records in feed (cap display 50)"
    },
    "schema": {
      "level": "ok",
      "detail": "overall/go_no_go/checks/metrics; feed key records"
    },
    "rebuild": {
      "level": "ok",
      "detail": "etag unchanged or dry-head; existing sample retained"
    }
  },
  "metrics": {
    "inspection_head_latency_ms": 80,
    "violation_head_latency_ms": 15,
    "inspection_content_length": 1445112065,
    "violation_content_length": 2043454828,
    "record_count": 50,
    "display_count": 50,
    "last_success": "2026-09-19T08:39:25.174Z",
    "feed_updated": false,
    "etag_unchanged": true
  },
  "exit_policy": "0 if ok; 1 if warn or fail",
  "errors": [],
  "notes": [
    "Bulk CSV ZIPs used (key-free). Row API apiprod.dol.gov/v4/get/... requires X-API-KEY.",
    "Sample capped at 50 high-signal leads from TX construction inspections open_date>=2024-01-01.",
    "Range-read ZIP central directory; stream newest CSV chunks (Worker; never full ZIP).",
    "On overall=fail (incl. 525/TLS): fail health written; last-good feed preserved."
  ],
  "last_fetch_utc": "2026-09-19T08:39:25.174Z"
}