{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/apidirect-io/json-schema/apidirect-io-youtube-video-details-response-schema.json",
  "title": "YoutubeVideoDetailsResponse",
  "description": "Inferred from a live response. Any field can be null or absent, and new fields may be added at any time.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/apidirect-io-youtube-api-openapi.yml#/components/schemas/YoutubeVideoDetailsResponse",
  "type": "object",
  "properties": {
    "video": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "video_id": {
          "type": [
            "string",
            "null"
          ]
        },
        "url": {
          "type": [
            "string",
            "null"
          ]
        },
        "title": {
          "type": [
            "string",
            "null"
          ]
        },
        "description": {
          "type": [
            "string",
            "null"
          ]
        },
        "author": {
          "type": [
            "string",
            "null"
          ]
        },
        "channel_id": {
          "type": [
            "string",
            "null"
          ]
        },
        "date": {
          "type": [
            "string",
            "null"
          ]
        },
        "duration": {
          "type": [
            "number",
            "null"
          ]
        },
        "views": {
          "type": [
            "number",
            "null"
          ]
        },
        "category": {
          "type": [
            "string",
            "null"
          ]
        },
        "type": {
          "type": [
            "string",
            "null"
          ]
        },
        "is_live": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "keywords": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "thumbnail": {
          "type": [
            "string",
            "null"
          ]
        },
        "ai_label": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "label": {},
            "text": {},
            "is_altered_or_synthetic": {
              "type": [
                "boolean",
                "null"
              ]
            },
            "is_auto_dubbed": {
              "type": [
                "boolean",
                "null"
              ]
            }
          }
        }
      }
    }
  }
}