What Is DefinedRegion in Shipping Schema?
DefinedRegion is a structured-data type that identifies the country, state, territory, or postal area where a shipping rate, delivery time, service, or exclusion applies.
It gives geography a precise home inside shipping rules. A rate without a destination can be misread as universal, while a whole-country destination can overstate coverage when Alaska, Hawaii, territories, or remote postal codes differ. DefinedRegion should mirror the same zones the commerce and logistics systems use.
- Identify the exact page, asset, entity or relationship described in this section.
- Inspect the live implementation and retain the observed evidence.
- Compare the observation with the intended meaning and its primary specification.
- Correct any mismatch, then retest the live result.
- Record the accountable owner and review date.
| Property | Purpose | Example |
|---|---|---|
| addressCountry | Defines the country | US |
| addressRegion | Defines state or subdivision | NY |
| postalCode | Defines one or more postal areas | 94043 |
| postalCodeRange | Defines a bounded postal span | 90001–96162 |
- Always establish country context.
- Choose a state-based or postal-based zone.
- Keep rate and time attached to the same region.
Use the free backlink checker while reviewing important commerce URLs.
Primary specification: Schema.org definition for DefinedRegion.
DefinedRegion is useful when it translates a real logistics zone into an unambiguous structured destination.
Where Does DefinedRegion Belong in Product Markup?
DefinedRegion normally appears as shippingDestination or shippingOrigin inside OfferShippingDetails, connecting a geographic area to one Offer's rate and delivery rules.
The type can also support reusable shipping services and settings, but scope must remain clear. A destination answers where a customer can receive the offer. An origin answers where fulfillment begins. Reversing them can distort transit logic, and placing a region directly on Product separates it from the commercial rule it qualifies.
- The exact page, asset, entity or relationship covered by this section
- The live implementation rather than an editor-only preview
- The primary specification or first-party record defining the expected behavior
- The validation result, accountable owner and review date
| Relationship | Meaning | Do not confuse with |
|---|---|---|
| shippingDestination | Customer delivery area | Warehouse location |
| shippingOrigin | Dispatch area | Customer market |
| OfferShippingDetails | Region, rate, and timing rule | Product identity |
| Offer | Purchasable listing | Global merchant policy |
- Map the Offer.
- Identify its shipping rule.
- Create the appropriate destination region.
- Attach rate and time at the same scope.
- Validate the rendered entity graph.
See OfferShippingDetails schema for the enclosing delivery option.
Correct placement keeps geography tied to the shipping rule and Offer where it changes price or delivery.
How Do You Use addressCountry Correctly?
Use addressCountry with a two-letter ISO 3166-1 alpha-2 country code such as US, CA, AU, or GB, not a country name, currency, or language tag.
The country establishes the namespace for state and postal rules. “CA” is ambiguous without context because it can mean Canada as a country or California as a region. Inside a US DefinedRegion, addressCountry is US and addressRegion is CA. Currency remains a separate commercial field.
- Identify the exact page, asset, entity or relationship described in this section.
- Inspect the live implementation and retain the observed evidence.
- Compare the observation with the intended meaning and its primary specification.
- Correct any mismatch, then retest the live result.
- Record the accountable owner and review date.
| Value | Valid role | Problem |
|---|---|---|
| US | addressCountry | Correct US country code |
| United States | Avoid | Not the requested two-letter code |
| USD | price currency | Not a country code |
| en-US | locale | Not a country code |
| CA under US | addressRegion | California in this context |
- Maintain a controlled ISO country list.
- Separate country, currency, and locale fields.
- Validate region codes within their country.
- Reject names copied from display labels.
A whole-country rule can stop at addressCountry only when rate and timing truly apply to the entire country.
Country context is the foundation that makes every state and postal-code definition interpretable.
Should You Use addressRegion or postalCode?
Use addressRegion for state or subdivision zones and postalCode for postal-based zones, but do not mix both methods inside the same DefinedRegion instance.
Choose the geographic method used by the shipping engine. State rules are easier to maintain when every address in a state shares a service. Postal rules are more precise for remote areas, local delivery, or carrier zones that cross administrative boundaries. If both are needed, create separate coherent region entities or normalize the logistics model first.
- The exact page, asset, entity or relationship covered by this section
- The live implementation rather than an editor-only preview
- The primary specification or first-party record defining the expected behavior
- The validation result, accountable owner and review date
| Zone design | Preferred field | Example |
|---|---|---|
| Entire New York State | addressRegion | NY |
| Selected ZIP codes | postalCode | 10001, 10002 |
| ZIP interval | postalCodeRange | 90001–96162 |
| Whole United States | addressCountry only | US |
- Read the source shipping-zone definition.
- Choose state or postal granularity.
- Normalize values to supported formats.
- Detect overlap with neighboring rules.
- Test addresses at zone boundaries.
A mixed region can be syntactically elaborate yet operationally impossible to match consistently.
Choose one geographic method per DefinedRegion and make it match the source system's actual zone logic.
How Do You Model Contiguous US, Alaska, and Hawaii?
Model the contiguous United States separately from Alaska and Hawaii whenever rates, services, or delivery times differ, rather than treating addressCountry US as one universal rule.
A whole-US rule includes states and destinations that many commerce teams informally exclude when they say “continental shipping.” Create explicit state-based zones or exclusions based on the capabilities of the implementation. Territories, military addresses, and remote areas may need additional treatment.
- Identify the exact page, asset, entity or relationship described in this section.
- Inspect the live implementation and retain the observed evidence.
- Compare the observation with the intended meaning and its primary specification.
- Correct any mismatch, then retest the live result.
- Record the accountable owner and review date.
| Zone | Likely rule | Validation |
|---|---|---|
| Contiguous states | Standard rate and time | Test ordinary and border ZIPs |
| Alaska | Separate surcharge or service | Test Anchorage and remote ZIP |
| Hawaii | Separate transit window | Test multiple islands where relevant |
| US territories | Explicit include or exclude | Compare checkout eligibility |
| APO/FPO | Service-specific handling | Use actual carrier support |
- Do not use “US” when only contiguous states qualify.
- Keep rate and timing separate for Alaska and Hawaii.
- Document territory treatment.
- Test military-address behavior independently.
Marketing phrases must be translated into exact logistics regions before they become structured claims.
US shipping markup is trustworthy only when every included state and territory receives the published option.
How Do Postal Code Ranges Work?
Postal code ranges use PostalCodeRangeSpecification with postalCodeBegin and postalCodeEnd to represent a bounded sequence of codes within one country.
Ranges are compact but dangerous when postal formats are not purely numeric, leading zeros disappear, or carrier zones contain gaps. A numeric interval can accidentally include ZIP codes the business does not serve. Preserve postal values as text and compare the range with the source zone definition.
- The exact page, asset, entity or relationship covered by this section
- The live implementation rather than an editor-only preview
- The primary specification or first-party record defining the expected behavior
- The validation result, accountable owner and review date
| Range issue | Risk | Control |
|---|---|---|
| Leading zero removed | Northeastern ZIP changes identity | Store as text |
| Non-contiguous service | Interval includes excluded codes | Use explicit groups |
| Country omitted | Postal code is ambiguous | Add addressCountry |
| Begin above end | Invalid logical range | Validate ordering |
| Overlapping ranges | Two rates may apply | Run collision checks |
- Export the authoritative postal-zone list.
- Preserve codes as strings.
- Compress only truly contiguous spans.
- Check begin and end ordering.
- Test boundary and excluded postal codes.
Compression should never change the membership of the shipping zone.
Postal ranges are safe only when their text values, boundaries, and membership exactly preserve the underlying delivery area.
How Do You Handle Exclusions and doesNotShip?
Use a DefinedRegion with doesNotShip when a clearly identified destination is excluded, while ensuring broader positive rules do not create an unresolved contradiction for the same address.
An exclusion should be deliberate and visible. A product may not ship to California because of regulation, or an oversized item may exclude Alaska. The negative rule must apply to the same Offer and be more specific than any broad country rule. Checkout should reject the same addresses before payment.
- Identify the exact page, asset, entity or relationship described in this section.
- Inspect the live implementation and retain the observed evidence.
- Compare the observation with the intended meaning and its primary specification.
- Correct any mismatch, then retest the live result.
- Record the accountable owner and review date.
| Rule | Meaning | Conflict check |
|---|---|---|
| US shipping allowed | Broad positive region | Does it include exclusions? |
| AK doesNotShip true | Alaska excluded | Specific rule must win |
| Selected ZIPs excluded | Remote or regulated areas | Postal boundaries exact |
| Product-specific exclusion | Only one Offer affected | Do not block whole catalog |
- Pair every exclusion with a DefinedRegion.
- Define precedence between broad and specific rules.
- Keep customer-facing restrictions visible.
- Test excluded addresses safely at checkout.
Do not publish doesNotShip without explaining which region it negates.
Exclusion markup works only when a specific negative region consistently overrides broader positive shipping coverage.
What DefinedRegion Mistakes Are Common?
Common mistakes include omitting addressCountry, mixing state and postal methods, using full names instead of codes, overlapping zones with different rates, and treating all US destinations as identical.
Another error is confusing origin with destination. A warehouse in Texas does not mean shipping applies only to Texas. Static region lists also become stale after carrier or warehouse changes. Syntax validation cannot determine which rule checkout selects for a real address.
- The exact page, asset, entity or relationship covered by this section
- The live implementation rather than an editor-only preview
- The primary specification or first-party record defining the expected behavior
- The validation result, accountable owner and review date
| Mistake | Root cause | Durable fix |
|---|---|---|
| Country missing | Postal-only export | Add ISO country context |
| Region and postal mixed | Models merged | Split coherent zones |
| California written as full name | Display label exported | Use CA code |
| Two rates overlap | No collision detection | Define precedence or separate zones |
| US applied universally | Continental shorthand | Model state exceptions |
- Extract every DefinedRegion.
- Normalize country and region codes.
- Compute zone intersections.
- Repair the source shipping map.
- Test representative addresses.
Fixing the logistics-zone source prevents the same geographic defect from appearing across thousands of Offers.
Region errors require geographic reconciliation with the commerce system, not only valid property names.