Микроразметка: PronounceableText
Тип данных: PronounceableText.
PronounceableText - Тип Schema.org
Описание: Тип данных: PronounceableText.
Заголовок: PronounceableText. Тип данных, предназначенный для текста, который можно произносить. Используется для указания текста, который может быть корректно обработан и выговорен голосовыми технологиями. Например, полезно для мобильных приложений и голосовых ассистентов. Рекомендация: при использовании данного типа данных уделяйте внимание качеству текста для лучшей произносимости.
Свойство | Ожидаемый тип | Описание |
---|---|---|
Properties from PronounceableText | ||
inLanguage |
Language или Text | The language of the content or performance or used in an action. Please use one of the language codes from the IETF BCP 47 standard. See also availableLanguage. Supersedes language. |
phoneticText |
Text | Representation of a text textValue using the specified speechToTextMarkup. For example the city name of Houston in IPA: /ËhjuËstÉn/. |
speechToTextMarkup |
Text | Form of markup used. eg. SSML or IPA. |
textValue |
Text | Текстовое значение, которое аннотируется. |
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 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 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.