ICSD-3 criteria for RBD

Repeated episodes of sleep vocalisation and/or complex motor behaviours
Behaviours are documented by polysomnography to occur during REM sleep, or based on a clinical history of dream enactment, are presumed to occur during REM sleep
Presence of REM sleep without atonia on polysomnography
Absence of epileptiform activity during REM sleep, unless RBD can be distinguished from any concurrent REM-related seizure disorder
The sleep disturbance is not better explained by another sleep disorder, medical or neurological disorder, mental disorder, medicine use or substance use disorder

Information from [1].