@apifreaks/openapi-specs 0.4.20 → 0.4.22

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.
Files changed (63) hide show
  1. package/dist/index.cjs +4410 -530
  2. package/dist/index.js +4410 -530
  3. package/dist/specs/commodity/historical-commodity-prices.yaml +30 -11
  4. package/dist/specs/dns/bulk-dns-lookup.yaml +214 -33
  5. package/dist/specs/dns/dns-lookup.yaml +9 -1
  6. package/dist/specs/financial/bulk-vat-rates-country.yaml +22 -4
  7. package/dist/specs/geography/flags-supported.yaml +18 -10
  8. package/dist/specs/pdf/delete-pdf-page.yaml +12 -4
  9. package/dist/specs/pdf/linearize-pdf.yaml +11 -3
  10. package/dist/specs/pdf/merge-pdf.yaml +11 -3
  11. package/dist/specs/pdf/pdf-compress.yaml +12 -4
  12. package/dist/specs/pdf/pdf-decrypt.yaml +13 -5
  13. package/dist/specs/pdf/pdf-encrypt.yaml +11 -3
  14. package/dist/specs/pdf/pdf-extract-pages.yaml +11 -3
  15. package/dist/specs/pdf/pdf-resource-upload-binary.yaml +1 -1
  16. package/dist/specs/pdf/pdf-resource-upload.yaml +3 -3
  17. package/dist/specs/pdf/pdf-restrict.yaml +13 -5
  18. package/dist/specs/pdf/pdf-to-image.yaml +130 -0
  19. package/dist/specs/pdf/pdf-unrestrict.yaml +13 -5
  20. package/dist/specs/pdf/rotate-pdf-pages.yaml +11 -3
  21. package/dist/specs/pdf/split-pdf.yaml +11 -3
  22. package/dist/specs/screenshot/bulk-screenshot.yaml +11 -10
  23. package/dist/specs/screenshot/website-screenshot.yaml +11 -10
  24. package/dist/specs/timezone/timezone-converter.yaml +36 -8
  25. package/dist/specs/timezone/timezone-lookup.yaml +36 -10
  26. package/dist/specs/weather/time-series-weather.yaml +6 -7
  27. package/dist/specs/whois/asn-lookup.yaml +676 -37
  28. package/dist/specs/whois/bulk-whois-lookup.yaml +480 -2
  29. package/dist/specs/whois/domain-whois-history-lookup.yaml +222 -2
  30. package/dist/specs/whois/reverse-whois.yaml +316 -8
  31. package/dist/specs/whois/whois-domain-lookup.yaml +482 -11
  32. package/dist/specs/whois/whois-ip-lookup.yaml +306 -255
  33. package/package.json +1 -1
  34. package/specs/commodity/historical-commodity-prices.json +37 -11
  35. package/specs/dns/bulk-dns-lookup.json +274 -29
  36. package/specs/dns/dns-lookup.json +13 -2
  37. package/specs/financial/bulk-vat-rates-country.json +33 -4
  38. package/specs/geography/flags-supported.json +20 -13
  39. package/specs/pdf/delete-pdf-page.json +14 -4
  40. package/specs/pdf/linearize-pdf.json +13 -3
  41. package/specs/pdf/merge-pdf.json +13 -3
  42. package/specs/pdf/pdf-compress.json +14 -4
  43. package/specs/pdf/pdf-decrypt.json +16 -6
  44. package/specs/pdf/pdf-encrypt.json +13 -3
  45. package/specs/pdf/pdf-extract-pages.json +13 -3
  46. package/specs/pdf/pdf-resource-upload-binary.json +1 -1
  47. package/specs/pdf/pdf-resource-upload.json +4 -4
  48. package/specs/pdf/pdf-restrict.json +16 -6
  49. package/specs/pdf/pdf-to-image.json +185 -0
  50. package/specs/pdf/pdf-unrestrict.json +16 -6
  51. package/specs/pdf/rotate-pdf-pages.json +13 -3
  52. package/specs/pdf/split-pdf.json +13 -3
  53. package/specs/screenshot/bulk-screenshot.json +10 -10
  54. package/specs/screenshot/website-screenshot.json +10 -10
  55. package/specs/timezone/timezone-converter.json +48 -8
  56. package/specs/timezone/timezone-lookup.json +53 -10
  57. package/specs/weather/time-series-weather.json +7 -7
  58. package/specs/whois/asn-lookup.json +878 -54
  59. package/specs/whois/bulk-whois-lookup.json +612 -2
  60. package/specs/whois/domain-whois-history-lookup.json +307 -2
  61. package/specs/whois/reverse-whois.json +453 -9
  62. package/specs/whois/whois-domain-lookup.json +632 -11
  63. package/specs/whois/whois-ip-lookup.json +427 -241
