Full details can be found in section 4.22 of the Ministerial Code: https://beta.gov.scot/binaries/content/documents/govscot/publications/guidance/2018/02/scottish-ministerial-code-2018-edition/documents/00531094-pdf/00531094-pdf/govscot:document/ S5W-18209