> For the complete documentation index, see [llms.txt](https://docs.privado.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.privado.ai/understanding-rules/collections.md).

# Collections

These are the points in the code where personal data enters either via direct user input or via other API/service pushing it. It is important to secure data collection points to minimise the risk of data compromise. Data collection practices need to adhere to privacy laws like GDPR which requires to take user consent and put privacy notice.

Directory `rules/collections/annotations`:

```
|__rules
   |__collections
   |  |__annotations
   |  |  |__java.yaml
```
