Amazon Polly · Schema

Lexicon

Provides lexicon name and lexicon content in string format. For more information, see Pronunciation Lexicon Specification (PLS) Version 1.0.

AIMachine LearningSpeech SynthesisText-To-SpeechTTSVoiceSSMLNeural EngineGenerative AI

Properties

Name Type Description
Content object
Name object
View JSON Schema on GitHub

JSON Schema

amazon-polly-lexicon-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-polly/refs/heads/main/json-schema/amazon-polly-lexicon-schema.json",
  "title": "Lexicon",
  "description": "Provides lexicon name and lexicon content in string format. For more information, see <a href=\"https://www.w3.org/TR/pronunciation-lexicon/\">Pronunciation Lexicon Specification (PLS) Version 1.0</a>.",
  "type": "object",
  "properties": {
    "Content": {
      "allOf": [
        {
          "$ref": "#/components/schemas/LexiconContent"
        },
        {
          "description": "Lexicon content in string format. The content of a lexicon must be in PLS format."
        }
      ]
    },
    "Name": {
      "allOf": [
        {
          "$ref": "#/components/schemas/LexiconName"
        },
        {
          "description": "Name of the lexicon."
        }
      ]
    }
  }
}