How to properly make a sitemap

I am currently working with SEO and I need to use canonical URLs. My doubt is related to which pages need to be canonical. I know for sure that my root needs to, but I also have pages like blog, portfolio, etc, and these pages (blog, portfolio, etc) have internal pages such as blog/post-1, blog/post-2, portfolio/work-1, etc. I want to know it these internal pages need to have link tags that point to its parent page (blog/post-1 -> /blog) or not.

Thanks a lot for the help.