Schema: containedInPlace
Schema: containedInPlace Example Markup
The following are examples of markup written in json+ld that include the correct usage for Schema: containedInPlace.
TouristAttraction JSON-LD example for The Thunderdome, the Dunmore conference center that hosts XooCon. Covers touristType, availableLanguage, isAccessibleForFree, publicAccess, and how TouristAttraction differs from Place and LocalBusiness for landmarks and points of interest.
PlaceOfWorship JSON-LD example using the Church subtype for a parish in Dunmore. Covers the CivicStructure hierarchy (not LocalBusiness), the 5 subtypes (Church, Mosque, Synagogue, BuddhistTemple, HinduTemple), and Place-level properties without LocalBusiness fields like priceRange.
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 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.
GovernmentOrganization JSON-LD example for the Borough of Dunmore municipal government. Covers areaServed for jurisdictional scope, department for sub-agencies, and how GovernmentOrganization pairs with GovernmentService for public services.
Place JSON-LD example for Dunmore Main Street as a geographic location. Covers the most important of Place's 41 direct properties: address, geo, openingHoursSpecification, photo, containsPlace, publicAccess, and when to use Place vs LocalBusiness.
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 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 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 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.
Landform JSON-LD example for the Place subtype behind natural geographic features: mountains, volcanoes, bodies of water, continents. No unique properties.
BodyOfWater JSON-LD example for lakes, rivers, seas, oceans, canals, ponds, reservoirs, and waterfalls. Landform subtype with no unique properties but with 8 specialized subtypes.
Mountain JSON-LD stub. Direct Landform subtype with no unique properties. Use inherited Place properties (geo, name, description, image).
AdministrativeArea JSON-LD example for political jurisdictions: countries, states, cities, school districts. Place subtype with no unique properties but 4 specialized subtypes: Country, State, City, SchoolDistrict.
LakeBodyOfWater JSON-LD stub for lakes. Direct BodyOfWater subtype with no unique properties.
Waterfall JSON-LD stub for waterfalls. Direct BodyOfWater subtype with no unique properties.
Canal JSON-LD stub for artificial waterways. Direct BodyOfWater subtype with no unique properties.
Pond JSON-LD stub for ponds. Direct BodyOfWater subtype with no unique properties.
Reservoir JSON-LD stub for artificial lakes created by dams. Direct BodyOfWater subtype with no unique properties.
Volcano JSON-LD stub for volcanic mountains and vents. Direct Landform subtype (not Mountain) with no unique properties.
State JSON-LD example for first-order national subdivisions (US states, Australian states, Indian states, German Länder). Direct AdministrativeArea subtype, commonly nested via containedInPlace into Country.
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 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.
CityHall JSON-LD example for a municipal seat of government. Direct GovernmentBuilding subtype. No unique properties; the type signals mayoral / council functions.
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 JSON-LD example for a state capitol, parliament, or congressional building. Direct GovernmentBuilding subtype. Key pattern: session calendars, gallery access, tour schedules.
PublicToilet JSON-LD example for a public restroom. Direct CivicStructure subtype. Accessibility, opening hours, and gender-neutral signalling are the high-value inherited patterns.