@@ -39,7 +39,7 @@
39
39
  "name": "ip",
40
40
  "in": "query",
41
41
  "required": true,
42
- "description": "IPv4 or IPv6 address to look up.",
42
+ "description": "IPv4 or IPv6 address to look up. Private, loopback and reserved addresses are not rejected: they return a 200 with the IANA special-use record.",
43
43
  "schema": {
44
44
  "type": "string"
45
45
  }
@@ -131,21 +131,39 @@
131
131
  }
132
132
  },
133
133
  "206": {
134
- "description": "Partial Content -- The WHOIS server returned an incomplete response. Some fields may be missing or truncated.",
134
+ "description": "Partial Content -- The registry query succeeded but the registrar query failed, so some details (for example contacts, routes or whois_raw_response) may be missing. Retry later for the full record.",
135
135
  "content": {
136
136
  "application/json": {
137
137
  "schema": {
138
- "$ref": "#/components/schemas/ErrorResponse"
138
+ "$ref": "#/components/schemas/IpWhoisPartialResponse"
139
139
  },
140
140
  "examples": {
141
141
  "partialResponse": {
142
- "summary": "Partial WHOIS response",
142
+ "summary": "Partial WHOIS response (inet_nums only)",
143
143
  "value": {
144
- "timestamp": "2025-08-14T09:25:32.271Z",
145
- "status": 206,
146
- "error": "Partial Response",
147
- "message": "Partial response due to an error occurred while processing the request.",
148
- "path": "/v1.0/ip/whois/live"
144
+ "status": true,
145
+ "ip_address": "8.8.8.8",
146
+ "query_time": "2024-02-01 07:50:47",
147
+ "whois_server": "whois.arin.net",
148
+ "inet_nums": [
149
+ {
150
+ "start_ip": "8.8.8.0",
151
+ "end_ip": "8.8.8.255",
152
+ "cidr": [
153
+ "8.8.8.0/24"
154
+ ],
155
+ "net_name": "GOGL",
156
+ "net_handle": "NET-8-8-8-0-2",
157
+ "status": "Direct Allocation",
158
+ "organization": "Google LLC (GOGL)",
159
+ "date_created": "2023-12-28",
160
+ "date_updated": "2023-12-28",
161
+ "source": "https://rdap.arin.net/registry/ip/8.8.8.0",
162
+ "parents": [
163
+ "NET8 (NET-8-0-0-0-0)"
164
+ ]
165
+ }
166
+ ]
149
167
  }
150
168
  }
151
169
  }
@@ -158,7 +176,7 @@
158
176
  }
159
177
  },
160
178
  "400": {
161
- "description": "Bad Request -- Missing or invalid ip parameter",
179
+ "description": "Bad Request -- Missing or invalid ip parameter, or no apiKey",
162
180
  "content": {
163
181
  "application/json": {
164
182
  "schema": {
@@ -184,6 +202,16 @@
184
202
  "message": "Request-param 'ip' (not-an-ip) is not an IP address",
185
203
  "path": "/v1.0/ip-whois"
186
204
  }
205
+ },
206
+ "missingApiKey": {
207
+ "summary": "Missing apiKey",
208
+ "value": {
209
+ "error": "Invalid Param Exception",
210
+ "message": "Please provide apiKey",
211
+ "path": "/v1.0/ip/whois/live",
212
+ "status": 400,
213
+ "timestamp": "2026-11-19T09:08:36.219Z"
214
+ }
187
215
  }
188
216
  }
189
217
  }
@@ -193,6 +221,337 @@
193
221
  "$ref": "#/components/headers/X-AF-Credits-Cost"
194
222
  }
195
223
  }
