{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ssemble-com/json-schema/ssemble-com-get-shorts-id-response-schema.json",
  "title": "GetShortsIdResponse",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/ssemble-com-openapi-generated.yml#/components/schemas/GetShortsIdResponse",
  "type": "object",
  "properties": {
    "_id": {
      "type": "string",
      "description": "The request ID."
    },
    "status": {
      "type": "string",
      "description": "Processing status (completed, failed, etc.)."
    },
    "progress": {
      "type": "number",
      "description": "Processing progress (0–100)."
    },
    "userEmail": {
      "type": "string",
      "description": "Email of the user who created the request."
    },
    "url": {
      "type": "string",
      "description": "Original source video URL."
    },
    "start": {
      "type": "number",
      "description": "Start time that was processed (seconds)."
    },
    "end": {
      "type": "number",
      "description": "End time that was processed (seconds)."
    },
    "title": {
      "type": "string",
      "description": "Title of the source video."
    },
    "language": {
      "type": "string",
      "description": "Language used for transcription."
    },
    "template": {
      "type": "string",
      "description": "Caption template name that was applied."
    },
    "captionLanguage": {
      "type": "string",
      "description": "Caption language (empty string if same as language)."
    },
    "heatmap": {
      "type": "array",
      "description": "Engagement heatmap data for the source video (may be empty)."
    },
    "sentences": {
      "type": "array",
      "description": "Full transcription broken into sentences."
    },
    "preferredLength": {
      "type": "string",
      "description": "Preferred clip length setting used."
    },
    "projectId": {
      "type": "string",
      "description": "Associated project ID, or null if not linked to a project."
    },
    "shorts": {
      "type": "array",
      "description": "Generated clips array, each with fields: id, title, sentenceIndexes, reason, description, viral_score, video_url, startTimestamp, endTimestamp, duration, width, height, recompiling, error, errorMessage (if error), posts."
    }
  }
}