SKU.md 1.0.0 Guide
SKU.md 1.0.0 Product Knowledge Sitemaps and Consumer Budgets
Scale catalog discovery beyond a single /sku.md file using same-origin XML urlset and sitemapindex files, while keeping consumer fetch budgets, security limits, and incomplete coverage behavior clear.
Updated
When /sku.md links to a Product knowledge Sitemap
Every store starts with one catalog entry point at /sku.md. Small storefronts can list individual product Markdown links directly under ## Product knowledge, and direct product links may always be mixed alongside Sitemap links inside that section.
Larger stores reach the 65,536-byte document limit and 8,192-byte physical line limit quickly if they enumerate hundreds or thousands of product documents inside /sku.md. Linking one or more same-origin Product knowledge Sitemaps keeps /sku.md compact while exposing the full product-knowledge graph.
- Published-graph consumers classify each ## Product knowledge link strictly by the exact HTTP Content-Type response: application/xml, text/xml, or application/sitemap+xml identifies a Sitemap, while text/markdown or text/plain identifies a direct product knowledge document.
- Supplied-graph callers (such as offline graph validation) identify a Sitemap by passing the exact advertised URL together with its XML bytes and media type.
- A Sitemap is discovery metadata only. Product documents must still declare Catalog back to the final root /sku.md URL, never to the Sitemap XML URL.
XML structure, namespace, and same-origin security rules
A Product knowledge Sitemap must be valid UTF-8 XML using a single <urlset> or <sitemapindex> root element in the http://www.sitemaps.org/schemas/sitemap/0.9 namespace. Consistent with the Sitemap protocol, each XML file holds 1 to 50,000 unique <loc> entries and at most 52,428,800 uncompressed UTF-8 bytes (50 MiB).
To prevent unbounded recursion and parser hazards, SKU.md 1.0.0 permits at most one index layer: a <sitemapindex> may list child <urlset> Sitemaps, and nested indexes or cycles fail graph conformance. DTD declarations (<!DOCTYPE>), entity declarations (<!ENTITY>), undeclared XML entities, external entity expansion, query-or-fragment hashes (#), credentials, and cross-origin URLs are rejected.
Catalog link, urlset, and 1-level sitemapindex examples
# In /sku.md:## Product knowledge- [Product knowledge sitemap index](https://shop.example/sitemaps/sku-index.xml) <!-- At https://shop.example/sitemaps/sku-index.xml --><?xml version="1.0" encoding="UTF-8"?><sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <sitemap> <loc>https://shop.example/sitemaps/sku-mugs.xml</loc> </sitemap></sitemapindex> <!-- At https://shop.example/sitemaps/sku-mugs.xml --><?xml version="1.0" encoding="UTF-8"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <url> <loc>https://shop.example/products/mug.sku.md</loc> </url> <url> <loc>https://shop.example/products/bottle.sku.md</loc> </url></urlset>Every Sitemap and <loc> URL must use exact credential-free, fragment-free public HTTPS on the catalog origin.
Publisher capacity vs the 31-document public reader budget
Merchants have no 31-product catalog limit in SKU.md 1.0.0. A store can publish 100 or 50,000 product knowledge documents through a valid Sitemap or single-level sitemapindex without violating the format.
Public readers and online conformance checks (including the read-only MCP published-graph tool) enforce bounded per-run resource limits so remote validation cannot hang on large or adversarial graphs. The reader inspects up to 31 product documents (32 total documents including root /sku.md), 63 HTTP fetches, 1 MiB (1,048,576 bytes) of fetched documents and Sitemap metadata, 12 seconds of traversal time, and 256 unique Source URLs.
| Dimension | Publisher format limit | Public consumer per-run budget |
|---|---|---|
| Product knowledge documents | Up to 50,000 entries per urlset; multiple urlsets under 1 index layer | 31 product documents (32 total documents with root /sku.md) |
| Individual Markdown file size | 65,536 UTF-8 bytes per document; 8,192 bytes per line | 65,536 UTF-8 bytes checked per Markdown file |
| Sitemap XML file size | 52,428,800 uncompressed UTF-8 bytes (50 MiB) per Sitemap | 1 MiB (1,048,576 bytes) aggregate across all fetched files in one run |
| Total HTTP requests | No fixed store-wide request count | 63 fetched resources (root, alternate, Sitemaps, and product docs) |
| Traversal duration | Static hosted files | 12 seconds total traversal window per graph run |
| Source URL checks | One or more HTTPS Source links per factual item | 256 unique Source URLs per run (exceeding skips Source checks with warning) |
How coverage fields and incomplete results work
Whenever a reader checks a graph, it reports structured coverage metrics: coverage.discovered, coverage.checked, coverage.remaining, coverage.complete, and coverage.total. While any advertised Sitemap or sitemapindex entry remains unexpanded because a fetch or time budget stopped traversal early, coverage.total stays null rather than guessing an unverified total.
Hitting a budget or encountering a transient network error (HTTP 5xx, rate limit, timeout, or DNS uncertainty) sets coverage.complete to false and marks the graph report incomplete with a warning rather than failed or passed. Consumers must never upgrade unvisited Sitemaps, truncated reads, or network uncertainty into a passed result.
- incomplete (warning / not_checked graph layer): caused by >31 product documents, >63 fetches, >1 MiB fetched bytes, >12 s elapsed, >256 Source URLs, or HTTP 5xx / timeout / DNS uncertainty.
- failed (error / graph_mismatch or published_contract_failed): caused by exact HTTP 404, non-XML or non-Markdown MIME type, malformed XML, DTD or entity declarations, nested sitemapindex, cross-origin <loc>, duplicate aliases, invalid Markdown, wrong Catalog backlink, or a Source returning non-200.
- Because incomplete coverage is an expected boundary on larger stores, split large catalogs cleanly across themed urlset files so any sampled or direct product documents pass cleanly even when full remote traversal stops at 31 documents.
Catalog backlinks, redirect aliases, and duplicate detection
Every product knowledge document discovered directly or through a Sitemap must pass document-scope validation, keep its own URL and Product URL on the root origin, and carry a Catalog link equal to the final resolved root catalog URL (such as https://shop.example/sku.md).
Consumers resolve redirects and compare advertised targets by their final URLs. Listing the same URL twice in a Sitemap, advertising a document both directly in /sku.md and inside a Sitemap, or pointing two distinct URLs that redirect to the same final product document all fail with graph_mismatch.
- In supplied-graph checks, every supplied product document and Sitemap must be reachable from /sku.md; unadvertised supplied resources fail graph conformance.
- Keep Sitemaps strictly on the same origin as the final root /sku.md URL (Watch out for www vs apex domain differences: canonicalize redirects on one origin first).
- Do not point Catalog: in a product document at /sitemaps/sku-index.xml; Catalog: always identifies the root Markdown catalog.
Step-by-step publishing checklist for large catalogs
Follow these five verification steps when publishing a Product knowledge Sitemap alongside /sku.md:
- Keep /sku.md concise by moving long product lists into one or more same-origin XML urlset files (or one sitemapindex pointing directly to urlsets).
- Configure HTTP servers to serve XML Sitemaps with HTTP 200 and Content-Type: application/sitemap+xml or application/xml; charset=utf-8.
- Verify every <loc> is unique, credential-free, fragment-free HTTPS on the exact catalog origin and matches no direct link already listed in /sku.md.
- Check that every product .sku.md file points its Catalog line to the final /sku.md URL rather than to the Sitemap XML.
- Inspect live delivery via Quick Start and the read-only MCP graph validator, confirming zero errors even if large catalogs return an expected budget-limited incomplete warning.
Continue with specification and validation guides
SKU.md 1.0.0 Specification
Review sections 2, 3, and 4 covering catalog links, Sitemaps, and graph rules.
Quick Start & Published URL Checker
Test live HTTP 200 delivery of /sku.md and run the published-resource check.
Hosting & HTTP Headers Guide
Configure exact MIME types, UTF-8 headers, and clean 404 responses on CDNs and servers.
Reference Consumer & CLI Guide
See how consumers discover /sku.md, fetch Sitemaps safely, and enforce read bounds.
Validation Errors Guide
Troubleshoot graph_mismatch, published_contract_failed, and incomplete warnings.
1.0.0 Conformance Kit
Run offline paste validation on sample catalog and product documents.