{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sumvid-app/json-schema/sumvid-app-summary-record-schema.json",
  "title": "SummaryRecord",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sumvid-app-openapi.json#/components/schemas/SummaryRecord",
  "properties": {
    "id": {
      "type": "integer",
      "title": "Id"
    },
    "video_id": {
      "type": "string",
      "title": "Video Id"
    },
    "video_url": {
      "type": "string",
      "title": "Video Url"
    },
    "title": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "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"
    },
    "summary": {
      "type": "string",
      "title": "Summary"
    },
    "provider": {
      "type": "string",
      "title": "Provider"
    },
    "model": {
      "type": "string",
      "title": "Model"
    },
    "prompt_version": {
      "type": "string",
      "title": "Prompt Version"
    },
    "language_code": {
      "type": "string",
      "title": "Language Code",
      "default": "en"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "title": "Created At"
    }
  },
  "type": "object",
  "required": [
    "id",
    "video_id",
    "video_url",
    "summary",
    "provider",
    "model",
    "prompt_version",
    "created_at"
  ]
}