Fix product schema offers declaration description#239
Fix product schema offers declaration description#239moorscode wants to merge 1 commit intoYoast:mainfrom
Conversation
The described property cannot be a list, but has to be a reference to an offer (or aggregate offer as that is a derivative of an offer). See the Schema docs for the declaration: https://schema.org/Product The example also shows an object with an `@id` instead of a list.
|
Hey there @moorscode. Thanks for taking the time to add your contribution! 😃 The schema.org data model is really flexible, and will almost anywhere accept both a single instance or multiple instances in an array. As an example, take a look at the In case you're interested, we'll definitely be open to accepting a contribution to reflect both possibilities are acceptable: Either a reference by ID, or an array of such references. |
Summary
The described property cannot be a list, but has to be a reference to an offer (or aggregate offer as that is a derivative of an offer).
See the Schema docs for the declaration: https://schema.org/Product
The example also shows an object with an
@idinstead of a list.Quality assurance
_redirectsfile in the root of the project.