Starwood Hotels and Resorts · JSON-LD Context

Starwood Hotels And Resorts Context

JSON-LD context defining the semantic vocabulary for Starwood Hotels And Resorts from Starwood Hotels and Resorts.

23 Classes 8 Properties 2 Namespaces
View Context View on GitHub

Namespaces

schema: https://schema.org/
starwood: https://www.starwoodhotels.com/ontology/

Classes

Hotel HotelSearch HotelAvailability RoomRate SPGMember id name description address city state country zipcode phone fax latitude longitude brandName category currency redeemPoints redeemCashPoints availability

Properties

Property Type Container
thumbnail reference
brand schema:Brand
bestRate schema:Number
amenities list
arrivalDate schema:Date
departureDate schema:Date
pricePerNight schema:Number
totalPrice schema:Number

JSON-LD Document

Raw ↑
{
  "@context": {
    "@version": 1.1,
    "schema": "https://schema.org/",
    "starwood": "https://www.starwoodhotels.com/ontology/",

    "Hotel": "schema:LodgingBusiness",
    "HotelSearch": "schema:SearchAction",
    "HotelAvailability": "schema:Offer",
    "RoomRate": "schema:Accommodation",
    "SPGMember": "schema:Person",

    "id": "@id",
    "name": "schema:name",
    "description": "schema:description",
    "thumbnail": {
      "@id": "schema:image",
      "@type": "@id"
    },
    "address": "schema:streetAddress",
    "city": "schema:addressLocality",
    "state": "schema:addressRegion",
    "country": "schema:addressCountry",
    "zipcode": "schema:postalCode",
    "phone": "schema:telephone",
    "fax": "schema:faxNumber",
    "latitude": "schema:latitude",
    "longitude": "schema:longitude",
    "brand": {
      "@id": "schema:brand",
      "@type": "schema:Brand"
    },
    "brandName": "schema:legalName",
    "category": "starwood:spgCategory",
    "bestRate": {
      "@id": "schema:lowPrice",
      "@type": "schema:Number"
    },
    "currency": "schema:priceCurrency",
    "amenities": {
      "@id": "schema:amenityFeature",
      "@container": "@list"
    },
    "redeemPoints": "starwood:starpoints",
    "redeemCashPoints": "starwood:cashAndPoints",
    "arrivalDate": {
      "@id": "schema:checkinTime",
      "@type": "schema:Date"
    },
    "departureDate": {
      "@id": "schema:checkoutTime",
      "@type": "schema:Date"
    },
    "pricePerNight": {
      "@id": "schema:price",
      "@type": "schema:Number"
    },
    "availability": "schema:availability",
    "totalPrice": {
      "@id": "schema:totalPrice",
      "@type": "schema:Number"
    }
  }
}