@dataparade/cli 0.0.35 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/dist/package.json +4 -4
- package/dist/src/ai-enrichment/pii-signal-rules.d.ts +5 -0
- package/dist/src/ai-enrichment/pii-signal-rules.js +2 -3
- package/dist/src/ai-enrichment/provider-prompt.js +1 -0
- package/dist/src/ai-enrichment/providers/provider-contract.js +2 -44
- package/dist/src/ai-enrichment/third-party-data-flow.js +5 -4
- package/dist/src/cli.js +9 -3
- package/dist/src/discoveries/contract/ocsf-discovery-record.d.ts +4 -1
- package/dist/src/discoveries/contract/ocsf-discovery-record.js +1 -1
- package/dist/src/discoveries/contract/ontology-pins.d.ts +6 -4
- package/dist/src/discoveries/contract/ontology-pins.js +7 -5
- package/dist/src/facts/build-facts.d.ts +2 -0
- package/dist/src/facts/build-facts.js +18 -0
- package/dist/src/facts/layout.d.ts +4 -0
- package/dist/src/facts/layout.js +5 -1
- package/dist/src/facts/scan-stamps.d.ts +7 -0
- package/dist/src/facts/scan-stamps.js +30 -0
- package/dist/src/facts/schema.d.ts +178 -0
- package/dist/src/facts/schema.js +37 -1
- package/dist/src/kb/data-category-catalog.generated.d.ts +34 -0
- package/dist/src/kb/data-category-catalog.generated.js +962 -0
- package/dist/src/kb/kb-store.js +4 -1
- package/dist/src/kb/migrate.js +4 -2
- package/dist/src/kb/slot-shapes.d.ts +3 -2
- package/dist/src/kb/slot-shapes.js +13 -8
- package/dist/src/kb/taxonomy.d.ts +12 -6
- package/dist/src/kb/taxonomy.js +13 -18
- package/dist/src/output/scan-output-excludes.js +2 -0
- package/dist/src/output/write-scan-knowledge.d.ts +5 -1
- package/dist/src/output/write-scan-knowledge.js +21 -0
- package/dist/src/threat-model/build-threat-model.d.ts +3 -0
- package/dist/src/threat-model/build-threat-model.js +71 -0
- package/dist/src/threat-model/carry-forward-person-set-statuses.d.ts +8 -0
- package/dist/src/threat-model/carry-forward-person-set-statuses.js +87 -0
- package/dist/src/threat-model/io.d.ts +19 -0
- package/dist/src/threat-model/io.js +63 -0
- package/dist/src/threat-model/schema.d.ts +214 -0
- package/dist/src/threat-model/schema.js +75 -0
- package/dist/src/ui/scan-progress-renderer.d.ts +8 -1
- package/dist/src/ui/scan-progress-renderer.js +20 -1
- package/dist/src/upload/collect-scan-sidecars.d.ts +2 -1
- package/dist/src/upload/collect-scan-sidecars.js +3 -1
- package/dist/tests/cli/cli.spec.js +10 -1
- package/dist/tests/helpers/facts-fixture.js +16 -16
- package/dist/tests/schema/scan-result.schema.spec.js +1 -1
- package/dist/tests/unit/ai-enrichment/provider-contract.spec.js +1 -1
- package/dist/tests/unit/ai-enrichment/third-party-data-flow.spec.js +5 -5
- package/dist/tests/unit/core/graph-mapping.spec.js +4 -3
- package/dist/tests/unit/discoveries/write-ocsf-discoveries-long-ids.spec.js +3 -3
- package/dist/tests/unit/export/export-ocsf.spec.js +4 -4
- package/dist/tests/unit/facts/apply-answers.spec.js +20 -20
- package/dist/tests/unit/facts/build-facts.spec.js +143 -45
- package/dist/tests/unit/facts/identity.spec.js +13 -0
- package/dist/tests/unit/facts/scan-stamps.spec.js +32 -0
- package/dist/tests/unit/facts/slug.spec.js +2 -0
- package/dist/tests/unit/kb/answer-fingerprint.spec.js +9 -9
- package/dist/tests/unit/kb/data-category-catalog.spec.d.ts +1 -0
- package/dist/tests/unit/kb/data-category-catalog.spec.js +65 -0
- package/dist/tests/unit/kb/kb-interview-loop.spec.js +8 -7
- package/dist/tests/unit/kb/migrate.spec.js +2 -2
- package/dist/tests/unit/output/scan-output-excludes.spec.js +1 -1
- package/dist/tests/unit/threat-model/build-threat-model.spec.d.ts +1 -0
- package/dist/tests/unit/threat-model/build-threat-model.spec.js +189 -0
- package/dist/tests/unit/threat-model/carry-forward-person-set-statuses.spec.d.ts +1 -0
- package/dist/tests/unit/threat-model/carry-forward-person-set-statuses.spec.js +163 -0
- package/dist/tests/unit/threat-model/io.spec.d.ts +1 -0
- package/dist/tests/unit/threat-model/io.spec.js +103 -0
- package/dist/tests/unit/threat-model/schema.spec.d.ts +1 -0
- package/dist/tests/unit/threat-model/schema.spec.js +42 -0
- package/dist/tests/unit/ui/scan-progress-renderer.spec.js +58 -0
- package/dist/tests/unit/upload/collect-scan-sidecars.spec.js +8 -5
- package/dist/vendor/scanner/dist/src/analyze/code-navigator.d.ts +1 -1
- package/dist/vendor/scanner/dist/src/analyze/code-navigator.js +4 -0
- package/dist/vendor/scanner/dist/src/analyze/column-catalog.d.ts +1 -1
- package/dist/vendor/scanner/dist/src/analyze/column-catalog.js +2 -2
- package/dist/vendor/scanner/dist/src/analyze/concept-profile.d.ts +2 -2
- package/dist/vendor/scanner/dist/src/analyze/concept-profile.js +5 -3
- package/dist/vendor/scanner/dist/src/core/pipeline/build-scan-personal-data-layers.js +1 -1
- package/dist/vendor/scanner/dist/src/core/pipeline/deterministic-scan.js +43 -0
- package/dist/vendor/scanner/dist/src/core/pipeline/graph-mapping.js +23 -2
- package/dist/vendor/scanner/dist/src/core/pipeline/mixed-app-terraform-scan.js +1 -0
- package/dist/vendor/scanner/dist/src/core/pipeline/orchestrator-result.d.ts +2 -2
- package/dist/vendor/scanner/dist/src/core/pipeline/terraform-minimal-services.js +1 -0
- package/dist/vendor/scanner/dist/src/core/schema/scan-result.schema.d.ts +160 -2
- package/dist/vendor/scanner/dist/src/core/schema/scan-result.schema.js +24 -0
- package/dist/vendor/scanner/dist/src/core/types/data-flow.d.ts +48 -0
- package/dist/vendor/scanner/dist/src/core/types/data-flow.js +53 -0
- package/dist/vendor/scanner/dist/src/data-flow/detect.js +1 -0
- package/dist/vendor/scanner/dist/src/data-flow/ensure-hub-linked-assets.js +1 -0
- package/dist/vendor/scanner/dist/src/data-flow/ensure-manifest-declared-flows.js +1 -0
- package/dist/vendor/scanner/dist/src/data-flow/flow-authentication.d.ts +30 -0
- package/dist/vendor/scanner/dist/src/data-flow/flow-authentication.js +277 -0
- package/dist/vendor/scanner/dist/src/data-flow/flow-builder.js +6 -0
- package/dist/vendor/scanner/dist/src/data-flow/flow-controls.d.ts +24 -0
- package/dist/vendor/scanner/dist/src/data-flow/flow-controls.js +238 -0
- package/dist/vendor/scanner/dist/src/data-flow/flow-data-categories.d.ts +22 -0
- package/dist/vendor/scanner/dist/src/data-flow/flow-data-categories.js +69 -0
- package/dist/vendor/scanner/dist/src/data-flow/flow-interaction-description.d.ts +13 -0
- package/dist/vendor/scanner/dist/src/data-flow/flow-interaction-description.js +263 -0
- package/dist/vendor/scanner/dist/src/data-flow/hub-link-policy.d.ts +2 -1
- package/dist/vendor/scanner/dist/src/data-flow/hub-link-policy.js +3 -0
- package/dist/vendor/scanner/dist/src/data-flow/human-interaction-channels.d.ts +37 -0
- package/dist/vendor/scanner/dist/src/data-flow/human-interaction-channels.js +483 -0
- package/dist/vendor/scanner/dist/src/data-flow/intra-component-lineage.d.ts +3 -0
- package/dist/vendor/scanner/dist/src/data-flow/intra-component-lineage.js +12 -17
- package/dist/vendor/scanner/dist/src/data-flow/terraform-flows.js +5 -1
- package/dist/vendor/scanner/dist/src/data-flow/transformation-patterns.d.ts +5 -1
- package/dist/vendor/scanner/dist/src/data-flow/transformation-patterns.js +17 -37
- package/dist/vendor/scanner/dist/src/eval/canonical/concept-map.d.ts +36 -5
- package/dist/vendor/scanner/dist/src/eval/canonical/concept-map.js +53 -60
- package/dist/vendor/scanner/dist/src/eval/canonical/graph/endpoints.js +2 -9
- package/dist/vendor/scanner/dist/src/eval/canonical/scanner/personal-data.js +10 -7
- package/dist/vendor/scanner/dist/src/graph/build-dataparade-graph.js +3 -1
- package/dist/vendor/scanner/dist/src/index.d.ts +6 -0
- package/dist/vendor/scanner/dist/src/index.js +16 -1
- package/dist/vendor/scanner/dist/src/patterns/engine.js +1 -0
- package/dist/vendor/scanner/dist/src/pii-signals/match-pii-signals.d.ts +1 -1
- package/dist/vendor/scanner/dist/src/pii-signals/match-pii-signals.js +2 -2
- package/dist/vendor/scanner/dist/src/pii-signals/occurrence-group.d.ts +3 -3
- package/dist/vendor/scanner/dist/src/pii-signals/occurrence-group.js +12 -11
- package/dist/vendor/scanner/dist/src/pii-signals/personal-data-taxonomy.d.ts +44 -0
- package/dist/vendor/scanner/dist/src/pii-signals/personal-data-taxonomy.js +167 -0
- package/dist/vendor/scanner/dist/src/pii-signals/pii-signal-aliases.js +43 -43
- package/dist/vendor/scanner/dist/src/pii-signals/pii-signal-rules.d.ts +12 -1
- package/dist/vendor/scanner/dist/src/pii-signals/pii-signal-rules.js +28 -7
- package/dist/vendor/scanner/dist/src/pii-signals/signal-token.js +1 -1
- package/dist/vendor/scanner/dist/src/threats/stride.d.ts +98 -0
- package/dist/vendor/scanner/dist/src/threats/stride.js +179 -0
- package/dist/vendor/scanner/package.json +2 -2
- package/dist/vendor/scanner/patterns/concept-profiles.yaml +2 -2
- package/dist/vendor/scanner/patterns/flow-authentication.rules.yaml +75 -0
- package/dist/vendor/scanner/patterns/flow-controls.rules.yaml +68 -0
- package/dist/vendor/scanner/patterns/personal-data-taxonomy.yaml +155 -0
- package/dist/vendor/scanner/patterns/pii-signals.rules.yaml +38 -49
- package/dist/vendor/scanner/patterns/stride.rules.yaml +86 -0
- package/package.json +4 -4
- package/dist/vendor/scanner/dist/src/eval/canonical/concept-map.validate.d.ts +0 -17
- package/dist/vendor/scanner/dist/src/eval/canonical/concept-map.validate.js +0 -108
- package/dist/vendor/scanner/patterns/personal-data-concept-map.yaml +0 -76
|
@@ -0,0 +1,962 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Generated by scripts/data-categories/generate-data-category-catalog.mjs from the scanner's
|
|
4
|
+
* personal-data taxonomy and scripts/data-categories/data-category-sources.json. Do not edit:
|
|
5
|
+
* change the sources and run the script. The same file is written to the frontend, the backend
|
|
6
|
+
* and the CLI.
|
|
7
|
+
*
|
|
8
|
+
* A data category is a W3C DPV concept (dpv:), a DPV-PD personal-data concept (pd:) or one of
|
|
9
|
+
* DataParade's finer concepts beneath them (dpx:), written as a compact IRI.
|
|
10
|
+
*/
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.LEGACY_DATA_CATEGORY_VALUE_TO_CONCEPT = exports.DATA_CATEGORY_CONCEPTS = exports.DATA_CATEGORY_GROUPS = exports.DATA_CATEGORY_NAMESPACES = exports.DATA_CATEGORY_SCANNER_TAXONOMY_VERSION = exports.DATA_CATEGORY_DPV_VERSION = void 0;
|
|
13
|
+
exports.findDataCategoryConcept = findDataCategoryConcept;
|
|
14
|
+
exports.isWellFormedDataCategoryConceptValue = isWellFormedDataCategoryConceptValue;
|
|
15
|
+
exports.resolveCatalogDataCategoryValue = resolveCatalogDataCategoryValue;
|
|
16
|
+
exports.resolveDataCategoryValue = resolveDataCategoryValue;
|
|
17
|
+
exports.resolveDataCategoryValues = resolveDataCategoryValues;
|
|
18
|
+
exports.dataCategoryLabel = dataCategoryLabel;
|
|
19
|
+
exports.dataCategoryAncestorValues = dataCategoryAncestorValues;
|
|
20
|
+
exports.isSensitiveDataCategory = isSensitiveDataCategory;
|
|
21
|
+
exports.DATA_CATEGORY_DPV_VERSION = '2.3';
|
|
22
|
+
exports.DATA_CATEGORY_SCANNER_TAXONOMY_VERSION = '2.0.0';
|
|
23
|
+
exports.DATA_CATEGORY_NAMESPACES = {
|
|
24
|
+
dpv: 'https://w3id.org/dpv#',
|
|
25
|
+
pd: 'https://w3id.org/dpv/pd#',
|
|
26
|
+
dpx: 'https://dataparade.io/ns/dpx#',
|
|
27
|
+
};
|
|
28
|
+
exports.DATA_CATEGORY_GROUPS = [
|
|
29
|
+
{
|
|
30
|
+
value: 'dpv:PersonalData',
|
|
31
|
+
label: 'Personal data (general)',
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
value: 'pd:External',
|
|
35
|
+
label: 'External characteristics',
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
value: 'pd:Tracking',
|
|
39
|
+
label: 'Tracking and contact',
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
value: 'pd:Internal',
|
|
43
|
+
label: 'Internal and authentication',
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
value: 'pd:Financial',
|
|
47
|
+
label: 'Financial',
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
value: 'pd:Social',
|
|
51
|
+
label: 'Social and professional',
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
value: 'dpv:NonPersonalData',
|
|
55
|
+
label: 'Non-personal data',
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
value: 'dpv:SensitiveData',
|
|
59
|
+
label: 'Sensitive data',
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
value: 'dpv:ConfidentialData',
|
|
63
|
+
label: 'Confidential data',
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
value: 'dpv:UncategorisedData',
|
|
67
|
+
label: 'Uncategorised',
|
|
68
|
+
},
|
|
69
|
+
];
|
|
70
|
+
exports.DATA_CATEGORY_CONCEPTS = [
|
|
71
|
+
{
|
|
72
|
+
value: 'dpv:PersonalData',
|
|
73
|
+
label: 'Personal Data',
|
|
74
|
+
iri: 'https://w3id.org/dpv#PersonalData',
|
|
75
|
+
parent: null,
|
|
76
|
+
group: 'dpv:PersonalData',
|
|
77
|
+
depth: 0,
|
|
78
|
+
definition: 'Data directly or indirectly associated or related to an individual',
|
|
79
|
+
sensitive: false,
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
value: 'dpv:SensitivePersonalData',
|
|
83
|
+
label: 'Sensitive Personal Data',
|
|
84
|
+
iri: 'https://w3id.org/dpv#SensitivePersonalData',
|
|
85
|
+
parent: 'dpv:PersonalData',
|
|
86
|
+
group: 'dpv:PersonalData',
|
|
87
|
+
depth: 1,
|
|
88
|
+
definition: "Personal data that is considered 'sensitive' in terms of privacy and/or impact, and therefore requires additional considerations and/or protection",
|
|
89
|
+
sensitive: true,
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
value: 'dpv:SpecialCategoryPersonalData',
|
|
93
|
+
label: 'Special Category Personal Data',
|
|
94
|
+
iri: 'https://w3id.org/dpv#SpecialCategoryPersonalData',
|
|
95
|
+
parent: 'dpv:SensitivePersonalData',
|
|
96
|
+
group: 'dpv:PersonalData',
|
|
97
|
+
depth: 2,
|
|
98
|
+
definition: 'Sensitive Personal Data whose use requires specific additional legal permission or justification',
|
|
99
|
+
sensitive: true,
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
value: 'dpv:PseudonymisedData',
|
|
103
|
+
label: 'Pseudonymised Data',
|
|
104
|
+
iri: 'https://w3id.org/dpv#PseudonymisedData',
|
|
105
|
+
parent: 'dpv:PersonalData',
|
|
106
|
+
group: 'dpv:PersonalData',
|
|
107
|
+
depth: 1,
|
|
108
|
+
definition: "Data that has gone through a partial or incomplete anonymisation process by replacing the identifiable information with artificial identifiers or 'pseudonyms', and is still considered personal data",
|
|
109
|
+
sensitive: false,
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
value: 'pd:External',
|
|
113
|
+
label: 'External',
|
|
114
|
+
iri: 'https://w3id.org/dpv/pd#External',
|
|
115
|
+
parent: 'dpv:PersonalData',
|
|
116
|
+
group: 'pd:External',
|
|
117
|
+
depth: 0,
|
|
118
|
+
definition: 'Information about external characteristics that can be observed',
|
|
119
|
+
sensitive: false,
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
value: 'pd:Identifying',
|
|
123
|
+
label: 'Identifying',
|
|
124
|
+
iri: 'https://w3id.org/dpv/pd#Identifying',
|
|
125
|
+
parent: 'pd:External',
|
|
126
|
+
group: 'pd:External',
|
|
127
|
+
depth: 1,
|
|
128
|
+
definition: 'Information that uniquely or semi-uniquely identifies an individual or a group',
|
|
129
|
+
sensitive: false,
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
value: 'pd:Name',
|
|
133
|
+
label: 'Name',
|
|
134
|
+
iri: 'https://w3id.org/dpv/pd#Name',
|
|
135
|
+
parent: 'pd:Identifying',
|
|
136
|
+
group: 'pd:External',
|
|
137
|
+
depth: 2,
|
|
138
|
+
definition: 'Information about names associated or used as given name or nickname',
|
|
139
|
+
sensitive: false,
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
value: 'dpx:FirstName',
|
|
143
|
+
label: 'First Name',
|
|
144
|
+
iri: 'https://dataparade.io/ns/dpx#FirstName',
|
|
145
|
+
parent: 'pd:Name',
|
|
146
|
+
group: 'pd:External',
|
|
147
|
+
depth: 3,
|
|
148
|
+
definition: 'Given name or forename.',
|
|
149
|
+
sensitive: false,
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
value: 'dpx:LastName',
|
|
153
|
+
label: 'Last Name',
|
|
154
|
+
iri: 'https://dataparade.io/ns/dpx#LastName',
|
|
155
|
+
parent: 'pd:Name',
|
|
156
|
+
group: 'pd:External',
|
|
157
|
+
depth: 3,
|
|
158
|
+
definition: 'Family name or surname.',
|
|
159
|
+
sensitive: false,
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
value: 'dpx:FullName',
|
|
163
|
+
label: 'Full Name',
|
|
164
|
+
iri: 'https://dataparade.io/ns/dpx#FullName',
|
|
165
|
+
parent: 'pd:Name',
|
|
166
|
+
group: 'pd:External',
|
|
167
|
+
depth: 3,
|
|
168
|
+
definition: 'Whole name as one value, such as a display or legal name.',
|
|
169
|
+
sensitive: false,
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
value: 'pd:Username',
|
|
173
|
+
label: 'Username',
|
|
174
|
+
iri: 'https://w3id.org/dpv/pd#Username',
|
|
175
|
+
parent: 'pd:Identifying',
|
|
176
|
+
group: 'pd:External',
|
|
177
|
+
depth: 2,
|
|
178
|
+
definition: 'Information about usernames',
|
|
179
|
+
sensitive: false,
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
value: 'pd:UID',
|
|
183
|
+
label: 'Unique Identifier (UID)',
|
|
184
|
+
iri: 'https://w3id.org/dpv/pd#UID',
|
|
185
|
+
parent: 'pd:Identifying',
|
|
186
|
+
group: 'pd:External',
|
|
187
|
+
depth: 2,
|
|
188
|
+
definition: 'Information about unique identifiers',
|
|
189
|
+
sensitive: false,
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
value: 'pd:OfficialID',
|
|
193
|
+
label: 'Official ID',
|
|
194
|
+
iri: 'https://w3id.org/dpv/pd#OfficialID',
|
|
195
|
+
parent: 'pd:Identifying',
|
|
196
|
+
group: 'pd:External',
|
|
197
|
+
depth: 2,
|
|
198
|
+
definition: 'Information about an official identifier or identification document',
|
|
199
|
+
sensitive: true,
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
value: 'pd:Passport',
|
|
203
|
+
label: 'Passport',
|
|
204
|
+
iri: 'https://w3id.org/dpv/pd#Passport',
|
|
205
|
+
parent: 'pd:OfficialID',
|
|
206
|
+
group: 'pd:External',
|
|
207
|
+
depth: 3,
|
|
208
|
+
definition: 'Information about passport',
|
|
209
|
+
sensitive: true,
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
value: 'dpx:SocialSecurityNumber',
|
|
213
|
+
label: 'Social Security Number',
|
|
214
|
+
iri: 'https://dataparade.io/ns/dpx#SocialSecurityNumber',
|
|
215
|
+
parent: 'pd:OfficialID',
|
|
216
|
+
group: 'pd:External',
|
|
217
|
+
depth: 3,
|
|
218
|
+
definition: 'Social security or national insurance number.',
|
|
219
|
+
sensitive: true,
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
value: 'dpx:NationalIdentityNumber',
|
|
223
|
+
label: 'National Identity Number',
|
|
224
|
+
iri: 'https://dataparade.io/ns/dpx#NationalIdentityNumber',
|
|
225
|
+
parent: 'pd:OfficialID',
|
|
226
|
+
group: 'pd:External',
|
|
227
|
+
depth: 3,
|
|
228
|
+
definition: 'Number of a national identity card or other government-issued identifier.',
|
|
229
|
+
sensitive: true,
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
value: 'dpx:DriversLicenseNumber',
|
|
233
|
+
label: "Driver's Licence Number",
|
|
234
|
+
iri: 'https://dataparade.io/ns/dpx#DriversLicenseNumber',
|
|
235
|
+
parent: 'pd:OfficialID',
|
|
236
|
+
group: 'pd:External',
|
|
237
|
+
depth: 3,
|
|
238
|
+
definition: 'Number of a driving licence.',
|
|
239
|
+
sensitive: true,
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
value: 'dpx:TaxIdentificationNumber',
|
|
243
|
+
label: 'Tax Identification Number',
|
|
244
|
+
iri: 'https://dataparade.io/ns/dpx#TaxIdentificationNumber',
|
|
245
|
+
parent: 'pd:OfficialID',
|
|
246
|
+
group: 'pd:External',
|
|
247
|
+
depth: 3,
|
|
248
|
+
definition: 'Tax or VAT identification number.',
|
|
249
|
+
sensitive: true,
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
value: 'pd:Biometric',
|
|
253
|
+
label: 'Biometric',
|
|
254
|
+
iri: 'https://w3id.org/dpv/pd#Biometric',
|
|
255
|
+
parent: 'pd:Identifying',
|
|
256
|
+
group: 'pd:External',
|
|
257
|
+
depth: 2,
|
|
258
|
+
definition: 'Information about biometrics and biometric characteristics.',
|
|
259
|
+
sensitive: true,
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
value: 'pd:Picture',
|
|
263
|
+
label: 'Picture',
|
|
264
|
+
iri: 'https://w3id.org/dpv/pd#Picture',
|
|
265
|
+
parent: 'pd:Identifying',
|
|
266
|
+
group: 'pd:External',
|
|
267
|
+
depth: 2,
|
|
268
|
+
definition: 'Information about visual representation or image e.g. profile photo',
|
|
269
|
+
sensitive: false,
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
value: 'pd:PhysicalCharacteristic',
|
|
273
|
+
label: 'Physical Characteristic',
|
|
274
|
+
iri: 'https://w3id.org/dpv/pd#PhysicalCharacteristic',
|
|
275
|
+
parent: 'pd:External',
|
|
276
|
+
group: 'pd:External',
|
|
277
|
+
depth: 1,
|
|
278
|
+
definition: 'Information about physical characteristics',
|
|
279
|
+
sensitive: false,
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
value: 'pd:Age',
|
|
283
|
+
label: 'Age',
|
|
284
|
+
iri: 'https://w3id.org/dpv/pd#Age',
|
|
285
|
+
parent: 'pd:PhysicalCharacteristic',
|
|
286
|
+
group: 'pd:External',
|
|
287
|
+
depth: 2,
|
|
288
|
+
definition: 'Information about age',
|
|
289
|
+
sensitive: false,
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
value: 'pd:BirthDate',
|
|
293
|
+
label: 'Birth Date',
|
|
294
|
+
iri: 'https://w3id.org/dpv/pd#BirthDate',
|
|
295
|
+
parent: 'pd:Age',
|
|
296
|
+
group: 'pd:External',
|
|
297
|
+
depth: 3,
|
|
298
|
+
definition: 'Information about birth date',
|
|
299
|
+
sensitive: false,
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
value: 'pd:MedicalHealth',
|
|
303
|
+
label: 'Medical and Health',
|
|
304
|
+
iri: 'https://w3id.org/dpv/pd#MedicalHealth',
|
|
305
|
+
parent: 'pd:External',
|
|
306
|
+
group: 'pd:External',
|
|
307
|
+
depth: 1,
|
|
308
|
+
definition: 'Information about health, medical conditions or health care',
|
|
309
|
+
sensitive: true,
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
value: 'pd:Behavioural',
|
|
313
|
+
label: 'Behavioural',
|
|
314
|
+
iri: 'https://w3id.org/dpv/pd#Behavioural',
|
|
315
|
+
parent: 'pd:External',
|
|
316
|
+
group: 'pd:External',
|
|
317
|
+
depth: 1,
|
|
318
|
+
definition: 'Information about behaviour or activity',
|
|
319
|
+
sensitive: false,
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
value: 'pd:Demographic',
|
|
323
|
+
label: 'Demographic',
|
|
324
|
+
iri: 'https://w3id.org/dpv/pd#Demographic',
|
|
325
|
+
parent: 'pd:External',
|
|
326
|
+
group: 'pd:External',
|
|
327
|
+
depth: 1,
|
|
328
|
+
definition: 'Information about demography and demographic characteristics',
|
|
329
|
+
sensitive: false,
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
value: 'pd:Tracking',
|
|
333
|
+
label: 'Tracking',
|
|
334
|
+
iri: 'https://w3id.org/dpv/pd#Tracking',
|
|
335
|
+
parent: 'dpv:PersonalData',
|
|
336
|
+
group: 'pd:Tracking',
|
|
337
|
+
depth: 0,
|
|
338
|
+
definition: 'Information used to track an individual or group e.g. location or email',
|
|
339
|
+
sensitive: false,
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
value: 'pd:Contact',
|
|
343
|
+
label: 'Contact',
|
|
344
|
+
iri: 'https://w3id.org/dpv/pd#Contact',
|
|
345
|
+
parent: 'pd:Tracking',
|
|
346
|
+
group: 'pd:Tracking',
|
|
347
|
+
depth: 1,
|
|
348
|
+
definition: 'Information about contacts or used for contacting e.g. email address or phone number',
|
|
349
|
+
sensitive: false,
|
|
350
|
+
},
|
|
351
|
+
{
|
|
352
|
+
value: 'pd:EmailAddress',
|
|
353
|
+
label: 'Email Address',
|
|
354
|
+
iri: 'https://w3id.org/dpv/pd#EmailAddress',
|
|
355
|
+
parent: 'pd:Contact',
|
|
356
|
+
group: 'pd:Tracking',
|
|
357
|
+
depth: 2,
|
|
358
|
+
definition: 'Information about email address',
|
|
359
|
+
sensitive: false,
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
value: 'pd:TelephoneNumber',
|
|
363
|
+
label: 'Telephone Number',
|
|
364
|
+
iri: 'https://w3id.org/dpv/pd#TelephoneNumber',
|
|
365
|
+
parent: 'pd:Contact',
|
|
366
|
+
group: 'pd:Tracking',
|
|
367
|
+
depth: 2,
|
|
368
|
+
definition: 'Information about telephone number',
|
|
369
|
+
sensitive: false,
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
value: 'pd:Location',
|
|
373
|
+
label: 'Location',
|
|
374
|
+
iri: 'https://w3id.org/dpv/pd#Location',
|
|
375
|
+
parent: 'pd:Tracking',
|
|
376
|
+
group: 'pd:Tracking',
|
|
377
|
+
depth: 1,
|
|
378
|
+
definition: 'Information about location',
|
|
379
|
+
sensitive: false,
|
|
380
|
+
},
|
|
381
|
+
{
|
|
382
|
+
value: 'pd:PhysicalAddress',
|
|
383
|
+
label: 'Physical Address',
|
|
384
|
+
iri: 'https://w3id.org/dpv/pd#PhysicalAddress',
|
|
385
|
+
parent: 'pd:Location',
|
|
386
|
+
group: 'pd:Tracking',
|
|
387
|
+
depth: 2,
|
|
388
|
+
definition: 'Information about physical address',
|
|
389
|
+
sensitive: false,
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
value: 'pd:Street',
|
|
393
|
+
label: 'Street',
|
|
394
|
+
iri: 'https://w3id.org/dpv/pd#Street',
|
|
395
|
+
parent: 'pd:PhysicalAddress',
|
|
396
|
+
group: 'pd:Tracking',
|
|
397
|
+
depth: 3,
|
|
398
|
+
definition: 'Information about street as a location',
|
|
399
|
+
sensitive: false,
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
value: 'pd:PostalCode',
|
|
403
|
+
label: 'Postal Code',
|
|
404
|
+
iri: 'https://w3id.org/dpv/pd#PostalCode',
|
|
405
|
+
parent: 'pd:PhysicalAddress',
|
|
406
|
+
group: 'pd:Tracking',
|
|
407
|
+
depth: 3,
|
|
408
|
+
definition: 'Information about postal code as a location',
|
|
409
|
+
sensitive: false,
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
value: 'pd:City',
|
|
413
|
+
label: 'City',
|
|
414
|
+
iri: 'https://w3id.org/dpv/pd#City',
|
|
415
|
+
parent: 'pd:PhysicalAddress',
|
|
416
|
+
group: 'pd:Tracking',
|
|
417
|
+
depth: 3,
|
|
418
|
+
definition: 'Information about city as a location',
|
|
419
|
+
sensitive: false,
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
value: 'pd:Region',
|
|
423
|
+
label: 'Region',
|
|
424
|
+
iri: 'https://w3id.org/dpv/pd#Region',
|
|
425
|
+
parent: 'pd:PhysicalAddress',
|
|
426
|
+
group: 'pd:Tracking',
|
|
427
|
+
depth: 3,
|
|
428
|
+
definition: 'Information about region as a location',
|
|
429
|
+
sensitive: false,
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
value: 'pd:Residency',
|
|
433
|
+
label: 'Residency',
|
|
434
|
+
iri: 'https://w3id.org/dpv/pd#Residency',
|
|
435
|
+
parent: 'pd:Location',
|
|
436
|
+
group: 'pd:Tracking',
|
|
437
|
+
depth: 2,
|
|
438
|
+
definition: 'Information about residency e.g. which region or country a person is resident in',
|
|
439
|
+
sensitive: false,
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
value: 'pd:DeviceBased',
|
|
443
|
+
label: 'Device-Based',
|
|
444
|
+
iri: 'https://w3id.org/dpv/pd#DeviceBased',
|
|
445
|
+
parent: 'pd:Tracking',
|
|
446
|
+
group: 'pd:Tracking',
|
|
447
|
+
depth: 1,
|
|
448
|
+
definition: 'Information about devices',
|
|
449
|
+
sensitive: false,
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
value: 'pd:IPAddress',
|
|
453
|
+
label: 'IP Address',
|
|
454
|
+
iri: 'https://w3id.org/dpv/pd#IPAddress',
|
|
455
|
+
parent: 'pd:DeviceBased',
|
|
456
|
+
group: 'pd:Tracking',
|
|
457
|
+
depth: 2,
|
|
458
|
+
definition: 'Information about the Internet Protocol (IP) address of a device',
|
|
459
|
+
sensitive: false,
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
value: 'pd:Internal',
|
|
463
|
+
label: 'Internal',
|
|
464
|
+
iri: 'https://w3id.org/dpv/pd#Internal',
|
|
465
|
+
parent: 'dpv:PersonalData',
|
|
466
|
+
group: 'pd:Internal',
|
|
467
|
+
depth: 0,
|
|
468
|
+
definition: 'Information about internal characteristics that cannot be seen or observed',
|
|
469
|
+
sensitive: false,
|
|
470
|
+
},
|
|
471
|
+
{
|
|
472
|
+
value: 'pd:Authenticating',
|
|
473
|
+
label: 'Authenticating',
|
|
474
|
+
iri: 'https://w3id.org/dpv/pd#Authenticating',
|
|
475
|
+
parent: 'pd:Internal',
|
|
476
|
+
group: 'pd:Internal',
|
|
477
|
+
depth: 1,
|
|
478
|
+
definition: 'Information about authentication and information used for authenticating',
|
|
479
|
+
sensitive: true,
|
|
480
|
+
},
|
|
481
|
+
{
|
|
482
|
+
value: 'pd:Password',
|
|
483
|
+
label: 'Password',
|
|
484
|
+
iri: 'https://w3id.org/dpv/pd#Password',
|
|
485
|
+
parent: 'pd:Authenticating',
|
|
486
|
+
group: 'pd:Internal',
|
|
487
|
+
depth: 2,
|
|
488
|
+
definition: 'Information about password used in the process of authenticating the individual as an user accessing a system.',
|
|
489
|
+
sensitive: true,
|
|
490
|
+
},
|
|
491
|
+
{
|
|
492
|
+
value: 'dpx:PasswordVerifier',
|
|
493
|
+
label: 'Password Verifier',
|
|
494
|
+
iri: 'https://dataparade.io/ns/dpx#PasswordVerifier',
|
|
495
|
+
parent: 'pd:Authenticating',
|
|
496
|
+
group: 'pd:Internal',
|
|
497
|
+
depth: 2,
|
|
498
|
+
definition: 'Value derived from a password to check it, such as a hash, salt or verifier.',
|
|
499
|
+
sensitive: true,
|
|
500
|
+
},
|
|
501
|
+
{
|
|
502
|
+
value: 'pd:SecretText',
|
|
503
|
+
label: 'Secret Text',
|
|
504
|
+
iri: 'https://w3id.org/dpv/pd#SecretText',
|
|
505
|
+
parent: 'pd:Authenticating',
|
|
506
|
+
group: 'pd:Internal',
|
|
507
|
+
depth: 2,
|
|
508
|
+
definition: 'Information about secret text used in the process of authenticating the individual as an user accessing a system, e.g., when recovering a lost password',
|
|
509
|
+
sensitive: true,
|
|
510
|
+
},
|
|
511
|
+
{
|
|
512
|
+
value: 'dpx:ClientSecret',
|
|
513
|
+
label: 'Client Secret',
|
|
514
|
+
iri: 'https://dataparade.io/ns/dpx#ClientSecret',
|
|
515
|
+
parent: 'pd:SecretText',
|
|
516
|
+
group: 'pd:Internal',
|
|
517
|
+
depth: 3,
|
|
518
|
+
definition: 'Secret an application uses to authenticate itself, such as an OAuth client secret.',
|
|
519
|
+
sensitive: true,
|
|
520
|
+
},
|
|
521
|
+
{
|
|
522
|
+
value: 'dpx:AccessToken',
|
|
523
|
+
label: 'Access Token',
|
|
524
|
+
iri: 'https://dataparade.io/ns/dpx#AccessToken',
|
|
525
|
+
parent: 'pd:Authenticating',
|
|
526
|
+
group: 'pd:Internal',
|
|
527
|
+
depth: 2,
|
|
528
|
+
definition: "Bearer, API or refresh token that grants access on an individual's behalf.",
|
|
529
|
+
sensitive: true,
|
|
530
|
+
},
|
|
531
|
+
{
|
|
532
|
+
value: 'dpx:SessionToken',
|
|
533
|
+
label: 'Session Token',
|
|
534
|
+
iri: 'https://dataparade.io/ns/dpx#SessionToken',
|
|
535
|
+
parent: 'pd:Authenticating',
|
|
536
|
+
group: 'pd:Internal',
|
|
537
|
+
depth: 2,
|
|
538
|
+
definition: 'Session identifier or session cookie that keeps an individual signed in.',
|
|
539
|
+
sensitive: true,
|
|
540
|
+
},
|
|
541
|
+
{
|
|
542
|
+
value: 'pd:Financial',
|
|
543
|
+
label: 'Financial',
|
|
544
|
+
iri: 'https://w3id.org/dpv/pd#Financial',
|
|
545
|
+
parent: 'dpv:PersonalData',
|
|
546
|
+
group: 'pd:Financial',
|
|
547
|
+
depth: 0,
|
|
548
|
+
definition: 'Information about finance including monetary characteristics and transactions',
|
|
549
|
+
sensitive: true,
|
|
550
|
+
},
|
|
551
|
+
{
|
|
552
|
+
value: 'pd:FinancialAccount',
|
|
553
|
+
label: 'Financial Account',
|
|
554
|
+
iri: 'https://w3id.org/dpv/pd#FinancialAccount',
|
|
555
|
+
parent: 'pd:Financial',
|
|
556
|
+
group: 'pd:Financial',
|
|
557
|
+
depth: 1,
|
|
558
|
+
definition: 'Information about financial accounts',
|
|
559
|
+
sensitive: true,
|
|
560
|
+
},
|
|
561
|
+
{
|
|
562
|
+
value: 'pd:AccountIdentifier',
|
|
563
|
+
label: 'Account Identifier',
|
|
564
|
+
iri: 'https://w3id.org/dpv/pd#AccountIdentifier',
|
|
565
|
+
parent: 'pd:FinancialAccount',
|
|
566
|
+
group: 'pd:Financial',
|
|
567
|
+
depth: 2,
|
|
568
|
+
definition: 'Information about financial account identifier',
|
|
569
|
+
sensitive: true,
|
|
570
|
+
},
|
|
571
|
+
{
|
|
572
|
+
value: 'pd:FinancialAccountNumber',
|
|
573
|
+
label: 'Financial Account Number',
|
|
574
|
+
iri: 'https://w3id.org/dpv/pd#FinancialAccountNumber',
|
|
575
|
+
parent: 'pd:AccountIdentifier',
|
|
576
|
+
group: 'pd:Financial',
|
|
577
|
+
depth: 3,
|
|
578
|
+
definition: 'Information about financial account number',
|
|
579
|
+
sensitive: true,
|
|
580
|
+
},
|
|
581
|
+
{
|
|
582
|
+
value: 'pd:BankAccount',
|
|
583
|
+
label: 'Bank Account',
|
|
584
|
+
iri: 'https://w3id.org/dpv/pd#BankAccount',
|
|
585
|
+
parent: 'pd:FinancialAccount',
|
|
586
|
+
group: 'pd:Financial',
|
|
587
|
+
depth: 2,
|
|
588
|
+
definition: 'Information about bank accounts',
|
|
589
|
+
sensitive: true,
|
|
590
|
+
},
|
|
591
|
+
{
|
|
592
|
+
value: 'pd:PaymentCard',
|
|
593
|
+
label: 'Payment Card',
|
|
594
|
+
iri: 'https://w3id.org/dpv/pd#PaymentCard',
|
|
595
|
+
parent: 'pd:FinancialAccount',
|
|
596
|
+
group: 'pd:Financial',
|
|
597
|
+
depth: 2,
|
|
598
|
+
definition: 'Information about payment card such as credit and debit cards',
|
|
599
|
+
sensitive: true,
|
|
600
|
+
},
|
|
601
|
+
{
|
|
602
|
+
value: 'pd:PaymentCardNumber',
|
|
603
|
+
label: 'Payment Card Number',
|
|
604
|
+
iri: 'https://w3id.org/dpv/pd#PaymentCardNumber',
|
|
605
|
+
parent: 'pd:PaymentCard',
|
|
606
|
+
group: 'pd:Financial',
|
|
607
|
+
depth: 3,
|
|
608
|
+
definition: 'Information about payment card number',
|
|
609
|
+
sensitive: true,
|
|
610
|
+
},
|
|
611
|
+
{
|
|
612
|
+
value: 'pd:PaymentCardExpiry',
|
|
613
|
+
label: 'Payment Card Expiry',
|
|
614
|
+
iri: 'https://w3id.org/dpv/pd#PaymentCardExpiry',
|
|
615
|
+
parent: 'pd:PaymentCard',
|
|
616
|
+
group: 'pd:Financial',
|
|
617
|
+
depth: 3,
|
|
618
|
+
definition: 'Information about payment card expiry such as a date',
|
|
619
|
+
sensitive: true,
|
|
620
|
+
},
|
|
621
|
+
{
|
|
622
|
+
value: 'dpx:CardholderName',
|
|
623
|
+
label: 'Cardholder Name',
|
|
624
|
+
iri: 'https://dataparade.io/ns/dpx#CardholderName',
|
|
625
|
+
parent: 'pd:PaymentCard',
|
|
626
|
+
group: 'pd:Financial',
|
|
627
|
+
depth: 3,
|
|
628
|
+
definition: 'Name printed on a payment card.',
|
|
629
|
+
sensitive: true,
|
|
630
|
+
},
|
|
631
|
+
{
|
|
632
|
+
value: 'pd:Transactional',
|
|
633
|
+
label: 'Transactional',
|
|
634
|
+
iri: 'https://w3id.org/dpv/pd#Transactional',
|
|
635
|
+
parent: 'pd:Financial',
|
|
636
|
+
group: 'pd:Financial',
|
|
637
|
+
depth: 1,
|
|
638
|
+
definition: 'Information about a purchasing, spending or income',
|
|
639
|
+
sensitive: true,
|
|
640
|
+
},
|
|
641
|
+
{
|
|
642
|
+
value: 'pd:Transaction',
|
|
643
|
+
label: 'Transaction',
|
|
644
|
+
iri: 'https://w3id.org/dpv/pd#Transaction',
|
|
645
|
+
parent: 'pd:Transactional',
|
|
646
|
+
group: 'pd:Financial',
|
|
647
|
+
depth: 2,
|
|
648
|
+
definition: 'Information about financial transactions e.g. bank transfers',
|
|
649
|
+
sensitive: true,
|
|
650
|
+
},
|
|
651
|
+
{
|
|
652
|
+
value: 'pd:Purchase',
|
|
653
|
+
label: 'Purchase',
|
|
654
|
+
iri: 'https://w3id.org/dpv/pd#Purchase',
|
|
655
|
+
parent: 'pd:Transactional',
|
|
656
|
+
group: 'pd:Financial',
|
|
657
|
+
depth: 2,
|
|
658
|
+
definition: 'Information about purchases such as items bought e.g. grocery or clothing',
|
|
659
|
+
sensitive: true,
|
|
660
|
+
},
|
|
661
|
+
{
|
|
662
|
+
value: 'pd:Social',
|
|
663
|
+
label: 'Social',
|
|
664
|
+
iri: 'https://w3id.org/dpv/pd#Social',
|
|
665
|
+
parent: 'dpv:PersonalData',
|
|
666
|
+
group: 'pd:Social',
|
|
667
|
+
depth: 0,
|
|
668
|
+
definition: 'Information about social aspects such as family, public life, or professional networks',
|
|
669
|
+
sensitive: false,
|
|
670
|
+
},
|
|
671
|
+
{
|
|
672
|
+
value: 'pd:Communication',
|
|
673
|
+
label: 'Communication',
|
|
674
|
+
iri: 'https://w3id.org/dpv/pd#Communication',
|
|
675
|
+
parent: 'pd:Social',
|
|
676
|
+
group: 'pd:Social',
|
|
677
|
+
depth: 1,
|
|
678
|
+
definition: 'Information communicated from or to an individual',
|
|
679
|
+
sensitive: false,
|
|
680
|
+
},
|
|
681
|
+
{
|
|
682
|
+
value: 'pd:SocialMediaCommunication',
|
|
683
|
+
label: 'Social Media Communication',
|
|
684
|
+
iri: 'https://w3id.org/dpv/pd#SocialMediaCommunication',
|
|
685
|
+
parent: 'pd:Communication',
|
|
686
|
+
group: 'pd:Social',
|
|
687
|
+
depth: 2,
|
|
688
|
+
definition: 'Information about social media communication, including the communication itself and metadata',
|
|
689
|
+
sensitive: false,
|
|
690
|
+
},
|
|
691
|
+
{
|
|
692
|
+
value: 'pd:Professional',
|
|
693
|
+
label: 'Professional',
|
|
694
|
+
iri: 'https://w3id.org/dpv/pd#Professional',
|
|
695
|
+
parent: 'pd:Social',
|
|
696
|
+
group: 'pd:Social',
|
|
697
|
+
depth: 1,
|
|
698
|
+
definition: 'Information about educational or professional career',
|
|
699
|
+
sensitive: false,
|
|
700
|
+
},
|
|
701
|
+
{
|
|
702
|
+
value: 'pd:Salary',
|
|
703
|
+
label: 'Salary',
|
|
704
|
+
iri: 'https://w3id.org/dpv/pd#Salary',
|
|
705
|
+
parent: 'pd:Professional',
|
|
706
|
+
group: 'pd:Social',
|
|
707
|
+
depth: 2,
|
|
708
|
+
definition: 'Information about salary',
|
|
709
|
+
sensitive: false,
|
|
710
|
+
},
|
|
711
|
+
{
|
|
712
|
+
value: 'pd:Education',
|
|
713
|
+
label: 'Education',
|
|
714
|
+
iri: 'https://w3id.org/dpv/pd#Education',
|
|
715
|
+
parent: 'pd:Professional',
|
|
716
|
+
group: 'pd:Social',
|
|
717
|
+
depth: 2,
|
|
718
|
+
definition: 'Information about education',
|
|
719
|
+
sensitive: false,
|
|
720
|
+
},
|
|
721
|
+
{
|
|
722
|
+
value: 'pd:Criminal',
|
|
723
|
+
label: 'Criminal',
|
|
724
|
+
iri: 'https://w3id.org/dpv/pd#Criminal',
|
|
725
|
+
parent: 'pd:Social',
|
|
726
|
+
group: 'pd:Social',
|
|
727
|
+
depth: 1,
|
|
728
|
+
definition: 'Information about criminal activity e.g. criminal convictions or jail time',
|
|
729
|
+
sensitive: true,
|
|
730
|
+
},
|
|
731
|
+
{
|
|
732
|
+
value: 'dpv:NonPersonalData',
|
|
733
|
+
label: 'Non-Personal Data',
|
|
734
|
+
iri: 'https://w3id.org/dpv#NonPersonalData',
|
|
735
|
+
parent: null,
|
|
736
|
+
group: 'dpv:NonPersonalData',
|
|
737
|
+
depth: 0,
|
|
738
|
+
definition: 'Data that is not Personal Data',
|
|
739
|
+
sensitive: false,
|
|
740
|
+
},
|
|
741
|
+
{
|
|
742
|
+
value: 'dpv:AnonymisedData',
|
|
743
|
+
label: 'Anonymised Data',
|
|
744
|
+
iri: 'https://w3id.org/dpv#AnonymisedData',
|
|
745
|
+
parent: 'dpv:NonPersonalData',
|
|
746
|
+
group: 'dpv:NonPersonalData',
|
|
747
|
+
depth: 1,
|
|
748
|
+
definition: 'Personal Data that has been (fully and completely) anonymised so that it is no longer considered Personal Data',
|
|
749
|
+
sensitive: false,
|
|
750
|
+
},
|
|
751
|
+
{
|
|
752
|
+
value: 'dpv:SensitiveData',
|
|
753
|
+
label: 'Sensitive Data',
|
|
754
|
+
iri: 'https://w3id.org/dpv#SensitiveData',
|
|
755
|
+
parent: null,
|
|
756
|
+
group: 'dpv:SensitiveData',
|
|
757
|
+
depth: 0,
|
|
758
|
+
definition: 'Data deemed sensitive',
|
|
759
|
+
sensitive: true,
|
|
760
|
+
},
|
|
761
|
+
{
|
|
762
|
+
value: 'dpv:SensitiveNonPersonalData',
|
|
763
|
+
label: 'Sensitive Non Personal Data',
|
|
764
|
+
iri: 'https://w3id.org/dpv#SensitiveNonPersonalData',
|
|
765
|
+
parent: 'dpv:SensitiveData',
|
|
766
|
+
group: 'dpv:SensitiveData',
|
|
767
|
+
depth: 1,
|
|
768
|
+
definition: 'Non-personal data deemed sensitive',
|
|
769
|
+
sensitive: true,
|
|
770
|
+
},
|
|
771
|
+
{
|
|
772
|
+
value: 'dpv:ConfidentialData',
|
|
773
|
+
label: 'Confidential Data',
|
|
774
|
+
iri: 'https://w3id.org/dpv#ConfidentialData',
|
|
775
|
+
parent: null,
|
|
776
|
+
group: 'dpv:ConfidentialData',
|
|
777
|
+
depth: 0,
|
|
778
|
+
definition: 'Data deemed confidential',
|
|
779
|
+
sensitive: true,
|
|
780
|
+
},
|
|
781
|
+
{
|
|
782
|
+
value: 'dpv:CommerciallyConfidentialData',
|
|
783
|
+
label: 'Commercially Confidential Data',
|
|
784
|
+
iri: 'https://w3id.org/dpv#CommerciallyConfidentialData',
|
|
785
|
+
parent: 'dpv:ConfidentialData',
|
|
786
|
+
group: 'dpv:ConfidentialData',
|
|
787
|
+
depth: 1,
|
|
788
|
+
definition: 'Data that is considered confidential due to business/trade secrets, confidentiality agreements, or company secrets',
|
|
789
|
+
sensitive: true,
|
|
790
|
+
},
|
|
791
|
+
{
|
|
792
|
+
value: 'dpv:IntellectualPropertyData',
|
|
793
|
+
label: 'Intellectual Property Data',
|
|
794
|
+
iri: 'https://w3id.org/dpv#IntellectualPropertyData',
|
|
795
|
+
parent: 'dpv:ConfidentialData',
|
|
796
|
+
group: 'dpv:ConfidentialData',
|
|
797
|
+
depth: 1,
|
|
798
|
+
definition: 'Data protected by Intellectual Property rights and regulations',
|
|
799
|
+
sensitive: true,
|
|
800
|
+
},
|
|
801
|
+
{
|
|
802
|
+
value: 'dpv:ProfessionalConfidentialData',
|
|
803
|
+
label: 'Professional Confidential Data',
|
|
804
|
+
iri: 'https://w3id.org/dpv#ProfessionalConfidentialData',
|
|
805
|
+
parent: 'dpv:ConfidentialData',
|
|
806
|
+
group: 'dpv:ConfidentialData',
|
|
807
|
+
depth: 1,
|
|
808
|
+
definition: 'Data protected by professional secrecy or confidentiality, such as lawyer or doctor-patient confidentiality',
|
|
809
|
+
sensitive: true,
|
|
810
|
+
},
|
|
811
|
+
{
|
|
812
|
+
value: 'dpv:StatisticallyConfidentialData',
|
|
813
|
+
label: 'Statistically Confidential Data',
|
|
814
|
+
iri: 'https://w3id.org/dpv#StatisticallyConfidentialData',
|
|
815
|
+
parent: 'dpv:ConfidentialData',
|
|
816
|
+
group: 'dpv:ConfidentialData',
|
|
817
|
+
depth: 1,
|
|
818
|
+
definition: 'Data protected through Statistical Confidentiality regulations and agreements',
|
|
819
|
+
sensitive: true,
|
|
820
|
+
},
|
|
821
|
+
{
|
|
822
|
+
value: 'dpv:UncategorisedData',
|
|
823
|
+
label: 'Uncategorised Data',
|
|
824
|
+
iri: 'https://w3id.org/dpv#UncategorisedData',
|
|
825
|
+
parent: null,
|
|
826
|
+
group: 'dpv:UncategorisedData',
|
|
827
|
+
depth: 0,
|
|
828
|
+
definition: 'Data whose categorisation is not known e.g. whether it is personal or non-personal data',
|
|
829
|
+
sensitive: false,
|
|
830
|
+
},
|
|
831
|
+
];
|
|
832
|
+
exports.LEGACY_DATA_CATEGORY_VALUE_TO_CONCEPT = {
|
|
833
|
+
behavioral_data: 'pd:Behavioural',
|
|
834
|
+
biometric_data: 'pd:Biometric',
|
|
835
|
+
contact_information: 'pd:Contact',
|
|
836
|
+
device_identifiers: 'pd:DeviceBased',
|
|
837
|
+
financial_data: 'pd:Financial',
|
|
838
|
+
geolocation_gps: 'pd:Location',
|
|
839
|
+
geolocation_ip: 'pd:IPAddress',
|
|
840
|
+
health_data: 'pd:MedicalHealth',
|
|
841
|
+
photos_selfies: 'pd:Picture',
|
|
842
|
+
professional_data: 'pd:Professional',
|
|
843
|
+
sensitive_personal_data: 'dpv:SensitivePersonalData',
|
|
844
|
+
special_categories: 'dpv:SpecialCategoryPersonalData',
|
|
845
|
+
user_identity_direct: 'pd:Identifying',
|
|
846
|
+
user_identity_indirect: 'pd:UID',
|
|
847
|
+
personal_identifiers: 'pd:Identifying',
|
|
848
|
+
financial_information: 'pd:Financial',
|
|
849
|
+
location_data: 'pd:Location',
|
|
850
|
+
employment_data: 'pd:Professional',
|
|
851
|
+
education_data: 'pd:Education',
|
|
852
|
+
special_category_data: 'dpv:SpecialCategoryPersonalData',
|
|
853
|
+
criminal_records: 'pd:Criminal',
|
|
854
|
+
demographic_data: 'pd:Demographic',
|
|
855
|
+
online_identifiers: 'pd:DeviceBased',
|
|
856
|
+
usage_data: 'pd:Behavioural',
|
|
857
|
+
aggregated_analytics: 'dpv:AnonymisedData',
|
|
858
|
+
other: 'dpv:UncategorisedData',
|
|
859
|
+
personal: 'dpv:PersonalData',
|
|
860
|
+
identifiers: 'pd:Identifying',
|
|
861
|
+
contact: 'pd:Contact',
|
|
862
|
+
demographic: 'pd:Demographic',
|
|
863
|
+
credentials: 'pd:Authenticating',
|
|
864
|
+
financial: 'pd:Financial',
|
|
865
|
+
health: 'pd:MedicalHealth',
|
|
866
|
+
location: 'pd:Location',
|
|
867
|
+
communications: 'pd:Communication',
|
|
868
|
+
commercial: 'pd:Transactional',
|
|
869
|
+
personal_data: 'dpv:PersonalData',
|
|
870
|
+
pii: 'dpv:PersonalData',
|
|
871
|
+
personally_identifiable_information: 'dpv:PersonalData',
|
|
872
|
+
credit_card_data: 'pd:PaymentCard',
|
|
873
|
+
payment_data: 'pd:Financial',
|
|
874
|
+
phi: 'pd:MedicalHealth',
|
|
875
|
+
ip_address: 'pd:IPAddress',
|
|
876
|
+
device_id: 'pd:DeviceBased',
|
|
877
|
+
behavioral: 'pd:Behavioural',
|
|
878
|
+
special_category: 'dpv:SpecialCategoryPersonalData',
|
|
879
|
+
document_files: 'dpv:UncategorisedData',
|
|
880
|
+
document_metadata: 'dpv:UncategorisedData',
|
|
881
|
+
file_content: 'dpv:UncategorisedData',
|
|
882
|
+
file_metadata: 'dpv:UncategorisedData',
|
|
883
|
+
};
|
|
884
|
+
const dataCategoryConceptsByValue = new Map(exports.DATA_CATEGORY_CONCEPTS.map((concept) => [concept.value, concept]));
|
|
885
|
+
const dataCategoryConceptValuesByLowercaseValue = new Map(exports.DATA_CATEGORY_CONCEPTS.map((concept) => [
|
|
886
|
+
concept.value.toLowerCase(),
|
|
887
|
+
concept.value,
|
|
888
|
+
]));
|
|
889
|
+
const dataCategoryConceptValuesByIri = new Map(exports.DATA_CATEGORY_CONCEPTS.map((concept) => [concept.iri, concept.value]));
|
|
890
|
+
const wellFormedDataCategoryConceptPattern = /^(dpv|pd|dpx):[A-Z][A-Za-z0-9]*$/;
|
|
891
|
+
function legacyLookupKey(raw) {
|
|
892
|
+
return raw
|
|
893
|
+
.trim()
|
|
894
|
+
.toLowerCase()
|
|
895
|
+
.replace(/[\s-]+/g, '_');
|
|
896
|
+
}
|
|
897
|
+
function findDataCategoryConcept(value) {
|
|
898
|
+
return dataCategoryConceptsByValue.get(value);
|
|
899
|
+
}
|
|
900
|
+
function isWellFormedDataCategoryConceptValue(value) {
|
|
901
|
+
return wellFormedDataCategoryConceptPattern.test(value);
|
|
902
|
+
}
|
|
903
|
+
/** A catalog concept for a concept value (any letter case), a concept IRI or an older category value. */
|
|
904
|
+
function resolveCatalogDataCategoryValue(raw) {
|
|
905
|
+
const trimmed = raw.trim();
|
|
906
|
+
if (!trimmed)
|
|
907
|
+
return undefined;
|
|
908
|
+
if (dataCategoryConceptsByValue.has(trimmed))
|
|
909
|
+
return trimmed;
|
|
910
|
+
return (dataCategoryConceptValuesByLowercaseValue.get(trimmed.toLowerCase()) ??
|
|
911
|
+
dataCategoryConceptValuesByIri.get(trimmed) ??
|
|
912
|
+
exports.LEGACY_DATA_CATEGORY_VALUE_TO_CONCEPT[legacyLookupKey(trimmed)]);
|
|
913
|
+
}
|
|
914
|
+
/**
|
|
915
|
+
* Like resolveCatalogDataCategoryValue, but also keeps a well-formed dpv:, pd: or dpx: concept the
|
|
916
|
+
* catalog does not list yet, so a newer scanner's categories are shown rather than dropped.
|
|
917
|
+
*/
|
|
918
|
+
function resolveDataCategoryValue(raw) {
|
|
919
|
+
const catalogValue = resolveCatalogDataCategoryValue(raw);
|
|
920
|
+
if (catalogValue)
|
|
921
|
+
return catalogValue;
|
|
922
|
+
const trimmed = raw.trim();
|
|
923
|
+
return isWellFormedDataCategoryConceptValue(trimmed) ? trimmed : undefined;
|
|
924
|
+
}
|
|
925
|
+
function resolveDataCategoryValues(rawValues) {
|
|
926
|
+
const resolvedValues = [];
|
|
927
|
+
for (const raw of rawValues) {
|
|
928
|
+
const resolved = resolveDataCategoryValue(raw);
|
|
929
|
+
if (resolved && !resolvedValues.includes(resolved)) {
|
|
930
|
+
resolvedValues.push(resolved);
|
|
931
|
+
}
|
|
932
|
+
}
|
|
933
|
+
return resolvedValues;
|
|
934
|
+
}
|
|
935
|
+
/** The catalog label of a concept; any other value is humanized as written. */
|
|
936
|
+
function dataCategoryLabel(value) {
|
|
937
|
+
const concept = dataCategoryConceptsByValue.get(value);
|
|
938
|
+
if (concept)
|
|
939
|
+
return concept.label;
|
|
940
|
+
const localName = value.includes(':')
|
|
941
|
+
? value.slice(value.indexOf(':') + 1)
|
|
942
|
+
: value;
|
|
943
|
+
return localName
|
|
944
|
+
.replace(/_/g, ' ')
|
|
945
|
+
.replace(/([a-z0-9])([A-Z])/g, '$1 $2')
|
|
946
|
+
.replace(/\b\w/g, (character) => character.toUpperCase());
|
|
947
|
+
}
|
|
948
|
+
function dataCategoryAncestorValues(value) {
|
|
949
|
+
const ancestors = [];
|
|
950
|
+
let parent = dataCategoryConceptsByValue.get(value)?.parent ?? null;
|
|
951
|
+
while (parent !== null) {
|
|
952
|
+
ancestors.push(parent);
|
|
953
|
+
parent = dataCategoryConceptsByValue.get(parent)?.parent ?? null;
|
|
954
|
+
}
|
|
955
|
+
return ancestors;
|
|
956
|
+
}
|
|
957
|
+
function isSensitiveDataCategory(value) {
|
|
958
|
+
const resolved = resolveCatalogDataCategoryValue(value);
|
|
959
|
+
return resolved
|
|
960
|
+
? dataCategoryConceptsByValue.get(resolved)?.sensitive === true
|
|
961
|
+
: false;
|
|
962
|
+
}
|