36 lines
1.4 KiB
JSON
36 lines
1.4 KiB
JSON
{
|
||
"$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" } }
|
||
]
|
||
}
|
||
}
|
||
}
|