To define the Sitemap priority and frequency of change

By what criteria can we set the priority and frequency of change in the sitemap.

For example, if the website is a voucher / service website.

The home page must have priority 1. Updated daily
Category pages must have priority 1. Updated daily
Coupon pages must have priority. Updated weekly

Are the above settings correct?