OSF guidance on How to Make a Data Dictionary includes explanations of variable names, synonyms, and descriptions, units of measurement, allowed values, and additional resources.