【SEO対策】LocalBusiness-ローカルビジネスの構造化データ(JSON-LD)の書き方

設置が終わったらGoogle先生が提供している「構造化データテストツール」でエラーが出ていないかチェック

<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "LocalBusiness",
"name": "黒ブタグッズ販売店",
"description": "黒ブタオリジナルグッズの販売を行なっております。",
"url": "https://blackpigtail.com/goods",
"telephone": "03-1234-5678",
"faxNumber": "03-1234-5679",
"priceRange": "¥300~¥8,000",
"currenciesAccepted": "JPY",
"paymentAccepted": "現金,クレジットカード,暗号通貨",
"openingHours": "Mo,Tu,We,Th,Fr 09:00-20:00 Sa,Su 09:00-18:00",
"openingHoursSpecification":
[
{"@type": "OpeningHoursSpecification",
"validFrom": "2019-05-01",
"validThrough": "2019-05-06",
"opens": "09:00:00",
"closes": "20:00:00"
},
{"@type": "OpeningHoursSpecification",
"validFrom": "2019-12-28",
"validThrough": "2020-01-03",
"opens": "09:00:00",
"closes": "17:00:00"
}
],
"address": {
"@type": "PostalAddress",
"postalCode": "123-4567",
"addressRegion": "東京都",
"addressLocality": "中央区",
"streetAddress": "TEST●▲町12-34-10 黒ブタドラッグストア2F",
"addressCountry": {
"@type":"Country",
"name":"JP"
}
},
"geo":{
"@type":"GeoCoordinates",
"latitude":35.689486,
"longitude":139.691705
},
"image":[
{
"@type": "ImageObject",
"url": "https://blackpigtail.com/web-parts/bpt-original-2019/img/no-image.jpg",
"width": "480",
"height": "300"
}
]
}
</script>

参照:schema.org - ローカルビジネス(LocalBusiness)ページ