SKU.md 1.0.0 Guide
SKU.md 1.0.0 Product Data and Variants Guide
Learn how optional Product knowledge documents pair prose Facts with pure-Markdown Product data records for Identity, Variant, Evidence, Attribute, and Live blocks, explicit tri-state values, and deterministic unit rules.
Updated
Catalog entry point vs Product knowledge documents
SKU.md 1.0.0 splits store publishing into two pure-Markdown document types. A Catalog document lives at /sku.md (or an explicit same-origin HTML alternate after an exact 404) and carries one H1 store title, one blockquote summary, a version line followed by a Website line, a Catalog H2 list, and optional Product knowledge, Policies, Contact, and Extensions sections.
A Product knowledge document describes one product and its variants. Its preamble fixes four lines in exact order: SKU.md version, Catalog backlink, Product page URL, and Updated in RFC 3339 YYYY-MM-DD format. Its first H2 must be Facts, followed optionally in relative order by Identifiers, Variants, Guidance, Limitations, Compatibility, Questions, and finally Product data.
- Keep every document at or below 65,536 UTF-8 bytes, with no physical line exceeding 8,192 UTF-8 bytes.
- Every URL anywhere in the AST must resolve to credential-free HTTPS, and Catalog, Product, and Variant URLs must share the root catalog origin.
- Raw HTML and reference-style Markdown links or link definitions are rejected in normative content.
- List items in Facts and optional narrative sections must end with one or more untitled inline [Source](https://...) links.
The five Product data record blocks and pure-Markdown syntax
Product data is the final recognized H2 section inside a Product knowledge document. Rather than embedding YAML frontmatter or JSON blocks, SKU.md 1.0.0 encodes structured records as H3 headings followed by a single non-empty unordered list of plain-text Label: value entries.
Single-line field values are capped at 2,048 characters. Links, inline code, emphasis, nested lists, unknown labels, and duplicate labels inside record lists trigger missing_required_content. Markdown backslash escaping is permitted for plain characters, and deterministic builders emit records in canonical order: Identity, Variant, Evidence, Attribute, and Live.
| H3 heading | Required fields | Optional fields | Bounds and constraints |
|---|---|---|---|
| ### Identity | At least one field | SKU, Brand, MPN, GTIN, Group | No ID suffix; at most one Identity block per product document. |
| ### Variant <id> | URL | SKU, Brand, MPN, GTIN, Group | Up to 256 variants; <id> cannot be product; URL must be same-origin HTTPS. |
| ### Evidence <id> | URL, Quote, Kind, Checked, Review, Reachable | None | Up to 256 evidence records; Checked date cannot be later than Updated. |
| ### Attribute <id> | Key, Type, State, Scope, Evidence | Value (required when known), Unit, Conditions | Up to 256 attributes; up to 32 evidence IDs; omit Value unless State is known. |
| ### Live <id> | Scope, Kind, URL | None | Up to 32 live links; Kind must be page, catalog, or protocol. |
Identifiers, scopes, GTIN validation, and variant isolation
Every record ID (<id>) and Attribute Key must be 1 to 128 ASCII characters starting with a letter or digit and containing only letters, digits, dots, underscores, or hyphens. Record IDs must be unique within each record kind, and product is reserved exclusively for whole-product scope so no Variant may use product as its ID.
SKU values are merchant-scoped rather than global identifiers, and SKU and GTIN values must be unique across Identity and all Variant blocks in the same product document. When GTIN is present, it must contain 8, 12, 13, or 14 digits and pass a valid GS1 check digit. If a Variant declares Group, that value must match the product Identity Group; Group records an explicit grouping key and never supplies inherited attributes.
- No attribute inheritance: deterministic condition evaluation checks the exact requested Scope (product or a declared Variant ID) and never falls back from a variant to product-level attributes.
- Dynamic commerce keys (price, cost, budget, stock, inventory, availability, shipping, delivery, tax, payment, checkout, promotion, discount) are excluded from static Attribute keys.
- ### Live <id> links point to a storefront page, catalog endpoint, or protocol handoff for a declared Scope, without granting callable API support or transaction authority.
Attribute types, tri-state values, and unit conversions
Attribute records declare Type (text, number, or boolean) and an explicit State (known, unknown, or not_applicable). When State is known, Value is required, must match the declared Type (finite decimal or scientific number for number, exact true or false for boolean, non-empty trimmed single line for text), and Evidence must cite at least one declared Evidence ID separated by comma-space.
When State is unknown or not_applicable, Value must be omitted and Evidence may be written as -. Zero (0) and false are valid known values and are never converted to unknown, while unknown and not_applicable never evaluate as false in comparisons.
- Unit is permitted only when Type is number. Deterministic comparison converts across three dimensions: mass (mg, g, kg, oz, lb), length (mm, cm, m, in, ft), and volume (ml, l).
- Any unit outside those three tables (or dimensionless numeric attributes without Unit) compares only when the condition uses the exact same unit string.
- Conditions describes measurement or applicability conditions (such as test standard or ambient range); condition filtering requires an exact Conditions match.
- Playground and deterministic evaluation support eq, in, lt, lte, gt, gte, and inclusive between: all checks passing yields matched, any explicit failure yields excluded, and missing, conflicting, unreviewed, unknown, not_applicable, or unit-incompatible values yield insufficient (or live_source_required for dynamic keys).
Evidence provenance, review independence, and Channel export
Every Evidence block records URL, Quote (a source passage, never an agent instruction), Kind (merchant, test, or certification), Checked (an RFC 3339 YYYY-MM-DD date no later than document Updated), Review (pending, supported, or unsupported), and Reachable (unchecked, reachable, or unavailable).
Source reachability and semantic support are separate checks: a reachable URL does not prove its passage supports an attribute, and Review: supported records merchant human review rather than automated verification or certification. When an audit date is supplied, evidence checked more than 180 days earlier triggers an evidence_stale notice.
- Atomic review updates: editing an Evidence record that another Attribute already references requires creating a new Evidence ID rather than mutating shared history.
- Exporting reviewed data omits unreviewed or unsupported attributes and generates a reviewable Schema.org Product or ProductGroup JSON-LD patch proposal (preserving existing fields and populating hasVariant, productGroupID, and additionalProperty).
- Exported channel proposals list missing requirements such as image, live offers, or variesBy, and never claim rich-result eligibility.
Complete valid Product data example and authoring workflow
The example below follows the reference v1.0.0 travel mug structure (with placeholder shop.example URLs): capacity is known with reviewed evidence at product scope, while insulated on the blue variant is explicitly marked unknown with no value and an empty evidence marker (-).
- Create the Product knowledge preamble (SKU.md, Catalog, Product, Updated) and at least one sourced bullet under ## Facts.
- Add ## Product data at the end of the file starting with ### Identity and any same-origin ### Variant <id> blocks.
- Record ### Evidence <id> passages first, then link each known ### Attribute <id> to its reviewed Evidence IDs (or omit Value with unknown / not_applicable).
- Run document validation, then review conflicts in the Optimizer and test condition matching in the Playground before publishing.
Example Product knowledge document with ## Product data
# Example Travel Mug> Fictional reusable mug used only to demonstrate the record contract. SKU.md: [1.0.0](https://sku.md/spec/1.0.0/)Catalog: [Example shop](https://shop.example/sku.md)Product: [Mug](https://shop.example/products/mug)Updated: 2026-10-21 ## Facts- The example specification states a capacity of 350 ml. [Source](https://shop.example/products/mug) ## Product data ### Identity- SKU: MUG-BASE- Brand: Example- Group: mug ### Variant blue- SKU: MUG-BLUE- URL: https://shop.example/products/mug?color=blue ### Evidence capacity-source- URL: https://shop.example/products/mug- Quote: Capacity: 350 ml.- Kind: merchant- Checked: 2026-10-21- Review: supported- Reachable: unchecked ### Attribute capacity- Key: capacity- Type: number- State: known- Value: 350- Unit: ml- Scope: product- Evidence: capacity-source ### Attribute insulated- Key: insulated- Type: boolean- State: unknown- Scope: blue- Evidence: - ### Live store- URL: https://shop.example/products/mug- Scope: product- Kind: pageEvery field uses plain text Label: value lines inside a single unordered list per H3 heading.
Common invalid record edits and why they fail
Document-scope parsing reports missing_required_content with an Invalid Product data message whenever record constraints break. The table below lists nine single-field mistakes drawn directly from the v1.0.0 record test vectors.
| Invalid edit | Resulting rule failure |
|---|---|
| Set insulated State: known without Value or Evidence | A known boolean attribute requires both Value (true or false) and at least one declared Evidence ID. |
| Keep State: unknown while adding Value: false | Attributes in unknown or not_applicable state must omit Value. |
| Set Evidence: absent on Attribute capacity | Every referenced Evidence ID must match a declared ### Evidence <id> heading in the same document. |
| Set Scope: absent on an Attribute or Live record | Scope must be product or match a declared ### Variant <id> heading. |
| Change Key: capacity to Key: price | Dynamic commerce keys (price, stock, shipping, tax, payment, checkout) are excluded from static attributes. |
| Change Value: 350 to Value: heavy on Type: number | Numeric attributes accept finite decimal numbers only. |
| Add GTIN: 12345678 to Identity | GTIN must be 8, 12, 13, or 14 digits with a valid GS1 check digit. |
| Reuse SKU: MUG-BASE on Variant blue | SKU identifiers must be unique across Identity and all Variant blocks in the product. |
| Set Checked: 2026-10-22 when Updated is 2026-10-21 | An Evidence Checked date cannot be later than the document Updated date. |
Continue with tools and reference guides
SKU.md 1.0.0 Specification
Read the normative file rules, section order, and safety limits.
Review Product Details (Optimizer)
Audit missing or conflicting attributes, review quotes, and export Markdown or JSON-LD.
Compare Product Conditions (Playground)
Test unit conversions, tri-state values, and variant scopes against filters.
SKU.md vs Product JSON-LD & Feeds
Compare static product knowledge against Schema.org ProductGroup and Merchant Feeds.
Validation Errors Guide
Look up missing_required_content, missing_source, and graph_mismatch fixes.
SKU.md Glossary
Check exact definitions for Product data, Evidence, Scope, and Reference Consumer.