Add validations to documents

:bicyclist: