{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/youspot-com/json-schema/youspot-com-batch-request-schema.json",
  "title": "BatchRequest",
  "x-generated": "2026-11-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/youspot-com-openapi.json#/components/schemas/BatchRequest",
  "type": "object",
  "required": [
    "requests"
  ],
  "properties": {
    "requests": {
      "type": "array",
      "minItems": 1,
      "maxItems": 20,
      "items": {
        "type": "object",
        "required": [
          "path"
        ],
        "properties": {
          "id": {
            "type": "string",
            "description": "Echoed on the matching response. Defaults to the item's position."
          },
          "method": {
            "type": "string",
            "enum": [
              "GET"
            ],
            "default": "GET"
          },
          "path": {
            "type": "string",
            "description": "One of the batchable reads: `/api/network/members`, `/api/human/{username}` (with or without `.json` or `.md`), `/api/jobs/{job_id}`, the MCP cards at `/mcp`, `/mcp/v1` and `/mcp/sandbox`, `/.well-known/mcp/server-card.json`, `/.well-known/api-catalog`, the two OAuth metadata documents, and `/auth.md`."
          },
          "query": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "description": "Query parameters for the item, as the endpoint documents them."
          }
        }
      }
    }
  }
}