{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/call2me-app/json-schema/call2me-app-summarize-request-schema.json",
  "title": "SummarizeRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/call2me-app-extensions-api-openapi.yml#/components/schemas/SummarizeRequest",
  "properties": {
    "kind": {
      "type": "string",
      "enum": [
        "article",
        "video"
      ],
      "title": "Kind"
    },
    "url": {
      "type": "string",
      "maxLength": 2048,
      "title": "Url",
      "default": ""
    },
    "title": {
      "type": "string",
      "maxLength": 512,
      "title": "Title",
      "default": ""
    },
    "text": {
      "type": "string",
      "maxLength": 500000,
      "minLength": 1,
      "title": "Text"
    },
    "video_seconds": {
      "anyOf": [
        {
          "type": "number",
          "maximum": 86400.0,
          "minimum": 0.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Video Seconds"
    },
    "lang": {
      "type": "string",
      "maxLength": 8,
      "title": "Lang",
      "default": "en"
    }
  },
  "type": "object",
  "required": [
    "kind",
    "text"
  ]
}