Basic data structure with public properties while validating data type.