PostalAddress, GeoCoordinates and DefinedRegion Markup
How Schema.org models street addresses, map coordinates, custom shipping regions, and when to use each location property.
This page summarises Schema.org definitions for physical addresses, coordinates, and geographic regions—the vocabulary most sites use when marking up stores, jobs, events, and shipping zones. Google’s merchant structured-data guidance adds stricter rules for DefinedRegion in product and shipping markup; those limits are noted where they differ from the open vocabulary.
PostalAddress: how to mark up a street address in JSON-LD
Section titled “PostalAddress: how to mark up a street address in JSON-LD”PostalAddress is the structured type for a mailing address. Schema.org describes it as the mailing address, built from country, locality, region, street line, postal code, and optional extensions.
The mailing address.
— Schema.org, PostalAddress
The generic address property on Place, Organization, and related types accepts a PostalAddress object or plain text. For consistent parsing, a nested PostalAddress is preferable to a single text string.
| Property | Role | Example |
|---|---|---|
streetAddress |
Street line | 1600 Amphitheatre Pkwy |
addressLocality |
City or town in the region | Mountain View |
addressRegion |
First-level subdivision (state, province, etc.) | California |
postalCode |
Postal or ZIP code | 94043 |
addressCountry |
Country | US (recommended) |
extendedAddress |
Unit, C/O, etc. | Apartment number |
postOfficeBoxNumber |
PO box | When applicable |
addressCountry: which country code format to use
Section titled “addressCountry: which country code format to use”addressCountry should use ISO 3166-1 alpha-2 (two letters):
Recommended to be in 2-letter ISO 3166-1 alpha-2 format, for example “US”. For backward compatibility, a 3-letter ISO 3166-1 alpha-3 country code such as “SGP” or a full country name such as “Singapore” can also be used.
— Schema.org, addressCountry
The same recommendation applies on GeoCoordinates, GeoShape, and DefinedRegion. Merchant markup from Google expects alpha-2 only for required addressCountry on DefinedRegion (see below).
Specialized address properties: billing, delivery, and legal
Section titled “Specialized address properties: billing, delivery, and legal”The same PostalAddress type appears on purpose-specific properties:
| Property | Meaning |
|---|---|
billingAddress |
Billing address for an order |
deliveryAddress |
Destination address for delivery |
originAddress |
Shipper’s address |
legalAddress |
Registered legal/tax address of an organization (may differ from operations) |
legalAddress is defined as the officially registered address used for legal and tax purposes, which can differ from other addresses of the same organization.
GeoCoordinates and geo: latitude and longitude on a place
Section titled “GeoCoordinates and geo: latitude and longitude on a place”GeoCoordinates holds the geographic coordinates of a place or event. On a Place, the geo property points to that object.
The geo coordinates of the place.
— Schema.org, geo
Core fields:
The latitude of a location. For example 37.42242 (WGS 84).
— Schema.org, latitude
The longitude of a location. For example -122.08585 (WGS 84).
— Schema.org, longitude
GeoCoordinates may also include postalCode, addressCountry, elevation, or even address as text or PostalAddress. Map APIs often return coordinates as a pair of floats; Brave Search’s Place search documents the same pattern in AddressResult.coordinates as [float, float] latitude and longitude, with an optional structured postal_address object—conceptually parallel to combining geo with address, though expressed in API JSON rather than Schema.org.
A minimal pattern for a local business page:
"geo": { "@type": "GeoCoordinates", "latitude": 37.42242, "longitude": -122.08585}Use WGS 84 values that match the visible address when both are present.
DefinedRegion: custom areas for shipping and pricing
Section titled “DefinedRegion: custom areas for shipping and pricing”DefinedRegion describes a geographic area by rules you define—not only administrative borders. Schema.org gives delivery destinations and regional pricing as examples.
A DefinedRegion is a geographic area defined by potentially arbitrary (rather than political, administrative or natural geographical) criteria. Properties are provided for defining a region by reference to sets of postal codes.
— Schema.org, DefinedRegion
Typical building blocks on DefinedRegion:
addressCountry— country scopeaddressRegion— state, canton, prefecture, etc.postalCode— single codepostalCodePrefix— prefix ranges (e.g. UK-style systems)postalCodeRange—PostalCodeRangeSpecificationwithpostalCodeBeginandpostalCodeEnd, inclusive
Instances attach to shippingDestination and shippingOrigin on offer and shipping types.
Google merchant rules for DefinedRegion in structured data
Section titled “Google merchant rules for DefinedRegion in structured data”For Merchant listing and Merchant shipping policy markup, Google documents narrower rules than Schema.org alone:
| Aspect | Google guidance |
|---|---|
| Required | addressCountry as two-letter ISO 3166-1 alpha-2 |
| Region vs postcode | Use either addressRegion or postal code fields—not both in one DefinedRegion |
addressRegion |
ISO 3166-2 subdivision without country prefix; Search supports US, Australia, Japan (e.g. NY, NSW, 03) |
postalCode |
Supported for Australia, Canada, and the US in this context |
| Omitting region | If addressRegion is omitted, the whole country is the defined region |
Do not provide both a region and postal code information.
— Google, Merchant listing structured data
If you target Google merchant surfaces, treat these as hard constraints on top of the vocabulary.
areaServed, eligibleRegion, and where a service applies
Section titled “areaServed, eligibleRegion, and where a service applies”areaServed states the geographic area where a service or offered item is provided. It appears on Offer, Service, Organization, and ContactPoint (via inherited properties).
The geographic area where a service or offered item is provided.
— Schema.org, areaServed
Sub-properties include availableAtOrFrom (places an offer can be obtained) and eligibleRegion. serviceArea is superseded by areaServed—prefer areaServed in new markup.
eligibleRegion and ineligibleRegion express where an offer or delivery charge applies or does not apply, using ISO 3166-1 alpha-2, ISO 3166-2, a Place, or a GeoShape. Pair them when you need both allow and deny lists.
location on events and organizations: place vs address vs virtual
Section titled “location on events and organizations: place vs address vs virtual”The location property is the general “where” for events, organizations, and actions.
The location of, for example, where an event is happening, where an organization is located, or where an action takes place.
— Schema.org, location
Allowed types include Place, PostalAddress, Text, and VirtualLocation. Virtual locations are for online attendance and must not be confused with physical places (VirtualLocation in the vocabulary index).
More specific sub-properties under location include jobLocation, workLocation, homeLocation, fromLocation, and toLocation—use the one that matches the entity (e.g. jobLocation on JobPosting for the geographic location associated with the position).
applicantLocationRequirements marks where applicants may apply from (common for remote jobs). Schema.org explicitly warns:
Note: This should not be used for citizenship or work visa requirements.
— Schema.org, applicantLocationRequirements
Content geography: contentLocation, spatialCoverage, and locationCreated
Section titled “Content geography: contentLocation, spatialCoverage, and locationCreated”Creative works use different properties depending on meaning:
| Property | Meaning |
|---|---|
contentLocation |
Location depicted or described in the content (e.g. in a photo) |
locationCreated |
Where the work was created (may differ from what it depicts) |
spatialCoverage |
Places that are the focus of the content (e.g. dataset coverage) |
spatial |
Fallback when more specific properties are not appropriate |
The spatialCoverage of a CreativeWork indicates the place(s) which are the focus of the content.
— Schema.org, spatialCoverage
For a region-wide announcement (e.g. quarantine), announcementLocation points to a specific business or civic structure; for larger regions, Schema.org directs authors to spatialCoverage instead.
Place containment and GeoCircle service radius
Section titled “Place containment and GeoCircle service radius”containedInPlace and containsPlace model containment between places; containedIn is superseded by containedInPlace.
For non-rectangular areas, GeoCircle extends GeoShape with geoMidpoint (GeoCoordinates) and geoRadius. Textual encodings on GeoShape include circle, box, polygon, and line with format rules in the property definitions.
GeospatialGeometry and DE-9IM relations such as geoWithin and geoContains are aimed at precise spatial relationships; adoption in the open web index is still limited compared with PostalAddress and GeoCoordinates.
Common mistakes when marking up addresses and regions
Section titled “Common mistakes when marking up addresses and regions”- Using full country names everywhere when alpha-2 is recommended—and required in Google merchant
DefinedRegion. - Putting both state-level
addressRegionandpostalCodeon one merchantDefinedRegion(disallowed by Google). - Using
serviceAreainstead ofareaServed. - Marking visa or citizenship rules under
applicantLocationRequirements. - Confusing
contentLocationwithlocationCreatedon media metadata. - Supplying only a text
addresswhen granularPostalAddressfields are known (hurts reuse for maps, autofill, and APIs).
How to check this on your site
Section titled “How to check this on your site”-
View page source or the JSON-LD script and confirm
@typevalues (PostalAddress,GeoCoordinates,DefinedRegion) and ISO country codes match Schema.org property definitions. -
For product shipping markup, compare each
DefinedRegionto Google’s merchant listing requirements and shipping policy requirements—especially the rule not to mix region and postal code in one region. -
Cross-check visible NAP (name, address, phone) on the page with nested
address/geoso coordinates and street lines describe the same place. -
If you use address forms, use Chrome DevTools Autofill inspection to see whether field names map sensibly to mailing-address components.
-
You can check automatically in Answerwell (our tool): https://answerwell.org/workspace
Report an error or ask a question
Section titled “Report an error or ask a question”If something on this page is wrong or unclear, email yimasynthetic@gmail.com with the page URL and the exact statement you are asking about so it can be corrected.