Add support to create validations for content type fields

Update the documentation.
I am having trouble figuring out what this does.