Skip to content

Improves jsonld for offers - #10219

Merged
PascalSenn merged 2 commits into
mainfrom
pse/improve-jsonld
Aug 12, 2026
Merged

PascalSenn merged 2 commits into
mainfrom
pse/improve-jsonld

Conversation

@PascalSenn

Copy link
Copy Markdown
Member

No description provided.

Copilot AI lite review requested due to automatic review settings August 11, 2026 07:59

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR refines the website’s JSON-LD structured data for Nitro pricing/product pages and strengthens the repo’s structured-data validation to catch common Product/Offer issues.

Changes:

  • Adjust Nitro Offer generation to avoid publishing incomplete offers (e.g., “Custom” quote tiers without a numeric price).
  • Update Nitro Product brand to emit a concrete Brand object instead of an @id reference.
  • Add Product/Offer validation rules to the structured-data validation script.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
website/src/helpers/nitroStructuredData.ts Updates Nitro Offer JSON-LD emission and makes Product.brand a Brand object.
website/scripts/validate-structured-data.mjs Adds validation for Product brand typing and Offer pricing completeness.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread website/src/helpers/nitroStructuredData.ts
Comment thread website/scripts/validate-structured-data.mjs
Comment thread website/scripts/validate-structured-data.mjs Outdated
@PascalSenn
PascalSenn merged commit e771a97 into main Aug 12, 2026
19 checks passed
@PascalSenn
PascalSenn deleted the pse/improve-jsonld branch August 12, 2026 07:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants