Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FOIA-389: Allow for a non-US state/province field. #1773

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions agency-api-spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,14 @@ JSON payload that contains the form fields.
**Required:** | no
**Example:** | `"Virginia"`

**Field:** | `address_state_province_international`
:--- |:---
**Type:** | string
**Description:** | Optional non-US state or province for requester’s mailing address.
**Required:** | no
**Example:** | `"Ontario"`


**Field:** | `address_zip_postal_code`
:--- |:---
**Type:** | string
Expand Down
2 changes: 2 additions & 0 deletions js/components/request_summary_contact_section.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ function RequestSummaryContactSection({ formData, section }) {
{' '}
{ requesterContact.address_state_province }
{' '}
{ requesterContact.address_state_province_international }
{' '}
{ requesterContact.address_zip_postal_code }
</p>
<p>{ requesterContact.address_country }</p>
Expand Down
7 changes: 7 additions & 0 deletions www.foia.gov/_data/request_fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,13 @@ address_state_province:
required: no
example: '"Virginia"'

address_state_province_international:
name: address_state_province_international
type: string
description: Optional non-U.S. state or province for requester’s mailing address.
required: no
example: '"Ontario"'

address_zip_postal_code:
name: address_zip_postal_code
type: string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ fieldNames:
- address_city
- city
- address_state_province
- address_state_province_international
- state_province
- address_zip_postal_code
- zip_postal_code
Expand Down