Microdata для свойства spokenByCharacter
На странице будет представлена микроразметка для свойства spokenByCharacter.
spokenByCharacter - Свойство Schema.org
Описание: Персонаж (например, вымышленный), Человек или Организация, которым приписывается цитата в создаваемом Произведении.
На данной странице мы рассмотрим свойство spokenByCharacter, которое используется для указания (например, вымышленного) персонажа, человека или организации, которым приписывается цитата внутри создаваемого произведения.
Values expected to be one of these types
Used on these types
Source
https://github.com/schemaorg/schemaorg/issues/271
Examples
Example 1
Copied
Example notes or example HTML without markup.
Example of a quote from fiction.
Example encoded as JSON-LD in a HTML script tag.
<script type="application/ld+json"> { "@context": "https://schema.org/", "@type": "Quotation", "spokenByCharacter": { "@type": "Person", "name": "Princess Leia" }, "text": "Help me Obi Wan Kenobi, you're my only hope.", "isPartOf": { "@type": "Movie", "name": "Star Wars Episode IV: A New Hope" } } </script>
Structured representation of the JSON-LD example.
Example 2
Copied
Example notes or example HTML without markup.
Example of a quote from a real person.
Example encoded as JSON-LD in a HTML script tag.
<script type="application/ld+json"> { "@context": "https://schema.org/", "@type": "Quotation", "creator": { "@type": "Person", "name": "Franklin Delano Roosevelt" }, "text": "The only thing we have to fear is fear itself." } </script>
Structured representation of the JSON-LD example.