Sam uploaded an Ahrefs/crawler export, aguiarinjurylawyers.com_structured_data_that_contains_markup_errors_20260525.csv, and asked Claude to load four skills (schema-markup, searchfit-seo:generate-schema, searchfit-seo:seo-check, searchfit-seo:on-page-seo), review the file, and report the issues and the fix. Goal: a clear diagnosis plus a ready-to-deploy fix. Deployment was not requested in the message; it is pending Sam's go-ahead.
Importance: Medium. Status: Pending (analysis complete, fix not deployed).
Parsed all 531 errors across 406 URLs, grouped into 7 problems / 3 root causes:
Cross-checked the SAIL Knowledge Base: schema on the site comes from WPCode snippet 43605 ("Sitewide Custom SEO Schema") + RankMath + MU-plugin sal-rankmath-schema-repair-20260521.php. The April 18 session added the root #organization address; the May 21 session fixed a regex defect in snippet 43605 and deployed the MU-plugin. Those fixes covered the root node and a graph-loss regression, not the four issues above.
Produced two deliverables in /Users/samaguiar/Projects/:
schema-markup-errors-report-2026-05-25.md — full report: per-issue cause, fix, corrected JSON-LD examples, priority table, appendices.rankmath-schema-cleanup-filter.php — a recursive rank_math/json_ld filter that strips isPrimary, isCustom, and (from non-Service nodes) serviceType/provider/category. Clears 455 of 531 errors at the output layer. Reversible.sal-rankmath-schema-repair-20260521.php rather than adding another file, to keep one schema-repair surface.address plus areaServed per page.web_fetch returns markdown and strips JSON-LD script tags, so raw on-page schema was not directly inspected. The diagnosis relies on the crawler export (authoritative error data) plus KB history. An "Office Chrome" browser is connected but on a remote Windows machine; it was not used, to avoid disrupting it. Confirming live JSON-LD via snippet 43605 is step 1 of execution.