Skip to content

Commit

Permalink
update gvl data category mapping (#180)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamsachs authored Oct 12, 2023
1 parent 499e96b commit 6facbce
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 84 deletions.
88 changes: 8 additions & 80 deletions src/fideslang/gvl/gvl_data_category_mapping.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@
"name": "Device identifiers",
"description": "A device identifier is a unique string of characters assigned to your device or browser by means of a cookie or other storage technologies. It may be created or accessed to recognise your device e.g. across web pages from the same site or across multiple sites or apps.",
"fides_data_categories": [
"user.device.cookie_id",
"user.device.device_id",
"user.device.cookie"
"user.device"
]
},
"4": {
Expand All @@ -39,23 +37,17 @@
"name": "Authentication-derived identifiers",
"description": "Where an identifier is created on the basis of authentication data, such as contact details associated with online accounts you have created on websites or apps (e.g. e-mail address, phone number) or customer identifiers (e.g. identifier provided by your telecom operator), that identifier may be used to recognise you across websites, apps and devices when you are logged-in with the same contact details.",
"fides_data_categories": [
"user.authorization",
"user.authorization.biometric",
"user.authorization.credentials",
"user.authorization.password"
"user.account",
"user.unique_id",
"user.device"
]
},
"6": {
"id": 6,
"name": "Browsing and interaction data",
"description": "Your online activity such as the websites you visit, apps you are using, the content you search for on this service, or your interactions with content or ads, such as the number of times you have seen a specific content or ad or whether you clicked on it.",
"fides_data_categories": [
"user.behavior.purchase_history",
"user.behavior",
"user.behavior.browsing_history",
"user.behavior.media_consumption",
"user.behavior.search_history",
"user.social"
"user.behavior"
]
},
"7": {
Expand All @@ -64,64 +56,10 @@
"description": "The information you may have provided by way of declaration via a form (e.g. feedback, a comment) or when creating an account (e.g. your age, your occupation).",
"fides_data_categories": [
"user.account",
"user.account.username",
"user.account.settings",
"user.authorization",
"user.authorization.biometric",
"user.authorization.credentials",
"user.authorization.password",
"user.biometric",
"user.biometric.fingerprint",
"user.biometric.health",
"user.biometric.retinal",
"user.biometric.voice",
"user.contact",
"user.contact.organization",
"user.contact.address",
"user.contact.address.street",
"user.contact.address.city",
"user.contact.address.postal_code",
"user.contact.address.state",
"user.contact.address.country",
"user.contact.email",
"user.contact.phone_number",
"user.contact.fax_number",
"user.contact.url",
"user.job_title",
"user.financial",
"user.financial.bank_account",
"user.financial.credit_card",
"user.unique_id",
"user.name",
"user.name.first",
"user.name.last",
"user.criminal_history",
"user.content",
"user.content.private",
"user.content.public",
"user.content.self_image",
"user.demographic.age_range",
"user.demographic.date_of_birth",
"user.demographic.religious_belief",
"user.demographic.gender",
"user.demographic.race_ethnicity",
"user.demographic.sexual_orientation",
"user.demographic.political_opinion",
"user.demographic.language",
"user.demographic.marital_status",
"user.government_id",
"user.government_id.national_identification_number",
"user.government_id.passport_number",
"user.government_id.drivers_license_number",
"user.government_id.immigration",
"user.government_id.vehicle_registration",
"user.government_id.birth_certificate",
"user.health_and_medical",
"user.health_and_medical.record_id",
"user.health_and_medical.insurance_beneficiary_id",
"user.health_and_medical.genetic",
"user.sensor",
"user.childrens",
"user.demographic",
"user.name",
"user.workplace"
]
},
Expand All @@ -146,17 +84,7 @@
"name": "Users' profiles",
"description": "Certain characteristics (e.g. your possible interests, your purchase intentions, your consumer profile) may be inferred or modeled from your previous online activity (e.g. the content you viewed or the service you used, your time spent on various online content and services) or the information you have provided (e.g. your age, your occupation).",
"fides_data_categories": [
"user.demographic",
"user.demographic.age_range",
"user.demographic.date_of_birth",
"user.demographic.gender",
"user.demographic.language",
"user.demographic.marital_status",
"user.demographic.political_opinion",
"user.demographic.profile",
"user.demographic.race_ethnicity",
"user.demographic.religious_belief",
"user.demographic.sexual_orientation"
"user.demographic"
]
},
"11": {
Expand Down
7 changes: 3 additions & 4 deletions tests/fideslang/gvl/test_gvl.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,9 @@ def test_data_category_id_to_data_categories():

# let's test one other data category just to be comprehensive
assert data_category_id_to_data_categories(5) == [
"user.authorization",
"user.authorization.biometric",
"user.authorization.credentials",
"user.authorization.password"
"user.account",
"user.unique_id",
"user.device"
]


Expand Down

0 comments on commit 6facbce

Please sign in to comment.