224
+ },
225
+ "401": {
226
+ "description": "Unauthorized -- invalid apiKey",
227
+ "content": {
228
+ "application/json": {
229
+ "schema": {
230
+ "$ref": "#/components/schemas/ErrorResponse"
231
+ },
232
+ "examples": {
233
+ "invalidApiKey": {
234
+ "summary": "Invalid apiKey",
235
+ "value": {
236
+ "error": "API Access Exception",
237
+ "message": "Provided API key is invalid. [For Technical Support: support@apifreaks.com]",
238
+ "path": "/v1.0/ip/whois/live",
239
+ "status": 401,
240
+ "timestamp": "2026-11-20T10:10:38.861Z"
241
+ }
242
+ },
243
+ "inactiveApiKey": {
244
+ "summary": "Inactive API key",
245
+ "value": {
246
+ "error": "API Access Exception",
247
+ "message": "Provided API key is inactive.",
248
+ "path": "/v1.0/ip/whois/live",
249
+ "status": 401,
250
+ "timestamp": "2026-11-20T10:10:38.861Z"
251
+ }
252
+ },
253
+ "noSubscription": {
254
+ "summary": "No subscription or credits",
255
+ "value": {
256
+ "error": "API Access Exception",
257
+ "message": "Please buy a subscription plan or add api credits, then use this api key.",
258
+ "path": "/v1.0/ip/whois/live",
259
+ "status": 401,
260
+ "timestamp": "2026-11-20T10:10:38.861Z"
261
+ }
262
+ },
263
+ "subscriptionDeactivated": {
264
+ "summary": "Subscription deactivated",
265
+ "value": {
266
+ "error": "API Access Exception",
267
+ "message": "Your subscription is deactivated. Please buy new plan or add api credits for using apifreaks APIs.",
268
+ "path": "/v1.0/ip/whois/live",
269
+ "status": 401,
270
+ "timestamp": "2026-11-20T10:10:38.861Z"
271
+ }
272
+ },
273
+ "subscriptionPaymentFailure": {
274
+ "summary": "Subscription deactivated after payment failures",
275
+ "value": {
276
+ "error": "API Access Exception",
277
+ "message": "Your subscription is deactivated due to much time payment failure. Please buy a new plan or add api credits for using apifreaks APIs.",
278
+ "path": "/v1.0/ip/whois/live",
279
+ "status": 401,
280
+ "timestamp": "2026-11-20T10:10:38.861Z"
281
+ }
282
+ },
283
+ "accountDeactivated": {
284
+ "summary": "Account deactivated",
285
+ "value": {
286
+ "error": "API Access Exception",
287
+ "message": "Your account is deactivated.",
288
+ "path": "/v1.0/ip/whois/live",
289
+ "status": 401,
290
+ "timestamp": "2026-11-20T10:10:38.861Z"
291
+ }
292
+ },
293
+ "blockedSuspiciousActivity": {
294
+ "summary": "Blocked for suspicious activity",
295
+ "value": {
296
+ "error": "API Access Exception",
297
+ "message": "You are blocked due to suspicious activity.",
298
+ "path": "/v1.0/ip/whois/live",
299
+ "status": 401,
300
+ "timestamp": "2026-11-20T10:10:38.861Z"
301
+ }
302
+ },
303
+ "apiRecordNotFound": {
304
+ "summary": "API record not found",
305
+ "value": {
306
+ "error": "API Access Exception",
307
+ "message": "Api record not found.",
308
+ "path": "/v1.0/ip/whois/live",
309
+ "status": 401,
310
+ "timestamp": "2026-11-20T10:10:38.861Z"
311
+ }
312
+ }
313
+ }
314
+ }
315
+ }
316
+ },
317
+ "406": {
318
+ "description": "Not Acceptable -- format is not json or xml",
319
+ "content": {
320
+ "application/json": {
321
+ "schema": {
322
+ "$ref": "#/components/schemas/ErrorResponse"
323
+ },
324
+ "examples": {
325
+ "invalidFormat": {
326
+ "summary": "Unsupported format",
327
+ "value": {
328
+ "error": "Unsupported Media Type",
329
+ "message": "The media type specified in the request is not supported. For more details, please refer to the API documentation.",
330
+ "path": "/v1.0/ip/whois/live",
331
+ "status": 406,
332
+ "timestamp": "2026-11-19T09:08:38.549Z"
333
+ }
334
+ }
335
+ }
336
+ }
337
+ },
338
+ "headers": {
339
+ "X-AF-Credits-Cost": {
340
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
341
+ }
342
+ }
343
+ },
344
+ "404": {
345
+ "description": "Not Found -- Gateway response when the endpoint is called with an HTTP method other than GET (POST, PUT and DELETE were verified live)",
346
+ "content": {
347
+ "application/json": {
348
+ "schema": {
349
+ "$ref": "#/components/schemas/ErrorResponse"
350
+ },
351
+ "examples": {
352
+ "resourceNotFound": {
353
+ "summary": "Wrong HTTP method or path",
354
+ "value": {
355
+ "error": "Resource Not Found",
356
+ "message": "The requested resource could not be found. Please verify the URL and try again.",
357
+ "path": "/v1.0/ip/whois/live",
358
+ "status": 404,
359
+ "timestamp": "2026-11-20T11:13:06.175Z"
360
+ }
361
+ }
362
+ }
363
+ }
364
+ }
365
+ },
366
+ "408": {
367
+ "description": "Request Timeout -- The WHOIS data could not be fetched",
368
+ "content": {
369
+ "application/json": {
370
+ "schema": {
371
+ "$ref": "#/components/schemas/ErrorResponse"
372
+ },
373
+ "examples": {
374
+ "fetchFailed": {
375
+ "summary": "Unable to fetch whois data",
376
+ "value": {
377
+ "timestamp": "2024-07-10T13:47:02.486Z",
378
+ "status": 408,
379
+ "error": "Fetching Whois Data Failed",
380
+ "message": "Unable to fetch whois data.Please try again [For Technical Support: support@apifreaks.com]",
381
+ "path": "/v1.0/ip/whois/live"
382
+ }
383
+ }
384
+ }
385
+ }
386
+ }
387
+ },
388
+ "412": {
389
+ "description": "Precondition Failed -- The API plan request limit is exceeded and the subscription is canceled",
390
+ "content": {
391
+ "application/json": {
392
+ "schema": {
393
+ "$ref": "#/components/schemas/ErrorResponse"
394
+ },
395
+ "examples": {
396
+ "planLimitExceeded": {
397
+ "summary": "API plan request limit exceeded",
398
+ "value": {
399
+ "timestamp": "2024-07-10T13:47:02.486Z",
400
+ "status": 412,
401
+ "error": "Fetching Whois Data Failed",
402
+ "message": "You have exceeded the limit of api plan requests and your subscription is canceled. [For Technical Support email at: support@apifreaks.com]",
403
+ "path": "/v1.0/ip/whois/live"
404
+ }
405
+ }
406
+ }
407
+ }
408
+ }
409
+ },
410
+ "413": {
411
+ "description": "Payload Too Large -- A request or surcharge limit is exceeded",
412
+ "content": {
413
+ "application/json": {
414
+ "schema": {
415
+ "$ref": "#/components/schemas/ErrorResponse"
416
+ },
417
+ "examples": {
418
+ "surchargeLimitExceeded": {
419
+ "summary": "Surcharge request limit exceeded",
420
+ "value": {
421
+ "timestamp": "2024-07-10T13:47:02.486Z",
422
+ "status": 413,
423
+ "error": "Fetching Whois Data Failed",
424
+ "message": "You have exceeded the limit of Surcharge Requests [allowed_surcharge_request_no]. Please upgrade your plan. [For Technical Support email at: support@apifreaks.com]",
425
+ "path": "/v1.0/ip/whois/live"
426
+ }
427
+ }
428
+ }
429
+ }
430
+ }
431
+ },
432
+ "429": {
433
+ "description": "Too Many Requests -- The per-minute request limit is reached",
434
+ "content": {
435
+ "application/json": {
436
+ "schema": {
437
+ "$ref": "#/components/schemas/ErrorResponse"
438
+ },
439
+ "examples": {
440
+ "rateLimited": {
441
+ "summary": "Per-minute request limit reached",
442
+ "value": {
443
+ "timestamp": "2024-07-10T13:47:02.486Z",
444
+ "status": 429,
445
+ "error": "Fetching Whois Data Failed",
446
+ "message": "Please slow down. Your maximum request limit per minute reached.",
447
+ "path": "/v1.0/ip/whois/live"
448
+ }
449
+ }
450
+ }
451
+ }
452
+ }
453
+ },
454
+ "499": {
455
+ "description": "Client Closed Request -- The request or connection timeout set by the client is too short",
456
+ "content": {
457
+ "application/json": {
458
+ "schema": {
459
+ "$ref": "#/components/schemas/ErrorResponse"
460
+ },
461
+ "examples": {
462
+ "clientTimeoutTooShort": {
463
+ "summary": "Client timeout too short",
464
+ "value": {
465
+ "message": "The request or connection timeout you’ve set is too short, which is causing the server to close the connection before completing the response. Please increase the timeout duration to ensure successful communication with the server."
466
+ }
467
+ }
468
+ }
469
+ }
470
+ }
471
+ },
472
+ "500": {
473
+ "description": "Internal Server Error",
474
+ "content": {
475
+ "application/json": {
476
+ "schema": {
477
+ "$ref": "#/components/schemas/ErrorResponse"
478
+ },
479
+ "examples": {
480
+ "internalServerError": {
481
+ "summary": "Internal server error",
482
+ "value": {
483
+ "timestamp": "2024-07-10T13:47:02.486Z",
484
+ "status": 500,
485
+ "error": "Fetching Whois Data Failed",
486
+ "message": "Internal Server error occurred. [For Technical Support email at: support@apifreaks.com]",
487
+ "path": "/v1.0/ip/whois/live"
488
+ }
489
+ }
490
+ }
491
+ }
492
+ }
493
+ },
494
+ "503": {
495
+ "description": "Service Unavailable",
496
+ "content": {
497
+ "application/json": {
498
+ "schema": {
499
+ "$ref": "#/components/schemas/ErrorResponse"
500
+ },
501
+ "examples": {
502
+ "serviceUnavailable": {
503
+ "summary": "Service unavailable",
504
+ "value": {
505
+ "timestamp": "2024-07-10T13:47:02.486Z",
506
+ "status": 503,
507
+ "error": "Fetching Whois Data Failed",
508
+ "message": "Service is unavailable. Please try after some time. [For Technical Support email at: support@apifreaks.com]",
509
+ "path": "/v1.0/ip/whois/live"
510
+ }
511
+ }
512
+ }
513
+ }
514
+ }
515
+ },
516
+ "504": {
517
+ "description": "Gateway Timeout -- The request timed out",
518
+ "content": {
519
+ "application/json": {
520
+ "schema": {
521
+ "$ref": "#/components/schemas/ErrorResponse"
522
+ },
523
+ "examples": {
524
+ "requestTimedOut": {
525
+ "summary": "Request timed out",
526
+ "value": {
527
+ "timestamp": "2024-07-10T13:47:02.486Z",
528
+ "status": 504,
529
+ "error": "Fetching Whois Data Failed",
530
+ "message": "Request is timed-out. [For Technical Support email at: support@apifreaks.com]",
531
+ "path": "/v1.0/ip/whois/live"
532
+ }
533
+ }
534
+ }
535
+ }
536
+ }
537
+ },
538
+ "505": {
539
+ "description": "HTTP Version Not Supported",
540
+ "content": {
541
+ "application/json": {
542
+ "schema": {
543
+ "$ref": "#/components/schemas/ErrorResponse"
544
+ },
545
+ "examples": {
546
+ "httpVersionNotSupported": {
547
+ "summary": "Outdated HTTP version",
548
+ "value": {
549
+ "message": "You might be using an outdated HTTP version."
550
+ }
551
+ }
552
+ }
553
+ }
554
+ }
196
555
  }
