isVariantOf|schema.orgのプロパティ・使える型と値の書き方
isVariantOf とは?
この記事と同じものを、あなたの会社のサイトに毎日2本。ことば選びから公開まで代行します。1日667円(税抜)から。
ほったらかし集客の料金はこちら →isVariantOf は、schema.org で決められているプロパティのひとつです。Product、ProductModel などの型の中に書きます。入る値は ProductGroup、ProductModel です。
schema.org の定義(原文)
Indicates the kind of product that this is a variant of. In the case of ProductModel, this is a pointer (from a ProductModel) to a base product from which this product is a variant. It is safe to infer that the variant inherits all product features from the base model, unless defined locally. This is not transitive. In the case of a ProductGroup, the group description also serves as a template, representing a set of Products that vary on explicitly defined, specific dimensions only (so it defines both a set of variants, as well as which values distinguish amongst those variants). When used with ProductGroup, this property can apply to any Product included in the group.
出典: https://schema.org/isVariantOf(英語。訳すと意味が変わることがあるため、原文のまま載せています)
入る値の型(2個)
このうちのどれかを書きます。複数の型が並んでいるときは、書きやすいものを1つ選べばかまいません。
このプロパティが使える型(2個)
下の型の中でだけ、このプロパティが定義されています(その型を親に持つ型でも使えます)。
同じ型の中で使える、ほかのプロパティ
additionalPropertyaggregateRatingasinaudienceauthorizedRepresentativeawardbrandcategorycolorcolorSwatchconsumerNoticecountryOfAssemblycountryOfLastProcessingcountryOfOrigindepthdisplayLocationfundinggtingtin12gtin13gtin14gtin8hasAdultConsiderationhasCertificationhasDigitalProductPassporthasEnergyConsumptionDetailshasGS1DigitalLinkhasMeasurementhasMerchantReturnPolicyheightimporterinProductGroupWithIDisAccessoryOrSparePartForisConsumableForisFamilyFriendlyisOftenBoughtWithisRelatedToisSimilarToitemConditionkeywords
書き方の例
{
"@context": "https://schema.org",
"@type": "Product",
"isVariantOf": "(ここに値)"
}値の中身は、そのページに実際に表示されている内容にしてください。表示されていないことを構造化データに書くのは、Googleのポリシー違反です。
ほかの語を調べる
出典
このページの内容は、schema.org が配布している語彙ファイルから機械的に取り出したものです。人の手で足した説明はありません。仕様は変わります。実装の前に原文をご確認ください。
検索とAIに見つけてもらう記事づくりを、ほったらかし集客が毎日2本、代わりに公開します。1日667円(税抜)から。