{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aiva-works/json-schema/aiva-works-post-v2-batch-executions-request-schema.json",
  "title": "PostV2BatchExecutionsRequest",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/aiva-works-how-to-openapi-generated.yml#/components/schemas/PostV2BatchExecutionsRequest",
  "type": "object",
  "properties": {
    "name": {
      "type": "string"
    },
    "labels": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "maxNumberOfAgents": {
      "type": "integer"
    },
    "globalVariableOverrides": {
      "type": "object",
      "properties": {
        "username": {
          "type": "string"
        },
        "password": {
          "type": "string"
        }
      }
    },
    "variableOverridesPerTest": {
      "type": "object",
      "properties": {
        "123e4567-e89b-12d3-a456-426614174000": {
          "type": "object",
          "properties": {
            "expectedText": {
              "type": "string"
            },
            "username": {
              "type": "string"
            }
          }
        }
      }
    },
    "gatewayName": {
      "type": "string"
    }
  }
}