I have created some Hotel
schema, but want to include 3 as a list. The individual hotel schema works but using @graph
and trying to include a list doesn't.
I cannot see what's wrong. The testing tool only shows the first Hotel
and not the second.
<script type="application/ld+json">
{
"@context":"http://schema.org",
"@graph":[
{
"@type":"Hotel",
"name" : "The Hampshire Hotel",
"description" : "A boutique hotel with 42 rooms, excellent value for money located just outside of St Helier.",
"address" : { "@type" : "PostalAddress",
"addressCountry" : "Jersey",
"addressLocality" : "St Helier",
"postalCode" : "JE2 4TB",
"streetAddress" : "53 Val Plaisant"
},
"photo" : "TBC our image link",
"telephone" : "+441534 724 115",
"PetsAllowed" : "No",
"priceRange" : "£49 - £100",
"starRating" : "3*",
"amenityFeature" : [
"Swimming Pool",
"Bar & restaurant",
"Car parking",
"24hour service",
"Free Wifi"
]
}
]
},
{
"@type":"Hotel",
"name" : "The Club Hotel & Spa",
"description" : "A luxury boutique hotel in the heart of St Helier, offering outstanding restaurant, spa and swimming pools.",
"address" : { "@type" : "PostalAddress",
"addressCountry" : "Jersey",
"addressLocality" : "St Helier",
"postalCode" : "JE2 4UH",
"streetAddress" : "Green Street"
},
"photo" : "TBC our image link",
"telephone" : "+44 1534 876500",
"starRating" : "5*",
"PetsAllowed" : "No",
"priceRange" : "£83 - £224",
"amenityFeature" : [
"Swimming Pools",
"Spa",
"Bar & restaurant",
"24hour service",
"Free Wifi"
]
}
]
}
</script>