{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/shortgenius-com/json-schema/shortgenius-com-video-schema.json",
  "title": "Video",
  "description": "Details about the created or retrieved video, including scenes and their media.",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/shortgenius-com-openapi.yaml#/components/schemas/Video",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "title": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 100
    },
    "caption": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 4000
    },
    "created_at": {
      "type": "string",
      "description": "Date and time (ISO 8601) when the video was created."
    },
    "updated_at": {
      "type": [
        "string",
        "null"
      ],
      "description": "Date and time (ISO 8601) when the video was last updated."
    },
    "series_id": {
      "type": "string",
      "format": "uuid",
      "description": "ID of the associated series."
    },
    "publishing_state": {
      "type": "string",
      "enum": [
        "pending",
        "processing",
        "completed",
        "skipped",
        "error"
      ],
      "description": "Upload status of the video."
    },
    "publish_at": {
      "type": [
        "string",
        "null"
      ],
      "description": "Date and time (ISO 8601) when the video was fully uploaded."
    }
  },
  "required": [
    "id",
    "created_at",
    "series_id",
    "publishing_state",
    "publish_at"
  ]
}