{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aimeat-io/json-schema/aimeat-io-speech-audio-schema.json",
  "title": "SpeechAudio",
  "description": "What a speech answer's bytes are. `mime` is the provider's real content type. For pcm the bytes are raw samples with no header, and the other three say their layout: OpenAI and OpenRouter send 24000, 1, s16le; another provider says it in its content type or its provider record, else null (never a guess). For mp3 the other three are null.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aimeat-io-ai-api-openapi.yml#/components/schemas/SpeechAudio",
  "type": "object",
  "required": [
    "mime",
    "sample_rate",
    "channels",
    "sample_format"
  ],
  "properties": {
    "mime": {
      "type": "string"
    },
    "sample_rate": {
      "type": [
        "integer",
        "null"
      ]
    },
    "channels": {
      "type": [
        "integer",
        "null"
      ]
    },
    "sample_format": {
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "s16le",
        "s16be",
        "f32le",
        null
      ]
    }
  }
}