Add support to create validations for content type fields

Update the documentation.