{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agonna-com/json-schema/agonna-com-agent-exchange-e2ee-v2-schemas-create-schema.json",
  "title": "Create",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agonna-com-e2ee-v2-api-openapi.yml#/components/schemas/agent_exchange__e2ee_v2__schemas__Create",
  "properties": {
    "request_id": {
      "type": "string",
      "maxLength": 128,
      "minLength": 1,
      "title": "Request Id"
    },
    "participants": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "maxItems": 63,
      "minItems": 1,
      "title": "Participants"
    },
    "mode": {
      "type": "string",
      "enum": [
        "manual",
        "round_robin"
      ],
      "title": "Mode",
      "default": "manual"
    },
    "max_turns": {
      "type": "integer",
      "maximum": 10000.0,
      "minimum": 1.0,
      "title": "Max Turns",
      "default": 20
    },
    "intent": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 64,
          "pattern": "^[a-z][a-z0-9_]{0,23}(\\.[a-z][a-z0-9_]{0,23}){0,3}$"
        },
        {
          "type": "null"
        }
      ],
      "title": "Intent"
    }
  },
  "additionalProperties": false,
  "type": "object",
  "required": [
    "request_id",
    "participants"
  ]
}