197
556
  }
198
557
  }
@@ -214,6 +573,52 @@
214
573
  }
215
574
  },
216
575
  "schemas": {
576
+ "IpWhoisPartialResponse": {
577
+ "type": "object",
578
+ "description": "Partial WHOIS response (HTTP 206). Same shape as IpWhoisResponse, but only the fields the registry returned are present; whois_raw_response, the organization and the contact lists may be missing.",
579
+ "required": ["status", "ip_address", "query_time", "whois_server", "inet_nums"],
580
+ "properties": {
581
+ "status": {
582
+ "$ref": "#/components/schemas/IpWhoisResponse/properties/status"
583
+ },
584
+ "ip_address": {
585
+ "$ref": "#/components/schemas/IpWhoisResponse/properties/ip_address"
586
+ },
587
+ "query_time": {
588
+ "$ref": "#/components/schemas/IpWhoisResponse/properties/query_time"
589
+ },
590
+ "whois_server": {
591
+ "$ref": "#/components/schemas/IpWhoisResponse/properties/whois_server"
592
+ },
593
+ "inet_nums": {
594
+ "$ref": "#/components/schemas/IpWhoisResponse/properties/inet_nums"
595
+ },
596
+ "irt": {
597
+ "$ref": "#/components/schemas/IpWhoisResponse/properties/irt"
598
+ },
599
+ "organization": {
600
+ "$ref": "#/components/schemas/IpWhoisResponse/properties/organization"
601
+ },
602
+ "administrative_contacts": {
603
+ "$ref": "#/components/schemas/IpWhoisResponse/properties/administrative_contacts"
604
+ },
605
+ "technical_contacts": {
606
+ "$ref": "#/components/schemas/IpWhoisResponse/properties/technical_contacts"
607
+ },
608
+ "abuse_contacts": {
609
+ "$ref": "#/components/schemas/IpWhoisResponse/properties/abuse_contacts"
610
+ },
611
+ "routes": {
612
+ "$ref": "#/components/schemas/IpWhoisResponse/properties/routes"
613
+ },
614
+ "whois_raw_response": {
615
+ "$ref": "#/components/schemas/IpWhoisResponse/properties/whois_raw_response"
616
+ },
617
+ "r_whois_raw_response": {
618
+ "$ref": "#/components/schemas/IpWhoisResponse/properties/r_whois_raw_response"
619
+ }
620
+ }
621
+ },
217
622
  "ErrorResponse": {
218
623
  "type": "object",
219
624
  "required": ["message"],
@@ -254,7 +659,7 @@
254
659
  "properties": {
255
660
  "status": {
256
661
  "type": "boolean",
257
- "description": "Indicates whether the WHOIS response from the WHOIS server is complete."
662
+ "description": "true when the record from the WHOIS server is complete. A different field from status inside inet_nums."
258
663
  },
259
664
  "ip_address": {
260
665
  "type": "string",
@@ -281,6 +686,13 @@
281
686
  "organization": {
282
687
  "$ref": "#/components/schemas/IpWhoisOrganization"
283
688
  },
689
+ "administrative_contacts": {
690
+ "type": "array",
691
+ "description": "Administrative contact persons or roles for this IP allocation. Returned by RIPE NCC, APNIC, LACNIC and AFRINIC; not returned by ARIN.",
692
+ "items": {
693
+ "$ref": "#/components/schemas/WhoisContactRef"
694
+ }
695
+ },
284
696
  "technical_contacts": {
285
697
  "type": "array",
286
698
  "description": "Technical contact persons or roles for this IP allocation.",
@@ -305,11 +717,8 @@
305
717
  "whois_raw_response": {
306
718
  "type": "string",
307
719
  "description": "Unparsed WHOIS response from the WHOIS server."
308
- },
309
- "r_whois_raw_response": {
310
- "type": ["string", "null"],
311
- "description": "WHOIS response from the rwhois server, if available."
312
720
  }
721
+
313
722
  }
314
723
  },
315
724
  "InetNum": {
@@ -358,27 +767,6 @@
358
767
  "type": ["string", "null"],
359
768
  "description": "URL to the geofeed (RFC 8805) for this prefix."
360
769
  },
361
- "latitude": {
362
- "type": ["number", "null"],
363
- "format": "float",
364
- "description": "Latitude parsed from the geoloc field."
365
- },
366
- "longitude": {
367
- "type": ["number", "null"],
368
- "format": "float",
369
- "description": "Longitude parsed from the geoloc field."
370
- },
371
- "city": {
372
- "type": ["string", "null"],
373
- "description": "City of allocation, primarily from LACNIC responses."
374
- },
375
- "languages": {
376
- "type": ["array", "null"],
377
- "description": "Regional languages in countries of allocation.",
378
- "items": {
379
- "type": "string"
380
- }
381
- },
382
770
  "status": {
383
771
  "type": ["string", "null"],
384
772
  "description": "Allocation or assignment status (e.g., 'Direct Allocation')."
@@ -387,31 +775,6 @@
387
775
  "type": ["string", "null"],
388
776
  "description": "Handle (unique ID) of the organization managing this inetnum."
389
777
  },
390
- "sponsoring_organization": {
391
- "type": ["string", "null"],
392
- "description": "Handle of the sponsoring organization for this inetnum."
393
- },
394
- "admin_contacts": {
395
- "type": ["array", "null"],
396
- "description": "Handles of admin persons or roles in WHOIS data.",
397
- "items": {
398
- "type": "string"
399
- }
400
- },
401
- "tech_contacts": {
402
- "type": ["array", "null"],
403
- "description": "Handles of technical persons or roles in WHOIS data.",
404
- "items": {
405
- "type": "string"
406
- }
407
- },
408
- "abuse_contacts": {
409
- "type": ["array", "null"],
410
- "description": "Handles of abuse persons or roles in WHOIS data.",
411
- "items": {
412
- "type": "string"
413
- }
414
- },
415
778
  "remarks": {
416
779
  "type": ["array", "null"],
417
780
  "description": "Remarks from the inetnum object.",
@@ -520,10 +883,6 @@
520
883
  "type": ["string", "null"],
521
884
  "description": "Parsed city from the address field."
522
885
  },
523
- "district": {
524
- "type": ["string", "null"],
525
- "description": "Parsed district from the address field."
526
- },
527
886
  "state": {
528
887
  "type": ["string", "null"],
529
888
  "description": "Parsed state from the address field."
@@ -564,13 +923,6 @@
564
923
  "type": "string"
565
924
  }
566
925
  },
567
- "organizations": {
568
- "type": ["array", "null"],
569
- "description": "Handles of organization objects linked to this IRT.",
570
- "items": {
571
- "type": "string"
572
- }
573
- },
574
926
  "admin_contacts": {
575
927
  "type": "array",
576
928
  "description": "Handles of admin persons or roles linked to this IRT.",
@@ -592,27 +944,6 @@
592
944
  "type": "string"
593
945
  }
594
946
  },
595
- "signature": {
596
- "type": ["array", "null"],
597
- "description": "Cryptographic signatures for this IRT object.",
598
- "items": {
599
- "type": "string"
600
- }
601
- },
602
- "encryption": {
603
- "type": ["array", "null"],
604
- "description": "Encryption keys for this IRT object.",
605
- "items": {
606
- "type": "string"
607
- }
608
- },
609
- "auth": {
610
- "type": ["array", "null"],
611
- "description": "Authentication methods for this IRT object.",
612
- "items": {
613
- "type": "string"
614
- }
615
- },
616
947
  "notify": {
617
948
  "type": ["array", "null"],
618
949
  "description": "Notify email addresses for this IRT object.",
@@ -634,18 +965,6 @@
634
965
  "type": "string"
635
966
  }
636
967
  },
