RestrictedDiet|schema.orgの型・プロパティ14個の一覧
RestrictedDietとは?
RestrictedDiet は、schema.org で決められている型のひとつです。Enumeration の一種として定義されています。形のないもの(価格・評価・数量・サービスなど)を表すとき に使います。
schema.org の定義(原文)
A diet restricted to certain foods or preparations for cultural, religious, health or lifestyle reasons.
出典: https://schema.org/RestrictedDiet(英語。訳すと意味が変わることがあるため、原文のまま載せています)
どこに位置する型か
Thing → Intangible → Enumeration → RestrictedDiet
上にある型ほど広い意味です。書くときは、そのページに一番近い(下にある)型を選びます。
Googleのリッチリザルトに対応していますか?
公式ギャラリーには載っていません。ただし、載っていない型を書いてはいけないという意味ではありません。schema.org の語彙は、検索結果の見た目を変えるためだけのものではなく、ページが何について書かれているかを機械に伝えるためのものです。リッチリザルトが出るかどうかと、書いてよいかどうかは別の話です。
親の型から受け継ぐプロパティ(14個)
上の型で決まっているものは、この型でもそのまま使えます。
| プロパティ | 入る値の型 | schema.org の説明(原文) | どの型から |
|---|---|---|---|
supersededBy | Class、Enumeration、Property | Relates a term (i.e. a property, class or enumeration) to one that supersedes it. | Enumeration |
additionalType | Text、URL | An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide. | Thing |
alternateName | Text | An alias for the item. | Thing |
description | Text、TextObject | A description of the item. | Thing |
disambiguatingDescription | Text | A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation. | Thing |
identifier | PropertyValue、Text、URL | The identifier property represents any kind of identifier for any kind of Thing, such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See background notes for more details. | Thing |
image | ImageObject、URL | An image of the item. This can be a URL or a fully described ImageObject. | Thing |
mainEntityOfPage | CreativeWork、URL | Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See background notes for details. | Thing |
name | Text | The name of the item. | Thing |
owner | Organization、Person | A person or organization who owns this Thing. | Thing |
potentialAction | Action | Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role. | Thing |
sameAs | URL | URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website. | Thing |
subjectOf | CreativeWork、Event | A CreativeWork or Event about this Thing. | Thing |
url | URL | URL of the item. | Thing |
この記事と同じものを、あなたの会社のサイトに毎日2本。ことば選びから公開まで代行します。1日667円(税抜)から。
ほったらかし集客の料金はこちら →書き方の骨組み
Googleが推奨している書き方は JSON-LD です。<script type="application/ld+json"> の中に入れます。
{
"@context": "https://schema.org",
"@type": "RestrictedDiet",
"name": "(名前)"
, "url": "(url の値)"
, "description": "(description の値)"
, "image": "(image の値)"
}(値の中身は、そのページに実際に表示されている内容にしてください。表示されていないことを構造化データに書くのは、Googleのポリシー違反です。)
ほかの型を調べる
- schema.orgの型 全件の一覧
- schema.orgのプロパティ 全件の一覧
- Googleのリッチリザルトに対応している型
- 構造化データの書き方(Googleの公式文書から)
- AI・検索のクローラー一覧とrobots.txtの書き方
出典
このページの型名・説明・親子関係・プロパティは、schema.org が配布している語彙ファイルから機械的に取り出したものです。人の手で足した説明はありません。仕様は変わります。実装の前に原文をご確認ください。
検索とAIに見つけてもらう記事づくりを、ほったらかし集客が毎日2本、代わりに公開します。1日667円(税抜)から。