phoneticText
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/phoneticText
- Check for open issues.
Representation of a text textValue using the specified speechToTextMarkup. For example the city name of Houston in IPA: /ˈhjuːstən/.
Values expected to be one of these types |
---|
Text
|
Used on these types |
---|
PronounceableText
|
Source
https://github.com/schemaorg/schemaorg/issues/2108
Examples
Example 1
Copied
Example notes or example HTML without markup.
See JSON example.
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": "City", "name": { "@type": "PronounceableText", "inLanguage": "en-US", "textValue": "Worcester", "speechToTextMarkup": "IPA", "phoneticText": "/ˈwʊstɚ/" } } </script>
Structured representation of the JSON-LD example.
Example 2
Copied
Example notes or example HTML without markup.
See JSON example.
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": "RadioStation", "name": ["WKRP", { "@type": "PronounceableText", "textValue": "WKRP", "speechToTextMarkup": "SSML", "phoneticText": "<speak><say-as interpret-as=\"characters\">WKRP</say-as>" } ] } </script>
Structured representation of the JSON-LD example.