637
- "mnt_ref": {
638
- "type": ["array", "null"],
639
- "description": "Referenced maintainer handles for this IRT object.",
640
- "items": {
641
- "type": "string"
642
- }
643
- },
644
- "date_created": {
645
- "type": ["string", "null"],
646
- "format": "date",
647
- "description": "Registration date of this IRT object (YYYY-MM-DD)."
648
- },
649
968
  "date_updated": {
650
969
  "type": ["string", "null"],
651
970
  "format": "date",
@@ -654,31 +973,9 @@
654
973
  "source": {
655
974
  "type": "string",
656
975
  "description": "WHOIS data source for this IRT object."
657
- },
658
- "organization": {
659
- "$ref": "#/components/schemas/IpWhoisOrganization"
660
- },
661
- "administrative_contacts": {
662
- "type": ["array", "null"],
663
- "description": "Administrative contacts linked to this IRT.",
664
- "items": {
665
- "$ref": "#/components/schemas/WhoisContactRef"
666
- }
667
- },
668
- "technical_contacts": {
669
- "type": ["array", "null"],
670
- "description": "Technical contacts linked to this IRT.",
671
- "items": {
672
- "$ref": "#/components/schemas/WhoisContactRef"
673
- }
674
- },
675
- "abuse_contacts": {
676
- "type": ["array", "null"],
677
- "description": "Abuse contacts linked to this IRT.",
678
- "items": {
679
- "$ref": "#/components/schemas/WhoisContactRef"
680
- }
681
976
  }
977
+
978
+
682
979
  }
