MosaicoraOgJsonLd preserves normal Schema.org fields and adds the typed mosaicora:og v3 block. The override is not a replacement for SEO metadata: it gives the image generator precise content such as the title, description, price, and feature list.
Place the component in the page or a route-specific server component so its values describe the same canonical page as the metadata.
import { MosaicoraOgJsonLd } from "@mosaicora/plugin-nextjs";
export default function ProductJsonLd() {
return (
<MosaicoraOgJsonLd
schemaType="Product"
name="Example product"
description="A polished preview for every product page."
url="https://example.com/products/view?sku=123"
offers={{
"@type": "Offer",
price: "49",
priceCurrency: "USD",
}}
mosaicoraOg={{
schemaVersion: 3,
semanticValues: {
"content.title": "Example product",
"content.description": "A polished product preview.",
"product.price": "$49",
"product.features": ["Fast setup", "Consistent previews"],
},
}}
/>
);
}