Skip to content

madoo.speech-timing-candidate-rows/v1

Madoo measured speech candidate rows — Candidate rows collected by aggregate/json for one speech-timing reconciliation round.

Reference madoo.speech-timing-candidate-rows/v1
Schema id urn:madoo:schema:speech-timing-candidate-rows:v1
Version 1.0.0
Served at GET /api/v1/json-schemas/madoo.speech-timing-candidate-rows/v1 · MCP get_json_schema
  • Read by: utility/speech_timing_reconcile → candidates
madoo.speech-timing-candidate-rows/v1 (JSON Schema)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "urn:madoo:schema:speech-timing-candidate-rows:v1",
"title": "Madoo measured speech candidate rows",
"type": "array",
"minItems": 1,
"maxItems": 10000,
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"candidate"
],
"properties": {
"candidate": {
"$ref": "#/$defs/candidate"
}
}
},
"$defs": {
"candidate": {
"type": "object",
"additionalProperties": false,
"required": [
"planId",
"cueId",
"round",
"text",
"audioStorageRef",
"audioSha256",
"durationMilliseconds",
"speakingRate",
"modelId",
"profileVersion",
"voice",
"expectedMilliCredits",
"hasAudibleSignal",
"headSilenceMilliseconds",
"tailSilenceMilliseconds",
"trimStartMilliseconds",
"trimEndMilliseconds"
],
"properties": {
"planId": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"cueId": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"round": {
"type": "integer",
"minimum": 1,
"maximum": 3
},
"text": {
"type": "string",
"minLength": 1,
"maxLength": 20000
},
"audioStorageRef": {
"type": "string",
"pattern": "^storage://[^?#\\s]+$",
"maxLength": 4096
},
"audioSha256": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"durationMilliseconds": {
"type": "integer",
"minimum": 1,
"maximum": 21600000
},
"speakingRate": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 10
},
"modelId": {
"type": "string",
"minLength": 1,
"maxLength": 256
},
"profileVersion": {
"type": "string",
"minLength": 1,
"maxLength": 256
},
"voice": {
"type": "string",
"minLength": 1,
"maxLength": 512
},
"expectedMilliCredits": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"hasAudibleSignal": {
"type": "boolean"
},
"headSilenceMilliseconds": {
"type": "integer",
"minimum": 0,
"maximum": 21600000
},
"tailSilenceMilliseconds": {
"type": "integer",
"minimum": 0,
"maximum": 21600000
},
"trimStartMilliseconds": {
"type": "integer",
"minimum": 0,
"maximum": 1000
},
"trimEndMilliseconds": {
"type": "integer",
"minimum": 0,
"maximum": 1000
}
}
}
}
}