{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/arcmira/json-schema/arcmira-channel-coverage-response-schema.json",
  "title": "ChannelCoverageResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/arcmira-channels-api-openapi.yml#/components/schemas/ChannelCoverageResponse",
  "type": "object",
  "properties": {
    "channel": {
      "type": "object",
      "properties": {
        "youtube_channel_id": {
          "type": "string",
          "description": "The channel id as supplied."
        },
        "searchable_videos": {
          "type": "integer",
          "description": "Videos with a completed transcript. 0 means we do not cover the channel."
        },
        "indexed_through": {
          "type": [
            "string",
            "null"
          ],
          "description": "Newest publish date among those videos. Mentions, entity lookups and transcripts read through here. Null when nothing is indexed."
        },
        "search_indexed_through": {
          "type": [
            "string",
            "null"
          ],
          "description": "Newest publish date transcript search can hit. New transcripts are searchable when they are indexed, so it equals indexed_through."
        },
        "source_mix": {
          "type": "object",
          "properties": {
            "arcmira_premium": {
              "type": "integer"
            },
            "creator_captions": {
              "type": "integer"
            },
            "third_party_quick": {
              "type": "integer"
            }
          },
          "required": [
            "arcmira_premium",
            "creator_captions",
            "third_party_quick"
          ],
          "description": "searchable_videos split by transcript source class."
        }
      },
      "required": [
        "youtube_channel_id",
        "searchable_videos",
        "indexed_through",
        "search_indexed_through",
        "source_mix"
      ]
    },
    "note": {
      "type": "string",
      "description": "One steering sentence for the agent reading this."
    }
  },
  "required": [
    "channel",
    "note"
  ]
}