The role of Special Advisers within the Scottish Government can be found in the Code of Conduct for Special Advisers at https://www.gov.scot/publications/special-advisers-code-of-conduct-and-model-contract/ and the Scottish Ministerial Code https://www.gov.scot/publications/scottish-ministerial-code-2018-edition/ .