Skip to content

Fix Dataset spatial coverage structured data - #31

Merged
Codewriter90x merged 1 commit into
mainfrom
agent/fix-dataset-spatial-coverage
Jul 31, 2026
Merged

Codewriter90x merged 1 commit into
mainfrom
agent/fix-dataset-spatial-coverage

Conversation

@Codewriter90x

Copy link
Copy Markdown
Owner

Summary

  • replace the unsupported Country object used by Dataset.spatialCoverage
    with the Google-supported text value Italia
  • add a regression assertion for the generated JSON-LD

Root cause

Google Dataset structured data accepts spatialCoverage as Text or Place.
The generated markup used an object whose type was Country, producing a
non-critical Search Console warning.

Validation

  • ruff passed
  • mypy passed for the Pages generator
  • all 5 Pages tests passed
  • deterministic build, accessibility, local links and performance budgets
    passed
  • browser verification confirmed spatialCoverage: "Italia", no console
    warnings/errors, and a working Roma search flow

@Codewriter90x
Codewriter90x merged commit 662c4b5 into main Jul 31, 2026
17 checks passed
@Codewriter90x
Codewriter90x deleted the agent/fix-dataset-spatial-coverage branch July 31, 2026 08:44
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