SDTT 警告:"The property priceSpecification is not recognized by Google for an object of type Product."

SDTT warning: "The property priceSpecification is not recognized by Google for an object of type Product."

我有以下 JSON-LD,我正在尝试代表一种按月付费的产品,例如移动 phone 合同,它包含前期费用和月费。

当我尝试添加 unitCode 时,我收到以下警告:

The property priceSpecification is not recognized by Google for an object of type Product.

{ 
  "@context": "https://schema.org/",
  "@type": "Product",
  "name": "Apple iPhone",
  "image": [
   "https://example.com/photos/1x1/photo.jpg",
   "https://example.com/photos/4x3/photo.jpg",
    "https://example.com/photos/16x9/photo.jpg"
 ],
"description": "Apple iPhone XS ...",
 "sku": "0446310786",
 "mpn": "925872",
 "brand": {
  "@type": "Thing",
  "name": "ACME"
   },
  "review": {
   "@type": "Review",
  "reviewRating": {
  "@type": "Rating",
  "ratingValue": "4",
  "bestRating": "5"
  },
"author": {
  "@type": "Person",
  "name": "Fred Benson"
}
},
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": "4.4",
"reviewCount": "89"
 },
 "offers": {
"@type": "Offer",
"url": "https://example.com/anvil",
"priceCurrency": "GBP",
"price": "39.99",
"priceValidUntil": "2020-11-05",
"itemCondition": "https://schema.org/UsedCondition",
"availability": "https://schema.org/InStock",
"seller": {
  "@type": "Organization",
  "name": "Executive Objects"
}
},
"priceSpecification": {
    "@type": "UnitPriceSpecification",
    "price": "25",
    "priceCurrency": "GBP",
    "referenceQuantity": {
      "unitCode": "MON"
    }
  }
  }

您需要将 priceSpecification 属性 添加到 Offer,而不是 Product

{ 
  "@context": "https://schema.org/",
  "@type": "Product",

  "offers": {
    "@type": "Offer",

    "priceSpecification": {
      "@type": "UnitPriceSpecification"
    }

  }

}

您可以在其页面上找到 属性 的预期 domain/range。对于 priceSpecification,它表示:

Used on these types
Demand
Offer
TradeAction

所以,预计不会在 Product