-
Notifications
You must be signed in to change notification settings - Fork 6
/
fields.yml
257 lines (175 loc) · 4.4 KB
/
fields.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
# ======================= CONTACT ============================
contact:
clear:
- legal_identifier
- sic_code
- user_unique_id
- preferred_language
- external_identifier
- legal_name
- image_URL
- preferred_communication_method
- hash
- api_key
- source
- email_greeting_custom
- email_greeting_display
- postal_greeting_custom
- postal_greeting_display
- addressee_custom
- addressee_display
- formal_title
post_process:
- household_name
- sort_name
- display_name
stipulations:
only_individual:
- nick_name
- first_name
- middle_name
- last_name
- prefix_id
- suffix_id
- job_title
- birth_date
- gender_id
only_household:
- household_name
only_organization:
- organization_name
sparse:
- nick_name
- middle_name
- gender_id
super_sparse:
- prefix_id
- suffix_id
- is_deceased
modify:
nick_name:
random: random_name
fake: clear
jumble: skip # gets processed with first_name
first_name:
random: random_name
fake: fake_first_name
jumble: jumble_first_nick_grouped
middle_name:
random: random_name
fake: fake_first_name
jumble: jumble_all
last_name:
random: random_name
fake: fake_last_name
jumble: jumble_all
prefix_id: random_prefix_id
suffix_id: random_suffix_id
job_title:
random: random_name
fake: fake_job_title
jumble: jumble_all
gender_id: random_gender_id
birth_date: random_birth_date
is_deceased: random_is_deceased_and_date
deceased_date: skip # gets processed with is_deceased
organization_name:
random: random_name
fake: fake_organization_name
jumble: random_name
household_name:
random: random_name
fake: fake_household_name
jumble: random_name
# ======================= ADDRESS ============================
address:
clear:
- street_number
- street_number_suffix
- street_number_predirectional
- street_name
- street_type
- street_number_postdirectional
- street_unit
- supplemental_address_2
- supplemental_address_3
- county_id
- geo_code_1
- geo_code_2
- timezone
- name
- manual_geo_code
- usps_adc
- postal_code_suffix
post_process:
- country_id
stipulations:
sparse:
- supplemental_address_1
modify:
street_address:
random: random_street_address
fake: fake_street_address
jumble: random_street_address
supplemental_address_1:
random: random_name
fake: clear
jumble: jumble_all
city:
random: random_name
fake: fake_city
jumble: jumble_all
state_province_id: random_state_province_id
postal_code: random_postal_code
# ======================= EMAIL ============================
email:
clear:
- signature_text
- signature_html
modify:
email:
random: random_email
fake: fake_email
jumble: random_email
# ======================= PHONE ============================
phone:
clear:
- mobile_provider_id
- phone_ext
modify:
phone:
random: random_phone
fake: fake_phone
jumble: random_phone
phone_numeric: skip # gets processed with DB trigger from phone field
# ======================= IM ============================
im: truncate
# ======================= NOTE ============================
note: truncate
# ======================= OPENID ============================
openid: truncate
# ======================= WEBSITE ============================
website: truncate
# ======================= PAYMENT_PROCESSOR =================
payment_processor:
clear:
- user_name
- password
- signature
# ======================= PCP ===============================
pcp:
modify:
title: random_name
intro_text: random_name
page_text: random_name
donate_link_text: fixed_string_donate_now
# ======================= PERSISTENT ============================
persistent: truncate
# ======================= RELATIONSHIP ============================
relationship:
clear:
- description
# ======================= UF_MATCH ============================
uf_match:
clear:
- uf_name # this might cause problems, but err on safe side at first