I couln\'t create a new data type on MySQL. Query is given below
CREATE TYPE PERSON AS OBJECT (NAME VARCHAR (30), SSN VARCHAR (9));
You can use JSON data type now. MySQL supports the native JSON data type since version 5.7. 8.