When should schoolchildren in Scotland self-isolate and for how long?

Amid the rapid spread of Omicron cases and changing guidance parents may be confused about the latest school self-isolation rules in Scotland.