Draft v3: add syntax checking for "required"

Oops...

Signed-off-by: Francis Galiegue <fgaliegue@gmail.com>