Granularity is closely related to the need for consent to be specific.
Namely, when consent is given for several different purposes (while the purpose of the processing must be as specific as possible), granularity means that the purposes are separated and that a separate consent is given for each purpose.
For example, parents or guardians should be able to give consent for the school to take photographs of students for educational purposes, but not to give consent for the photographs to be published publicly on the school’s website or in a newspaper to promote the school.
Separation of processing purposes can be achieved by placing a blank tick box in front of each processing purpose so that the parent/guardian can indicate consent, if desired.