update typography README.md, add data validation function API