var schemaJson = { "@context": "http://schema.org", "@type": "AutoRepair", "additionalType":"AutoDealer", "name": "Ambiance\u0020Automobiles\u0020(Opel\u0020Troyes)", "address": { "@type": "PostalAddress", "addressLocality": "Barberey-Saint-Sulpice", "postalCode":"10600", "streetAddress": "Rue\u0020Am\xE9d\xE9e\u0020Boll\xE9e" }, "geo": { "@type": "GeoCoordinates", "latitude": "48.32849119999999", "longitude": "4.0237712" }, "aggregateRating": { "@type": "AggregateRating", "bestRating" : "10", "ratingValue": "8.94", "ratingCount": "894", "reviewCount": "894" }, "logo": "https://www.garagescore.com/certificate/images/logos/Logo-h90px-Opel.png", "image": "https://www.garagescore.com/certificate/images/logos/Logo-h90px-Opel.png", "url": "http://www.amplitude-auto.com/services/entretien-reparation/" }; var script = document.createElement('script'); script.setAttribute('type', 'application/ld+json'); script.innerText = JSON.stringify(schemaJson); document.getElementsByTagName('head')[0].appendChild(script);