XooCode(){

Schema: addressLocality

Schema: addressLocality Example Markup

The following are examples of markup written in json+ld that include the correct usage for Schema: addressLocality.

LocalBusiness

Use the Schema.org definition of LocalBusiness to improve the listing of your local store. This in-depth example shows you exactly how to manually mark up your location.

PostalAddress

PostalAddress JSON-LD example for a retail shop with street address, locality, region, postal code, and country. The addressing structure that Organization, LocalBusiness, Event, and Person all use for physical locations.

ParcelDelivery

ParcelDelivery JSON-LD example for a shipping notification email. Covers the 11 ParcelDelivery properties (trackingNumber, trackingUrl, carrier, expectedArrivalFrom, expectedArrivalUntil, hasDeliveryMethod, itemShipped, deliveryAddress, originAddress, partOfOrder, deliveryStatus) and how Gmail uses this for package tracking.

ReviewNewsArticle

ReviewNewsArticle JSON-LD stub for news reviews (restaurant reviews, film reviews, product reviews as news pieces). Pending NewsArticle subtype; for a standalone Review without the news wrapper, use the Review type directly.

Residence

Residence JSON-LD stub for a residential building as a Place. Adds accommodationFloorPlan and floorLevel. Parent of ApartmentComplex and GatedResidenceCommunity.

ApartmentComplex

ApartmentComplex JSON-LD stub for a multi-unit residential building or community. Residence subtype adding numberOfAccommodationUnits, numberOfAvailableAccommodationUnits, numberOfBedrooms, petsAllowed, tourBookingPage.

CivicStructure

CivicStructure JSON-LD example for the Place subtype behind public buildings: town halls, concert halls, airports, museums, bridges, beaches, parks, stations, schools. Adds one direct property: openingHours.

Beach

Beach JSON-LD stub. Direct CivicStructure subtype (despite being a natural feature). No unique properties; inherits openingHours from CivicStructure.

Bridge

Bridge JSON-LD stub. Direct CivicStructure subtype with no unique properties.

StadiumOrArena

StadiumOrArena JSON-LD stub. Dual-inherits from CivicStructure and SportsActivityLocation. No unique properties; the dual lineage gives it both civic-structure and sports-facility inherited properties.

MusicVenue

MusicVenue JSON-LD stub. Direct CivicStructure subtype for concert halls, clubs, and other live-music venues. No unique properties.

MovieTheater

MovieTheater JSON-LD stub. CivicStructure subtype for cinemas. Adds screenCount.

Museum

Museum JSON-LD stub. Direct CivicStructure subtype with no unique properties.

SportsOrganization

SportsOrganization JSON-LD example for the parent type behind SportsTeam. Organization subtype adding one property: sport (Text or URL).

LiquorStore

LiquorStore JSON-LD stub for shops selling wine, beer, whisky, and other spirits. Store subtype with no unique properties.

GroceryStore

GroceryStore JSON-LD stub for supermarkets, bodegas, co-ops, and food-first retail shops. Store subtype with no unique properties.

AutoPartsStore

AutoPartsStore JSON-LD stub for automotive-parts retailers. Direct Store subtype (with AutomotiveBusiness cross-inheritance) and no unique properties.

BikeStore

BikeStore JSON-LD stub for bicycle retailers. Direct Store subtype with no unique properties.

BookStore

BookStore JSON-LD stub for bookshops, indie booksellers, and used-book stores. Direct Store subtype with no unique properties.

ClothingStore

ClothingStore JSON-LD stub for apparel retailers. Direct Store subtype with no unique properties. Parent of ShoeStore and MensClothingStore.

ComputerStore

ComputerStore JSON-LD stub for computer retailers. Direct Store subtype with no unique properties.

ConvenienceStore

ConvenienceStore JSON-LD stub for small neighbourhood shops and gas-station markets. Direct Store subtype with no unique properties.

DepartmentStore

DepartmentStore JSON-LD stub for large multi-category retail stores. Direct Store subtype with no unique properties.

ElectronicsStore

ElectronicsStore JSON-LD stub for consumer electronics retailers. Direct Store subtype with no unique properties.

Florist

Florist JSON-LD stub for flower shops. Direct Store subtype with no unique properties.

FurnitureStore

FurnitureStore JSON-LD stub for furniture retailers. Direct Store subtype with no unique properties.

GardenStore

GardenStore JSON-LD stub for nurseries, garden-supply shops, and plant retailers. Direct Store subtype with no unique properties.

HardwareStore

HardwareStore JSON-LD stub for hardware retailers selling tools and building materials. Direct Store subtype with no unique properties.

HobbyShop

HobbyShop JSON-LD stub for hobby and craft retailers. Direct Store subtype with no unique properties.

HomeGoodsStore

HomeGoodsStore JSON-LD stub for household goods and decor retailers. Direct Store subtype with no unique properties.

JewelryStore

JewelryStore JSON-LD stub for jewellery retailers. Direct Store subtype with no unique properties.

MensClothingStore

MensClothingStore JSON-LD stub for menswear retailers. Direct Store subtype with no unique properties.

MobilePhoneStore

MobilePhoneStore JSON-LD stub for mobile phone retailers. Direct Store subtype with no unique properties.

MovieRentalStore

MovieRentalStore JSON-LD stub for video rental shops. Direct Store subtype with no unique properties. Rare in the streaming era but still useful for boutique video stores, libraries with rental programmes, and DVD kiosk operators.

MusicStore

MusicStore JSON-LD stub for musical instrument and recorded-music retailers. Direct Store subtype with no unique properties.

OfficeEquipmentStore

OfficeEquipmentStore JSON-LD stub for office supply and equipment retailers. Direct Store subtype with no unique properties.

OutletStore

OutletStore JSON-LD stub for discount/outlet retailers. Direct Store subtype with no unique properties.

PawnShop

PawnShop JSON-LD stub for pawn shops and resale establishments. Direct Store subtype with no unique properties.

PetStore

PetStore JSON-LD stub for pet retailers. Direct Store subtype with no unique properties.

ShoeStore

ShoeStore JSON-LD stub for footwear retailers. Direct Store subtype with no unique properties.

SportingGoodsStore

SportingGoodsStore JSON-LD stub for multi-sport retailers. Direct Store subtype with no unique properties.

TireShop

TireShop JSON-LD stub for tyre/tire dealers and installers. Direct Store subtype with no unique properties.

ToyStore

ToyStore JSON-LD stub for toy retailers. Direct Store subtype with no unique properties.

WholesaleStore

WholesaleStore JSON-LD stub for wholesale and bulk retailers. Direct Store subtype with no unique properties.

Campground

Campground JSON-LD stub for tent, RV, and cabin campgrounds. Dual-inherits CivicStructure and LodgingBusiness, giving it the full lodging vocabulary (checkinTime, checkoutTime, numberOfRooms, petsAllowed, starRating, amenityFeature, availableLanguage, audience).

RVPark

RVPark JSON-LD stub for RV-focused overnight destinations. Direct CivicStructure subtype with no unique properties.

Playground

Playground JSON-LD stub for children's playgrounds (public or private). Direct CivicStructure subtype with no unique properties.

Aquarium

Aquarium JSON-LD stub for public aquariums. Direct CivicStructure subtype with no unique properties.

Zoo

Zoo JSON-LD stub for public zoos and animal parks. Direct CivicStructure subtype with no unique properties.

TrainStation

TrainStation JSON-LD stub for rail stations. Direct CivicStructure subtype. Used as departureStation / arrivalStation on TrainTrip.

BusStation

BusStation JSON-LD stub for bus stations and terminals. Direct CivicStructure subtype. Used as departureBusStop / arrivalBusStop on BusTrip.

BusStop

BusStop JSON-LD stub for a single bus stop on a route. Direct CivicStructure subtype.

SubwayStation

SubwayStation JSON-LD stub for metro, subway, and underground rail stations. Direct CivicStructure subtype with no unique properties.

BoatTerminal

BoatTerminal JSON-LD stub for ferry terminals and port passenger facilities. Direct CivicStructure subtype. Used as departureBoatTerminal / arrivalBoatTerminal on BoatTrip.

TaxiStand

TaxiStand JSON-LD stub for taxi pickup locations. Direct CivicStructure subtype with no unique properties.

ParkingFacility

ParkingFacility JSON-LD stub for parking lots and garages. Direct CivicStructure subtype with no unique properties.

FoodEstablishment

FoodEstablishment JSON-LD example for the parent type behind Restaurant, CafeOrCoffeeShop, Bakery, BarOrPub, Brewery, Distillery, FastFoodRestaurant, IceCreamShop, and Winery. Adds 4 direct properties: acceptsReservations, hasMenu, servesCuisine, starRating.

Bakery

Bakery JSON-LD stub for retail bakeries. Direct FoodEstablishment subtype with no unique properties.

BarOrPub

BarOrPub JSON-LD stub for bars, pubs, and cocktail lounges. Direct FoodEstablishment subtype with no unique properties.

Brewery

Brewery JSON-LD stub for brewing facilities with tasting rooms or taprooms. Direct FoodEstablishment subtype with no unique properties.

Distillery

Distillery JSON-LD stub for distilling facilities with tasting rooms. Direct FoodEstablishment subtype with no unique properties.

FastFoodRestaurant

FastFoodRestaurant JSON-LD stub for quick-service restaurants. Direct FoodEstablishment subtype with no unique properties.

IceCreamShop

IceCreamShop JSON-LD stub for ice cream parlours and gelato shops. Direct FoodEstablishment subtype with no unique properties.

Winery

Winery JSON-LD stub for wineries with tasting rooms. Direct FoodEstablishment subtype with no unique properties.

AutomotiveBusiness

AutomotiveBusiness JSON-LD example for the parent type behind AutoDealer, AutoRepair, AutoBodyShop, AutoRental, AutoWash, AutoPartsStore, GasStation, MotorcycleDealer, MotorcycleRepair. Direct LocalBusiness subtype with no unique properties.

AutoDealer

AutoDealer JSON-LD stub for new- and used-car dealerships. Direct AutomotiveBusiness subtype with no unique properties.

AutoRepair

AutoRepair JSON-LD stub for car service and repair shops. Direct AutomotiveBusiness subtype with no unique properties.

AutoBodyShop

AutoBodyShop JSON-LD stub for collision repair shops. Direct AutomotiveBusiness subtype with no unique properties.

AutoRental

AutoRental JSON-LD stub for car rental locations. Direct AutomotiveBusiness subtype with no unique properties.

AutoWash

AutoWash JSON-LD stub for car wash businesses. Direct AutomotiveBusiness subtype with no unique properties.

GasStation

GasStation JSON-LD stub for fuel stations. Direct AutomotiveBusiness subtype with no unique properties.

MotorcycleDealer

MotorcycleDealer JSON-LD stub for motorcycle sales. Direct AutomotiveBusiness subtype with no unique properties.

MotorcycleRepair

MotorcycleRepair JSON-LD stub for motorcycle service shops. Direct AutomotiveBusiness subtype with no unique properties.

HealthAndBeautyBusiness

HealthAndBeautyBusiness JSON-LD example for the parent type behind BeautySalon, DaySpa, HairSalon, HealthClub, NailSalon, and TattooParlor. Direct LocalBusiness subtype with no unique properties.

HairSalon

HairSalon JSON-LD stub for hair salons and barbershops. Direct HealthAndBeautyBusiness subtype with no unique properties.

NailSalon

NailSalon JSON-LD stub for nail salons. Direct HealthAndBeautyBusiness subtype with no unique properties.

DaySpa

DaySpa JSON-LD stub for day spas. Direct HealthAndBeautyBusiness subtype with no unique properties.

HealthClub

HealthClub JSON-LD stub for gyms, fitness clubs, and wellness centres. Direct HealthAndBeautyBusiness subtype with no unique properties.

HomeAndConstructionBusiness

HomeAndConstructionBusiness JSON-LD example for the parent type behind Electrician, GeneralContractor, Plumber, HVACBusiness, HousePainter, Locksmith, MovingCompany, RoofingContractor. Direct LocalBusiness subtype with no unique properties.

Plumber

Plumber JSON-LD stub for plumbing contractors. Direct HomeAndConstructionBusiness subtype with no unique properties.

Electrician

Electrician JSON-LD stub for electrical contractors. Direct HomeAndConstructionBusiness subtype with no unique properties.

GeneralContractor

GeneralContractor JSON-LD stub for general building contractors. Direct HomeAndConstructionBusiness subtype with no unique properties.

Locksmith

Locksmith JSON-LD stub for locksmith services. Direct HomeAndConstructionBusiness subtype with no unique properties.

LegalService

LegalService JSON-LD example for law firms and legal counsels. Direct LocalBusiness subtype (with Attorney and Notary as specific subtypes).

Attorney

Attorney JSON-LD stub for individual attorneys and law offices. Direct LegalService subtype with no unique properties.

Notary

Notary JSON-LD stub for notary public services. Direct LegalService subtype with no unique properties.

ChildCare

ChildCare JSON-LD stub for daycare, nursery, and childcare facilities. Direct LocalBusiness subtype with no unique properties.

Library

Library JSON-LD stub for public and private libraries. Direct LocalBusiness subtype with no unique properties.

RealEstateAgent

RealEstateAgent JSON-LD stub for real estate agencies and individual agents. Direct LocalBusiness subtype with no unique properties.

AmusementPark

AmusementPark JSON-LD stub for theme parks, amusement parks, and ride-based entertainment parks. Direct EntertainmentBusiness subtype with no unique properties.

ArtGallery

ArtGallery JSON-LD stub for commercial and non-commercial art galleries. Direct EntertainmentBusiness subtype with no unique properties.

Casino

Casino JSON-LD stub for gambling venues. Direct EntertainmentBusiness subtype with no unique properties.

ComedyClub

ComedyClub JSON-LD stub for standup comedy venues. Direct EntertainmentBusiness subtype with no unique properties.

NightClub

NightClub JSON-LD stub for dance clubs and late-night venues. Direct EntertainmentBusiness subtype with no unique properties.

AdultEntertainment

AdultEntertainment JSON-LD stub for adult-only entertainment venues. Direct EntertainmentBusiness subtype with no unique properties. Populate audience with suggestedMinAge.

BowlingAlley

BowlingAlley JSON-LD stub for bowling centres. Direct SportsActivityLocation subtype with no unique properties.

GolfCourse

GolfCourse JSON-LD stub for public and private golf courses. Direct SportsActivityLocation subtype with no unique properties.

BeautySalon

BeautySalon JSON-LD stub for beauty salons offering multiple services. Direct HealthAndBeautyBusiness subtype with no unique properties.

TattooParlor

TattooParlor JSON-LD stub for tattoo and body-modification studios. Direct HealthAndBeautyBusiness subtype with no unique properties.

HVACBusiness

HVACBusiness JSON-LD stub for heating, ventilation, and air conditioning contractors. Direct HomeAndConstructionBusiness subtype with no unique properties.

HousePainter

HousePainter JSON-LD stub for residential and commercial painters. Direct HomeAndConstructionBusiness subtype with no unique properties.

MovingCompany

MovingCompany JSON-LD stub for moving and relocation services. Direct HomeAndConstructionBusiness subtype with no unique properties.

RoofingContractor

RoofingContractor JSON-LD stub for roofing contractors. Direct HomeAndConstructionBusiness subtype with no unique properties.

AnimalShelter

AnimalShelter JSON-LD stub for animal shelters and rescues. Direct LocalBusiness subtype with no unique properties.

ArchiveOrganization

ArchiveOrganization JSON-LD stub for archives: museums, state archives, historical societies holding ArchiveComponent items. Direct LocalBusiness subtype with no unique properties.

DryCleaningOrLaundry

DryCleaningOrLaundry JSON-LD stub for dry cleaners and laundromats. Direct LocalBusiness subtype with no unique properties.

EmploymentAgency

EmploymentAgency JSON-LD stub for staffing, recruiting, and temp agencies. Direct LocalBusiness subtype with no unique properties.

InternetCafe

InternetCafe JSON-LD stub for internet cafes and co-working internet access. Direct LocalBusiness subtype with no unique properties.

RadioStation

RadioStation JSON-LD stub for radio station businesses (the operating organisation, not the broadcast service). Direct LocalBusiness subtype with no unique properties.

TelevisionStation

TelevisionStation JSON-LD stub for TV station businesses. Direct LocalBusiness subtype with no unique properties.

RecyclingCenter

RecyclingCenter JSON-LD stub for recycling facilities. Direct LocalBusiness subtype with no unique properties.

SelfStorage

SelfStorage JSON-LD stub for self-storage facilities. Direct LocalBusiness subtype with no unique properties.

ShoppingCenter

ShoppingCenter JSON-LD stub for malls, shopping centres, and retail plazas. Direct LocalBusiness subtype with no unique properties.

TouristInformationCenter

TouristInformationCenter JSON-LD stub for visitor centres and tourism offices. Direct LocalBusiness subtype with no unique properties.

TravelAgency

TravelAgency JSON-LD stub for travel agencies and tour operators. Direct LocalBusiness subtype with no unique properties.

GovernmentOffice

GovernmentOffice JSON-LD stub for government department offices (not the building). Direct LocalBusiness subtype with no unique properties.

InsuranceAgency

InsuranceAgency JSON-LD stub for insurance agencies and brokerages. Direct FinancialService subtype with no unique properties (inherits feesAndCommissionsSpecification).

AccountingService

AccountingService JSON-LD stub for accounting, bookkeeping, and tax services. Direct FinancialService subtype with no unique properties (inherits feesAndCommissionsSpecification).

LandmarksOrHistoricalBuildings

LandmarksOrHistoricalBuildings JSON-LD stub for historic landmarks and heritage buildings. Direct Place subtype with no unique properties. Often dual-typed with TouristAttraction.

BedAndBreakfast

BedAndBreakfast JSON-LD stub for B&Bs and small inns. Direct LodgingBusiness subtype with no unique properties.

Hostel

Hostel JSON-LD stub for hostels with shared dormitory and private room accommodations. Direct LodgingBusiness subtype with no unique properties.

Motel

Motel JSON-LD stub for motels and motor lodges. Direct LodgingBusiness subtype with no unique properties.

VacationRental

VacationRental JSON-LD stub for whole-property short-term rentals (Airbnb-style). Direct LodgingBusiness subtype with no unique properties.

Resort

Resort JSON-LD stub for destination resorts and leisure properties. Direct LodgingBusiness subtype with no unique properties.

City

City JSON-LD example for incorporated cities and towns. Direct AdministrativeArea subtype used to anchor LocalBusinesses, events, and knowledge-graph entries into a municipal jurisdiction.

SchoolDistrict

SchoolDistrict JSON-LD example for US-style school administrative areas. Direct AdministrativeArea subtype used to group schools and anchor district-level data on government and education sites.

ServiceChannel

ServiceChannel JSON-LD example for the specific way a Service can be accessed: phone, SMS, postal, in-person, online. Intangible subtype carrying servicePhone, serviceUrl, serviceLocation, availableLanguage, processingTime.