Files
marka/registry/schema-org/PronounceableText.schema.json
Max Richter c687eff53d big tings
2025-08-17 15:16:17 +02:00

36 lines
1.4 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema:PronounceableText",
"title": "PronounceableText",
"description": "Data type: PronounceableText.",
"type": "object",
"allOf": [{ "description": "Data type: Text.", "$ref": "schema:Text" }],
"properties": {
"inLanguage": {
"description": "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](http://tools.ietf.org/html/bcp47). See also [[availableLanguage]].",
"anyOf": [{ "type": "string" }, { "$ref": "schema:Language" }]
},
"phoneticText": {
"description": "Representation of a text [[textValue]] using the specified [[speechToTextMarkup]]. For example the city name of Houston in IPA: /ˈhjuːstən/.",
"oneOf": [
{ "type": "string" },
{ "type": "array", "items": { "type": "string" } }
]
},
"speechToTextMarkup": {
"description": "Form of markup used. eg. [SSML](https://www.w3.org/TR/speech-synthesis11) or [IPA](https://www.wikidata.org/wiki/Property:P898).",
"oneOf": [
{ "type": "string" },
{ "type": "array", "items": { "type": "string" } }
]
},
"textValue": {
"description": "Text value being annotated.",
"oneOf": [
{ "type": "string" },
{ "type": "array", "items": { "type": "string" } }
]
}
}
}