MENU = {
    'main': {
        'name': 'Main menu',
        'route': '.index',
        'choices': [
            {'key': 1, 'action': '.members'},
            {'key': 2, 'action': '.bills'},
            {'key': 3, 'action': '.voting'},
            {'key': 4, 'action': '.about'},
        ],
    },
    'member': {
        'name': 'Member options for %s',
        'route': '.member',
        'parent': 'main',
        'choices': [
            {'key': 1, 'action': '.member_bio', 'params': ['bioguide_id']},
            {'key': 2, 'action': '.member_donors', 'params': ['bioguide_id']},
            {'key': 3, 'action': '.member_votes', 'params': ['bioguide_id']},
            {'key': 4, 'action': '.call_member', 'params': ['bioguide_id']},
        ],
    },
    'bills': {
        'name': 'Find bills',
        'route': '.bills',
        'parent': 'main',
        'choices': [
            {'key': 1, 'action': '.upcoming_bills'},
            {'key': 2, 'action': '.search_bills'},
        ],

    },
    'bill': {
        'name': 'Bill information for %s',
        'route': '.bill',
        'parent': 'bills',
        'choices': [
            {'key': 1, 'action': '.search_bills'},
            {'key': 3, 'action': '.bill'},
            {'key': 0, 'action': '.index'},
        ],
    },
    'voting': {
        'name': 'Voting information',
        'route': '.voting',
        'parent': 'main',
        'choices': [
            {'key': 1, 'action': '.call_election_office'},
            {'key': 2, 'action': '.voting'},
            {'key': 3, 'action': '.voting'}
        ],
    },
    'about': {
        'name': 'About Call on Congress',
        'route': '.about',
        'parent': 'main',
        'choices': [
            {'key': 1, 'action': '.about_sunlight'},
            {'key': 2, 'action': '.feedback'},
        ],
    },
}