Mobile app version of vmapp.org
Login or Join
Hamm4606531

: JSON-LD error in SDTT: "Missing ',' or ']' in array declaration." My JSON-LD below gives me an error on Google's Structured Data Testing-tool: Missing ',' or ']' in array declaration. I

@Hamm4606531

Posted in: #JsonLd

My JSON-LD below gives me an error on Google's Structured Data Testing-tool:


Missing ',' or ']' in array declaration.


I have spent hours on the below but cannot figure where or what I have done wrong.

<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "WebSite",
"name": "the business name",
"url": "https://www.the business domain name.com",
"logo": "https://www.the business domain name.com/images/schema/businesslogo.png",
"description": "wibble and more wibble content",
"telephone": "1234566453,
"areaServed": ["London"],
"openingHoursSpecification": [
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": [
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday"
],
"opens": "07:00",
"closes": "18:00"
}
"openingHoursSpecification": [
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": [
"Saturday"
],
"opens": "07:00",
"closes": "13:00"
}
],
"address": {
"@type": "PostalAddress",
"streetAddress": "address here",
"addressRegion": "London",
"postalCode":"postcode here"
},
"geo": {
"@type": "GeoCoordinates",
"latitude": "",
"longitude": ""
},
"sameAs" : [ "https://twitter.com/mytwitteraccountname",
"https://www.facebook.com/myfacebookaccountname",
"https://www.pinterest.co.uk/mypinterestaccname/",
"https:www.linkedin.com/in/professional-tilers-london" ]
}
</script>

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Hamm4606531

1 Comments

Sorted by latest first Latest Oldest Best

 

@Marchetta884

You are not properly closing "openingHoursSpecification.": [

Paste your code in a linter and you will see the error.
jsonlint.com/

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme