我具有以下结构化数据:
{
"@context": "https://schema.org/",
"@type": "Offer",
"priceCurrency": "EUR",
"price": "12890",
"availability": "https://schema.org/InStock",
"priceValidUntil": "2019-12-13",
"itemOffered": {
"@type": "Car",
"brand": {
"@type": "Brand",
"name": "Renault"
},
"manufacturer": {
"@type": "Corporation",
"sameAs": "https://www.wikidata.org/wiki/Q6686",
"name": "Renault"
},
"name": "Renault Captur Life",
"model": "Captur Life",
"image": "https://www.xxxx.fr/uploads/models/renault-captur.png",
"description": "Renault Captur Life neuve - Essence - 90cv - 5 portes : 12 890€ ",
"fuelType": "Essence",
"vehicleTransmission": "Manuelle",
"vehicleConfiguration": "0.9 tce 90 bvm5",
"numberOfDoors": "5",
"vehicleEngine": {
"@type": "EngineSpecification",
"enginePower": {
"@type": "QuantitativeValue",
"value": "90",
"unitCode": "N12"
}
},
"itemCondition": "https://schema.org/NewCondition"
}
}
根据google结构化数据测试工具(https://search.google.com/structured-data/testing-tool/u/0/),出现问题(这是最近更新,我的结构化数据以前是有效的::
应提供要约或评论之一或aggregateRating。
根据丰富网页摘要测试工具(https://search.google.com/test/rich-results),它是有效的。
那么这是怎么回事?为什么我必须添加“要约”或评论或aggregateRating?
当人们以您的方式组织数据时,此更改导致该错误消失。即要约作为主要实体。如果您将标记翻转过来,所以它是一个有报价的产品,那么错误应该会消失。两种方法都是有效的,第二种方法与Google的示例及其测试工具所报告的内容一致。