Add support to create validations for content type fields

Update the documentation.
There is a space within the brackets and one missing before the bracket: eg `...array  (number...`