Is it obligatory to write Product
node (parent) before Offer
node (child) in DOM schema of schema.org or I can define Offer
node without its parent node?
相关问题
- Microdata/Schema.org/SEO: How to properly set a Co
- schema.org BusinessFunction - GoodRelations
- Writing microdata programmatically (C# / ASP.NET)
- When to use the subclass in RDFS?
- How do I use Schema.org to identify filters on our
相关文章
- Schema.org for closed on a holiday / given date
- Multiple contexts in JSON-LD
- Microdata extraction from HTML in Java
- Right way to set microdata for Q&A HTML
- How to mark data using schema.org and JSON-LD on a
- Can I use multiple itemtypes in one itemscope for
- Validation error: “The itemprop attribute was spec
- Schema.org for acronym / abbreviation (in a glossa
Schema.org never requires the existence of "parent" items (unless you use
itemprop
on an element withitemscope
).So this is totally fine:
But even if you would want to add a Product, it doesn’t have to be a parent for Offer.
You can nest the Product under Offer:
Or you can have both on the same level and use
itemref
: