A specification for the type of data which can be stored in an attribute. Common datatypes are:
- Content Reference
Data not successfully validating against the datatype of a particular attribute will be rejected and not stored by the CMS. The datatype of a particular attribute (1) maintains the integrity of the content enforces the content model, and (2) assists the CMS in selecting the interface to display for editors.
Validation often extends beyond the raw datatype of the attribute and examines the value of the submitted data. For instance, an attribute that represents the year a movie was released will have a datatype of “number,” but will also necessarily have to be four digits, less than the current year, and greater than approximately 1900.