mobileUrl|schema.orgのプロパティ・使える型と値の書き方
mobileUrl とは?
この記事と同じものを、あなたの会社のサイトに毎日2本。ことば選びから公開まで代行します。1日667円(税抜)から。
ほったらかし集客の料金はこちら →mobileUrl は、schema.org で決められているプロパティのひとつです。Offer、Product などの型の中に書きます。入る値は Text です。
schema.org の定義(原文)
The mobileUrl property is provided for specific situations in which data consumers need to determine whether one of several provided URLs is a dedicated 'mobile site'. To discourage over-use, and reflecting intial usecases, the property is expected only on Product and Offer, rather than Thing. The general trend in web technology is towards responsive design in which content can be flexibly adapted to a wide range of browsing environments. Pages and sites referenced with the long-established url property should ideally also be usable on a wide variety of devices, including mobile phones. In most cases, it would be pointless and counter productive to attempt to update all url markup to use mobileUrl for more mobile-oriented pages. The property is intended for the case when items (primarily Product and Offer) have extra URLs hosted on an additional "mobile site" alongside the main one. It should not be taken as an endorsement of this publication style.
出典: https://schema.org/mobileUrl(英語。訳すと意味が変わることがあるため、原文のまま載せています)
入る値の型(1個)
このうちのどれかを書きます。複数の型が並んでいるときは、書きやすいものを1つ選べばかまいません。
Text
このプロパティが使える型(2個)
下の型の中でだけ、このプロパティが定義されています(その型を親に持つ型でも使えます)。
同じ型の中で使える、ほかのプロパティ
acceptedPaymentMethodaddOnadditionalPropertyadvanceBookingRequirementaggregateRatingareaServedasinaudienceauthorizedRepresentativeavailabilityavailabilityEndsavailabilityStartsavailableAtOrFromavailableDeliveryMethodawardbrandbusinessFunctioncategorycheckoutPageURLTemplatecolorcolorSwatchconsumerNoticecountryOfAssemblycountryOfLastProcessingcountryOfOrigindeliveryLeadTimedepthdisplayLocationeligibleCustomerTypeeligibleDurationeligibleQuantityeligibleRegioneligibleTransactionVolumefundinggtingtin12gtin13gtin14gtin8hasAdultConsideration
書き方の例
{
"@context": "https://schema.org",
"@type": "Offer",
"mobileUrl": "(ここに値)"
}値の中身は、そのページに実際に表示されている内容にしてください。表示されていないことを構造化データに書くのは、Googleのポリシー違反です。
ほかの語を調べる
出典
このページの内容は、schema.org が配布している語彙ファイルから機械的に取り出したものです。人の手で足した説明はありません。仕様は変わります。実装の前に原文をご確認ください。
検索とAIに見つけてもらう記事づくりを、ほったらかし集客が毎日2本、代わりに公開します。1日667円(税抜)から。