Can I pull all the product Url that is inside of collection

I want to pull out all the product URLs that are inside of the collection. It’s possible to list out the product URL with a collections

this is for my collection schema.org so I can list my product URLs dynamically on collection template