Reference
Spec coverage table
Fixture counts per specification section, and the known spec issues.
Fixtures: 191 (57 basic, 39 advanced, 95 invalid). Verbatim spec examples: 64; cleaned (comments or trailing commas removed): 15.
Sections
Known spec issues
These examples appear in the 2025.10 specifications but contradict the specifications' own normative rules, or are incomplete snippets. They are kept as expected-failure fixtures rather than as valid examples.
| Spec | Example | Section | Codes emitted | Why |
|---|---|---|---|---|
| color | 20 | 7.1.3 Component | alias.target.missing | Aliases {color.brand.primary}, {color.palette.black} have no target inside this snippet. As a standalone document those aliases are unresolvable. |
| color | 26 | 7.2.2 Alias Tokens | alias.target.missing | Aliases {color.red.600}, {color.green.400}, {color.palette.black}, {color.red.700} have no target inside this snippet. As a standalone document those aliases are unresolvable. |
| color | 27 | 7.2.2 Alias Tokens | alias.target.missing | Aliases {color.red.600}, {color.green.400} have no target inside this snippet. As a standalone document those aliases are unresolvable. |
| color | 28 | 7.2.3 Component Tokens | alias.target.missing | Aliases {color.background.error}, {color.background.success}, {color.text.error}, {color.text.success} have no target inside this snippet. As a standalone document those aliases are unresolvable. |
| format | 12 | 6.3 Group Properties | token.type.invalid | Uses $type "string", which this spec version does not define (§8 lists no string type). |
| format | 14 | 6.4.3 Inheritance Semantics | token.type.missing | input.field.background has no determinable $type (§5.2.2). The override input-amount.field.width ("100px") sits under $extends and is judged once group extension is resolved (Milestone 4). |
| format | 16 | 6.4.4 Circular Reference Prevention | extends.cycle | Deliberately invalid in the spec: a group extends its own ancestor. |
| format | 17 | 6.4.4 Circular Reference Prevention | extends.cycle | Deliberately invalid in the spec: two groups extend each other. The placeholder "token" members are empty groups. |
| format | 18 | 6.4.4 Circular Reference Prevention | token.type.missing | button-large.padding has no determinable $type: neither the token, its group, the extended group, nor any ancestor declares one (§5.2.2, §6.7.3). |
| format | 20 | 6.6.1 Current Reference Syntax (Recommended) | token.type.missing | base has no $type and no typed ancestor, so it is invalid per §5.2.2. The alias inherits that problem once alias resolution lands (Milestone 4). |
| format | 21 | 6.6.2 JSON Pointer Support | token.type.missing | Same missing $type on base as Example 20. "alias" is a group carrying $ref (JSON Schema spelling of $extends); its target is resolved in Milestone 4. |
| format | 22 | 6.7.3 Type Inheritance | extends.inherited-token.invalid | extended declares $type dimension and inherits a color-valued token with no own $type; the spec says both constraints must hold, so the inherited token is invalid in the extending group. |
| format | 23 | 6.7.4 Circular Reference Detection | extends.cycle | Deliberately invalid in the spec: a → b → c → a. The spec requires an error on all three groups. |
| format | 25 | 6.9.2 Group Extension with Override Example | dimension.unit.invalid | input.field.width uses unit "%", which §8.2 does not allow. |
| format | 34 | 7.2.3 Circular References | alias.cycle | Deliberately invalid in the spec: a → b → c → a. The spec requires an error on all tokens in the chain. |
| format | 37 | 7.3.3 Typography Component References | composite.property.missing | The typography values omit letterSpacing, which §9.8 requires. The $ref fragments themselves resolve correctly. |
| format | 52 | 9.4 Border | alias.target.missing | {color.focusring} is not defined in the snippet, so the alias is unresolvable. |
| format | 54 | 9.6 Shadow | alias.target.missing | The spec text is missing a comma between members (cleaned); {base.shadow}, {brand.accent}, and {highlight.shadow} are not defined in the snippet. |
| format | 57 | 9.7 Gradient | alias.target.missing | {brand.secondary} is not defined in the snippet. |
| format | 58 | 9.8 Typography | alias.target.missing | {font.serif}, {font.size.smallest}, and {font.weight.normal} are not defined in the snippet. |