Skip to content

Addresses

APIs are free to format data, including address data, to best fit the needs of their consumers. However, if an API team is looking for a suggested schema for an address data type, it is strongly recommended to follow the address format the VA Profile team uses.

The schema has separate fields for international country subdivisions (province rather than state), and postal codes (internationalPostalCode rather than zipcode).

{
  "$schema": "http://json-schema.org/draft-04/schema",
  "type": "object",
  "required": [
    "addressLine1",
    "addressLine2",
    "addressLine3",
    "addressPou",
    "addressType",
    "city",
    "internationalPostalCode",
    "province",
    "stateCode",
    "zipCode",
    "zipCodeSuffix"
  ],
  "properties": {
    "id": {
      "type": "integer"
    },
    "addressLine1": {
      "type": "string"
    },
    "addressLine2": {
      "type": ["string", "null"]
    },
    "addressLine3": {
      "type": ["string", "null"]
    },
    "addressPou": {
      "type": "string"
    },
    "addressType": {
      "type": "string"
    },
    "city": {
      "type": "string"
    },
    "countryCodeIso3": {
      "type": "string"
    },
    "internationalPostalCode": {
      "type": ["string", "null"]
    },
    "province": {
      "type": ["string", "null"]
    },
    "stateCode": {
      "type": "string"
    },
    "zipCode": {
      "type": "string"
    },
    "zipCodeSuffix": {
      "type": ["string", "null"]
    }
  }
}

Country codes

Guidance

  • Country codes should use ISO 3166-1 alpha-3.
  • All other country subdivisions (Canadian provinces, Mexican states, UK counties, etc.) should also use the second part of their ISO 3166-2 code.

US state and territory codes

Guidance

  • US state codes should use the USPS postal abbreviation, which is the second part of a ISO 3166-2:US code.

Use the two letter United States Postal Service abbreviation for US states, the District of Columbia, US territories, Air/Army Post Office (APO) and Fleet Post Office (FPO).

States

Name Abbreviation
Alaska AK
Alabama AL
Arkansas AR
Arizona AZ
California CA
Colorado CO
Connecticut CT
Delaware DE
Florida FL
Georgia GA
Hawaii HI
Iowa IA
Idaho ID
Illinois IL
Indiana IN
Kansas KS
Kentucky KY
Louisiana LA
Massachusetts MA
Maryland MD
Maine ME
Michigan MI
Minnesota MN
Missouri MO
Mississippi MS
Montana MT
North Carolina NC
North Dakota ND
Nebraska NE
New Hampshire NH
New Jersey NJ
New Mexico NM
Nevada NV
New York NY
Ohio OH
Oklahoma OK
Oregon OR
Pennsylvania PA
Rhode Island RI
South Carolina SC
South Dakota SD
Tennessee TN
Texas TX
Utah UT
Virginia VA
Vermont VT
Washington WA
Wisconsin WI
West Virginia WV
Wyoming WY

Districts

Name Abbreviation
District of Columbia DC

Territories

Name Abbreviation
American Samoa AS
Guam GU
Northern Mariana Islands MP
Puerto Rico PR
U.S. Virgin Islands VI

Military AFO/FPOs

Name Abbreviation
Armed Forces Americas AA
Armed Forces Europe, Canada, Middle East, and Africa AE
Armed Forces Pacific AP