-
Notifications
You must be signed in to change notification settings - Fork 72
/
mongo_example_test_dataset.yml
293 lines (293 loc) · 9.53 KB
/
mongo_example_test_dataset.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
dataset:
- fides_key: mongo_test
name: Mongo Example Test Dataset
description: Example of a Mongo dataset that contains 'details' about customers defined in the 'postgres_example_test_dataset'
collections:
- name: customer_details
fields:
- name: _id
data_categories: [system.operations]
fides_meta:
primary_key: True
- name: customer_id
data_categories: [user.unique_id]
fides_meta:
references:
- dataset: postgres_example_test_dataset
field: customer.id
direction: from
- name: customer_uuid
data_categories: [user.unique_id]
fides_meta:
data_type: string
- name: gender
data_categories: [user.demographic.gender]
fides_meta:
data_type: string
- name: birthday
data_categories: [user.demographic.date_of_birth]
fides_meta:
data_type: string
- name: workplace_info
fides_meta:
data_type: object
fields:
- name: employer
fides_meta:
data_type: string
- name: position
data_categories: [user.job_title]
fides_meta:
data_type: string
- name: direct_reports
data_categories: [user.name]
fides_meta:
data_type: string[]
- name: emergency_contacts
fides_meta:
data_type: object[]
fields:
- name: name
data_categories: [user.name]
fides_meta:
data_type: string
- name: relationship
fides_meta:
data_type: string
- name: phone
data_categories: [user.contact.phone_number]
fides_meta:
data_type: string
- name: children
data_categories: [user.childrens]
fides_meta:
data_type: string[]
- name: travel_identifiers
fides_meta:
data_type: string[]
data_categories: [system.operations]
- name: comments
fides_meta:
data_type: object[]
fields:
- name: comment_id
fides_meta:
data_type: string
references:
- dataset: mongo_test
field: conversations.thread.comment
direction: to
- name: internal_customer_profile
fields:
- name: _id
data_categories: [system.operations]
fides_meta:
primary_key: True
data_type: object_id
- name: customer_identifiers
fields:
- name: internal_id
fides_meta:
data_type: string
references:
- dataset: mongo_test
field: customer_feedback.customer_information.internal_customer_id
direction: from
- name: derived_emails
data_categories: [user]
fides_meta:
data_type: string[]
identity: email
- name: derived_phone
data_categories: [user]
fides_meta:
data_type: string[]
return_all_elements: true
identity: phone_number
- name: derived_interests
data_categories: [user]
fides_meta:
data_type: string[]
- name: customer_feedback
fields:
- name: _id
data_categories: [system.operations]
fides_meta:
primary_key: True
data_type: object_id
- name: customer_information
fields:
- name: email
fides_meta:
identity: email
data_type: string
- name: phone
data_categories: [user.contact.phone_number]
fides_meta:
data_type: string
- name: internal_customer_id
data_categories: [system.operations]
fides_meta:
data_type: string
- name: rating
data_categories: [user]
fides_meta:
data_type: integer
- name: date
data_categories: [system.operations]
fides_meta:
data_type: string
- name: message
data_categories: [user]
fides_meta:
data_type: string
- name: flights
fields:
- name: _id
data_categories: [system.operations]
fides_meta:
primary_key: True
data_type: object_id
- name: passenger_information
fields:
- name: passenger_ids
fides_meta:
data_type: string[]
references:
- dataset: mongo_test
field: customer_details.travel_identifiers
direction: from
- name: full_name
data_categories: [user.name]
fides_meta:
data_type: string
- name: flight_no
- name: date
- name: pilots
data_categories: [system.operations]
fides_meta:
data_type: string[]
- name: plane
data_categories: [system.operations]
fides_meta:
data_type: integer
- name: conversations
fields:
- name: _id
data_categories: [system.operations]
fides_meta:
primary_key: True
data_type: object_id
- name: thread
fides_meta:
data_type: object[]
fields:
- name: comment
fides_meta:
data_type: string
- name: message
fides_meta:
data_type: string
- name: chat_name
data_categories: [user.name]
fides_meta:
data_type: string
- name: ccn
data_categories: [user.financial.bank_account]
fides_meta:
data_type: string
- name: employee
fields:
- name: _id
data_categories: [system.operations]
fides_meta:
primary_key: True
data_type: object_id
- name: email
data_categories: [user.contact.email]
fides_meta:
identity: email
data_type: string
- name: id
data_categories: [user.unique_id]
fides_meta:
primary_key: True
references:
- dataset: mongo_test
field: flights.pilots
direction: from
- name: name
data_categories: [user.name]
fides_meta:
data_type: string
- name: aircraft
fields:
- name: _id
data_categories: [system.operations]
fides_meta:
primary_key: True
data_type: object_id
- name: planes
data_categories: [system.operations]
fides_meta:
data_type: string[]
references:
- dataset: mongo_test
field: flights.plane
direction: from
- name: model
data_categories: [system.operations]
fides_meta:
data_type: string
- name: payment_card
fields:
- name: _id
data_categories: [system.operations]
fides_meta:
primary_key: True
data_type: object_id
- name: billing_address_id
data_categories: [system.operations]
- name: ccn
data_categories: [user.financial.bank_account]
fides_meta:
references:
- dataset: mongo_test
field: conversations.thread.ccn
direction: from
- name: code
data_categories: [user.financial]
- name: customer_id
data_categories: [user.unique_id]
- name: id
data_categories: [system.operations]
fides_meta:
primary_key: True
- name: name
data_categories: [user.financial]
- name: preferred
data_categories: [user]
- name: rewards
fields:
- name: _id
fides_meta:
primary_key: True
data_type: object_id
- name: owner
fides_meta:
data_type: object[]
return_all_elements: true
fields:
- name: phone
data_categories: [user.contact.phone_number]
fides_meta:
data_type: string
references:
- dataset: mongo_test
field: internal_customer_profile.customer_identifiers.derived_phone
direction: from
- name: shopper_name
- name: points
fides_meta:
data_type: integer
- name: expiration_date