{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/vidnotes-app/json-schema/vidnotes-app-video-analyze-request-schema.json",
  "title": "VideoAnalyzeRequest",
  "x-generated": "2026-11-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/vidnotes-app-openapi.json#/components/schemas/VideoAnalyzeRequest",
  "properties": {
    "url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Url"
    },
    "projectId": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Projectid"
    },
    "transcriptText": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Transcripttext"
    },
    "title": {
      "type": "string",
      "title": "Title",
      "default": ""
    },
    "author": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Author"
    },
    "durationSeconds": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Durationseconds"
    },
    "publishedAt": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Publishedat"
    },
    "features": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Features"
    },
    "options": {
      "$ref": "#/$defs/AnalyzeOptions"
    },
    "segments": {
      "items": {
        "$ref": "#/$defs/PlatformTranscriptSegment"
      },
      "type": "array",
      "title": "Segments"
    },
    "asyncJob": {
      "type": "boolean",
      "title": "Asyncjob",
      "default": false
    },
    "idempotencyKey": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Idempotencykey"
    }
  },
  "type": "object",
  "$defs": {
    "AnalyzeOptions": {
      "properties": {
        "language": {
          "type": "string",
          "title": "Language",
          "default": "en"
        },
        "summaryLength": {
          "type": "string",
          "enum": [
            "concise",
            "standard",
            "detailed"
          ],
          "title": "Summarylength",
          "default": "standard"
        },
        "includeTranscriptSegments": {
          "type": "boolean",
          "title": "Includetranscriptsegments",
          "default": true
        }
      },
      "type": "object",
      "title": "AnalyzeOptions"
    },
    "PlatformTranscriptSegment": {
      "properties": {
        "start": {
          "type": "number",
          "title": "Start"
        },
        "end": {
          "type": "number",
          "title": "End"
        },
        "text": {
          "type": "string",
          "title": "Text"
        },
        "words": {
          "items": {
            "type": "object"
          },
          "type": "array",
          "title": "Words"
        }
      },
      "type": "object",
      "required": [
        "start",
        "end",
        "text"
      ],
      "title": "PlatformTranscriptSegment"
    }
  }
}