I think this looks better:

    self.card_types = {
        'Story': {
            'name': 'Story',
            'type': 'HierarchicalRequirement',
            'query': 'Hierarchical Requirement'
            'api': 'hierarchicalrequirement',
            'field_state': 'ScheduleState'
            'requires_parent': False,
            'field_validation_state': 'Schedule State'
        },
        'Task': {
            'name': 'Task'
            'type': 'Task'
            'query': 'Task'
            'api': 'task',
            'field_state': 'State'
            'requires_parent': True
            'field_validation_state': 'State'
        }
    }