var schemaJson = { "@context": "http://schema.org", "@type": "AutoRepair", "additionalType":"AutoDealer", "name": "Kia\u0020Osny", "address": { "@type": "PostalAddress", "addressLocality": "Osny", "postalCode":"95520", "streetAddress": "6\u0020Chauss\xE9e\u0020Jules\u0020C\xE9sar" }, "geo": { "@type": "GeoCoordinates", "latitude": "49.0502148", "longitude": "2.0740675" }, "aggregateRating": { "@type": "AggregateRating", "bestRating" : "10", "ratingValue": "8.3", "ratingCount": "686", "reviewCount": "686" }, "logo": "https://www.garagescore.com/certificate/images/logos/Logo-h90px-Kia.png", "image": "https://www.garagescore.com/certificate/images/logos/Logo-h90px-Kia.png", "url": "http://www.rousseau-auto.com/" }; var script = document.createElement('script'); script.setAttribute('type', 'application/ld+json'); script.innerText = JSON.stringify(schemaJson); document.getElementsByTagName('head')[0].appendChild(script);