{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/scribiz/json-schema/scribiz-context-schema.json",
  "title": "Context",
  "description": "The result of a video: transcript, what was on screen, summary and chapters. Times are seconds. The same JSON the CLI writes with --format json.",
  "x-generated": "2026-11-08",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/scribiz-openapi.json#/components/schemas/Context",
  "properties": {
    "coverage": {
      "type": "object"
    },
    "id": {
      "description": "youtube:<id>, instagram:<id>, ... or local:<key> for an upload.",
      "type": "string"
    },
    "meta": {
      "type": "object"
    },
    "produced": {
      "type": "object"
    },
    "schema": {
      "const": 1
    },
    "source": {
      "type": "object"
    },
    "synthesis": {
      "type": [
        "object",
        "null"
      ]
    },
    "tiers": {
      "items": {
        "type": "object"
      },
      "type": "array"
    },
    "transcript": {
      "type": [
        "object",
        "null"
      ]
    },
    "usage": {
      "type": "object"
    },
    "visual": {
      "type": [
        "object",
        "null"
      ]
    },
    "warnings": {
      "items": {
        "type": "object"
      },
      "type": "array"
    }
  },
  "required": [
    "schema",
    "id",
    "meta",
    "source",
    "transcript",
    "visual",
    "synthesis",
    "tiers",
    "usage",
    "warnings"
  ],
  "type": "object"
}