{
    "id": "https://xshl.org/schemas/1.1/rpc/accounts/auth/email.json",
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "title": "RPC: Email Authentication Request",
    "description": "Method sends an email with an authentication token",
    "type": "object",
    "additionalProperties": false,
    "required": ["kwargs"],
    "properties": {
        "kwargs": {
            "type": "object",
            "required": ["email", "redirect", "client"],
            "additionalProperties": false,
            "properties": {
                "email": {
                    "type": "string",
                    "format": "idn-email"
                },
                "redirect": {
                    "type": "string",
                    "format": "uri"
                },
                "client": {
                    "type": "string",
                    "format": "uuid"
                }
            }
        }
    }
}