def get_type_data(name):
name = name.upper()<EOL>if name in ISO_CURRENCY_TYPES:<EOL><INDENT>article = '<STR_LIT>'<EOL>type_name = ISO_CURRENCY_TYPES[name]<EOL><DEDENT>elif name in ISO_CURRENCY_ELEMENT_TYPES:<EOL><INDENT>article = '<STR_LIT>'<EOL>type_name = ISO_CURRENCY_ELEMENT_TYPES[name]<EOL><DEDENT>else:<EOL><INDENT>raise NotFound('<STR_LIT>' + name)<EOL><DEDENT>return {<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': name,<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': type_name + '<STR_LIT>',<EOL>'<STR_LIT>': type_name,<EOL>'<STR_LIT:description>': ('<STR_LIT>' + article +<EOL>type_name + '<STR_LIT:.>')<EOL>}<EOL>
Return dictionary representation of type.

    Can be used to initialize primordium.type.primitives.Type