{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/clarify/json-schema/clarify-upload-recording-transcript-dto-schema.json",
  "title": "UploadRecordingTranscriptDto",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/clarify-meetingrecordings-api-openapi.yml#/components/schemas/UploadRecordingTranscriptDto",
  "type": "object",
  "properties": {
    "recordingId": {
      "type": "string",
      "format": "uuid",
      "description": "A completed manual-upload recording to overwrite. When omitted, a new recording is created on the meeting. Only the artifacts supplied in this request are overwritten; other stored artifacts are left intact."
    },
    "transcript": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "words": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "text": {
                  "type": "string",
                  "description": "The transcribed word."
                },
                "start_timestamp": {
                  "type": "number",
                  "description": "The start time of the word, in seconds from the beginning of the recording."
                },
                "end_timestamp": {
                  "type": "number",
                  "description": "The end time of the word, in seconds from the beginning of the recording."
                },
                "language": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The detected language of the word as an ISO code, or `null` if unknown."
                },
                "confidence": {
                  "type": [
                    "number",
                    "null"
                  ],
                  "description": "The transcription confidence for the word, from 0 to 1, or `null` if unavailable."
                }
              },
              "required": [
                "text",
                "start_timestamp",
                "end_timestamp",
                "language",
                "confidence"
              ]
            },
            "description": "The words spoken in this segment."
          },
          "speaker": {
            "type": [
              "string",
              "null"
            ],
            "description": "The display name of the speaker, or `null` if unattributed."
          },
          "speaker_id": {
            "type": [
              "number",
              "null"
            ],
            "description": "The numeric ID of the speaker, or `null` if unattributed."
          },
          "language": {
            "type": "string",
            "description": "The primary language of the segment as an ISO code."
          }
        },
        "required": [
          "words",
          "speaker",
          "speaker_id",
          "language"
        ]
      },
      "description": "The meeting transcript, as an ordered list of speaker segments."
    }
  },
  "required": [
    "transcript"
  ]
}