Skip to content

feat(jsonld): Schema.org vocabulary checks, block badges, validation modes, copy script tag and download - #17

Merged
maxgfr merged 6 commits into
release-nextfrom
issue-9-jsonld-parity
Nov 20, 2026
Merged

maxgfr merged 6 commits into
release-nextfrom
issue-9-jsonld-parity

Conversation

@maxgfr

@maxgfr maxgfr commented Nov 20, 2026

Copy link
Copy Markdown
Owner

Structured data parity with the JSON-LD Tester extension.

  • Bundled Schema.org 30.1 vocabulary (155 KB, CC BY-SA 3.0 notice, pnpm schema-vocab to refresh), loaded only when needed: unknown types and properties with "Did you mean", properties on the wrong type, nested values of the wrong type, invalid enumeration values, superseded and pending terms.
  • Format checks that say what to write: dates (31.12.2026 → 2026-12-31), durations (45 min → PT45M), prices with a comma or currency sign, ISO 4217 currencies, URLs with spaces.
  • Panel: page URL, canonical, robots and X-Robots-Tag; Rich Results | Schema.org modes; Valid / Warning / Error (and Experimental / Not supported) badge on every block; search with highlights; Copy JSON, Copy <script> (safe against </script> in strings), Download; schema.org links per type; findings folded under the code and grouped as ×N; open blocks on Code or Tree.
  • Copy for agent and the AI context carry the vocabulary findings.

Closes #9

…script

pnpm schema-vocab downloads the current Schema.org release and keeps types with
their parents, properties with domain and range, enumeration members, superseded
and pending terms (155 KB), with the CC BY-SA 3.0 attribution next to it.
…d findings and block status

Unknown types and properties with a suggestion, properties outside the type's
domain, nested nodes outside the range, invalid enumeration values and superseded
terms; ISO 8601 dates and durations, plain prices, ISO 4217 currencies and URLs
with spaces now say what to write. Findings carry a rule so the Rich Results and
Schema.org modes can split them.
…adges, search and per-block copy and download
@maxgfr
maxgfr merged commit e24c936 into release-next Nov 20, 2026
2 checks passed
@maxgfr
maxgfr deleted the issue-9-jsonld-parity branch November 20, 2026 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant