XooCode(){

Schema: Accommodation

Schema: Accommodation Example Markup

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

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.

SingleFamilyResidence

SingleFamilyResidence JSON-LD example for a detached single-family home. SingleFamilyResidence re-declares numberOfRooms and occupancy; for the full property walkthrough, see the House example.

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.