- From: Richard Wallis <richard.wallis@dataliberate.com>
- Date: Mon, 12 Oct 2020 21:45:38 +0100
- To: Daniel Worthington-Bodart <dan@bodar.com>
- Cc: "schema.org Mailing List" <public-schemaorg@w3.org>
Received on Monday, 12 October 2020 20:46:07 UTC
There are several ways to approach this, such as: { "@context": "https://schema.org", "@type": "Hotel", "name": "My Hotel", "makesOffer": [ { "@type": "Offer", "businessFunction":"http://purl.org/goodrelations/v1#LeaseOut", "itemOffered": { "@type": "Suite", "name": "Bridal Suite" }, "availability": "OutOfStock" }, { "@type": "Offer", "businessFunction":"http://purl.org/goodrelations/v1#LeaseOut", "itemOffered": { "@type": "HotelRoom", "name": "Basic Room" ], "price": 100.00, "priceCurrency": "USD" } ] } } Alternatively you could collect your offers into an OfferCatalog to associate with the Hotel. Yet another approach you could describe the rooms as "@type": ["Room","Product"] and detail their offers (offeredBy the Hotel). ~Richard Richard Wallis Founder, Data Liberate http://dataliberate.com Linkedin: http://www.linkedin.com/in/richardwallis Twitter: @rjw On Mon, 12 Oct 2020 at 20:40, Daniel Worthington-Bodart <dan@bodar.com> wrote: > We have been using markup for hotels <https://schema.org/docs/hotels.html> and > specifically offers as a way to describe rooms and rates search results. > > One thing that has come up is how do we explicitly declare no > availability or offers? This is subtly different from just not having any > offers on a page.. > > Any ideas? > > Thanks >
Received on Monday, 12 October 2020 20:46:07 UTC