{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/api-video/json-schema/api-video-caption-schema.json",
  "title": "Caption",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/api-video-captions-api-openapi.yml#/components/schemas/caption",
  "type": "object",
  "properties": {
    "uri": {
      "type": "string",
      "description": "The unique resource identifier of the uploaded caption."
    },
    "src": {
      "type": "string",
      "description": "A direct URL to the uploaded caption file."
    },
    "srclang": {
      "type": "string",
      "description": "Indicates the language of the uploaded caption file using IETF language tags."
    },
    "languageName": {
      "type": "string",
      "description": "Returns the native name of the caption language in UTF-8 encoding."
    },
    "default": {
      "type": "boolean",
      "description": "Whether you will have subtitles or not. True for yes you will have subtitles, false for no you will not have subtitles.",
      "default": false
    }
  }
}