Element Domain Specialization Step 2: Declare The Domain Element Types
The element type declarations go in a file called modulenameDomain.xml.
The easiest way to do this is to copy an existing domain module file and use it as a template for creating your new one. However, for this tutorial I will describe the process as though you were creating the file from scratch.