{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sumvid-app/json-schema/sumvid-app-public-video-summary-schema.json",
  "title": "PublicVideoSummary",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sumvid-app-openapi.json#/components/schemas/PublicVideoSummary",
  "properties": {
    "youtube_video_id": {
      "type": "string",
      "title": "Youtube Video Id"
    },
    "video_url": {
      "type": "string",
      "title": "Video Url"
    },
    "title": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Title"
    },
    "original_title": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Original Title"
    },
    "channel": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Channel"
    },
    "thumbnail_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Thumbnail Url"
    },
    "duration_seconds": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Duration Seconds"
    },
    "first_transcribed_at": {
      "type": "string",
      "format": "date-time",
      "title": "First Transcribed At"
    },
    "published_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Published At"
    },
    "summary": {
      "type": "string",
      "title": "Summary"
    },
    "provider": {
      "type": "string",
      "title": "Provider"
    },
    "model": {
      "type": "string",
      "title": "Model"
    },
    "summarized_at": {
      "type": "string",
      "format": "date-time",
      "title": "Summarized At"
    },
    "language_code": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Language Code"
    },
    "requested_language": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Requested Language"
    },
    "available_languages": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Available Languages",
      "default": []
    },
    "translation_status": {
      "type": "string",
      "enum": [
        "available",
        "missing",
        "in_progress"
      ],
      "title": "Translation Status",
      "default": "available"
    },
    "is_fallback": {
      "type": "boolean",
      "title": "Is Fallback",
      "default": false
    },
    "request_count": {
      "type": "integer",
      "title": "Request Count"
    }
  },
  "type": "object",
  "required": [
    "youtube_video_id",
    "video_url",
    "first_transcribed_at",
    "summary",
    "provider",
    "model",
    "summarized_at",
    "request_count"
  ]
}