implement validators (type & content) + test coverage