{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ssemble-com/json-schema/ssemble-com-get-shorts-response-schema.json",
  "title": "GetShortsResponse",
  "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/GetShortsResponse",
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "description": "Container for the response payload"
    },
    "data.requests": {
      "type": "array",
      "description": "Array of request objects"
    },
    "data.requests[].requestId": {
      "type": "string",
      "description": "Unique request identifier — use with GET /shorts/:id to get full details"
    },
    "data.requests[].status": {
      "type": "string",
      "description": "Current processing status: queued, processing, completed, failed, or cancelled"
    },
    "data.requests[].progress": {
      "type": "number",
      "description": "Processing progress percentage (0–100)"
    },
    "data.requests[].createdAt": {
      "type": "string",
      "description": "ISO 8601 timestamp when the request was created"
    },
    "data.requests[].updatedAt": {
      "type": "string",
      "description": "ISO 8601 timestamp of the last status update"
    },
    "data.requests[].url": {
      "type": "string",
      "description": "Original video URL that was submitted"
    },
    "data.requests[].duration": {
      "type": "number",
      "description": "Requested time range in seconds (end - start)"
    },
    "data.pagination": {
      "type": "object",
      "description": "Pagination information"
    },
    "data.pagination.page": {
      "type": "integer",
      "description": "Current page number"
    },
    "data.pagination.limit": {
      "type": "integer",
      "description": "Items per page"
    },
    "data.pagination.totalPages": {
      "type": "integer",
      "description": "Total number of pages available"
    },
    "data.pagination.totalCount": {
      "type": "integer",
      "description": "Total number of matching requests"
    }
  }
}