Skip to content

Commit e2641a6

Browse files
committed
The country can be an ISO 3166-1 alpha-2 country code
1 parent 33649c2 commit e2641a6

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88

99
### Added
1010

11+
- The country can be an ISO 3166-1 alpha-2 country code
12+
1113
### Changed
1214

1315
### Deprecated

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ Physical location at which contact can be made.
8181
| city | string | City for the location. |
8282
| administrativeArea | string | State or province of the location. |
8383
| postalCode | string | ZIP or other postal code. |
84-
| country | string | Country of the physical address. |
84+
| country | string | Country of the physical address. Could be a free-form country name or an [ISO 3166-1 alpha-2 country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements). |
8585

8686
### Link Object
8787

examples/collection.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
],
9393
"city": "London",
9494
"postalCode": "E1 7AY",
95-
"country": "United Kingdom",
95+
"country": "GB",
9696
"roles": [
9797
"work"
9898
]

0 commit comments

Comments
 (0)