price(価格)|schema.orgのプロパティ・使える型と値の書き方
price(価格) とは?
この記事と同じものを、あなたの会社のサイトに毎日2本。ことば選びから公開まで代行します。1日667円(税抜)から。
ほったらかし集客の料金はこちら →price は、schema.org で決められているプロパティのひとつです。DonateAction、Offer、PriceSpecification、TradeAction などの型の中に書きます。入る値は Number、Text です。
schema.org の定義(原文)
The offer price of a product, or of a price component when attached to PriceSpecification and its subtypes. Usage guidelines: * Use the priceCurrency property (with standard formats: ISO 4217 currency format, e.g. "USD"; Ticker symbol for cryptocurrencies, e.g. "BTC"; well known names for Local Exchange Trading Systems (LETS) and other currency types, e.g. "Ithaca HOUR") instead of including ambiguous symbols such as '$' in the value. * Use '.' (Unicode 'FULL STOP' (U+002E)) rather than ',' to indicate a decimal point. Avoid using these symbols as a readability separator. * Note that both RDFa and Microdata syntax allow the use of a "content=" attribute for publishing simple machine-readable values alongside more human-friendly formatting. * Use values from 0123456789 (Unicode 'DIGIT ZERO' (U+0030) to 'DIGIT NINE' (U+0039)) rather than superficially similar Unicode symbols.
出典: https://schema.org/price(英語。訳すと意味が変わることがあるため、原文のまま載せています)
入る値の型(2個)
このうちのどれかを書きます。複数の型が並んでいるときは、書きやすいものを1つ選べばかまいません。
NumberText
このプロパティが使える型(4個)
下の型の中でだけ、このプロパティが定義されています(その型を親に持つ型でも使えます)。
同じ型の中で使える、ほかのプロパティ
acceptedPaymentMethodaddOnadditionalPropertyadvanceBookingRequirementaggregateRatingareaServedasinavailabilityavailabilityEndsavailabilityStartsavailableAtOrFromavailableDeliveryMethodbusinessFunctioncategorycheckoutPageURLTemplatedeliveryLeadTimeeligibleCustomerTypeeligibleDurationeligibleQuantityeligibleRegioneligibleTransactionVolumegtingtin12gtin13gtin14gtin8hasAdultConsiderationhasDigitalProductPassporthasGS1DigitalLinkhasMeasurementhasMerchantReturnPolicyincludesObjectineligibleRegioninventoryLevelisFamilyFriendlyitemConditionitemOffereditemPopularityleaseLengthmobileUrl
書き方の例
{
"@context": "https://schema.org",
"@type": "DonateAction",
"price": "(ここに値)"
}値の中身は、そのページに実際に表示されている内容にしてください。表示されていないことを構造化データに書くのは、Googleのポリシー違反です。
ほかの語を調べる
出典
このページの内容は、schema.org が配布している語彙ファイルから機械的に取り出したものです。人の手で足した説明はありません。仕様は変わります。実装の前に原文をご確認ください。
検索とAIに見つけてもらう記事づくりを、ほったらかし集客が毎日2本、代わりに公開します。1日667円(税抜)から。