683
980
  },
684
981
  "IpWhoisOrganization": {
@@ -720,10 +1017,6 @@
720
1017
  "type": ["string", "null"],
721
1018
  "description": "Parsed city from the address field."
722
1019
  },
723
- "district": {
724
- "type": ["string", "null"],
725
- "description": "Parsed district from the address field."
726
- },
727
1020
  "state": {
728
1021
  "type": ["string", "null"],
729
1022
  "description": "Parsed state from the address field."
@@ -739,16 +1032,6 @@
739
1032
  "type": "string"
740
1033
  }
741
1034
  },
742
- "latitude": {
743
- "type": ["number", "null"],
744
- "format": "float",
745
- "description": "Latitude parsed from the geoloc field."
746
- },
747
- "longitude": {
748
- "type": ["number", "null"],
749
- "format": "float",
750
- "description": "Longitude parsed from the geoloc field."
751
- },
752
1035
  "email": {
753
1036
  "type": ["array", "null"],
754
1037
  "description": "Email addresses for the organization.",
@@ -756,13 +1039,6 @@
756
1039
  "type": "string"
757
1040
  }
758
1041
  },
759
- "abuse_mailbox": {
760
- "type": ["array", "null"],
761
- "description": "Abuse mailbox email addresses for the organization.",
762
- "items": {
763
- "type": "string"
764
- }
765
- },
766
1042
  "phone": {
767
1043
  "type": ["array", "null"],
768
1044
  "description": "Phone numbers for the organization.",
@@ -805,20 +1081,6 @@
805
1081
  "type": "string"
806
1082
  }
