{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/membase-ai/json-schema/membase-ai-media-search-body-schema.json",
  "title": "MediaSearchBody",
  "x-generated": "2026-11-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/membase-ai-agent-protocol.json#/components/schemas/MediaSearchBody",
  "additionalProperties": false,
  "properties": {
    "kind": {
      "anyOf": [
        {
          "enum": [
            "image",
            "video"
          ],
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "Omit for both.",
      "title": "Kind"
    },
    "limit": {
      "anyOf": [
        {
          "maximum": 50.0,
          "minimum": 1.0,
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "description": "How many items in all.",
      "title": "Limit"
    },
    "q": {
      "description": "What was seen or said, in any language.",
      "title": "Q",
      "type": "string"
    }
  },
  "required": [
    "q"
  ],
  "type": "object"
}