Merlinski, the short answer is you cannot.
If you examine the Xara installation, you will find JavaScript modules that are in support of the supplied SmartShapes.
Xara promised years ago to supply the framework to allow SS creation; it is clearly too difficult or not worth its time to make the schema available.
Acorn
Bookmarks