{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/divinci-app/json-schema/divinci-app-audio-transcript-schema.json",
  "title": "AudioTranscript",
  "x-generated": "2026-11-06",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/divinci-app-api-openapi.yml#/components/schemas/AudioTranscript",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "filename": {
      "type": "string"
    },
    "sourceUrl": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri"
    },
    "duration": {
      "type": [
        "number",
        "null"
      ],
      "format": "float",
      "description": "Duration in seconds"
    },
    "status": {
      "type": "string",
      "enum": [
        "pending",
        "transcribing",
        "completed",
        "failed"
      ]
    },
    "transcript": {
      "type": [
        "string",
        "null"
      ],
      "description": "The transcribed text (available after completion)"
    },
    "ragGenerated": {
      "type": "boolean",
      "description": "Whether RAG indexing has been generated"
    },
    "language": {
      "type": [
        "string",
        "null"
      ]
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    }
  }
}