{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/valossa-com/json-schema/valossa-com-visual-captions-metadata-schema.json",
  "title": "VisualCaptionsMetadata",
  "description": "Visual scene description metadata returned when `type=visual_captions`.\nUses `selected_sections` with `caption` text and `section.s_start` / `section.s_end`\ntime fields instead of the Core metadata `ss` / `se` naming convention.\n",
  "x-generated": "2026-11-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/valossa-com-openapi.yaml#/components/schemas/VisualCaptionsMetadata",
  "type": "object",
  "properties": {
    "version_info": {
      "type": "object",
      "properties": {
        "metadata_type": {
          "type": "string",
          "enum": [
            "visual_captions"
          ]
        },
        "metadata_format_version": {
          "type": "string"
        }
      }
    },
    "selected_sections": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "caption": {
            "type": "string",
            "description": "Natural-language description of the selected visual section"
          },
          "section": {
            "type": "object",
            "properties": {
              "s_start": {
                "type": "number",
                "description": "Section start time in seconds"
              },
              "s_end": {
                "type": "number",
                "description": "Section end time in seconds"
              },
              "shot_index": {
                "type": "number",
                "description": "Shot index (first shot in the video is indexed as 0)"
              }
            }
          }
        }
      }
    }
  }
}