Skip to content
HALOWERK

Tonwerk

ssml validate

Parses the SSML (well-formedness, no DTD) and checks it against W3C SSML 1.1: <speak> with version="1.1", xml:lang and namespace; the content model of every element (e.g. no <p> in <s>, <desc> only in <audio>, lexicon/meta first); required attributes (say-as interpret-as, sub alias, phoneme ph, audio src, mark name, lexicon uri and xml:id); value syntax of break, emphasis, prosody and voice. Then compares with the documented SSML support of Amazon Polly (no audio/lexicon/lookup/voice,.

POST https://ton.halowerk.com/v1/ssml-validate

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
ssmlstringYesSSML document.
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "ssml"
  ],
  "properties": {
    "ssml": {
      "type": "string",
      "minLength": 7,
      "maxLength": 200000,
      "description": "SSML document."
    }
  }
}

Open original schema

Published input example

{
  "ssml": "<speak version=\"1.1\" xmlns=\"http://www.w3.org/2001/10/synthesis\" xml:lang=\"de-DE\"><p><s>Willkommen<break time=\"300ms\"/> bei <sub alias=\"Halowerk\">HALOWERK</sub>.</s></p></speak>"
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.

More endpoints in this hub

All endpoints in this hub โ†’