{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cliponit-app/json-schema/cliponit-app-broll-schema.json",
  "title": "Broll",
  "description": "Stock/uploaded footage replacing the picture between `start` and `end` (absolute seconds inside the clip); source audio is kept.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cliponit-app-enrich-api-openapi.yml#/components/schemas/Broll",
  "type": "object",
  "required": [
    "id",
    "start",
    "end",
    "src",
    "path"
  ],
  "properties": {
    "id": {
      "type": "string"
    },
    "start": {
      "type": "number"
    },
    "end": {
      "type": "number"
    },
    "src": {
      "type": "string",
      "enum": [
        "pexels",
        "upload"
      ]
    },
    "path": {
      "type": "string",
      "description": "Server path under data/broll/ (send back unchanged)"
    },
    "preview_url": {
      "type": [
        "string",
        "null"
      ]
    },
    "query": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}