def get_type_data(name):
name = name.upper()<EOL>if name in CALENDAR_TYPES:<EOL><INDENT>domain = '<STR_LIT>'<EOL>calendar_name = CALENDAR_TYPES[name]<EOL><DEDENT>elif name in ANCIENT_CALENDAR_TYPES:<EOL><INDENT>domain = '<STR_LIT>'<EOL>calendar_name = ANCIENT_CALENDAR_TYPES[name]<EOL><DEDENT>elif name in ALTERNATE_CALENDAR_TYPES:<EOL><INDENT>domain = '<STR_LIT>'<EOL>calendar_name = ALTERNATE_CALENDAR_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>': domain,<EOL>'<STR_LIT>': calendar_name + '<STR_LIT>',<EOL>'<STR_LIT>': calendar_name,<EOL>'<STR_LIT:description>': ('<STR_LIT>' + calendar_name + '<STR_LIT>')<EOL>}<EOL>
Return dictionary representation of type.

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