-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathusps-enhanced-addresses-v3r2.yaml
More file actions
1339 lines (1332 loc) · 50.2 KB
/
Copy pathusps-enhanced-addresses-v3r2.yaml
File metadata and controls
1339 lines (1332 loc) · 50.2 KB
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
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
openapi: 3.0.1
info:
title: Addresses
description: |
Contact Us: [USPS API Support](https://emailus.usps.com/s/usps-APIs) | [Terms of Service](https://about.usps.com/termsofuse.htm)
The Addresses API validates and corrects address information to improve package delivery service and pricing. This suite of APIs provides different utilities for addressing components. The ZIP Code™ lookup finds valid ZIP Code™(s) for a City and State. The City/State lookup provides the valid cities and states for a provided ZIP Code™. The Address Standardization API validates and standardizes USPS® domestic addresses, city and state names, and ZIP Code™ in accordance with USPS® addressing standards. The USPS® address standard includes the ZIP + 4®, signifying a USPS® delivery point, given a street address, a city and a state.
version: 3.3.1
servers:
- url: https://apis.usps.com/addresses/v3
description: Production Environment Endpoint
- url: https://apis-tem.usps.com/addresses/v3
description: Testing Environment Endpoint
paths:
/address:
get:
tags:
- Resources
summary: Returns the best standardized address for a given address.
description: |-
Standardizes street addresses including city and street abbreviations as well as providing missing information such as ZIP Code™ and ZIP + 4®.
Must specify a street address, and either a city and state, or a ZIP Code™ (or all three).
operationId: get-address
parameters:
- name: firm
in: query
description: "Firm/business corresponding to the address."
schema:
type: string
maxLength: 50
minLength: 0
- name: streetAddress
in: query
description: The number of a building along with the name of the road or street on which it is located. This may also contain secondary address information instead of being separate in the secondaryAddress field.
required: true
schema:
type: string
- name: secondaryAddress
in: query
description: The secondary unit designator, such as apartment (APT) or suite (STE), along with the APT/STE value, defining the exact location of the address within a building. This information can be added to the end of the `streetAddress` field instead of separated to this field. For more information please see [Postal Explorer](https://pe.usps.com/text/pub28/28c2_003.htm).
required: false
schema:
type: string
- name: city
in: query
description: This is the city name of the address.
required: false
schema:
type: string
- name: state
in: query
description: The two-character state code of the address.
required: false
schema:
maxLength: 2
minLength: 2
pattern: ^(?:AA|AE|AL|AK|AP|AS|AZ|AR|CA|CO|CT|DE|DC|FM|FL|GA|GU|HI|ID|IL|IN|IA|KS|KY|LA|ME|MH|MD|MA|MI|MN|MS|MO|MP|MT|NE|NV|NH|NJ|NM|NY|NC|ND|OH|OK|OR|PW|PA|PR|RI|SC|SD|TN|TX|UT|VT|VI|VA|WA|WV|WI|WY)$
type: string
- name: urbanization
in: query
description: This is the urbanization code relevant only for Puerto Rico addresses.
required: false
schema:
type: string
- name: ZIPCode
in: query
description: This is the 5-digit ZIP code.
required: false
schema:
pattern: "^\\d{5}$"
type: string
- name: ZIPPlus4
in: query
description: This is the 4-digit component of the ZIP+4 code. Using the correct ZIP+4 reduces the number of times your mail is handled and can decrease the chance of a misdelivery or error.
required: false
schema:
pattern: "^\\d{4}$"
type: string
x-anyOf-required:
- required:
- city
- state
- required:
- ZIPCode
responses:
"200":
description: Successful operation.
content:
application/json:
schema:
$ref: '#/components/schemas/AddressResponse'
application/xml:
schema:
$ref: '#/components/schemas/AddressResponse'
"400":
description: Bad Request. There is an error in the received request.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorMessage'
application/xml:
schema:
$ref: '#/components/schemas/ErrorMessage'
"401":
description: Unauthorized request.
headers:
WWW-Authenticate:
$ref: '#/components/headers/WWWAuthenticate'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorMessage'
application/xml:
schema:
$ref: '#/components/schemas/ErrorMessage'
"403":
description: Access is denied.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorMessage'
application/xml:
schema:
$ref: '#/components/schemas/ErrorMessage'
"404":
description: Address Not Found.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorMessage'
examples:
Address Not Found:
$ref: '#/components/examples/Address-Not-Found'
No Match:
$ref: '#/components/examples/No-Match'
Invalid State Code:
$ref: '#/components/examples/Invalid-State-Code'
Invalid City:
$ref: '#/components/examples/Invalid-City'
Unverifiable City and State:
$ref: '#/components/examples/Unverifiable-City-and-State'
Insufficient Address Data:
$ref: '#/components/examples/Insufficient-Adddress-Data'
Invalid Delivery Address:
$ref: '#/components/examples/Invalid-Delivery-Address'
Multiple Addresses Found:
$ref: '#/components/examples/Multiple-Addresses-Found'
application/xml:
schema:
$ref: '#/components/schemas/ErrorMessage'
"429":
description: Too Many Requests. Too many requests have been received from the client in a short amount of time.
headers:
Retry-After:
$ref: '#/components/headers/RetryAfter'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorMessage'
application/xml:
schema:
$ref: '#/components/schemas/ErrorMessage'
"503":
description: Service is unavailable.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorMessage'
application/xml:
schema:
$ref: '#/components/schemas/ErrorMessage'
default:
description: Other unanticipated errors that may occur.
content: {}
security:
- OAuth:
- addresses
/city-state:
get:
tags:
- Resources
summary: Returns the city and state for a given ZIP Code.
description: Returns the city and state corresponding to the given ZIP Code™.
operationId: get-city-state
parameters:
- name: ZIPCode
in: query
description: This is the 5-digit ZIP code.
required: true
schema:
pattern: "^\\d{5}$"
type: string
responses:
"200":
description: Successful operation.
content:
application/json:
schema:
$ref: '#/components/schemas/CityStateResponse'
application/xml:
schema:
$ref: '#/components/schemas/CityStateResponse'
"400":
description: A bad request was received.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorMessage'
application/xml:
schema:
$ref: '#/components/schemas/ErrorMessage'
"401":
description: Unauthorized request.
headers:
WWW-Authenticate:
$ref: '#/components/headers/WWWAuthenticate'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorMessage'
application/xml:
schema:
$ref: '#/components/schemas/ErrorMessage'
"403":
description: Access is denied.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorMessage'
application/xml:
schema:
$ref: '#/components/schemas/ErrorMessage'
"429":
description: Too Many Requests. Too many requests have been received from the client in a short amount of time.
headers:
Retry-After:
$ref: '#/components/headers/RetryAfter'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorMessage'
application/xml:
schema:
$ref: '#/components/schemas/ErrorMessage'
"503":
description: Service is unavailable.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorMessage'
application/xml:
schema:
$ref: '#/components/schemas/ErrorMessage'
default:
description: Other unanticipated errors that may occur.
content: {}
security:
- OAuth:
- addresses
/zipcode:
get:
tags:
- Resources
summary: Returns the ZIP Code for a given address.
description: "Returns the ZIP Code™ and ZIP + 4® corresponding to the given address, city, and state (use USPS state abbreviations)."
operationId: get-ZIPCode
parameters:
- name: firm
in: query
description: "Firm/business corresponding to the address."
schema:
type: string
maxLength: 50
minLength: 0
- name: streetAddress
in: query
description: The number of a building along with the name of the road or street on which it is located. This may also contain secondary address information when it is used to provide a standardized address or is provided in the associated request field.
required: true
schema:
type: string
- name: secondaryAddress
in: query
description: The secondary unit designator, such as apartment (APT) or suite (STE), along with the APT/STE value, defining the exact location of the address within a building. Information initially entered on the secondaryAddress request field may not appear in the response secondaryAddress field when it’s used to provide a standardized address (see streetAddress). This field may also contain information when it does not contain address information (e.g., c/o or ATTN information). For more information please see [Postal Explorer](https://pe.usps.com/text/pub28/28c2_003.htm).
required: false
schema:
type: string
- name: city
in: query
description: This is the city name of the address.
required: true
schema:
type: string
- name: state
in: query
description: This is the two-character state code of the address.
required: true
schema:
maxLength: 2
minLength: 2
pattern: ^(AA|AE|AL|AK|AP|AS|AZ|AR|CA|CO|CT|DE|DC|FM|FL|GA|GU|HI|ID|IL|IN|IA|KS|KY|LA|ME|MH|MD|MA|MI|MN|MS|MO|MP|MT|NE|NV|NH|NJ|NM|NY|NC|ND|OH|OK|OR|PW|PA|PR|RI|SC|SD|TN|TX|UT|VT|VI|VA|WA|WV|WI|WY)$
type: string
- name: ZIPCode
in: query
description: This is the 5-digit ZIP code.
required: false
schema:
pattern: "^\\d{5}$"
type: string
- name: ZIPPlus4
in: query
description: This is the 4-digit component of the ZIP+4 code. Using the correct ZIP+4 reduces the number of times your mail is handled and can decrease the chance of a misdelivery or error.
required: false
schema:
pattern: "^\\d{4}$"
type: string
responses:
"200":
description: Successful operation.
content:
application/json:
schema:
$ref: '#/components/schemas/ZIPCodeResponse'
application/xml:
schema:
$ref: '#/components/schemas/ZIPCodeResponse'
"400":
description: There is an error in the received request.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorMessage'
application/xml:
schema:
$ref: '#/components/schemas/ErrorMessage'
"401":
description: Unauthorized request.
headers:
WWW-Authenticate:
$ref: '#/components/headers/WWWAuthenticate'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorMessage'
application/xml:
schema:
$ref: '#/components/schemas/ErrorMessage'
"403":
description: Access is denied.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorMessage'
application/xml:
schema:
$ref: '#/components/schemas/ErrorMessage'
"429":
description: Too Many Requests. Too many requests have been received from the client in a short amount of time.
headers:
Retry-After:
$ref: '#/components/headers/RetryAfter'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorMessage'
application/xml:
schema:
$ref: '#/components/schemas/ErrorMessage'
"503":
description: Service is unavailable.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorMessage'
application/xml:
schema:
$ref: '#/components/schemas/ErrorMessage'
default:
description: Other unanticipated errors that may occur.
content: {}
security:
- OAuth:
- addresses
components:
schemas:
AddressResponse:
title: Address Response
type: object
properties:
firm:
maxLength: 50
minLength: 0
type: string
description: This is the firm/business name at the address.
address:
$ref: '#/components/schemas/DomesticAddress'
additionalInfo:
$ref: '#/components/schemas/AddressAdditionalInfo'
corrections:
$ref: '#/components/schemas/AddressCorrections'
matches:
$ref: '#/components/schemas/AddressMatches'
warnings:
type: array
xml:
wrapped: true
items:
type: string
xml:
name: warning
additionalProperties: false
description: "Standardizes street addresses including city and street abbreviations, and provides missing information such as ZIP Code™ and ZIP + 4®."
xml:
name: AddressValidateResponse
wrapped: true
CityAndState:
title: City And State
type: object
properties:
city:
maxLength: 28
minLength: 1
type: string
description: This is the city name of the address.
example: "Des Moines"
state:
maxLength: 2
minLength: 2
pattern: "\\w{2}"
type: string
description: This is two-character state code of the address.
example: IA
ZIPCode:
maxLength: 5
minLength: 5
type: string
description: This is the ZIP Code of the address.
example: "50314"
AddressCorrections:
title: Address Corrections
type: array
description: |
Codes that indicate how to improve the address input to get a better match.
Code `32` will indicate "Default address: The address you entered was found but more information is needed (such as an apartment, suite, or box number." The recommended change would be to add additional information, such as an apartment, suite, or box number, to match to a specific address.
Code `22` will indicate "Multiple addresses were found for the information you entered, and no default exists." The address could not be resolved as entered and more information would be needed to identify the address.
xml:
name: addressCorrections
wrapped: true
items:
type: object
properties:
code:
maxLength: 2
minLength: 1
pattern: "\\w{2}"
type: string
description: The code corresponding to the address correction.
xml:
name: code
text:
type: string
description: This is the description of the address correction.
xml:
name: text
additionalProperties: false
xml:
name: addressCorrection
AddressMatches:
title: Address Matches
type: array
description: |
Codes that indicate if an address is an exact match.
Code `31` will be returned "Single Response - exact match" indicating that the address was correctly matched to a ZIP+4 record.
xml:
name: addressMatches
wrapped: true
items:
type: object
properties:
code:
maxLength: 2
minLength: 1
pattern: "\\w{2}"
type: string
xml:
name: code
text:
type: string
xml:
name: text
additionalProperties: false
xml:
name: addressMatch
AddressAdditionalInfo:
title: Address Additional Information
type: object
properties:
deliveryPoint:
type: string
description: |-
A specific set of digits between 00 and 99 is assigned to every address that is combined with the ZIP + 4® Code to provide a unique identifier for every delivery address.
A street address does not necessarily represent a single delivery point because a street address such as one for an apartment building may have several delivery points.
carrierRoute:
maxLength: 5
minLength: 0
type: string
description: This is the carrier route code (values unspecified).
example: "C012"
countyName:
maxLength: 25
minLength: 0
type: string
description: This is the county name associated with the delivery point (values unspecified).
example: "SHELBY"
congressDistrict:
maxLength: 2
minLength: 0
type: string
description: This is the congressional district number associated with the address. In some cases, it will be "AL" for At-Large.
example: "01"
footnotes:
maxLength: 32
minLength: 0
type: string
description: The address footnotes.
recordType:
maxLength: 1
minLength: 0
type: string
description: |
The record type of the ZIP + 4® match.
* `G` - General Delivery
* `P` - PO Box
* `R` - Rural Route/Highway Contract
* `H` - Highrise
* `F` - Firm
* `S` - Street
enum:
- "G"
- "P"
- "R"
- "H"
- "F"
- "S"
secondaryInfo:
maxLength: 30
minLength: 0
type: string
description: The extracted secondary information from the streetAddress field.
returnCode:
type: number
description: |
The return code from the address match.
* `32` - Default Match
* `31` - Single Match
* `22` - Multiple Response Match
* `21` - Address Not Found
* `13` - Invalid City
* `12` - Invalid State Code
* `11` - Invalid ZIP Code
* `10` - Invalid Address
enum:
- 32
- 31
- 22
- 21
- 13
- 12
- 11
- 10
returnCodeText:
type: string
description: |
This is a description of the return code
* "Default address: The address you entered was found but more information is needed (such as an apartment, suite, or box number) to match to a specific address"
* "Single Response – exact match"
* "Multiple addresses were found for the information you entered, and no default exists."
* "Address Not Found"
* "Invalid City"
* "Invalid State Code"
* "Invalid ZIP Code"
* "Invalid Address"
DPVConfirmation:
type: string
description: |
The DPV Confirmation indicator identifies whether the address provided maps to a known USPS address record, whether the USPS delivers to the address or not. If the USPS does not deliver to the address, the USPS may deliver to a PO Box instead. `carrierRoute` values of `R777` and `R779`, for example, may require the shipper to ask the recipient where they receive their USPS mail, which may be different than their physical address.
* `Y` - Address was DPV confirmed for both primary and (if present) secondary numbers. A value of `Y` does not necessarily imply that USPS delivers to that address.
* `D` - Address was DPV confirmed for the primary number only, and the secondary number information was missing.
* `S` - Address was DPV confirmed for the primary number only, and the secondary number information was present but not confirmed.
* `N` - Both primary and (if present) secondary number information failed to DPV confirm.
enum:
- "Y"
- "D"
- "S"
- "N"
DPVEnhancedConfirmation:
type: string
description: |-
The DPV Confirmation indicator identifies whether the address is delivered to by the USPS.
* `Y` - All components confirmed.
* `D` - Secondary was dropped or trailing alpha on primary was dropped to confirm.
* `S` - Address confirmed on primary number but secondary number required for complete address.
* `R` - Address DPV Confirmed but USPS does not deliver to the address.
* `N` - Primary number not confirmed.
enum:
- "Y"
- "D"
- "S"
- "R"
- "N"
DPVFootnotes:
type: string
maxLength: 10
minLength: 0
description: The footnotes associated with the DPV information.
business:
type: string
deprecated: true
description: |
Indicates whether this is a business address.
* `Y` - The address is a business address.
* `N` - The address is not a business address.
enum:
- "Y"
- "N"
DPVBusiness:
type: string
description: |
Indicates whether this is a business address.
* `Y` - The address is a business address.
* `N` - The address is not a business address.
enum:
- "Y"
- "N"
DPVCMRA:
type: string
description: |-
Indicates if the location is a [Commercial Mail Receiving Agency (CMRA)](https://faq.usps.com/s/article/Commercial-Mail-Receiving-Agency-CMRA).
* `Y` - Address was found in the CMRA table.
* `N` - Address was not found in the CMRA table.
enum:
- "Y"
- "N"
DPVDrop:
type: string
description: |
Indicates whether the address is a drop (mail is dropped off for more than 1 customer).
* `Y` - Address is a drop.
* `N` - Address is not a drop.
enum:
- "Y"
- "N"
DPVEducational:
type: string
description: |
Indicates whether the address is an educational location.
* `Y` - Address is educational.
* `N` - Address is not educational.
enum:
- "Y"
- "N"
DPVDropCount:
type: string
maxLength: 3
minLength: 0
description: Indicates how many customers receive mail at a drop address or CMRA.
example: "002"
DPVLACS:
type: string
description: |
Indicates whether the address is an old side LACS address.
* `Y` - Address is a LACS address.
* `N` - Address is not a LACS address.
enum:
- "Y"
- "N"
DPVNoDoorDelivery:
type: string
description: |
Indicates whether the address does not allow delivery at the door.
* `Y` - Address does not allow door delivery.
* `N` - Address allows door delivery.
enum:
- "Y"
- "N"
DPVPBSA:
type: string
description: |
Indicates whether the address is a PO Box Street Address.
* `Y` - Address is a PBSA.
* `N` - Address is not a PBSA.
enum:
- "Y"
- "N"
DPVNostatReasonCode:
type: string
description: |
Indicates the reason code for nostat flag.
* `1` - IDA (Internal Drop Address) - Addresses that do not receive mail directly from the USPS but are delivered to a drop address that services them (e.g., gated community).
* `2` - CDS Nostat - Addresses that have not yet become deliverable. For example, a new subdivision where lots and primary numbers have been determined, but no structure exists yet for occupancy.
* `4` - CMZ Nostat - College, military, and other types. ZIP + 4® records USPS has incorporated into the data.
* `5` - Regular nostat - Indicates addresses not receiving delivery and the addresses are not counted as possible deliveries.
* `6` - Secondary Required - The address requires secondary information (unconfirmed secondary entered or secondary missing).
enum:
- "1"
- "2"
- "4"
- "5"
- "6"
DPVNostatReasonCodeDesc:
type: string
description: |
Indicates the reason description for nostat flag.
* "IDA (Internal Drop Address)"
* "CDS Nostat"
* "CMZ Nostat"
* "Regular Nostat"
* "Secondary Required"
enum:
- "INTERNAL_DROP_ADDRESS"
- "CDS_NOSTAT"
- "CMZ_NOSTAT"
- "REGULAR_NOSTAT"
- "SECONDARY_REQUIRED"
centralDeliveryPoint:
type: string
description: |
Central Delivery is for all business office buildings and/or industrial/professional parks. This may include call windows, horizontal locked mail receptacles, and cluster box units.
* `Y` - The address is a central delivery point.
* `N` - The address is not a central delivery point.
enum:
- "Y"
- "N"
DPVSeasonal:
type: string
description: |
Indicates the address is seasonal.
* `Y` - The address is seasonal.
* `N` - The address is not seasonal.
enum:
- "Y"
- "N"
DPVThrowback:
type: string
description: |
Indicates the address is a throwback (actual delivery is to a PO Box).
* `Y` - The address is a throwback.
* `N` - The address is not a throwback.
enum:
- "Y"
- "N"
DPVNoSecureLocation:
type: string
description: |
Indicates the address is flagged as not a secure location.
* `Y` - The address is flagged as not a secure location.
* `N` - The address is not flagged as not a secure location.
enum:
- "Y"
- "N"
vacant:
type: string
description: |
Indicates whether the location designated by the address is occupied.
* `Y` - The address is not occupied.
* `N` - The address is occupied.
enum:
- "Y"
- "N"
DPVVacant:
type: string
description: |
Indicates whether the location designated by the address is occupied.
* `Y` - The address is not occupied.
* `N` - The address is occupied.
enum:
- "Y"
- "N"
DPVNostat:
type: string
description: |
Indicates the address is not counted for statistical purposes.
* `Y` - The address is a nostat.
* `N` - The address is not a nostat.
enum:
- "Y"
- "N"
DPVNonDeliveryDaysFlag:
type: string
description: |
Indicates the address doesn't have mail delivered on one or more days.
* `Y` - The address has non-delivery days.
* `N` - The address doesn't have non-delivery days.
enum:
- "Y"
- "N"
DPVNonDeliveryDaysSMTWTFS:
type: string
description: Indicates the days the mail is not delivered in SMTWTFS string of characters. These values are positional. If a day has mail delivered, it is a space in that day's position.
DPVNonDeliveryDaysValues:
type: array
description: Delivery Point Validation on non delivery days, returned as an array of strings
items:
type: string
description: Array of strings of non-delivery days
example:
- Sunday
- Friday
- Saturday
DPVCurbDelivery:
type: string
description: |
Indicates the address mail delivery is curb.
* `Y` - The address has curb delivery.
* `N` - The address doesn't have curb delivery.
enum:
- "Y"
- "N"
DPVCentralBoxDelivery:
type: string
description: |
Indicates the address mail delivery is central box.
* `Y` - The address has central box delivery.
* `N` - The address doesn't have central box delivery.
enum:
- "Y"
- "N"
DPVNDCBUDelivery:
type: string
description: |
Indicates the address mail delivery is NDCBU.
* `Y` - The address has NDCBU delivery.
* `N` - The address doesn't have NDCBU delivery.
enum:
- "Y"
- "N"
DPVOtherDelivery:
type: string
description: |
Indicates the address mail delivery is other.
* `Y` - The address has other delivery.
* `N` - The address doesn't have other delivery.
enum:
- "Y"
- "N"
DPVDeliveryType:
type: string
description: |
Indicates the delivery type.
* `1` - The address has curb delivery.
* `2` - The address has NDCBU delivery.
* `3` - The address has central box delivery.
* `4` - The address has other delivery.
enum:
- "1"
- "2"
- "3"
- "4"
DPVUsageCode:
type: string
description: |
Indicates when usage is mixed business/residential.
* `A` - The address is residential.
* `B` - The address is business.
* `C` - The address mixed residential/business, but mostly residential.
* `D` - The address mixed residential/business, but mostly business.
* `G` - The address is General Delivery.
* ` ` - The address has no usage code assigned.
enum:
- "A"
- "B"
- "C"
- "D"
- "G"
- " "
electricVehicleRoute:
type: boolean
description: |
Denotes if the carrier route associated with the address has electric vehicles.
* true - The carrier route has electric vehicles
* false - The carrier route does not have electric vehicles
enum:
- true
- false
postOfficeCity:
type: string
description: The city associated with the delivery post office.
postOfficeState:
type: string
description: The state associated with the delivery post office.
countyNumber:
type: string
description: The county number for the address.
autoZoneIndicator:
type: string
description: |
The automated zone indicator for the delivery unit.
* `A` - Carrier Route Sort Rates Apply - Merge Allowed.
* `B` - Carrier Route Sort Rates Apply - Merge Not Allowed.
* `C` - Carrier Route Sort Rates Do Not Apply - Merge Allowed.
* `D` - Carrier Route Sort Rates Do Not Apply - Merge Not Allowed.
enum:
- "A"
- "B"
- "C"
- "D"
LACSLinkReturnCode:
type: string
description: |
The return code from the LACSLink inquiry.
* `00` - LACSLink no match.
* `14` - Multiple LACSLink addresses found, unable to break tie.
* `A` - LACSLink address converted without modifications.
* `92` - LACSLink address converted but secondary dropped.
enum:
- "00"
- "14"
- "A"
- "92"
LACSLinkIndicator:
type: string
description: |
Indicates if a match was found from LACSLink.
* `Y` - LACSLink address found.
* `N` - LACSLink address not found.
* `S` - LACSLink address converted but secondary dropped.
* `F` - LACSLink false positive address encountered.
enum:
- "Y"
- "N"
- "S"
- "F"
miscLine:
type: string
description: Extraneous information removed from the address line not used to match the address.
ZIP5Valid:
type: string
description: |
Indicates if the returned ZIP Code corresponds to the returned City/State.
* `Y` - The ZIP Code matches the City/State.
* `N` - The ZIP Code doesn't match the City/State.
enum:
- "Y"
- "N"
POBoxOnlyZIP:
type: string
description: |
Indicates if the returned ZIP Code facility only serves PO Box addresses.
* `Y` - The ZIP Code facility only serves PO Box addresses.
* `N` - The ZIP Code facility serves non-PO Box addresses.
enum:
- "Y"
- "N"
defaultFlag:
type: string
description: |
Indicates the address matched is a default.
* `Y` - The address matched is a default.
* `N` - The address matched is not a default.
enum:
- "Y"
- "N"
matchedPrimaryNumber:
type: string
description: The value of the matched primary number.
matchedSecondaryNumber:
type: string
description: The value of the matched secondary number.
parsedPMBDesignator:
type: string
description: The value of the parsed PMB Designator.
parsedPMBNumber:
type: string
description: The value of the PMB number.
suiteLinkIndicator:
type: string
description: |
Indicates if a match was found from SuiteLink.
* `00` - SuiteLink no match.
* `A` - SuiteLink match.
enum:
- "00"
- "A"
financeNumber:
type: string
description: Finance number associated with address.
baseAlternateCode:
type: string
description: |
Base/Alternate code associated with ZIP + 4® record.
* `A` - Alternate record.
* `B` - Base record.
enum:
- "A"
- "B"