Skip to content

Commit

Permalink
add new Cycle O fields
Browse files Browse the repository at this point in the history
  • Loading branch information
amaan-lob committed Sep 26, 2023
1 parent dfd7ab2 commit bcefcd2
Show file tree
Hide file tree
Showing 2 changed files with 83 additions and 0 deletions.
72 changes: 72 additions & 0 deletions resources/us_verifications/models/deliverability_analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ required:
- dpv_cmra
- dpv_vacant
- dpv_active
- dpv_inactive_reason
- dpv_throwback
- dpv_non_delivery_day_flag
- dpv_non_delivery_day_values
- dpv_door_not_accessible
- dpv_no_secure_location
- dpv_footnotes
- ews_match
- lacs_indicator
Expand Down Expand Up @@ -75,6 +81,72 @@ properties:
* `''` –– A DPV match is not made (`deliverability_analysis[dpv_confirmation]` is `N` or an empty string).
example: "Y"

dpv_inactive_reason:
type: string
enum:
- "Y"
- "N"
- ""
description: |
Indicates that an address was once deliverable, but has become vacant and is no longer receiving deliveries. Possible values are:
* `Y` –– Address is vacant.
* `N` –– Address is not vacant.
* `''` –– A DPV match is not made (`deliverability_analysis[dpv_confirmation]` is `N` or an empty string).
example: "N"

dpv_throwback:
type: string
description: |
Indicates a street address for which mail is delivered to a PO Box. Possible values are:
* `Y` –– Mail delivery does not occur on some days of the week.
* `N` –– Mail delivery occurs every day of the week.
* `''` –– A DPV match is not made (`deliverability_analysis[dpv_confirmation]` is `N` or an empty string).
example: "N"

dpv_non_delivery_day_flag:
type: string
description: |
Indicates whether deliveries are not performed on any days of the week at an address. Possible values are:
* `Y` –– Mail delivery does not occur on some days of the week.
* `N` –– Mail delivery occurs every day of the week.
* `''` –– A DPV match is not made (`deliverability_analysis[dpv_confirmation]` is `N` or an empty string).
example: "N"

dpv_non_delivery_day_values:
type: string
description: |
Indicates days of the week (starting on Sunday) deliveries are not performed at an address. For example, :
* `YNNNNNN` –– Mail delivery does not occur on Sunday's.
* `NYNNNYN` –– Mail delivery does not occur on Monday's or Friday's.
* `''` –– A DPV match is not made (`deliverability_analysis[dpv_confirmation]` is `N` or an empty string).
example: "N"

dpv_no_secure_location:
type: string
enum:
- "Y"
- "N"
- ""
description: |
Indicates that an door is accessible, but packages will not be left due to security concerns. Possible values are:
* `Y` –– Address is vacant.
* `N` –– Address is not vacant.
* `''` –– A DPV match is not made (`deliverability_analysis[dpv_confirmation]` is `N` or an empty string).
example: "N"

dpv_door_not_accessible:
type: string
enum:
- "Y"
- "N"
- ""
description: |
Indicates the door of the address is not accessible for mail delivery. Possible values are:
* `Y` –– Door is not accessible.
* `N` –– Door is accessible.
* `''` –– A DPV match is not made (`deliverability_analysis[dpv_confirmation]` is `N` or an empty string).
example: "N"

dpv_footnotes:
type: array
description: >
Expand Down
11 changes: 11 additions & 0 deletions resources/us_verifications/models/us_components.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ required:
- county_fips
- carrier_route
- carrier_route_type
- po_box_only_flag

properties:
primary_number:
Expand Down Expand Up @@ -186,6 +187,16 @@ properties:
The type of `components[carrier_route]`. For more detailed information about
each carrier route type, see [US Verification Details](#tag/US-Verification-Types).
po_box_only_flag:
type: string
enum:
- "Y"
- "N"
- ""
description: |
Indicates there is one ZIP Code for a given USPS facility and the facility does not
support other forms of delivery besides PO BOX.
latitude:
type: number
format: float
Expand Down

0 comments on commit bcefcd2

Please sign in to comment.