def get_type_data(name):
name = name.upper()<EOL>if name in ISO_LANGUAGE_CODES:<EOL><INDENT>name = ISO_LANGUAGE_CODES[name]<EOL><DEDENT>if name in ISO_MAJOR_LANGUAGE_TYPES:<EOL><INDENT>namespace = '<STR_LIT>'<EOL>lang_name = ISO_MAJOR_LANGUAGE_TYPES[name]<EOL><DEDENT>elif name in ISO_OTHER_LANGUAGE_TYPES:<EOL><INDENT>namespace = '<STR_LIT>'<EOL>lang_name = ISO_OTHER_LANGUAGE_TYPES[name]<EOL><DEDENT>else:<EOL><INDENT>raise NotFound('<STR_LIT>' + name)<EOL><DEDENT>return {<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': namespace,<EOL>'<STR_LIT>': name,<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': lang_name + '<STR_LIT>',<EOL>'<STR_LIT>': lang_name,<EOL>'<STR_LIT:description>': ('<STR_LIT>' +<EOL>lang_name + '<STR_LIT>')<EOL>}<EOL>
Return dictionary representation of type.

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