{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/MemberInviteBody", "title": "MemberInviteBody", "type": "object", "description": "The request body for inviting a new member.", "required": [ "email" ], "properties": { "email": { "type": "string", "format": "email", "description": "The email address of the person to invite." }, "role": { "type": "string", "description": "The built-in role to assign.", "enum": [ "reader", "writer", "admin" ] }, "customRoles": { "type": "array", "description": "Custom role keys to assign to the new member.", "items": { "type": "string" } } } }