Maybe a complete example could be helpful:
function create_job_bank_posts() {
register_post_type( 'book',
array(
'labels' => array(
'name' => __( 'Job Bank Posts' ),
'singular_name' => __( 'Job Bank Post' ),
'add_new' => _x('Add Job Bank Post', 'Job Bank Post'),
'add_new_item' => __('Add Job Bank Post'),
'edit_item' => __('Edit Job Bank Post'),
'new_item' => __('New Job Bank Post'),
'view_item' => __('View Job Bank Post'),
'search_items' => __('Search Job Bank Post'),
'not_found_in_trash' => __('Not found in trash'),
),
'public' => true,
'menu_icon' => 'your-dashicon',
'rewrite' => array( 'slug' => 'job_bank_posts', 'with_front' => true ),
'menu_position' => 3,
'hierarchical' => true,
'supports' => array(
'title',
'page-attributes',
'thumbnail',
'editor',
'excerpt',
'author',
'comments',
'custom-fields',
),
)
);
}
add_action( 'init', 'create_job_bank_posts' );