{"category":"web","endpoint":"https://setget.net/v1/tools/sitemap-validate","examples":[{"input":{"text":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<urlset xmlns=\"http://www.sitemaps.org/schemas/sitemap/0.9\">\n  <url><loc>https://example.com/</loc><lastmod>2026-01-15</lastmod><priority>0.8</priority></url>\n  <url><loc>/about</loc><changefreq>sometimes</changefreq></url>\n</urlset>"},"output":{"entries":2,"problem_count":2,"problems":[{"line":4,"message":"The address \"/about\" is not absolute. It must start with http:// or https://."},{"line":4,"message":"changefreq \"sometimes\" is not allowed. Use always, hourly, daily, weekly, monthly, yearly or never."}],"type":"urlset","valid":false,"with_lastmod":1}},{"input":{"text":"<sitemapindex xmlns=\"http://www.sitemaps.org/schemas/sitemap/0.9\"><sitemap><loc>https://example.com/sitemap-1.xml</loc></sitemap></sitemapindex>"},"output":{"entries":1,"problem_count":0,"problems":[],"type":"sitemapindex","valid":true,"with_lastmod":0},"title":"A sitemap index"}],"input_schema":{"additionalProperties":false,"properties":{"text":{"description":"The sitemap XML (a urlset or a sitemapindex).","examples":["<urlset xmlns=\"http://www.sitemaps.org/schemas/sitemap/0.9\"><url><loc>https://example.com/</loc></url></urlset>"],"type":"string"}},"required":["text"],"type":"object"},"keywords":["sitemap","sitemap.xml","validate sitemap","xml sitemap","lastmod","seo","sitemap index","search console"],"related":["robots-test","xml-format","url-normalize"],"slug":"sitemap-validate","summary":"Validate sitemap XML: structure, absolute URLs, dates, changefreq, priority, duplicates and the 50,000 URL limit.","tier":"inline","title":"Sitemap validator","url":"https://setget.net/tools/sitemap-validate"}
