{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/ahasend/refs/heads/main/json-schema/openapi-v2-add-member-request-schema.json",
  "title": "AddMemberRequest",
  "description": "AddMemberRequest schema from AhaSend API",
  "type": "object",
  "properties": {
    "email": {
      "type": "string",
      "format": "email",
      "description": "Email address of the user to add",
      "example": "user@example.com"
    },
    "name": {
      "type": "string",
      "description": "Display name for the user",
      "example": "Example Name"
    },
    "role": {
      "type": "string",
      "enum": [
        "Administrator",
        "Developer",
        "Analyst",
        "Billing Manager"
      ],
      "description": "Role to assign to the user",
      "example": "Administrator"
    }
  },
  "required": [
    "email",
    "role"
  ],
  "example": {
    "email": "user@example.com",
    "name": "John Doe",
    "role": "Developer"
  }
}