Add "definitions" draft v4 syntax checking

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