{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/captapi-com/json-schema/captapi-com-batch-request-schema.json",
  "title": "BatchRequest",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/captapi-com-openapi.json#/components/schemas/BatchRequest",
  "properties": {
    "requests": {
      "items": {
        "$ref": "#/$defs/BatchItem"
      },
      "type": "array",
      "maxItems": 20,
      "minItems": 1,
      "title": "Requests"
    }
  },
  "type": "object",
  "required": [
    "requests"
  ],
  "$defs": {
    "BatchItem": {
      "properties": {
        "path": {
          "type": "string",
          "title": "Path",
          "description": "Captapi GET path, e.g. /v1/youtube/video-details"
        },
        "params": {
          "additionalProperties": true,
          "type": "object",
          "title": "Params"
        }
      },
      "type": "object",
      "required": [
        "path"
      ],
      "title": "BatchItem"
    }
  }
}