prepareRequestSchema
constprepareRequestSchema:object
The JSON Schemas those models were generated from, for runtime use.
Type Declaration
Section titled “Type Declaration”
readonly$id:"https://schemas.inderun.dev/1.0/prepare-request.schema.json"
$schema
Section titled “$schema”
readonly$schema:"https://json-schema.org/draft/2020-12/schema"
additionalProperties
Section titled “additionalProperties”
readonlyadditionalProperties:true
description
Section titled “description”
readonlydescription:"Optional scope for IndeRunApi.prepare (ADR 019). Every field is optional: an empty request covers every registered provider and task. It carries no user content."
properties
Section titled “properties”
readonlyproperties:object
properties.allowDownload
Section titled “properties.allowDownload”
readonlyallowDownload:object
properties.allowDownload.description
Section titled “properties.allowDownload.description”
readonlydescription:"Lets this call start a platform's own download, whatever autoDownload says at registration. Call it from a user's decision. Absent follows autoDownload."
properties.allowDownload.type
Section titled “properties.allowDownload.type”
readonlytype:"boolean"
properties.locale
Section titled “properties.locale”
readonlylocale:object
properties.locale.description
Section titled “properties.locale.description”
readonlydescription:"BCP 47 tag of the language to prepare. Absent lets a speech provider use the device's own language."
properties.locale.minLength
Section titled “properties.locale.minLength”
readonlyminLength:1
properties.locale.type
Section titled “properties.locale.type”
readonlytype:"string"
properties.localeMatch
Section titled “properties.localeMatch”
readonlylocaleMatch:object
properties.localeMatch.description
Section titled “properties.localeMatch.description”
readonlydescription:"How locale compares: 'language' (default) or 'exact'."
properties.localeMatch.enum
Section titled “properties.localeMatch.enum”
readonlyenum: readonly ["exact","language"]
properties.localeMatch.title
Section titled “properties.localeMatch.title”
readonlytitle:"LocaleMatch"
properties.privacy
Section titled “properties.privacy”
readonlyprivacy:object
properties.privacy.description
Section titled “properties.privacy.description”
readonlydescription:"The privacy policy of the runs this precedes."
properties.privacy.enum
Section titled “properties.privacy.enum”
readonlyenum: readonly ["local_required","local_preferred","cloud_allowed","cloud_required"]
properties.requestId
Section titled “properties.requestId”
readonlyrequestId:object
properties.requestId.description
Section titled “properties.requestId.description”
readonlydescription:"Fixes the run id, for correlation."
properties.requestId.minLength
Section titled “properties.requestId.minLength”
readonlyminLength:1
properties.requestId.type
Section titled “properties.requestId.type”
readonlytype:"string"
properties.tasks
Section titled “properties.tasks”
readonlytasks:object
properties.tasks.description
Section titled “properties.tasks.description”
readonlydescription:"Task kinds to prepare. Absent means every task a registered provider can prepare."
properties.tasks.items
Section titled “properties.tasks.items”
readonlyitems:object
properties.tasks.items.minLength
Section titled “properties.tasks.items.minLength”
readonlyminLength:1
properties.tasks.items.type
Section titled “properties.tasks.items.type”
readonlytype:"string"
properties.tasks.type
Section titled “properties.tasks.type”
readonlytype:"array"
properties.voice
Section titled “properties.voice”
readonlyvoice:object
properties.voice.additionalProperties
Section titled “properties.voice.additionalProperties”
readonlyadditionalProperties:true
properties.voice.dependentRequired
Section titled “properties.voice.dependentRequired”
readonlydependentRequired:object
properties.voice.dependentRequired.id
Section titled “properties.voice.dependentRequired.id”
readonlyid: readonly ["providerId"]
properties.voice.description
Section titled “properties.voice.description”
readonlydescription:"A voice to prepare, as for a speech request."
properties.voice.properties
Section titled “properties.voice.properties”
readonlyproperties:object
properties.voice.properties.gender
Section titled “properties.voice.properties.gender”
readonlygender:object
properties.voice.properties.gender.$ref
Section titled “properties.voice.properties.gender.$ref”
readonly$ref:"provider-dynamic-capabilities.schema.json#/$defs/voiceGender"
properties.voice.properties.id
Section titled “properties.voice.properties.id”
readonlyid:object
properties.voice.properties.id.description
Section titled “properties.voice.properties.id.description”
readonlydescription:"A voice id read from listVoices()."
properties.voice.properties.id.minLength
Section titled “properties.voice.properties.id.minLength”
readonlyminLength:1
properties.voice.properties.id.type
Section titled “properties.voice.properties.id.type”
readonlytype:"string"
properties.voice.properties.providerId
Section titled “properties.voice.properties.providerId”
readonlyproviderId:object
properties.voice.properties.providerId.description
Section titled “properties.voice.properties.providerId.description”
readonlydescription:"The provider that listed id."
properties.voice.properties.providerId.minLength
Section titled “properties.voice.properties.providerId.minLength”
readonlyminLength:1
properties.voice.properties.providerId.type
Section titled “properties.voice.properties.providerId.type”
readonlytype:"string"
properties.voice.title
Section titled “properties.voice.title”
readonlytitle:"PrepareVoice"
properties.voice.type
Section titled “properties.voice.type”
readonlytype:"object"
readonlytitle:"PrepareRequest"
readonlytype:"object"
IndeRun — open-source AI execution for cross-platform apps. Built and maintained by Independo GmbH (opens in new tab), supported by netidee (opens in new tab).
MIT-licensed SDK · No SDK usage telemetry.
© 2025–2026 Independo GmbH