{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/valossa-com/json-schema/valossa-com-new-job-request-schema.json",
  "title": "NewJobRequest",
  "x-generated": "2026-11-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/valossa-com-openapi.yaml#/components/schemas/NewJobRequest",
  "type": "object",
  "required": [
    "api_key",
    "media"
  ],
  "properties": {
    "api_key": {
      "type": "string",
      "description": "Your Valossa API key"
    },
    "media": {
      "type": "object",
      "required": [
        "video"
      ],
      "properties": {
        "video": {
          "type": "object",
          "required": [
            "url"
          ],
          "properties": {
            "url": {
              "type": "string",
              "format": "uri",
              "description": "Direct URL to the video file. Supports HTTP/HTTPS, Google Drive,\nDropbox, AWS S3 (if configured), and `valossaupload://` URIs.\n"
            }
          }
        },
        "transcript": {
          "type": "object",
          "description": "Optional pre-existing SRT transcript. Disables automatic speech-to-text.",
          "properties": {
            "url": {
              "type": "string",
              "format": "uri",
              "description": "Direct URL to an SRT subtitle file (max 5MB)"
            }
          }
        },
        "title": {
          "type": "string",
          "description": "Optional title for the video. Analyzed as external keyword source."
        },
        "description": {
          "type": "string",
          "description": "Optional freetext description in English. Analyzed as external keyword source.\nDetected concepts appear in `external.keyword.*` detections.\n"
        },
        "language": {
          "type": "string",
          "description": "BCP-47 language code for speech analysis. Defaults to `en-US`.\nSee supported languages documentation.\n",
          "default": "en-US"
        }
      }
    },
    "analysis_parameters": {
      "type": "object",
      "description": "Optional fine-tuning parameters for analysis",
      "properties": {
        "face_min_relative_height": {
          "type": "number",
          "format": "float",
          "minimum": 0,
          "maximum": 1,
          "description": "Minimum face height as a fraction of frame height to be detected"
        }
      }
    }
  }
}