LocalBusiness snippet in json for a locksmith
Mark E.
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "Locksmith",
"name": "ABC Locksmith",
"description": "ABC Locksmith provides 24/7 locksmith services for residential, commercial, and automotive customers.",
"url": "https://example.com/abc-locksmith",
"telephone": "123-456-7890",
"priceRange": "$$",
"address": {
"@type": "PostalAddress",
"streetAddress": "123 Main St",
"addressLocality": "Anytown",
"addressRegion": "CA",
"postalCode": "12345",
"addressCountry": "US"
},
"openingHours": [
"Mo-Su 00:00-24:00"
],
"paymentAccepted": [
"Cash",
"Credit Card"
],
"geo": {
"@type": "GeoCoordinates",
"latitude": "37.7749",
"longitude": "-122.4194"
},
"sameAs": [
"https://www.yelp.com/biz/abc-locksmith-anytown",
"https://www.facebook.com/ABC-Locksmith-1234567890",
"https://twitter.com/abc-locksmith"
],
"image": "https://example.com/images/locksmith.jpg"
}
</script>
Note that some fields are optional, such as description
, url
, openingHours
, paymentAccepted
, geo
, sameAs
, and image
. You can include or omit them depending on your needs.