{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/seendb-ai/json-schema/seendb-ai-search-response-schema.json",
  "title": "SearchResponse",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/seendb-ai-openapi.json#/components/schemas/SearchResponse",
  "properties": {
    "hits": {
      "items": {
        "$ref": "#/$defs/SearchHit"
      },
      "type": "array",
      "title": "Hits"
    }
  },
  "type": "object",
  "required": [
    "hits"
  ],
  "$defs": {
    "SearchHit": {
      "properties": {
        "kind": {
          "type": "string",
          "title": "Kind"
        },
        "video_id": {
          "type": "string",
          "title": "Video Id"
        },
        "title": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Title"
        },
        "t_start": {
          "type": "number",
          "title": "T Start"
        },
        "timecode": {
          "type": "string",
          "title": "Timecode"
        },
        "text": {
          "type": "string",
          "title": "Text"
        },
        "score": {
          "type": "number",
          "title": "Score"
        },
        "frame_id": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Frame Id"
        }
      },
      "type": "object",
      "required": [
        "kind",
        "video_id",
        "title",
        "t_start",
        "timecode",
        "text",
        "score"
      ],
      "title": "SearchHit"
    }
  }
}