Extending : Data type extension : Data type extension for Tooling : How to create a new data type
  
How to create a new data type
See
The Extension Point to create a new data type
Create a new data type
New data type sample code
Go up to
Data type extension for Tooling