parse datatype restrictions