esx.registerCommand how to allow nil args

I want to people can keep empty to args but i am recieving a message if i don’t fill the args.
code example:

ESX.RegisterCommand('xCom', 'user', function(xPlayer, args, showError)
	xPlayer.triggerEvent('x', args.x args.y)
end, false, {help = 'XX YY', validate = true, arguments = {
	{name = 'x', help = 'x', type = 'x'},
    {name = "y", help = "y", type = "y"}
}})