{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://jambonz.org/schema/components/recognizer-metaOptions",
  "title": "Meta Recognizer Options",
  "description": "Meta Muse Voice Transcribe realtime STT options. Only applies when recognizer vendor is 'meta'. Meta detects the end of each turn and produces one final transcript per turn. The recognizer language is sent as a language bias (it never filters out other languages); set it to 'any' for automatic detection.",
  "type": "object",
  "properties": {
    "mode": {
      "type": "string",
      "enum": ["ENDPOINTING", "DIARIZATION"],
      "description": "ENDPOINTING (default) finalizes each detected turn; DIARIZATION also labels speakers."
    },
    "partialMode": {
      "type": "string",
      "enum": ["CUMULATIVE", "DELTA"],
      "description": "CUMULATIVE (vendor default) sends the full interim hypothesis; DELTA sends only the new text."
    },
    "emitAudioProgress": {
      "type": "boolean",
      "description": "Ask the vendor to send audio progress events."
    },
    "keywords": {
      "type": "array",
      "items": { "type": "string" },
      "description": "Words or phrases to boost; merged with the recognizer hints."
    },
    "languageBias": {
      "type": "array",
      "items": { "type": "string" },
      "description": "Language names to bias toward (e.g. 'English'); overrides the mapping from the recognizer language."
    },
    "sessionId": {
      "type": "string",
      "description": "Correlation id sent to the vendor with the session."
    }
  },
  "additionalProperties": false
}
