In speaking with a number of users, this concept of bring your own data type has come up a few times. Some folks would like the ability to define a regex and data type to validate their data with a user defined type. This would then also be typed in the TypeScript SDK.