{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/cloudflare/main/json-schema/cloudflare-video-response-schema.json", "title": "VideoResponse", "x-generated": "2026-10-03", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/cloudflare-videos-api-openapi.yml#/components/schemas/VideoResponse", "type": "object", "properties": { "result": { "$ref": "#/$defs/Video" }, "success": { "type": "boolean" }, "errors": { "type": "array", "items": { "type": "object" } }, "messages": { "type": "array", "items": { "type": "object" } } }, "$defs": { "Video": { "type": "object", "properties": { "uid": { "type": "string", "description": "The unique identifier of the video." }, "thumbnail": { "type": "string", "format": "uri", "description": "URL of the video thumbnail." }, "playback": { "type": "object", "properties": { "hls": { "type": "string", "format": "uri", "description": "HLS playback URL." }, "dash": { "type": "string", "format": "uri", "description": "DASH playback URL." } } }, "status": { "type": "object", "properties": { "state": { "type": "string", "enum": [ "pendingupload", "downloading", "queued", "inprogress", "ready", "error" ] }, "pctComplete": { "type": "string" } } }, "meta": { "type": "object", "description": "User-defined metadata." }, "created": { "type": "string", "format": "date-time" }, "modified": { "type": "string", "format": "date-time" }, "duration": { "type": "number", "description": "Duration of the video in seconds." }, "size": { "type": "integer", "description": "Size of the video in bytes." }, "requireSignedURLs": { "type": "boolean" }, "allowedOrigins": { "type": "array", "items": { "type": "string" } } } } } }