{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/chatway-app/json-schema/chatway-app-post-agents-invite-request-schema.json",
  "title": "PostAgentsInviteRequest",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/chatway-app-openapi-generated.yml#/components/schemas/PostAgentsInviteRequest",
  "type": "object",
  "properties": {
    "agents": {
      "type": "array",
      "description": "Agents to invite. Each item is an object with a required `email`, an optional `name` and an optional `role` (`CHAT_AGENT_MEMBER` or `CHAT_AGENT_ADMIN`)."
    },
    "email": {
      "type": "string",
      "description": "Email address of the teammate."
    },
    "name": {
      "type": "string",
      "description": "Name of the teammate."
    },
    "role": {
      "type": "string",
      "description": "Invitation role (`CHAT_AGENT_MEMBER` or `CHAT_AGENT_ADMIN`)."
    }
  },
  "required": [
    "agents",
    "email"
  ]
}