{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/justidea-agency/json-schema/justidea-agency-batch-request-schema.json",
  "title": "BatchRequest",
  "x-generated": "2026-11-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/justidea-agency-openapi.yml#/components/schemas/BatchRequest",
  "type": "object",
  "required": [
    "requests"
  ],
  "properties": {
    "requests": {
      "type": "array",
      "minItems": 1,
      "maxItems": 10,
      "items": {
        "type": "object",
        "required": [
          "path"
        ],
        "properties": {
          "id": {
            "type": [
              "string",
              "integer"
            ],
            "description": "Echoed back in the result; defaults to the position."
          },
          "method": {
            "type": "string",
            "enum": [
              "GET"
            ],
            "default": "GET"
          },
          "path": {
            "type": "string",
            "description": "Path with query string, e.g. \"/api/v1/search?q=prestashop\".",
            "pattern": "^/api/v1"
          }
        }
      }
    }
  }
}