Debian Codegraph @

src/response/test_files/lookup_with_redaction.json

raw
1 {
2 "rdapConformance": [
3 "rdap_level_0",
4 "redacted"
5 ],
6 "objectClassName": "domain",
7 "ldhName": "example.com",
8 "secureDNS": {
9 "delegationSigned": false
10 },
11 "notices": [
12 {
13 "title": "Terms of Use",
14 "description": [
15 "Service subject to Terms of Use."
16 ],
17 "links": [
18 {
19 "rel": "self",
20 "href": "https://www.example.com/terms-of-use",
21 "type": "text/html",
22 "value": "https://www.example.com/terms-of-use"
23 }
24 ]
25 }
26 ],
27 "nameservers": [
28 {
29 "objectClassName": "nameserver",
30 "ldhName": "ns1.example.com"
31 },
32 {
33 "objectClassName": "nameserver",
34 "ldhName": "ns2.example.com"
35 }
36 ],
37 "entities": [
38 {
39 "objectClassName": "entity",
40 "handle": "123",
41 "roles": [
42 "registrar"
43 ],
44 "publicIds": [
45 {
46 "type": "IANA Registrar ID",
47 "identifier": "1"
48 }
49 ],
50 "vcardArray": [
51 "vcard",
52 [
53 [
54 "version",
55 {},
56 "text",
57 "4.0"
58 ],
59 [
60 "fn",
61 {},
62 "text",
63 "Example Registrar Inc."
64 ],
65 [
66 "adr",
67 {},
68 "text",
69 [
70 "",
71 "Suite 100",
72 "123 Example Dr.",
73 "Dulles",
74 "VA",
75 "20166-6503",
76 "US"
77 ]
78 ],
79 [
80 "email",
81 {},
82 "text",
83 "[email protected]"
84 ],
85 [
86 "tel",
87 {
88 "type": "voice"
89 },
90 "uri",
91 "tel:+1.7035555555"
92 ],
93 [
94 "tel",
95 {
96 "type": "fax"
97 },
98 "uri",
99 "tel:+1.7035555556"
100 ]
101 ]
102 ],
103 "entities": [
104 {
105 "objectClassName": "entity",
106 "roles": [
107 "abuse"
108 ],
109 "vcardArray": [
110 "vcard",
111 [
112 [
113 "version",
114 {},
115 "text",
116 "4.0"
117 ],
118 [
119 "fn",
120 {},
121 "text",
122 "Abuse Contact"
123 ],
124 [
125 "email",
126 {},
127 "text",
128 "[email protected]"
129 ],
130 [
131 "tel",
132 {
133 "type": "voice"
134 },
135 "uri",
136 "tel:+1.7035555555"
137 ]
138 ]
139 ]
140 }
141 ]
142 },
143 {
144 "objectClassName": "entity",
145 "handle": "XXXX",
146 "roles": [
147 "registrant"
148 ],
149 "vcardArray": [
150 "vcard",
151 [
152 [
153 "version",
154 {},
155 "text",
156 "4.0"
157 ],
158 [
159 "fn",
160 {},
161 "text",
162 ""
163 ],
164 [
165 "adr",
166 {},
167 "text",
168 [
169 "",
170 "",
171 "",
172 "",
173 "QC",
174 "",
175 "Canada"
176 ]
177 ]
178 ]
179 ]
180 },
181 {
182 "objectClassName": "entity",
183 "handle": "YYYY",
184 "roles": [
185 "technical"
186 ],
187 "vcardArray": [
188 "vcard",
189 [
190 [
191 "version",
192 {},
193 "text",
194 "4.0"
195 ],
196 [
197 "fn",
198 {},
199 "text",
200 ""
201 ],
202 [
203 "org",
204 {},
205 "text",
206 "Example Inc."
207 ],
208 [
209 "adr",
210 {},
211 "text",
212 [
213 "",
214 "Suite 1234",
215 "4321 Rue Somewhere",
216 "Quebec",
217 "QC",
218 "G1V 2M2",
219 "Canada"
220 ]
221 ]
222 ]
223 ]
224 }
225 ],
226 "events": [
227 {
228 "eventAction": "registration",
229 "eventDate": "1997-06-03T00:00:00Z"
230 },
231 {
232 "eventAction": "last changed",
233 "eventDate": "2020-05-28T01:35:00Z"
234 },
235 {
236 "eventAction": "expiration",
237 "eventDate": "2021-06-03T04:00:00Z"
238 }
239 ],
240 "status": [
241 "server delete prohibited",
242 "server update prohibited",
243 "server transfer prohibited",
244 "client transfer prohibited"
245 ],
246 "redacted": [
247 {
248 "name": {
249 "description": "Registry Domain ID"
250 },
251 "prePath": "$.handle",
252 "pathLang": "jsonpath",
253 "method": "removal",
254 "reason": {
255 "description": "Server policy"
256 }
257 },
258 {
259 "name": {
260 "description": "Registrant Name"
261 },
262 "postPath": "$.entities[?(@.roles[0]=='registrant')].vcardArray[1][?(@[0]=='fn')][3]",
263 "pathLang": "jsonpath",
264 "method": "emptyValue",
265 "reason": {
266 "description": "Server policy"
267 }
268 },
269 {
270 "name": {
271 "description": "Registrant Organization"
272 },
273 "prePath": "$.entities[?(@.roles[0]=='registrant')].vcardArray[1][?(@[0]=='org')]",
274 "pathLang": "jsonpath",
275 "method": "removal",
276 "reason": {
277 "description": "Server policy"
278 }
279 },
280 {
281 "name": {
282 "description": "Registrant Street"
283 },
284 "postPath": "$.entities[?(@.roles[0]=='registrant')].vcardArray[1][?(@[0]=='adr')][3][:3]",
285 "pathLang": "jsonpath",
286 "method": "emptyValue",
287 "reason": {
288 "description": "Server policy"
289 }
290 },
291 {
292 "name": {
293 "description": "Registrant City"
294 },
295 "postPath": "$.entities[?(@.roles[0]=='registrant')].vcardArray[1][?(@[0]=='adr')][3][3]",
296 "pathLang": "jsonpath",
297 "method": "emptyValue",
298 "reason": {
299 "description": "Server policy"
300 }
301 },
302 {
303 "name": {
304 "description": "Registrant Postal Code"
305 },
306 "postPath": "$.entities[?(@.roles[0]=='registrant')].vcardArray[1][?(@[0]=='adr')][3][5]",
307 "pathLang": "jsonpath",
308 "method": "emptyValue",
309 "reason": {
310 "description": "Server policy"
311 }
312 },
313 {
314 "name": {
315 "description": "Registrant Email"
316 },
317 "prePath": "$.entities[?(@.roles[0]=='registrant')].vcardArray[1][?(@[0]=='email')]",
318 "method": "removal",
319 "reason": {
320 "description": "Server policy"
321 }
322 },
323 {
324 "name": {
325 "description": "Registrant Phone"
326 },
327 "prePath": "$.entities[?(@.roles[0]=='registrant')].vcardArray[1][?(@[1].type=='voice')]",
328 "method": "removal",
329 "reason": {
330 "description": "Server policy"
331 }
332 },
333 {
334 "name": {
335 "description": "Technical Name"
336 },
337 "postPath": "$.entities[?(@.roles[0]=='technical')].vcardArray[1][?(@[0]=='fn')][3]",
338 "method": "emptyValue",
339 "reason": {
340 "description": "Server policy"
341 }
342 },
343 {
344 "name": {
345 "description": "Technical Email"
346 },
347 "prePath": "$.entities[?(@.roles[0]=='technical')].vcardArray[1][?(@[0]=='email')]",
348 "method": "removal",
349 "reason": {
350 "description": "Server policy"
351 }
352 },
353 {
354 "name": {
355 "description": "Technical Phone"
356 },
357 "prePath": "$.entities[?(@.roles[0]=='technical')].vcardArray[1][?(@[1].type=='voice')]",
358 "method": "removal",
359 "reason": {
360 "description": "Server policy"
361 }
362 },
363 {
364 "name": {
365 "description": "Technical Fax"
366 },
367 "prePath": "$.entities[?(@.roles[0]=='technical')].vcardArray[1][?(@[1].type=='fax')]",
368 "reason": {
369 "description": "Client request"
370 }
371 },
372 {
373 "name": {
374 "description": "Administrative Contact"
375 },
376 "prePath": "$.entities[?(@.roles[0]=='administrative')]",
377 "method": "removal",
378 "reason": {
379 "description": "Refer to the technical contact"
380 }
381 },
382 {
383 "name": {
384 "description": "Billing Contact"
385 },
386 "prePath": "$.entities[?(@.roles[0]=='billing')]",
387 "method": "removal",
388 "reason": {
389 "description": "Refer to the registrant contact"
390 }
391 }
392 ]
393 }