spokenByCharacter
A Schema.org PropertyThis term is proposed for full integration into Schema.org, pending implementation feedback and adoption from applications and websites.
- Canonical URL: https://schema.org/spokenByCharacter
- Check for open issues.
The (e.g. fictional) character, Person or Organization to whom the quotation is attributed within the containing CreativeWork.
Values expected to be one of these types |
---|
Organization |
Used on these types |
---|
Quotation
|
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 Microdata embedded in HTML.
TODO
Example encoded as RDFa embedded in HTML.
TODO
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 Microdata embedded in HTML.
TODO
Example encoded as RDFa embedded in HTML.
TODO
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.