807
1083
  },
808
- "notify": {
809
- "type": ["array", "null"],
810
- "description": "Notify email addresses for this organization object.",
811
- "items": {
812
- "type": "string"
813
- }
814
- },
815
- "ref_nfy": {
816
- "type": ["array", "null"],
817
- "description": "Reference notification email addresses for this organization object.",
818
- "items": {
819
- "type": "string"
820
- }
821
- },
822
1084
  "mnt_by": {
823
1085
  "type": ["array", "null"],
824
1086
  "description": "Maintainer handles for this organization object.",
@@ -877,10 +1139,6 @@
877
1139
  "type": ["string", "null"],
878
1140
  "description": "Parsed city from the address field."
879
1141
  },
880
- "district": {
881
- "type": ["string", "null"],
882
- "description": "Parsed district from the address field."
883
- },
884
1142
  "state": {
885
1143
  "type": ["string", "null"],
886
1144
  "description": "Parsed state from the address field."
@@ -989,7 +1247,7 @@
989
1247
  "RouteObject": {
990
1248
  "type": "object",
991
1249
  "description": "BGP route object containing the route prefix, origin AS, and related metadata.",
992
- "required": [],
1250
+ "required": ["source"],
993
1251
  "properties": {
994
1252
  "route": {
995
1253
  "type": ["string", "null"],
@@ -1010,64 +1268,6 @@
1010
1268
  "type": ["string", "null"],
1011
1269
  "description": "Country of the organization managing this route."
1012
1270
  },
1013
- "pingable": {
1014
- "type": ["array", "null"],
1015
- "description": "Pingable IP addresses in this route.",
1016
- "items": {
1017
- "type": "string"
1018
- }
1019
- },
1020
- "ping_hdl": {
1021
- "type": ["array", "null"],
1022
- "description": "Handles of pingable contacts for this route.",
1023
- "items": {
1024
- "type": "string"
1025
- }
1026
- },
1027
- "holes": {
1028
- "type": ["array", "null"],
1029
- "description": "Sub-allocation holes (more specific routes) within this route.",
1030
- "items": {
1031
- "type": "string"
1032
- }
1033
- },
1034
- "member_of": {
1035
- "type": ["array", "null"],
1036
- "description": "Route sets this route is a member of.",
1037
- "items": {
1038
- "type": "string"
1039
- }
1040
- },
1041
- "inject": {
1042
- "type": ["array", "null"],
1043
- "description": "Injection details for this route.",
1044
- "items": {
1045
- "type": "string"
1046
- }
1047
- },
1048
- "aggr_mtd": {
1049
- "type": ["string", "null"],
1050
- "description": "Aggregation method for this route."
1051
- },
1052
- "aggr_bndry": {
1053
- "type": ["string", "null"],
1054
- "description": "Aggregation boundary for this route."
1055
- },
1056
- "export_comps": {
1057
- "type": ["string", "null"],
1058
- "description": "Export composition for this route."
1059
- },
1060
- "components": {
1061
- "type": ["string", "null"],
1062
- "description": "Route components."
1063
- },
1064
- "organizations": {
1065
- "type": ["array", "null"],
1066
- "description": "Handles of organization objects related to this route.",
1067
- "items": {
1068
- "type": "string"
1069
- }
1070
- },
1071
1271
  "remarks": {
1072
1272
  "type": ["array", "null"],
1073
1273
  "description": "Remarks for this route object.",
@@ -1075,20 +1275,6 @@
1075
1275
  "type": "string"
1076
1276
  }
1077
1277
  },
1078
- "notify": {
1079
- "type": ["array", "null"],
1080
- "description": "Notify email addresses for this route object.",
1081
- "items": {
1082
- "type": "string"
1083
- }
1084
- },
1085
- "mnt_lower": {
1086
- "type": ["array", "null"],
1087
- "description": "Lower-level maintainer handles for this route.",
1088
- "items": {
1089
- "type": "string"
1090
- }
1091
- },
1092
1278
  "mnt_by": {
1093
1279
  "type": ["array", "null"],
1094
1280
  "description": "Maintainer handles for this route object.",