XooCode(){

Schema: amenityFeature

Schema: amenityFeature Example Markup

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

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.

Hotel

Hotel JSON-LD example for a boutique hotel in Dunmore hosting XooCon attendees. Covers starRating, amenityFeature with LocationFeatureSpecification, checkinTime/checkoutTime, numberOfRooms, petsAllowed, and the LodgingBusiness property set for hospitality search.

CafeOrCoffeeShop

CafeOrCoffeeShop JSON-LD example for a coffee shop next to Xoo Code Shop Dunmore. Covers the FoodEstablishment inheritance (servesCuisine, hasMenu, acceptsReservations), how CafeOrCoffeeShop differs from Restaurant and Bakery, and practical LocalBusiness markup for a small cafe.

SportsActivityLocation

SportsActivityLocation JSON-LD example using the ExerciseGym subtype for a fitness center in Dunmore. Covers the 9 subtypes (ExerciseGym, GolfCourse, SkiResort, StadiumOrArena, etc.), amenityFeature for gym equipment, and how SportsActivityLocation differs from SportsOrganization.

Park

Park JSON-LD example for a community park in Dunmore. Covers the CivicStructure hierarchy, isAccessibleForFree, publicAccess, amenityFeature for park facilities, and how Park differs from TouristAttraction and NaturalFeature for green spaces.

Airport

Airport JSON-LD example for a fictional regional airport serving Dunmore. Covers iataCode and icaoCode (the only properties unique to Airport), the CivicStructure hierarchy, and how Airport differs from LocalBusiness for transportation hubs.

LodgingBusiness

LodgingBusiness JSON-LD overview. LodgingBusiness is the parent type for Hotel, Motel, Hostel, and other accommodation businesses. For a complete example, see the Hotel page.

Accommodation

Accommodation JSON-LD example for a Copenhagen apartment listing. Covers all 17 Accommodation properties including floorSize, numberOfRooms, numberOfBedrooms, bed (with BedDetails), occupancy, petsAllowed, amenityFeature, yearBuilt, leaseLength.

House

House JSON-LD example for a real estate listing in Dunmore. Covers numberOfRooms (re-declared on House) plus all inherited Accommodation properties: floorSize, occupancy, petsAllowed, yearBuilt, amenityFeature.

Apartment

Apartment JSON-LD example for a Copenhagen rental unit. Covers numberOfRooms and occupancy (re-declared on Apartment) plus inherited Accommodation properties for floor size, bedrooms, bathrooms, amenities, pet policies, lease length.

Suite

Suite JSON-LD example for the Hotel Dunmore Presidential Suite. Covers bed (with BedDetails), numberOfRooms, and occupancy (re-declared on Suite), plus inherited Accommodation amenities and floor size.

HotelRoom

HotelRoom JSON-LD example for a standard king room at Hotel Dunmore. Covers bed and occupancy (re-declared on HotelRoom), plus inherited Accommodation amenities and how HotelRoom fits inside a Hotel via containedInPlace.

Room

Room JSON-LD example for a Thunderdome meeting room. Room adds no properties of its own; it is the structural parent for HotelRoom and a generic type for any distinguishable space within a structure.

CampingPitch

CampingPitch JSON-LD example for a tent site at Dunmore Valley Campground. CampingPitch adds no properties of its own; it represents an individual outdoor accommodation spot within a larger Campground.

FloorPlan

FloorPlan JSON-LD example for the layout of a housing unit or building. Pending Intangible adding 12 properties: amenityFeature, floorSize, isPlanForApartment, layoutImage, numberOfAccommodationUnits, numberOfAvailableAccommodationUnits, numberOfBathroomsTotal, numberOfBedrooms, numberOfFullBathrooms, numberOfPartialBathrooms, numberOfRooms, petsAllowed.

Beach

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

GroceryStore

GroceryStore JSON-LD stub for supermarkets, bodegas, co-ops, and food-first retail shops. 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.

TrainStation

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

SubwayStation

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

ParkingFacility

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

GasStation

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

SelfStorage

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

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.

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.

Pharmacy

Pharmacy JSON-LD example for a retail pharmacy. Dual-inherits MedicalBusiness + MedicalOrganization with no unique properties. Use for drug-dispensing local-search listings.

GovernmentBuilding

GovernmentBuilding JSON-LD example for a government-owned facility. Direct CivicStructure subtype, parent of CityHall, Courthouse, Embassy, LegislativeBuilding, DefenceEstablishment. No unique properties.

Courthouse

Courthouse JSON-LD example for a building where court is held. Direct GovernmentBuilding subtype. No unique properties; model court calendars, public access, and security with inherited CivicStructure properties.

LegislativeBuilding

LegislativeBuilding JSON-LD example for a state capitol, parliament, or congressional building. Direct GovernmentBuilding subtype. Key pattern: session calendars, gallery access, tour schedules.

DefenceEstablishment

DefenceEstablishment JSON-LD example for a military base or defence installation. Direct GovernmentBuilding subtype. No unique properties; publicAccess is typically false.

Cemetery

Cemetery JSON-LD example for a graveyard. Direct CivicStructure subtype. No unique properties; model visiting hours, plot search, and memorial programmes with inherited properties.

Crematorium

Crematorium JSON-LD example for a cremation facility. Direct CivicStructure subtype. No unique properties; commonly paired with FuneralParlor services via hasOfferCatalog.

PublicToilet

PublicToilet JSON-LD example for a public restroom. Direct CivicStructure subtype. Accessibility, opening hours, and gender-neutral signalling are the high-value inherited patterns.

RealEstateListing

RealEstateListing JSON-LD example for a property-listing page (sale or rent). WebPage subtype with datePosted and leaseLength.

LocationFeatureSpecification

LocationFeatureSpecification JSON-LD example for the amenityFeature of a Place, Accommodation, or LodgingBusiness. PropertyValue subtype adding hoursAvailable, validFrom, and validThrough for time-scoped amenities.