Skip to content

Categories

Vocabulary for classifying personal data and its legal context.

These enums are part of the manifest format. Adding members is a MINOR change; removing or renaming members is a MAJOR change (it alters what existing manifests mean — see the widened SemVer policy in CONTRIBUTING).

class ErasureStrategy(StrEnum):
...

What happens to a value when its subject is erased.

MemberValueDescription
DELETEdeleteRemove the record (or null the field) outright.
ANONYMIZEanonymizeReplace the value with an irreversible surrogate; the record survives.
RETAINretainKeep the value untouched — it is under a legal retention duty. Retained fields MUST carry a RetentionPolicy explaining the duty; the audit trail records the retention decision.
class LegalBasis(StrEnum):
...

Art. 6(1) lawful bases for processing.

Recorded per field/store so exports can state why data is held — required Art. 15(1)(a) metadata.

MemberValue
CONSENTconsent
CONTRACTcontract
LEGAL_OBLIGATIONlegal_obligation
VITAL_INTERESTSvital_interests
PUBLIC_TASKpublic_task
LEGITIMATE_INTERESTSlegitimate_interests
class PiiCategory(StrEnum):
...

What kind of personal data a field holds.

Categories drive export grouping (Art. 15 bundles are organised by category) and are recorded in the audit trail. Adding members is a MINOR change; removing or renaming members is a MAJOR change.

MemberValueDescription
CONTACTcontactEmail addresses, phone numbers, postal addresses.
IDENTITYidentityNames, usernames, government identifiers, birth dates.
FINANCIALfinancialPayment details, invoices, billing references.
BEHAVIORALbehavioralUsage history, preferences, interaction logs.
TECHNICALtechnicalIP addresses, device identifiers, cookies, user agents.
LOCATIONlocationGeolocation data, time zones tied to a person.
COMMUNICATIONcommunicationMessage bodies, support tickets, user-generated content.
SPECIALspecialArt. 9 special categories (health, beliefs, biometrics). Handle with care.