{
  "openapi": "3.1.0",
  "info": {
    "title": "Video Translate Production API (Cloudflare Edge Gateway)",
    "version": "0.1.0",
    "description": "面向客户端与前端的权威稳定 API 接口。请求进入 Cloudflare Worker 网关后，自动通过 B64URL-XOR-HMAC-SHA256 信封编码/解码协议转发至 Hugging Face 上的真实生产服务。"
  },
  "paths": {
    "/api/auth/register": {
      "post": {
        "tags": [
          "auth"
        ],
        "summary": "Register",
        "operationId": "register_api_auth_register_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/auth/login": {
      "post": {
        "tags": [
          "auth"
        ],
        "summary": "Login",
        "operationId": "login_api_auth_login_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LoginInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/auth/me": {
      "get": {
        "tags": [
          "auth"
        ],
        "summary": "Me",
        "operationId": "me_api_auth_me_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        }
      }
    },
    "/api/auth/logout": {
      "post": {
        "tags": [
          "auth"
        ],
        "summary": "Logout",
        "operationId": "logout_api_auth_logout_post",
        "responses": {
          "204": {
            "description": "Successful Response"
          }
        }
      }
    },
    "/api/languages": {
      "get": {
        "tags": [
          "languages"
        ],
        "summary": "Languages",
        "operationId": "languages_api_languages_get",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 100,
              "default": "",
              "title": "Q"
            }
          },
          {
            "name": "include_auto",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": true,
              "title": "Include Auto"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 1000,
              "minimum": 1,
              "default": 100,
              "title": "Limit"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 0,
              "default": 0,
              "title": "Offset"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/provider-settings": {
      "get": {
        "tags": [
          "providers"
        ],
        "summary": "Get Settings",
        "operationId": "get_settings_api_provider_settings_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        }
      }
    },
    "/api/credentials/{kind}": {
      "put": {
        "tags": [
          "providers"
        ],
        "summary": "Put Credential",
        "operationId": "put_credential_api_credentials__kind__put",
        "parameters": [
          {
            "name": "kind",
            "in": "path",
            "required": true,
            "schema": {
              "enum": [
                "huggingface",
                "translation"
              ],
              "type": "string",
              "title": "Kind"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CredentialBody"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/providers/{slot}": {
      "put": {
        "tags": [
          "providers"
        ],
        "summary": "Put Provider",
        "operationId": "put_provider_api_providers__slot__put",
        "parameters": [
          {
            "name": "slot",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Slot"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProviderBody"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/providers/{slot}/check": {
      "post": {
        "tags": [
          "providers"
        ],
        "summary": "Check Provider",
        "operationId": "check_provider_api_providers__slot__check_post",
        "parameters": [
          {
            "name": "slot",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Slot"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CheckBody"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/projects": {
      "get": {
        "tags": [
          "projects"
        ],
        "summary": "List Projects",
        "operationId": "list_projects_api_projects_get",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 200,
              "minimum": 1,
              "default": 50,
              "title": "Limit"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 0,
              "default": 0,
              "title": "Offset"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "projects"
        ],
        "summary": "Create Project",
        "operationId": "create_project_api_projects_post",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProjectCreate"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/projects/{project_id}": {
      "get": {
        "tags": [
          "projects"
        ],
        "summary": "Get Project",
        "operationId": "get_project_api_projects__project_id__get",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "projects"
        ],
        "summary": "Patch Project",
        "operationId": "patch_project_api_projects__project_id__patch",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProjectPatch"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "projects"
        ],
        "summary": "Delete Project",
        "operationId": "delete_project_api_projects__project_id__delete",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful Response"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/projects/{project_id}/source": {
      "post": {
        "tags": [
          "assets"
        ],
        "summary": "Upload Source",
        "operationId": "upload_source_api_projects__project_id__source_post",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "required": [
                  "file"
                ],
                "properties": {
                  "file": {
                    "type": "string",
                    "format": "binary"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/projects/{project_id}/assets": {
      "get": {
        "tags": [
          "assets"
        ],
        "summary": "List Assets",
        "operationId": "list_assets_api_projects__project_id__assets_get",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 200,
              "minimum": 1,
              "default": 50,
              "title": "Limit"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 0,
              "default": 0,
              "title": "Offset"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/assets/{asset_id}/content": {
      "get": {
        "tags": [
          "assets"
        ],
        "summary": "Asset Content",
        "operationId": "asset_content_api_assets__asset_id__content_get",
        "parameters": [
          {
            "name": "asset_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Asset Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/projects/{project_id}/runs": {
      "post": {
        "tags": [
          "runs"
        ],
        "summary": "Enqueue",
        "operationId": "enqueue_api_projects__project_id__runs_post",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          },
          {
            "name": "idempotency-key",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Idempotency-Key"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RunCreate"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "runs"
        ],
        "summary": "List Runs",
        "operationId": "list_runs_api_projects__project_id__runs_get",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 200,
              "minimum": 1,
              "default": 50,
              "title": "Limit"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 0,
              "default": 0,
              "title": "Offset"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/runs/{run_id}": {
      "get": {
        "tags": [
          "runs"
        ],
        "summary": "Get Run",
        "operationId": "get_run_api_runs__run_id__get",
        "parameters": [
          {
            "name": "run_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Run Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/runs/{run_id}/retry": {
      "post": {
        "tags": [
          "runs"
        ],
        "summary": "Retry",
        "operationId": "retry_api_runs__run_id__retry_post",
        "parameters": [
          {
            "name": "run_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Run Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RunRetry"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/runs/{run_id}/cancel": {
      "post": {
        "tags": [
          "runs"
        ],
        "summary": "Cancel",
        "operationId": "cancel_api_runs__run_id__cancel_post",
        "parameters": [
          {
            "name": "run_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Run Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/projects/{project_id}/events": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "List Events",
        "operationId": "list_events_api_projects__project_id__events_get",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          },
          {
            "name": "after",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 0,
              "default": 0,
              "title": "After"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 200,
              "minimum": 1,
              "default": 100,
              "title": "Limit"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/projects/{project_id}/events/stream": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "Stream Events",
        "operationId": "stream_events_api_projects__project_id__events_stream_get",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          },
          {
            "name": "after",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 0,
              "default": 0,
              "title": "After"
            }
          },
          {
            "name": "follow",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": true,
              "title": "Follow"
            }
          },
          {
            "name": "last-event-id",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Last-Event-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/projects/{project_id}/source-selection": {
      "put": {
        "tags": [
          "dubbing"
        ],
        "summary": "Put Selection",
        "operationId": "put_selection_api_projects__project_id__source_selection_put",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SelectionPut"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/projects/{project_id}/timeline": {
      "get": {
        "tags": [
          "dubbing"
        ],
        "summary": "Get Timeline",
        "operationId": "get_timeline_api_projects__project_id__timeline_get",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          },
          {
            "name": "target_language",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string",
                  "maxLength": 40
                },
                {
                  "type": "null"
                }
              ],
              "title": "Target Language"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 200,
              "minimum": 1,
              "default": 100,
              "title": "Limit"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 10000000,
              "minimum": 0,
              "default": 0,
              "title": "Offset"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/projects/{project_id}/segments": {
      "post": {
        "tags": [
          "dubbing"
        ],
        "summary": "Post Segment",
        "operationId": "post_segment_api_projects__project_id__segments_post",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SegmentCreate"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/projects/{project_id}/segments/{segment_id}": {
      "patch": {
        "tags": [
          "dubbing"
        ],
        "summary": "Edit Segment",
        "operationId": "edit_segment_api_projects__project_id__segments__segment_id__patch",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          },
          {
            "name": "segment_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Segment Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SegmentPatch"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/projects/{project_id}/segments/{segment_id}/split": {
      "post": {
        "tags": [
          "dubbing"
        ],
        "summary": "Split Segment",
        "operationId": "split_segment_api_projects__project_id__segments__segment_id__split_post",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          },
          {
            "name": "segment_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Segment Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SegmentSplit"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/projects/{project_id}/segments/merge": {
      "post": {
        "tags": [
          "dubbing"
        ],
        "summary": "Merge Segments",
        "operationId": "merge_segments_api_projects__project_id__segments_merge_post",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SegmentMerge"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/projects/{project_id}/speakers": {
      "post": {
        "tags": [
          "dubbing"
        ],
        "summary": "Post Speaker",
        "operationId": "post_speaker_api_projects__project_id__speakers_post",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SpeakerCreate"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "dubbing"
        ],
        "summary": "List Speakers",
        "operationId": "list_speakers_api_projects__project_id__speakers_get",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 200,
              "minimum": 1,
              "default": 100,
              "title": "Limit"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 10000000,
              "minimum": 0,
              "default": 0,
              "title": "Offset"
            }
          },
          {
            "name": "include_archived",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false,
              "title": "Include Archived"
            }
          },
          {
            "name": "include_historical",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false,
              "title": "Include Historical"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/projects/{project_id}/speakers/{speaker_id}": {
      "patch": {
        "tags": [
          "dubbing"
        ],
        "summary": "Edit Speaker",
        "operationId": "edit_speaker_api_projects__project_id__speakers__speaker_id__patch",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          },
          {
            "name": "speaker_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Speaker Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SpeakerPatch"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/projects/{project_id}/speakers/merge": {
      "post": {
        "tags": [
          "dubbing"
        ],
        "summary": "Merge Speakers",
        "operationId": "merge_speakers_api_projects__project_id__speakers_merge_post",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SpeakerMerge"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/projects/{project_id}/language-tracks": {
      "post": {
        "tags": [
          "dubbing"
        ],
        "summary": "Post Track",
        "operationId": "post_track_api_projects__project_id__language_tracks_post",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TrackCreate"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "dubbing"
        ],
        "summary": "List Tracks",
        "operationId": "list_tracks_api_projects__project_id__language_tracks_get",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 200,
              "minimum": 1,
              "default": 100,
              "title": "Limit"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 10000000,
              "minimum": 0,
              "default": 0,
              "title": "Offset"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/projects/{project_id}/language-tracks/{tag}": {
      "patch": {
        "tags": [
          "dubbing"
        ],
        "summary": "Edit Track",
        "operationId": "edit_track_api_projects__project_id__language_tracks__tag__patch",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          },
          {
            "name": "tag",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Tag"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TrackPatch"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/projects/{project_id}/language-tracks/{tag}/segments/{segment_id}": {
      "patch": {
        "tags": [
          "dubbing"
        ],
        "summary": "Edit Translation",
        "operationId": "edit_translation_api_projects__project_id__language_tracks__tag__segments__segment_id__patch",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          },
          {
            "name": "tag",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Tag"
            }
          },
          {
            "name": "segment_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Segment Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TranslationPatch"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/projects/{project_id}/language-tracks/{tag}/approve": {
      "post": {
        "tags": [
          "dubbing"
        ],
        "summary": "Approve Track",
        "operationId": "approve_track_api_projects__project_id__language_tracks__tag__approve_post",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          },
          {
            "name": "tag",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Tag"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Approve"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/projects/{project_id}/source/import/preview": {
      "post": {
        "tags": [
          "dubbing"
        ],
        "summary": "Preview Source",
        "operationId": "preview_source_api_projects__project_id__source_import_preview_post",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ImportPreview"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/projects/{project_id}/source/import/apply": {
      "post": {
        "tags": [
          "dubbing"
        ],
        "summary": "Apply Source",
        "operationId": "apply_source_api_projects__project_id__source_import_apply_post",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ImportApply"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/projects/{project_id}/language-tracks/{tag}/import/preview": {
      "post": {
        "tags": [
          "dubbing"
        ],
        "summary": "Preview Target",
        "operationId": "preview_target_api_projects__project_id__language_tracks__tag__import_preview_post",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          },
          {
            "name": "tag",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Tag"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ImportPreview"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/projects/{project_id}/language-tracks/{tag}/import/apply": {
      "post": {
        "tags": [
          "dubbing"
        ],
        "summary": "Apply Target",
        "operationId": "apply_target_api_projects__project_id__language_tracks__tag__import_apply_post",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          },
          {
            "name": "tag",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Tag"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ImportApply"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/projects/{project_id}/source-selections": {
      "get": {
        "tags": [
          "dubbing"
        ],
        "summary": "Selection History",
        "operationId": "selection_history_api_projects__project_id__source_selections_get",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 200,
              "minimum": 1,
              "default": 100,
              "title": "Limit"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 10000000,
              "minimum": 0,
              "default": 0,
              "title": "Offset"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/projects/{project_id}/transcripts": {
      "get": {
        "tags": [
          "dubbing"
        ],
        "summary": "Transcript History",
        "operationId": "transcript_history_api_projects__project_id__transcripts_get",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 200,
              "minimum": 1,
              "default": 100,
              "title": "Limit"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 10000000,
              "minimum": 0,
              "default": 0,
              "title": "Offset"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/projects/{project_id}/transcripts/{transcript_id}/segments": {
      "get": {
        "tags": [
          "dubbing"
        ],
        "summary": "Historical Segments",
        "operationId": "historical_segments_api_projects__project_id__transcripts__transcript_id__segments_get",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          },
          {
            "name": "transcript_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Transcript Id"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 200,
              "minimum": 1,
              "default": 100,
              "title": "Limit"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 10000000,
              "minimum": 0,
              "default": 0,
              "title": "Offset"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/projects/{project_id}/segments/{segment_id}/revisions": {
      "get": {
        "tags": [
          "dubbing"
        ],
        "summary": "Segment History",
        "operationId": "segment_history_api_projects__project_id__segments__segment_id__revisions_get",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          },
          {
            "name": "segment_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Segment Id"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 200,
              "minimum": 1,
              "default": 100,
              "title": "Limit"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 10000000,
              "minimum": 0,
              "default": 0,
              "title": "Offset"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/projects/{project_id}/speakers/{speaker_id}/revisions": {
      "get": {
        "tags": [
          "dubbing"
        ],
        "summary": "Speaker History",
        "operationId": "speaker_history_api_projects__project_id__speakers__speaker_id__revisions_get",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          },
          {
            "name": "speaker_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Speaker Id"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 200,
              "minimum": 1,
              "default": 100,
              "title": "Limit"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 10000000,
              "minimum": 0,
              "default": 0,
              "title": "Offset"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/projects/{project_id}/language-tracks/{tag}/contexts": {
      "get": {
        "tags": [
          "dubbing"
        ],
        "summary": "Context History",
        "operationId": "context_history_api_projects__project_id__language_tracks__tag__contexts_get",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          },
          {
            "name": "tag",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Tag"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 200,
              "minimum": 1,
              "default": 100,
              "title": "Limit"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 10000000,
              "minimum": 0,
              "default": 0,
              "title": "Offset"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/projects/{project_id}/language-tracks/{tag}/segments/{segment_id}/revisions": {
      "get": {
        "tags": [
          "dubbing"
        ],
        "summary": "Translation History",
        "operationId": "translation_history_api_projects__project_id__language_tracks__tag__segments__segment_id__revisions_get",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          },
          {
            "name": "tag",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Tag"
            }
          },
          {
            "name": "segment_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Segment Id"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 200,
              "minimum": 1,
              "default": 100,
              "title": "Limit"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 10000000,
              "minimum": 0,
              "default": 0,
              "title": "Offset"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/projects/{project_id}/language-tracks/{tag}/translate": {
      "post": {
        "tags": [
          "dubbing"
        ],
        "summary": "Translate Target",
        "operationId": "translate_target_api_projects__project_id__language_tracks__tag__translate_post",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          },
          {
            "name": "tag",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Tag"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TranslateCommand"
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/projects/{project_id}/language-tracks/{tag}/translate/{command_id}": {
      "get": {
        "tags": [
          "dubbing"
        ],
        "summary": "Translation Command",
        "operationId": "translation_command_api_projects__project_id__language_tracks__tag__translate__command_id__get",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          },
          {
            "name": "tag",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Tag"
            }
          },
          {
            "name": "command_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Command Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/projects/{project_id}/language-tracks/{tag}/translate/{command_id}/apply-suggestion": {
      "post": {
        "tags": [
          "dubbing"
        ],
        "summary": "Apply Translation Suggestion",
        "operationId": "apply_translation_suggestion_api_projects__project_id__language_tracks__tag__translate__command_id__apply_suggestion_post",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          },
          {
            "name": "tag",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Tag"
            }
          },
          {
            "name": "command_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Command Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SuggestionApply"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/projects/{project_id}/workflow": {
      "post": {
        "tags": [
          "workflow"
        ],
        "summary": "Post Workflow",
        "operationId": "post_workflow_api_projects__project_id__workflow_post",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WorkflowCommand"
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/projects/{project_id}/workflow/{workflow_id}": {
      "get": {
        "tags": [
          "workflow"
        ],
        "summary": "Get Workflow",
        "operationId": "get_workflow_api_projects__project_id__workflow__workflow_id__get",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          },
          {
            "name": "workflow_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Workflow Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/projects/{project_id}/pipeline": {
      "post": {
        "tags": [
          "pipeline"
        ],
        "summary": "Start",
        "operationId": "start_api_projects__project_id__pipeline_post",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PipelineStart"
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "pipeline"
        ],
        "summary": "Listing",
        "operationId": "listing_api_projects__project_id__pipeline_get",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 100,
              "minimum": 1,
              "default": 20,
              "title": "Limit"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 10000000,
              "minimum": 0,
              "default": 0,
              "title": "Offset"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/projects/{project_id}/pipeline/current": {
      "get": {
        "tags": [
          "pipeline"
        ],
        "summary": "Current",
        "operationId": "current_api_projects__project_id__pipeline_current_get",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/projects/{project_id}/pipeline/{workflow_id}": {
      "get": {
        "tags": [
          "pipeline"
        ],
        "summary": "Detail",
        "operationId": "detail_api_projects__project_id__pipeline__workflow_id__get",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          },
          {
            "name": "workflow_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Workflow Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/projects/{project_id}/pipeline/{workflow_id}/continue": {
      "post": {
        "tags": [
          "pipeline"
        ],
        "summary": "Proceed",
        "operationId": "proceed_api_projects__project_id__pipeline__workflow_id__continue_post",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          },
          {
            "name": "workflow_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Workflow Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PipelineContinue"
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/projects/{project_id}/pipeline/{workflow_id}/policy": {
      "post": {
        "tags": [
          "pipeline"
        ],
        "summary": "Policy",
        "operationId": "policy_api_projects__project_id__pipeline__workflow_id__policy_post",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          },
          {
            "name": "workflow_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Workflow Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PipelinePolicyPut"
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/projects/{project_id}/pipeline/{workflow_id}/scope": {
      "post": {
        "tags": [
          "pipeline"
        ],
        "summary": "Scope",
        "operationId": "scope_api_projects__project_id__pipeline__workflow_id__scope_post",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          },
          {
            "name": "workflow_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Workflow Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PipelineScopePut"
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/projects/{project_id}/pipeline/{workflow_id}/cancel": {
      "post": {
        "tags": [
          "pipeline"
        ],
        "summary": "Cancel",
        "operationId": "cancel_api_projects__project_id__pipeline__workflow_id__cancel_post",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          },
          {
            "name": "workflow_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Workflow Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PipelineCAS"
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/projects/{project_id}/pipeline/{workflow_id}/resume": {
      "post": {
        "tags": [
          "pipeline"
        ],
        "summary": "Resume",
        "operationId": "resume_api_projects__project_id__pipeline__workflow_id__resume_post",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          },
          {
            "name": "workflow_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Workflow Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PipelineCAS"
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/projects/{project_id}/pipeline/{workflow_id}/commands": {
      "get": {
        "tags": [
          "pipeline"
        ],
        "summary": "Commands",
        "operationId": "commands_api_projects__project_id__pipeline__workflow_id__commands_get",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          },
          {
            "name": "workflow_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Workflow Id"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 100,
              "minimum": 1,
              "default": 20,
              "title": "Limit"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 10000000,
              "minimum": 0,
              "default": 0,
              "title": "Offset"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/projects/{project_id}/references/upload": {
      "post": {
        "tags": [
          "references"
        ],
        "summary": "Upload",
        "operationId": "upload_api_projects__project_id__references_upload_post",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          }
        ],
        "responses": {
          "202": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/projects/{project_id}/references/extract": {
      "post": {
        "tags": [
          "references"
        ],
        "summary": "Extract",
        "operationId": "extract_api_projects__project_id__references_extract_post",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ExtractBody"
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/projects/{project_id}/references": {
      "get": {
        "tags": [
          "references"
        ],
        "summary": "List References",
        "operationId": "list_references_api_projects__project_id__references_get",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 200,
              "minimum": 1,
              "default": 100,
              "title": "Limit"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 0,
              "default": 0,
              "title": "Offset"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/projects/{project_id}/references/{reference_id}/versions": {
      "get": {
        "tags": [
          "references"
        ],
        "summary": "Versions",
        "operationId": "versions_api_projects__project_id__references__reference_id__versions_get",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          },
          {
            "name": "reference_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Reference Id"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 200,
              "minimum": 1,
              "default": 100,
              "title": "Limit"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 0,
              "default": 0,
              "title": "Offset"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "references"
        ],
        "summary": "Version",
        "operationId": "version_api_projects__project_id__references__reference_id__versions_post",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          },
          {
            "name": "reference_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Reference Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/VersionBody"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/projects/{project_id}/speakers/{speaker_id}/reference": {
      "put": {
        "tags": [
          "references"
        ],
        "summary": "Role Binding",
        "operationId": "role_binding_api_projects__project_id__speakers__speaker_id__reference_put",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          },
          {
            "name": "speaker_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Speaker Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BindingBody"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "references"
        ],
        "summary": "Get Role Binding",
        "operationId": "get_role_binding_api_projects__project_id__speakers__speaker_id__reference_get",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          },
          {
            "name": "speaker_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Speaker Id"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 200,
              "minimum": 1,
              "default": 100,
              "title": "Limit"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 0,
              "default": 0,
              "title": "Offset"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/projects/{project_id}/segments/{segment_id}/reference": {
      "put": {
        "tags": [
          "references"
        ],
        "summary": "Line Binding",
        "operationId": "line_binding_api_projects__project_id__segments__segment_id__reference_put",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          },
          {
            "name": "segment_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Segment Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BindingBody"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "references"
        ],
        "summary": "Get Line Binding",
        "operationId": "get_line_binding_api_projects__project_id__segments__segment_id__reference_get",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          },
          {
            "name": "segment_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Segment Id"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 200,
              "minimum": 1,
              "default": 100,
              "title": "Limit"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 0,
              "default": 0,
              "title": "Offset"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/projects/{project_id}/language-tracks/{tag}/synthesize": {
      "post": {
        "tags": [
          "synthesis"
        ],
        "summary": "Post Synthesize",
        "operationId": "post_synthesize_api_projects__project_id__language_tracks__tag__synthesize_post",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          },
          {
            "name": "tag",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Tag"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Synthesize"
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/projects/{project_id}/language-tracks/{tag}/synthesis": {
      "get": {
        "tags": [
          "synthesis"
        ],
        "summary": "Get Synthesis",
        "operationId": "get_synthesis_api_projects__project_id__language_tracks__tag__synthesis_get",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          },
          {
            "name": "tag",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Tag"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 100,
              "minimum": 1,
              "default": 100,
              "title": "Limit"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 10000000,
              "minimum": 0,
              "default": 0,
              "title": "Offset"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/projects/{project_id}/language-tracks/{tag}/synthesis/{request_id}": {
      "get": {
        "tags": [
          "synthesis"
        ],
        "summary": "Get Command",
        "operationId": "get_command_api_projects__project_id__language_tracks__tag__synthesis__request_id__get",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          },
          {
            "name": "tag",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Tag"
            }
          },
          {
            "name": "request_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Request Id"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 100,
              "minimum": 1,
              "default": 100,
              "title": "Limit"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 10000000,
              "minimum": 0,
              "default": 0,
              "title": "Offset"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/projects/{project_id}/language-tracks/{tag}/segments/{segment_id}/audio-history": {
      "get": {
        "tags": [
          "synthesis"
        ],
        "summary": "Get History",
        "operationId": "get_history_api_projects__project_id__language_tracks__tag__segments__segment_id__audio_history_get",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          },
          {
            "name": "tag",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Tag"
            }
          },
          {
            "name": "segment_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Segment Id"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 100,
              "minimum": 1,
              "default": 100,
              "title": "Limit"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 10000000,
              "minimum": 0,
              "default": 0,
              "title": "Offset"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/projects/{project_id}/language-tracks/{tag}/segments/{segment_id}/audio-selection": {
      "put": {
        "tags": [
          "synthesis"
        ],
        "summary": "Put Selection",
        "operationId": "put_selection_api_projects__project_id__language_tracks__tag__segments__segment_id__audio_selection_put",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          },
          {
            "name": "tag",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Tag"
            }
          },
          {
            "name": "segment_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Segment Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AudioSelectionPut"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/projects/{project_id}/language-tracks/{tag}/segments/{segment_id}/voice-settings": {
      "get": {
        "tags": [
          "synthesis"
        ],
        "summary": "Get Settings",
        "operationId": "get_settings_api_projects__project_id__language_tracks__tag__segments__segment_id__voice_settings_get",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          },
          {
            "name": "tag",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Tag"
            }
          },
          {
            "name": "segment_id",
            "in": "path",
            "required": true,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Segment Id"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 100,
              "minimum": 1,
              "default": 100,
              "title": "Limit"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 10000000,
              "minimum": 0,
              "default": 0,
              "title": "Offset"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "synthesis"
        ],
        "summary": "Put Settings",
        "operationId": "put_settings_api_projects__project_id__language_tracks__tag__segments__segment_id__voice_settings_put",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          },
          {
            "name": "tag",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Tag"
            }
          },
          {
            "name": "segment_id",
            "in": "path",
            "required": true,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Segment Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/VoiceSettingsPut"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/projects/{project_id}/language-tracks/{tag}/voice-settings": {
      "get": {
        "tags": [
          "synthesis"
        ],
        "summary": "Get Settings",
        "operationId": "get_settings_api_projects__project_id__language_tracks__tag__voice_settings_get",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          },
          {
            "name": "tag",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Tag"
            }
          },
          {
            "name": "segment_id",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Segment Id"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 100,
              "minimum": 1,
              "default": 100,
              "title": "Limit"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 10000000,
              "minimum": 0,
              "default": 0,
              "title": "Offset"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "synthesis"
        ],
        "summary": "Put Settings",
        "operationId": "put_settings_api_projects__project_id__language_tracks__tag__voice_settings_put",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          },
          {
            "name": "tag",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Tag"
            }
          },
          {
            "name": "segment_id",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Segment Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/VoiceSettingsPut"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/projects/{project_id}/language-tracks/{tag}/voice-qc": {
      "post": {
        "tags": [
          "synthesis"
        ],
        "summary": "Post Voice Qc",
        "operationId": "post_voice_qc_api_projects__project_id__language_tracks__tag__voice_qc_post",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          },
          {
            "name": "tag",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Tag"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/VoiceQC"
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/projects/{project_id}/language-tracks/{tag}/voice-qc/{request_id}": {
      "get": {
        "tags": [
          "synthesis"
        ],
        "summary": "Get Voice Qc",
        "operationId": "get_voice_qc_api_projects__project_id__language_tracks__tag__voice_qc__request_id__get",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          },
          {
            "name": "tag",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Tag"
            }
          },
          {
            "name": "request_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Request Id"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 100,
              "minimum": 1,
              "default": 100,
              "title": "Limit"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 10000000,
              "minimum": 0,
              "default": 0,
              "title": "Offset"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/projects/{project_id}/language-tracks/{tag}/segments/{segment_id}/audio-review": {
      "put": {
        "tags": [
          "synthesis"
        ],
        "summary": "Put Audio Review",
        "operationId": "put_audio_review_api_projects__project_id__language_tracks__tag__segments__segment_id__audio_review_put",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          },
          {
            "name": "tag",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Tag"
            }
          },
          {
            "name": "segment_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Segment Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AudioReviewPut"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/projects/{project_id}/language-tracks/{tag}/segments/{segment_id}/audio-reviews": {
      "get": {
        "tags": [
          "synthesis"
        ],
        "summary": "Get Audio Reviews",
        "operationId": "get_audio_reviews_api_projects__project_id__language_tracks__tag__segments__segment_id__audio_reviews_get",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          },
          {
            "name": "tag",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Tag"
            }
          },
          {
            "name": "segment_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Segment Id"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 100,
              "minimum": 1,
              "default": 100,
              "title": "Limit"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 10000000,
              "minimum": 0,
              "default": 0,
              "title": "Offset"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/projects/{project_id}/fit-settings": {
      "get": {
        "tags": [
          "finishing"
        ],
        "summary": "Get Settings",
        "operationId": "get_settings_api_projects__project_id__fit_settings_get",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 100,
              "minimum": 1,
              "default": 100,
              "title": "Limit"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 10000000,
              "minimum": 0,
              "default": 0,
              "title": "Offset"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "finishing"
        ],
        "summary": "Put Settings",
        "operationId": "put_settings_api_projects__project_id__fit_settings_put",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FitSettingsPut"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/projects/{project_id}/fit-plans": {
      "post": {
        "tags": [
          "finishing"
        ],
        "summary": "Post Plan",
        "operationId": "post_plan_api_projects__project_id__fit_plans_post",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FitPlanCreate"
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "finishing"
        ],
        "summary": "Get Plans",
        "operationId": "get_plans_api_projects__project_id__fit_plans_get",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 100,
              "minimum": 1,
              "default": 100,
              "title": "Limit"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 10000000,
              "minimum": 0,
              "default": 0,
              "title": "Offset"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/projects/{project_id}/fit-plans/{plan_id}": {
      "get": {
        "tags": [
          "finishing"
        ],
        "summary": "Get Plan",
        "operationId": "get_plan_api_projects__project_id__fit_plans__plan_id__get",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          },
          {
            "name": "plan_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Plan Id"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 100,
              "minimum": 1,
              "default": 100,
              "title": "Limit"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 10000000,
              "minimum": 0,
              "default": 0,
              "title": "Offset"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/projects/{project_id}/deliveries": {
      "post": {
        "tags": [
          "finishing"
        ],
        "summary": "Post Delivery",
        "operationId": "post_delivery_api_projects__project_id__deliveries_post",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeliveryCreate"
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "finishing"
        ],
        "summary": "Get Deliveries",
        "operationId": "get_deliveries_api_projects__project_id__deliveries_get",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 100,
              "minimum": 1,
              "default": 100,
              "title": "Limit"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 10000000,
              "minimum": 0,
              "default": 0,
              "title": "Offset"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/projects/{project_id}/deliveries/{delivery_id}": {
      "get": {
        "tags": [
          "finishing"
        ],
        "summary": "Get Delivery",
        "operationId": "get_delivery_api_projects__project_id__deliveries__delivery_id__get",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          },
          {
            "name": "delivery_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Delivery Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/projects/{project_id}/deliveries/{delivery_id}/artifacts": {
      "get": {
        "tags": [
          "finishing"
        ],
        "summary": "Get Delivery Artifacts",
        "operationId": "get_delivery_artifacts_api_projects__project_id__deliveries__delivery_id__artifacts_get",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          },
          {
            "name": "delivery_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Delivery Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/projects/{project_id}/waveforms": {
      "post": {
        "tags": [
          "waveforms"
        ],
        "summary": "Create",
        "operationId": "create_api_projects__project_id__waveforms_post",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WaveformCreate"
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "waveforms"
        ],
        "summary": "List Waveforms",
        "operationId": "list_waveforms_api_projects__project_id__waveforms_get",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 100,
              "minimum": 1,
              "default": 30,
              "title": "Limit"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 10000000,
              "minimum": 0,
              "default": 0,
              "title": "Offset"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/projects/{project_id}/waveforms/{run_id}": {
      "get": {
        "tags": [
          "waveforms"
        ],
        "summary": "Detail",
        "operationId": "detail_api_projects__project_id__waveforms__run_id__get",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          },
          {
            "name": "run_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Run Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/projects/{project_id}/source-imports": {
      "post": {
        "tags": [
          "source-imports"
        ],
        "summary": "Start",
        "operationId": "start_api_projects__project_id__source_imports_post",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SourceImportCreate"
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "source-imports"
        ],
        "summary": "Listing",
        "operationId": "listing_api_projects__project_id__source_imports_get",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 100,
              "minimum": 1,
              "default": 20,
              "title": "Limit"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 10000000,
              "minimum": 0,
              "default": 0,
              "title": "Offset"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/projects/{project_id}/source-imports/{import_id}": {
      "get": {
        "tags": [
          "source-imports"
        ],
        "summary": "Detail",
        "operationId": "detail_api_projects__project_id__source_imports__import_id__get",
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Project Id"
            }
          },
          {
            "name": "import_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Import Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/_envelope/health": {
      "get": {
        "tags": [
          "gateway-envelope"
        ],
        "summary": "Envelope Health",
        "operationId": "envelope_health_api__envelope_health_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        }
      }
    },
    "/api/_envelope": {
      "post": {
        "tags": [
          "gateway-envelope"
        ],
        "summary": "Handle Envelope",
        "operationId": "handle_envelope_api__envelope_post",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        }
      }
    },
    "/api/_envelope/stream": {
      "post": {
        "tags": [
          "gateway-envelope"
        ],
        "summary": "Handle Envelope Stream",
        "description": "Streaming envelope endpoint for large binary uploads/downloads (e.g. 20MB+ video files).\n\nMetadata (method, path, query, headers) is signed and encoded in X-VT-Envelope-Meta\nusing the exact same B64URL-XOR-HMAC-SHA256 v1 envelope; binary bytes stream directly.",
        "operationId": "handle_envelope_stream_api__envelope_stream_post",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "ApprovalRow": {
        "properties": {
          "id": {
            "type": "string",
            "maxLength": 36,
            "minLength": 1,
            "title": "Id"
          },
          "revision": {
            "type": "integer",
            "maximum": 2147483647,
            "minimum": 1,
            "title": "Revision"
          },
          "expected_source_text_fingerprint": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$",
            "title": "Expected Source Text Fingerprint"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "id",
          "revision",
          "expected_source_text_fingerprint"
        ],
        "title": "ApprovalRow"
      },
      "Approve": {
        "properties": {
          "selection_revision": {
            "type": "integer",
            "maximum": 2147483647,
            "minimum": 1,
            "title": "Selection Revision"
          },
          "transcript_revision": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 36,
                "minLength": 1
              },
              {
                "type": "null"
              }
            ],
            "title": "Transcript Revision"
          },
          "segments": {
            "items": {
              "$ref": "#/components/schemas/ApprovalRow"
            },
            "type": "array",
            "maxItems": 200,
            "minItems": 1,
            "title": "Segments"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "selection_revision",
          "transcript_revision",
          "segments"
        ],
        "title": "Approve"
      },
      "AudioReviewPut": {
        "properties": {
          "selection_revision": {
            "type": "integer",
            "maximum": 2147483647,
            "minimum": 1,
            "title": "Selection Revision"
          },
          "transcript_revision": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 36,
                "minLength": 1
              },
              {
                "type": "null"
              }
            ],
            "title": "Transcript Revision"
          },
          "revision": {
            "type": "integer",
            "maximum": 2147483647,
            "minimum": 0,
            "title": "Revision"
          },
          "translation_revision": {
            "type": "integer",
            "maximum": 2147483647,
            "minimum": 0,
            "title": "Translation Revision"
          },
          "expected_source_text_fingerprint": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$",
            "title": "Expected Source Text Fingerprint"
          },
          "output_id": {
            "type": "string",
            "maxLength": 36,
            "minLength": 1,
            "title": "Output Id"
          },
          "audio_selection_revision": {
            "type": "integer",
            "maximum": 2147483647,
            "minimum": 0,
            "title": "Audio Selection Revision"
          },
          "qc_evidence_fingerprint": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$",
            "title": "Qc Evidence Fingerprint"
          },
          "decision": {
            "type": "string",
            "enum": [
              "accepted",
              "rejected"
            ],
            "title": "Decision"
          },
          "note": {
            "type": "string",
            "maxLength": 2000,
            "title": "Note",
            "default": ""
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "selection_revision",
          "transcript_revision",
          "revision",
          "translation_revision",
          "expected_source_text_fingerprint",
          "output_id",
          "audio_selection_revision",
          "qc_evidence_fingerprint",
          "decision"
        ],
        "title": "AudioReviewPut"
      },
      "AudioSelectionPut": {
        "properties": {
          "selection_revision": {
            "type": "integer",
            "maximum": 2147483647,
            "minimum": 1,
            "title": "Selection Revision"
          },
          "transcript_revision": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 36,
                "minLength": 1
              },
              {
                "type": "null"
              }
            ],
            "title": "Transcript Revision"
          },
          "revision": {
            "type": "integer",
            "maximum": 2147483647,
            "minimum": 0,
            "title": "Revision"
          },
          "output_id": {
            "type": "string",
            "maxLength": 36,
            "minLength": 1,
            "title": "Output Id"
          },
          "translation_revision": {
            "type": "integer",
            "maximum": 2147483647,
            "minimum": 0,
            "title": "Translation Revision"
          },
          "expected_source_text_fingerprint": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$",
            "title": "Expected Source Text Fingerprint"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "selection_revision",
          "transcript_revision",
          "revision",
          "output_id",
          "translation_revision",
          "expected_source_text_fingerprint"
        ],
        "title": "AudioSelectionPut"
      },
      "BindingBody": {
        "properties": {
          "selection_revision": {
            "type": "integer",
            "maximum": 2147483647,
            "minimum": 1,
            "title": "Selection Revision"
          },
          "transcript_revision": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 36,
                "minLength": 1
              },
              {
                "type": "null"
              }
            ],
            "title": "Transcript Revision"
          },
          "revision": {
            "type": "integer",
            "minimum": 0,
            "title": "Revision"
          },
          "reference_version_id": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 36,
                "minLength": 1
              },
              {
                "type": "null"
              }
            ],
            "title": "Reference Version Id"
          },
          "expected_segment_revision": {
            "anyOf": [
              {
                "type": "integer",
                "maximum": 2147483647,
                "minimum": 1
              },
              {
                "type": "null"
              }
            ],
            "title": "Expected Segment Revision"
          },
          "expected_speaker_revision": {
            "anyOf": [
              {
                "type": "integer",
                "maximum": 2147483647,
                "minimum": 1
              },
              {
                "type": "null"
              }
            ],
            "title": "Expected Speaker Revision"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "selection_revision",
          "transcript_revision",
          "revision",
          "reference_version_id"
        ],
        "title": "BindingBody"
      },
      "CaptionOptions": {
        "properties": {
          "formats": {
            "items": {
              "type": "string",
              "enum": [
                "srt",
                "vtt",
                "ass"
              ]
            },
            "type": "array",
            "maxItems": 3,
            "title": "Formats"
          },
          "burn_in": {
            "type": "boolean",
            "title": "Burn In",
            "default": false
          },
          "track": {
            "type": "string",
            "enum": [
              "source",
              "target",
              "bilingual"
            ],
            "title": "Track",
            "default": "source"
          },
          "target_track": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 40,
                "minLength": 2,
                "pattern": "^[A-Za-z0-9-]+$"
              },
              {
                "type": "null"
              }
            ],
            "title": "Target Track"
          },
          "font_profile": {
            "type": "string",
            "enum": [
              "auto",
              "sans",
              "cjk",
              "arabic",
              "hebrew"
            ],
            "title": "Font Profile",
            "default": "auto"
          },
          "font_size": {
            "type": "integer",
            "maximum": 96,
            "minimum": 12,
            "title": "Font Size",
            "default": 42
          },
          "style": {
            "type": "string",
            "const": "outlined",
            "title": "Style",
            "default": "outlined"
          },
          "layout_policy": {
            "type": "string",
            "const": "unicode_wrap_v2",
            "title": "Layout Policy",
            "default": "unicode_wrap_v2"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "title": "CaptionOptions"
      },
      "CheckBody": {
        "properties": {
          "revision": {
            "type": "integer",
            "minimum": 1,
            "title": "Revision"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "revision"
        ],
        "title": "CheckBody"
      },
      "Controls": {
        "properties": {
          "ns": {
            "type": "integer",
            "maximum": 64,
            "minimum": 4,
            "title": "Ns",
            "default": 32
          },
          "gs": {
            "type": "number",
            "maximum": 4,
            "minimum": 0,
            "title": "Gs",
            "default": 2
          },
          "dn": {
            "type": "boolean",
            "title": "Dn",
            "default": true
          },
          "sp": {
            "type": "number",
            "maximum": 1.5,
            "minimum": 0.5,
            "title": "Sp",
            "default": 1
          },
          "du": {
            "anyOf": [
              {
                "type": "number",
                "maximum": 10000,
                "minimum": 0.01
              },
              {
                "type": "null"
              }
            ],
            "title": "Du"
          },
          "pp": {
            "type": "boolean",
            "title": "Pp",
            "default": true
          },
          "po": {
            "type": "boolean",
            "title": "Po",
            "default": true
          }
        },
        "additionalProperties": false,
        "type": "object",
        "title": "Controls"
      },
      "CredentialBody": {
        "properties": {
          "revision": {
            "type": "integer",
            "minimum": 0,
            "title": "Revision"
          },
          "token": {
            "anyOf": [
              {
                "type": "string",
                "format": "password",
                "writeOnly": true
              },
              {
                "type": "null"
              }
            ],
            "title": "Token"
          },
          "clear": {
            "type": "boolean",
            "title": "Clear",
            "default": false
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "revision"
        ],
        "title": "CredentialBody"
      },
      "CueMapping": {
        "properties": {
          "cue_id": {
            "type": "string",
            "maxLength": 64,
            "minLength": 1,
            "title": "Cue Id"
          },
          "segment_id": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 36,
                "minLength": 1
              },
              {
                "type": "null"
              }
            ],
            "title": "Segment Id"
          },
          "revision": {
            "type": "integer",
            "maximum": 2147483647,
            "minimum": 0,
            "title": "Revision",
            "default": 0
          },
          "speaker_id": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 36,
                "minLength": 1
              },
              {
                "type": "null"
              }
            ],
            "title": "Speaker Id"
          },
          "use_voice_label": {
            "type": "boolean",
            "title": "Use Voice Label",
            "default": false
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "cue_id"
        ],
        "title": "CueMapping"
      },
      "DeliveryCreate": {
        "properties": {
          "fit_plan_id": {
            "type": "string",
            "maxLength": 36,
            "minLength": 1,
            "title": "Fit Plan Id"
          },
          "expected_fit_run_id": {
            "type": "string",
            "maxLength": 36,
            "minLength": 1,
            "title": "Expected Fit Run Id"
          },
          "purpose": {
            "type": "string",
            "enum": [
              "dub",
              "incomplete_preview",
              "original_only"
            ],
            "title": "Purpose"
          },
          "frame_rate": {
            "$ref": "#/components/schemas/Rate"
          },
          "background_gain": {
            "type": "number",
            "maximum": 4,
            "minimum": 0,
            "title": "Background Gain"
          },
          "voice_gain": {
            "type": "number",
            "maximum": 4,
            "minimum": 0,
            "title": "Voice Gain"
          },
          "include_original_comparison": {
            "type": "boolean",
            "title": "Include Original Comparison"
          },
          "default_audio_track": {
            "type": "string",
            "maxLength": 40,
            "minLength": 2,
            "title": "Default Audio Track"
          },
          "caption_options": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CaptionOptions"
              },
              {
                "type": "null"
              }
            ]
          },
          "captions": {
            "type": "string",
            "enum": [
              "sidecar",
              "none"
            ],
            "title": "Captions"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "fit_plan_id",
          "expected_fit_run_id",
          "purpose",
          "frame_rate",
          "background_gain",
          "voice_gain",
          "include_original_comparison",
          "default_audio_track",
          "captions"
        ],
        "title": "DeliveryCreate"
      },
      "DeliveryOptions": {
        "properties": {
          "frame_rate": {
            "$ref": "#/components/schemas/Rate"
          },
          "background_gain": {
            "type": "number",
            "maximum": 4,
            "minimum": 0,
            "title": "Background Gain",
            "default": 1
          },
          "voice_gain": {
            "type": "number",
            "maximum": 4,
            "minimum": 0,
            "title": "Voice Gain",
            "default": 1
          },
          "include_original_comparison": {
            "type": "boolean",
            "title": "Include Original Comparison",
            "default": true
          },
          "default_audio_track": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 40
              },
              {
                "type": "null"
              }
            ],
            "title": "Default Audio Track"
          },
          "captions": {
            "type": "string",
            "enum": [
              "sidecar",
              "none"
            ],
            "title": "Captions",
            "default": "sidecar"
          },
          "caption_options": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CaptionOptions"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false,
        "type": "object",
        "title": "DeliveryOptions"
      },
      "ExtractBody": {
        "properties": {
          "text": {
            "type": "string",
            "maxLength": 10000,
            "minLength": 1,
            "title": "Text"
          },
          "language": {
            "type": "string",
            "maxLength": 40,
            "minLength": 2,
            "title": "Language"
          },
          "selection_revision": {
            "type": "integer",
            "maximum": 2147483647,
            "minimum": 1,
            "title": "Selection Revision"
          },
          "transcript_revision": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 36,
                "minLength": 1
              },
              {
                "type": "null"
              }
            ],
            "title": "Transcript Revision"
          },
          "segment_id": {
            "type": "string",
            "maxLength": 36,
            "minLength": 1,
            "title": "Segment Id"
          },
          "segment_revision": {
            "type": "integer",
            "maximum": 2147483647,
            "minimum": 1,
            "title": "Segment Revision"
          },
          "speaker_id": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 36,
                "minLength": 1
              },
              {
                "type": "null"
              }
            ],
            "title": "Speaker Id"
          },
          "media": {
            "type": "string",
            "enum": [
              "source",
              "vocals"
            ],
            "title": "Media",
            "default": "source"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "text",
          "language",
          "selection_revision",
          "transcript_revision",
          "segment_id",
          "segment_revision",
          "speaker_id"
        ],
        "title": "ExtractBody"
      },
      "FitPlanCreate": {
        "properties": {
          "selection_revision": {
            "type": "integer",
            "maximum": 2147483647,
            "minimum": 1,
            "title": "Selection Revision"
          },
          "transcript_revision": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 36,
                "minLength": 1
              },
              {
                "type": "null"
              }
            ],
            "title": "Transcript Revision"
          },
          "settings_revision": {
            "type": "integer",
            "maximum": 2147483647,
            "minimum": 0,
            "title": "Settings Revision"
          },
          "purpose": {
            "type": "string",
            "enum": [
              "dub",
              "incomplete_preview",
              "original_only"
            ],
            "title": "Purpose"
          },
          "tracks": {
            "items": {
              "$ref": "#/components/schemas/FitTrack"
            },
            "type": "array",
            "maxItems": 16,
            "title": "Tracks"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "selection_revision",
          "transcript_revision",
          "settings_revision",
          "purpose",
          "tracks"
        ],
        "title": "FitPlanCreate"
      },
      "FitRow": {
        "properties": {
          "id": {
            "type": "string",
            "maxLength": 36,
            "minLength": 1,
            "title": "Id"
          },
          "expected_source_revision_id": {
            "type": "string",
            "maxLength": 36,
            "minLength": 1,
            "title": "Expected Source Revision Id"
          },
          "expected_source_text_fingerprint": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$",
            "title": "Expected Source Text Fingerprint"
          },
          "translation_revision": {
            "type": "integer",
            "maximum": 2147483647,
            "minimum": 0,
            "title": "Translation Revision"
          },
          "selection_revision": {
            "type": "integer",
            "maximum": 2147483647,
            "minimum": 0,
            "title": "Selection Revision"
          },
          "output_id": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 36,
                "minLength": 1
              },
              {
                "type": "null"
              }
            ],
            "title": "Output Id"
          },
          "review_revision": {
            "type": "integer",
            "maximum": 2147483647,
            "minimum": 0,
            "title": "Review Revision"
          },
          "qc_evidence_fingerprint": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-f0-9]{64}$"
              },
              {
                "type": "null"
              }
            ],
            "title": "Qc Evidence Fingerprint"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "id",
          "expected_source_revision_id",
          "expected_source_text_fingerprint",
          "translation_revision",
          "selection_revision",
          "output_id",
          "review_revision",
          "qc_evidence_fingerprint"
        ],
        "title": "FitRow"
      },
      "FitSettingsBody": {
        "properties": {
          "mode": {
            "type": "string",
            "enum": [
              "fixed",
              "smart"
            ],
            "title": "Mode",
            "default": "fixed"
          },
          "max_audio_speed": {
            "$ref": "#/components/schemas/Rate"
          },
          "max_picture_factor": {
            "$ref": "#/components/schemas/Rate"
          },
          "max_borrow_ms": {
            "type": "integer",
            "maximum": 60000,
            "minimum": 0,
            "title": "Max Borrow Ms",
            "default": 0
          },
          "max_output_duration_ms": {
            "type": "integer",
            "maximum": 57600000,
            "minimum": 1,
            "title": "Max Output Duration Ms",
            "default": 57600000
          }
        },
        "additionalProperties": false,
        "type": "object",
        "title": "FitSettingsBody"
      },
      "FitSettingsPut": {
        "properties": {
          "revision": {
            "type": "integer",
            "maximum": 2147483647,
            "minimum": 0,
            "title": "Revision"
          },
          "settings": {
            "$ref": "#/components/schemas/FitSettingsBody"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "revision",
          "settings"
        ],
        "title": "FitSettingsPut"
      },
      "FitTrack": {
        "properties": {
          "tag": {
            "type": "string",
            "maxLength": 40,
            "minLength": 2,
            "title": "Tag"
          },
          "segments": {
            "items": {
              "$ref": "#/components/schemas/FitRow"
            },
            "type": "array",
            "maxItems": 1000,
            "minItems": 1,
            "title": "Segments"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "tag",
          "segments"
        ],
        "title": "FitTrack"
      },
      "HTTPValidationError": {
        "properties": {
          "detail": {
            "items": {
              "$ref": "#/components/schemas/ValidationError"
            },
            "type": "array",
            "title": "Detail"
          }
        },
        "type": "object",
        "title": "HTTPValidationError"
      },
      "ImportApply": {
        "properties": {
          "selection_revision": {
            "type": "integer",
            "maximum": 2147483647,
            "minimum": 1,
            "title": "Selection Revision"
          },
          "transcript_revision": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 36,
                "minLength": 1
              },
              {
                "type": "null"
              }
            ],
            "title": "Transcript Revision"
          },
          "format": {
            "type": "string",
            "enum": [
              "srt",
              "vtt",
              "numbered"
            ],
            "title": "Format"
          },
          "content": {
            "type": "string",
            "maxLength": 262144,
            "minLength": 1,
            "title": "Content"
          },
          "digest": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$",
            "title": "Digest"
          },
          "mapping": {
            "items": {
              "$ref": "#/components/schemas/CueMapping"
            },
            "type": "array",
            "maxItems": 1000,
            "minItems": 1,
            "title": "Mapping"
          },
          "mode": {
            "type": "string",
            "enum": [
              "new_transcript",
              "replace_current"
            ],
            "title": "Mode",
            "default": "new_transcript"
          },
          "force_locked": {
            "type": "boolean",
            "title": "Force Locked",
            "default": false
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "selection_revision",
          "transcript_revision",
          "format",
          "content",
          "digest",
          "mapping"
        ],
        "title": "ImportApply"
      },
      "ImportPreview": {
        "properties": {
          "selection_revision": {
            "type": "integer",
            "maximum": 2147483647,
            "minimum": 1,
            "title": "Selection Revision"
          },
          "transcript_revision": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 36,
                "minLength": 1
              },
              {
                "type": "null"
              }
            ],
            "title": "Transcript Revision"
          },
          "format": {
            "type": "string",
            "enum": [
              "srt",
              "vtt",
              "numbered"
            ],
            "title": "Format"
          },
          "content": {
            "type": "string",
            "maxLength": 262144,
            "minLength": 1,
            "title": "Content"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "selection_revision",
          "transcript_revision",
          "format",
          "content"
        ],
        "title": "ImportPreview"
      },
      "LoginInput": {
        "properties": {
          "email": {
            "type": "string",
            "maxLength": 254,
            "title": "Email"
          },
          "password": {
            "type": "string",
            "maxLength": 128,
            "minLength": 10,
            "title": "Password"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "email",
          "password"
        ],
        "title": "LoginInput"
      },
      "PipelineCAS": {
        "properties": {
          "revision": {
            "type": "integer",
            "maximum": 2147483647,
            "minimum": 1,
            "title": "Revision"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "revision"
        ],
        "title": "PipelineCAS"
      },
      "PipelineContinue": {
        "properties": {
          "revision": {
            "type": "integer",
            "maximum": 2147483647,
            "minimum": 1,
            "title": "Revision"
          },
          "kind": {
            "type": "string",
            "enum": [
              "source",
              "translation",
              "reconcile"
            ],
            "title": "Kind"
          },
          "guard": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$",
            "title": "Guard"
          },
          "track_id": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 36,
                "minLength": 1
              },
              {
                "type": "null"
              }
            ],
            "title": "Track Id"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "revision",
          "kind",
          "guard"
        ],
        "title": "PipelineContinue"
      },
      "PipelinePolicyPut": {
        "properties": {
          "revision": {
            "type": "integer",
            "maximum": 2147483647,
            "minimum": 1,
            "title": "Revision"
          },
          "auto_advance": {
            "type": "boolean",
            "title": "Auto Advance"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "revision",
          "auto_advance"
        ],
        "title": "PipelinePolicyPut"
      },
      "PipelineScopePut": {
        "properties": {
          "target_track_ids": {
            "items": {
              "type": "string",
              "maxLength": 36,
              "minLength": 1
            },
            "type": "array",
            "maxItems": 16,
            "minItems": 1,
            "title": "Target Track Ids"
          },
          "delivery_track_ids": {
            "items": {
              "type": "string",
              "maxLength": 36,
              "minLength": 1
            },
            "type": "array",
            "maxItems": 16,
            "minItems": 1,
            "title": "Delivery Track Ids"
          },
          "revision": {
            "type": "integer",
            "maximum": 2147483647,
            "minimum": 1,
            "title": "Revision"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "target_track_ids",
          "delivery_track_ids",
          "revision"
        ],
        "title": "PipelineScopePut"
      },
      "PipelineStart": {
        "properties": {
          "target_track_ids": {
            "items": {
              "type": "string",
              "maxLength": 36,
              "minLength": 1
            },
            "type": "array",
            "maxItems": 16,
            "minItems": 1,
            "title": "Target Track Ids"
          },
          "delivery_track_ids": {
            "items": {
              "type": "string",
              "maxLength": 36,
              "minLength": 1
            },
            "type": "array",
            "maxItems": 16,
            "minItems": 1,
            "title": "Delivery Track Ids"
          },
          "expected_editor_fingerprint": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$",
            "title": "Expected Editor Fingerprint"
          },
          "source_mode": {
            "type": "string",
            "enum": [
              "automatic",
              "use_current",
              "manual_import"
            ],
            "title": "Source Mode",
            "default": "use_current"
          },
          "auto_advance": {
            "type": "boolean",
            "title": "Auto Advance",
            "default": false
          },
          "purpose": {
            "type": "string",
            "enum": [
              "dub",
              "incomplete_preview"
            ],
            "title": "Purpose",
            "default": "dub"
          },
          "delivery_options": {
            "$ref": "#/components/schemas/DeliveryOptions"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "target_track_ids",
          "delivery_track_ids",
          "expected_editor_fingerprint"
        ],
        "title": "PipelineStart"
      },
      "ProjectCreate": {
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 200,
            "minLength": 1,
            "title": "Name"
          },
          "source_language": {
            "type": "string",
            "maxLength": 40,
            "minLength": 2,
            "pattern": "^[A-Za-z][A-Za-z0-9-]+$",
            "title": "Source Language",
            "default": "auto"
          },
          "target_languages": {
            "items": {
              "type": "string",
              "maxLength": 40,
              "minLength": 2,
              "pattern": "^[A-Za-z][A-Za-z0-9-]+$"
            },
            "type": "array",
            "maxItems": 20,
            "minItems": 1,
            "title": "Target Languages"
          },
          "source_track_index": {
            "type": "integer",
            "maximum": 100,
            "minimum": 0,
            "title": "Source Track Index",
            "default": 0
          },
          "settings": {
            "$ref": "#/components/schemas/ProjectSettings"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "name"
        ],
        "title": "ProjectCreate"
      },
      "ProjectPatch": {
        "properties": {
          "name": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 200,
                "minLength": 1
              },
              {
                "type": "null"
              }
            ],
            "title": "Name"
          },
          "source_language": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 40,
                "minLength": 2,
                "pattern": "^[A-Za-z][A-Za-z0-9-]+$"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Language"
          },
          "target_languages": {
            "anyOf": [
              {
                "items": {
                  "type": "string",
                  "maxLength": 40,
                  "minLength": 2,
                  "pattern": "^[A-Za-z][A-Za-z0-9-]+$"
                },
                "type": "array",
                "maxItems": 20,
                "minItems": 1
              },
              {
                "type": "null"
              }
            ],
            "title": "Target Languages"
          },
          "source_track_index": {
            "anyOf": [
              {
                "type": "integer",
                "maximum": 100,
                "minimum": 0
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Track Index"
          },
          "settings": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ProjectSettings"
              },
              {
                "type": "null"
              }
            ]
          },
          "revision": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 1
              },
              {
                "type": "null"
              }
            ],
            "title": "Revision"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "title": "ProjectPatch"
      },
      "ProjectSettings": {
        "properties": {
          "auto_advance": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Auto Advance"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "title": "ProjectSettings"
      },
      "ProviderBody": {
        "properties": {
          "revision": {
            "type": "integer",
            "minimum": 0,
            "title": "Revision"
          },
          "adapter": {
            "type": "string",
            "enum": [
              "hf_router",
              "openai_compatible",
              "omnivoice",
              "demucs",
              "demucs_multistem",
              "nvidia_stream",
              "hf_asr"
            ],
            "title": "Adapter"
          },
          "endpoint": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 300
              },
              {
                "type": "null"
              }
            ],
            "title": "Endpoint"
          },
          "space_id": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 150
              },
              {
                "type": "null"
              }
            ],
            "title": "Space Id"
          },
          "model": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 200
              },
              {
                "type": "null"
              }
            ],
            "title": "Model"
          },
          "controls": {
            "additionalProperties": true,
            "type": "object",
            "title": "Controls"
          },
          "credential_ref": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "huggingface",
                  "translation"
                ]
              },
              {
                "type": "null"
              }
            ],
            "title": "Credential Ref"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "revision",
          "adapter"
        ],
        "title": "ProviderBody"
      },
      "QCRow": {
        "properties": {
          "id": {
            "type": "string",
            "maxLength": 36,
            "minLength": 1,
            "title": "Id"
          },
          "translation_revision": {
            "type": "integer",
            "maximum": 2147483647,
            "minimum": 0,
            "title": "Translation Revision"
          },
          "expected_source_text_fingerprint": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$",
            "title": "Expected Source Text Fingerprint"
          },
          "selection_revision": {
            "type": "integer",
            "maximum": 2147483647,
            "minimum": 0,
            "title": "Selection Revision"
          },
          "output_id": {
            "type": "string",
            "maxLength": 36,
            "minLength": 1,
            "title": "Output Id"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "id",
          "translation_revision",
          "expected_source_text_fingerprint",
          "selection_revision",
          "output_id"
        ],
        "title": "QCRow"
      },
      "Rate": {
        "properties": {
          "numerator": {
            "type": "integer",
            "maximum": 4000000,
            "minimum": 1,
            "title": "Numerator"
          },
          "denominator": {
            "type": "integer",
            "maximum": 1000000,
            "minimum": 1,
            "title": "Denominator"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "numerator",
          "denominator"
        ],
        "title": "Rate"
      },
      "RegisterInput": {
        "properties": {
          "email": {
            "type": "string",
            "maxLength": 254,
            "title": "Email"
          },
          "password": {
            "type": "string",
            "maxLength": 128,
            "minLength": 10,
            "title": "Password"
          },
          "name": {
            "type": "string",
            "maxLength": 100,
            "minLength": 1,
            "title": "Name"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "email",
          "password",
          "name"
        ],
        "title": "RegisterInput"
      },
      "RowRevision": {
        "properties": {
          "id": {
            "type": "string",
            "maxLength": 36,
            "minLength": 1,
            "title": "Id"
          },
          "revision": {
            "type": "integer",
            "maximum": 2147483647,
            "minimum": 1,
            "title": "Revision"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "id",
          "revision"
        ],
        "title": "RowRevision"
      },
      "RunCreate": {
        "properties": {
          "stage": {
            "type": "string",
            "maxLength": 40,
            "minLength": 1,
            "pattern": "^[a-z][a-z0-9_]*$",
            "title": "Stage"
          },
          "target_language": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 40,
                "minLength": 1,
                "pattern": "^[A-Za-z0-9-]+$"
              },
              {
                "type": "null"
              }
            ],
            "title": "Target Language"
          },
          "segment_id": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 36,
                "minLength": 1,
                "pattern": "^[A-Za-z0-9-]+$"
              },
              {
                "type": "null"
              }
            ],
            "title": "Segment Id"
          },
          "options": {
            "additionalProperties": true,
            "type": "object",
            "title": "Options"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "stage"
        ],
        "title": "RunCreate"
      },
      "RunRetry": {
        "properties": {
          "acknowledge_uncertain_submission": {
            "type": "boolean",
            "title": "Acknowledge Uncertain Submission",
            "default": false
          }
        },
        "additionalProperties": false,
        "type": "object",
        "title": "RunRetry"
      },
      "SegmentCreate": {
        "properties": {
          "text": {
            "type": "string",
            "maxLength": 10000,
            "minLength": 1,
            "title": "Text"
          },
          "start_ms": {
            "type": "integer",
            "maximum": 2147483647,
            "minimum": 0,
            "title": "Start Ms"
          },
          "end_ms": {
            "type": "integer",
            "maximum": 2147483647,
            "minimum": 0,
            "title": "End Ms"
          },
          "speaker_id": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 36,
                "minLength": 1
              },
              {
                "type": "null"
              }
            ],
            "title": "Speaker Id"
          },
          "selection_revision": {
            "type": "integer",
            "maximum": 2147483647,
            "minimum": 1,
            "title": "Selection Revision"
          },
          "transcript_revision": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 36,
                "minLength": 1
              },
              {
                "type": "null"
              }
            ],
            "title": "Transcript Revision"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "text",
          "start_ms",
          "end_ms",
          "selection_revision",
          "transcript_revision"
        ],
        "title": "SegmentCreate"
      },
      "SegmentMerge": {
        "properties": {
          "text": {
            "type": "string",
            "maxLength": 10000,
            "minLength": 1,
            "title": "Text"
          },
          "start_ms": {
            "type": "integer",
            "maximum": 2147483647,
            "minimum": 0,
            "title": "Start Ms"
          },
          "end_ms": {
            "type": "integer",
            "maximum": 2147483647,
            "minimum": 0,
            "title": "End Ms"
          },
          "speaker_id": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 36,
                "minLength": 1
              },
              {
                "type": "null"
              }
            ],
            "title": "Speaker Id"
          },
          "selection_revision": {
            "type": "integer",
            "maximum": 2147483647,
            "minimum": 1,
            "title": "Selection Revision"
          },
          "transcript_revision": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 36,
                "minLength": 1
              },
              {
                "type": "null"
              }
            ],
            "title": "Transcript Revision"
          },
          "segments": {
            "items": {
              "$ref": "#/components/schemas/RowRevision"
            },
            "type": "array",
            "maxItems": 20,
            "minItems": 2,
            "title": "Segments"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "text",
          "start_ms",
          "end_ms",
          "speaker_id",
          "selection_revision",
          "transcript_revision",
          "segments"
        ],
        "title": "SegmentMerge"
      },
      "SegmentPatch": {
        "properties": {
          "selection_revision": {
            "type": "integer",
            "maximum": 2147483647,
            "minimum": 1,
            "title": "Selection Revision"
          },
          "transcript_revision": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 36,
                "minLength": 1
              },
              {
                "type": "null"
              }
            ],
            "title": "Transcript Revision"
          },
          "revision": {
            "type": "integer",
            "maximum": 2147483647,
            "minimum": 1,
            "title": "Revision"
          },
          "text": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 10000,
                "minLength": 1
              },
              {
                "type": "null"
              }
            ],
            "title": "Text"
          },
          "start_ms": {
            "anyOf": [
              {
                "type": "integer",
                "maximum": 2147483647,
                "minimum": 0
              },
              {
                "type": "null"
              }
            ],
            "title": "Start Ms"
          },
          "end_ms": {
            "anyOf": [
              {
                "type": "integer",
                "maximum": 2147483647,
                "minimum": 0
              },
              {
                "type": "null"
              }
            ],
            "title": "End Ms"
          },
          "speaker_id": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 36,
                "minLength": 1
              },
              {
                "type": "null"
              }
            ],
            "title": "Speaker Id"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "selection_revision",
          "transcript_revision",
          "revision"
        ],
        "title": "SegmentPatch"
      },
      "SegmentSplit": {
        "properties": {
          "selection_revision": {
            "type": "integer",
            "maximum": 2147483647,
            "minimum": 1,
            "title": "Selection Revision"
          },
          "transcript_revision": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 36,
                "minLength": 1
              },
              {
                "type": "null"
              }
            ],
            "title": "Transcript Revision"
          },
          "revision": {
            "type": "integer",
            "maximum": 2147483647,
            "minimum": 1,
            "title": "Revision"
          },
          "parts": {
            "items": {
              "$ref": "#/components/schemas/SplitPart"
            },
            "type": "array",
            "maxItems": 20,
            "minItems": 2,
            "title": "Parts"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "selection_revision",
          "transcript_revision",
          "revision",
          "parts"
        ],
        "title": "SegmentSplit"
      },
      "SelectionPut": {
        "properties": {
          "revision": {
            "type": "integer",
            "maximum": 2147483647,
            "minimum": 1,
            "title": "Revision"
          },
          "source_asset_id": {
            "type": "string",
            "maxLength": 36,
            "minLength": 1,
            "title": "Source Asset Id"
          },
          "audio_ordinal": {
            "type": "integer",
            "maximum": 100,
            "minimum": 0,
            "title": "Audio Ordinal"
          },
          "start_ms": {
            "type": "integer",
            "maximum": 2147483647,
            "minimum": 0,
            "title": "Start Ms",
            "default": 0
          },
          "end_ms": {
            "anyOf": [
              {
                "type": "integer",
                "maximum": 2147483647,
                "minimum": 0
              },
              {
                "type": "null"
              }
            ],
            "title": "End Ms"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "revision",
          "source_asset_id",
          "audio_ordinal"
        ],
        "title": "SelectionPut"
      },
      "SourceGuard": {
        "properties": {
          "selection_revision": {
            "type": "integer",
            "maximum": 2147483647,
            "minimum": 1,
            "title": "Selection Revision"
          },
          "transcript_revision": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 36,
                "minLength": 1
              },
              {
                "type": "null"
              }
            ],
            "title": "Transcript Revision"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "selection_revision",
          "transcript_revision"
        ],
        "title": "SourceGuard"
      },
      "SourceImportCreate": {
        "properties": {
          "url": {
            "type": "string",
            "maxLength": 8192,
            "minLength": 1,
            "title": "Url"
          },
          "revision": {
            "type": "integer",
            "minimum": 1,
            "title": "Revision"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "url",
          "revision"
        ],
        "title": "SourceImportCreate"
      },
      "SpeakerCreate": {
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 100,
            "minLength": 1,
            "title": "Name"
          },
          "description": {
            "type": "string",
            "maxLength": 1000,
            "title": "Description",
            "default": ""
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "name"
        ],
        "title": "SpeakerCreate"
      },
      "SpeakerMerge": {
        "properties": {
          "selection_revision": {
            "type": "integer",
            "maximum": 2147483647,
            "minimum": 1,
            "title": "Selection Revision"
          },
          "transcript_revision": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 36,
                "minLength": 1
              },
              {
                "type": "null"
              }
            ],
            "title": "Transcript Revision"
          },
          "source_id": {
            "type": "string",
            "maxLength": 36,
            "minLength": 1,
            "title": "Source Id"
          },
          "source_revision": {
            "type": "integer",
            "maximum": 2147483647,
            "minimum": 1,
            "title": "Source Revision"
          },
          "target_id": {
            "type": "string",
            "maxLength": 36,
            "minLength": 1,
            "title": "Target Id"
          },
          "target_revision": {
            "type": "integer",
            "maximum": 2147483647,
            "minimum": 1,
            "title": "Target Revision"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "selection_revision",
          "transcript_revision",
          "source_id",
          "source_revision",
          "target_id",
          "target_revision"
        ],
        "title": "SpeakerMerge"
      },
      "SpeakerPatch": {
        "properties": {
          "revision": {
            "type": "integer",
            "maximum": 2147483647,
            "minimum": 1,
            "title": "Revision"
          },
          "name": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 100,
                "minLength": 1
              },
              {
                "type": "null"
              }
            ],
            "title": "Name"
          },
          "description": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 1000
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          },
          "archived": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Archived"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "revision"
        ],
        "title": "SpeakerPatch"
      },
      "SplitPart": {
        "properties": {
          "text": {
            "type": "string",
            "maxLength": 10000,
            "minLength": 1,
            "title": "Text"
          },
          "start_ms": {
            "type": "integer",
            "maximum": 2147483647,
            "minimum": 0,
            "title": "Start Ms"
          },
          "end_ms": {
            "type": "integer",
            "maximum": 2147483647,
            "minimum": 0,
            "title": "End Ms"
          },
          "speaker_id": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 36,
                "minLength": 1
              },
              {
                "type": "null"
              }
            ],
            "title": "Speaker Id"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "text",
          "start_ms",
          "end_ms",
          "speaker_id"
        ],
        "title": "SplitPart"
      },
      "SuggestionApply": {
        "properties": {
          "selection_revision": {
            "type": "integer",
            "maximum": 2147483647,
            "minimum": 1,
            "title": "Selection Revision"
          },
          "transcript_revision": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 36,
                "minLength": 1
              },
              {
                "type": "null"
              }
            ],
            "title": "Transcript Revision"
          },
          "phase_id": {
            "type": "string",
            "maxLength": 36,
            "minLength": 1,
            "title": "Phase Id"
          },
          "segments": {
            "items": {
              "$ref": "#/components/schemas/TranslationRow"
            },
            "type": "array",
            "maxItems": 200,
            "minItems": 1,
            "title": "Segments"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "selection_revision",
          "transcript_revision",
          "phase_id",
          "segments"
        ],
        "title": "SuggestionApply"
      },
      "SynthesisRow": {
        "properties": {
          "id": {
            "type": "string",
            "maxLength": 36,
            "minLength": 1,
            "title": "Id"
          },
          "translation_revision": {
            "type": "integer",
            "maximum": 2147483647,
            "minimum": 0,
            "title": "Translation Revision"
          },
          "expected_source_text_fingerprint": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$",
            "title": "Expected Source Text Fingerprint"
          },
          "selection_revision": {
            "type": "integer",
            "maximum": 2147483647,
            "minimum": 0,
            "title": "Selection Revision"
          },
          "review_translation_revision": {
            "anyOf": [
              {
                "type": "integer",
                "maximum": 2147483647,
                "minimum": 0
              },
              {
                "type": "null"
              }
            ],
            "title": "Review Translation Revision"
          },
          "review_reference_version_id": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 36,
                "minLength": 1
              },
              {
                "type": "null"
              }
            ],
            "title": "Review Reference Version Id"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "id",
          "translation_revision",
          "expected_source_text_fingerprint",
          "selection_revision"
        ],
        "title": "SynthesisRow"
      },
      "Synthesize": {
        "properties": {
          "selection_revision": {
            "type": "integer",
            "maximum": 2147483647,
            "minimum": 1,
            "title": "Selection Revision"
          },
          "transcript_revision": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 36,
                "minLength": 1
              },
              {
                "type": "null"
              }
            ],
            "title": "Transcript Revision"
          },
          "segments": {
            "items": {
              "$ref": "#/components/schemas/SynthesisRow"
            },
            "type": "array",
            "maxItems": 1000,
            "minItems": 1,
            "title": "Segments"
          },
          "replace_selected": {
            "type": "boolean",
            "title": "Replace Selected",
            "default": false
          },
          "regenerate": {
            "type": "boolean",
            "title": "Regenerate",
            "default": false
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "selection_revision",
          "transcript_revision",
          "segments"
        ],
        "title": "Synthesize"
      },
      "TrackCreate": {
        "properties": {
          "summary": {
            "type": "string",
            "maxLength": 20000,
            "title": "Summary",
            "default": ""
          },
          "glossary": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object",
            "maxProperties": 200,
            "title": "Glossary"
          },
          "tag": {
            "type": "string",
            "maxLength": 40,
            "minLength": 2,
            "title": "Tag"
          },
          "mode": {
            "type": "string",
            "enum": [
              "Fast",
              "Cinematic",
              "Autofit"
            ],
            "title": "Mode",
            "default": "Fast"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "tag"
        ],
        "title": "TrackCreate"
      },
      "TrackPatch": {
        "properties": {
          "summary": {
            "type": "string",
            "maxLength": 20000,
            "title": "Summary",
            "default": ""
          },
          "glossary": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object",
            "maxProperties": 200,
            "title": "Glossary"
          },
          "revision": {
            "type": "integer",
            "maximum": 2147483647,
            "minimum": 1,
            "title": "Revision"
          },
          "mode": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "Fast",
                  "Cinematic",
                  "Autofit"
                ]
              },
              {
                "type": "null"
              }
            ],
            "title": "Mode"
          },
          "archived": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Archived"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "revision"
        ],
        "title": "TrackPatch"
      },
      "TranslateCommand": {
        "properties": {
          "selection_revision": {
            "type": "integer",
            "maximum": 2147483647,
            "minimum": 1,
            "title": "Selection Revision"
          },
          "transcript_revision": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 36,
                "minLength": 1
              },
              {
                "type": "null"
              }
            ],
            "title": "Transcript Revision"
          },
          "track_revision": {
            "type": "integer",
            "maximum": 2147483647,
            "minimum": 1,
            "title": "Track Revision"
          },
          "segments": {
            "items": {
              "$ref": "#/components/schemas/TranslationRow"
            },
            "type": "array",
            "maxItems": 1000,
            "minItems": 1,
            "title": "Segments"
          },
          "force_replace": {
            "type": "boolean",
            "title": "Force Replace",
            "default": false
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "selection_revision",
          "transcript_revision",
          "track_revision",
          "segments"
        ],
        "title": "TranslateCommand"
      },
      "TranslationPatch": {
        "properties": {
          "selection_revision": {
            "type": "integer",
            "maximum": 2147483647,
            "minimum": 1,
            "title": "Selection Revision"
          },
          "transcript_revision": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 36,
                "minLength": 1
              },
              {
                "type": "null"
              }
            ],
            "title": "Transcript Revision"
          },
          "revision": {
            "type": "integer",
            "maximum": 2147483647,
            "minimum": 0,
            "title": "Revision"
          },
          "expected_source_text_fingerprint": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$",
            "title": "Expected Source Text Fingerprint"
          },
          "text": {
            "type": "string",
            "maxLength": 10000,
            "minLength": 1,
            "title": "Text"
          },
          "locked": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Locked"
          },
          "approved": {
            "type": "boolean",
            "title": "Approved",
            "default": false
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "selection_revision",
          "transcript_revision",
          "revision",
          "expected_source_text_fingerprint",
          "text"
        ],
        "title": "TranslationPatch"
      },
      "TranslationRow": {
        "properties": {
          "id": {
            "type": "string",
            "maxLength": 36,
            "minLength": 1,
            "title": "Id"
          },
          "revision": {
            "type": "integer",
            "maximum": 2147483647,
            "minimum": 0,
            "title": "Revision"
          },
          "expected_source_text_fingerprint": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$",
            "title": "Expected Source Text Fingerprint"
          },
          "locked": {
            "type": "boolean",
            "title": "Locked"
          },
          "approved": {
            "type": "boolean",
            "title": "Approved"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "id",
          "revision",
          "expected_source_text_fingerprint",
          "locked",
          "approved"
        ],
        "title": "TranslationRow"
      },
      "ValidationError": {
        "properties": {
          "loc": {
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "type": "array",
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          },
          "input": {
            "title": "Input"
          },
          "ctx": {
            "type": "object",
            "title": "Context"
          }
        },
        "type": "object",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "title": "ValidationError"
      },
      "VersionBody": {
        "properties": {
          "text": {
            "type": "string",
            "maxLength": 10000,
            "minLength": 1,
            "title": "Text"
          },
          "language": {
            "type": "string",
            "maxLength": 40,
            "minLength": 2,
            "title": "Language"
          },
          "parent_version_id": {
            "type": "string",
            "maxLength": 36,
            "minLength": 1,
            "title": "Parent Version Id"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "text",
          "language",
          "parent_version_id"
        ],
        "title": "VersionBody"
      },
      "VoiceQC": {
        "properties": {
          "selection_revision": {
            "type": "integer",
            "maximum": 2147483647,
            "minimum": 1,
            "title": "Selection Revision"
          },
          "transcript_revision": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 36,
                "minLength": 1
              },
              {
                "type": "null"
              }
            ],
            "title": "Transcript Revision"
          },
          "segments": {
            "items": {
              "$ref": "#/components/schemas/QCRow"
            },
            "type": "array",
            "maxItems": 1000,
            "minItems": 1,
            "title": "Segments"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "selection_revision",
          "transcript_revision",
          "segments"
        ],
        "title": "VoiceQC"
      },
      "VoiceSettingsPut": {
        "properties": {
          "selection_revision": {
            "type": "integer",
            "maximum": 2147483647,
            "minimum": 1,
            "title": "Selection Revision"
          },
          "transcript_revision": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 36,
                "minLength": 1
              },
              {
                "type": "null"
              }
            ],
            "title": "Transcript Revision"
          },
          "revision": {
            "type": "integer",
            "maximum": 2147483647,
            "minimum": 0,
            "title": "Revision"
          },
          "controls": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Controls"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "selection_revision",
          "transcript_revision",
          "revision",
          "controls"
        ],
        "title": "VoiceSettingsPut"
      },
      "WaveformCreate": {
        "properties": {
          "guard": {
            "$ref": "#/components/schemas/SourceGuard"
          },
          "kind": {
            "type": "string",
            "enum": [
              "source",
              "natural_voice"
            ],
            "title": "Kind"
          },
          "output_id": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 36,
                "minLength": 1
              },
              {
                "type": "null"
              }
            ],
            "title": "Output Id"
          },
          "bins": {
            "type": "integer",
            "maximum": 2000,
            "minimum": 1,
            "title": "Bins",
            "default": 600
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "guard",
          "kind"
        ],
        "title": "WaveformCreate"
      },
      "WorkflowCommand": {
        "properties": {
          "action": {
            "type": "string",
            "enum": [
              "analyse",
              "prepare_media"
            ],
            "title": "Action"
          },
          "expected_editor_fingerprint": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$",
            "title": "Expected Editor Fingerprint"
          },
          "auto_advance": {
            "type": "boolean",
            "title": "Auto Advance",
            "default": false
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "action",
          "expected_editor_fingerprint"
        ],
        "title": "WorkflowCommand"
      }
    }
  },
  "servers": [
    {
      "url": "https://video-translate-gateway.moosemosse19.workers.dev",
      "description": "Cloudflare Edge Gateway (自动编码/解码封装至 Hugging Face 后端)"
    },
    {
      "url": "https://lpdoctor-video-translate-production.hf.space",
      "description": "Hugging Face Space 后端直连地址"
    }
  ]
}