コーポレートサイトをJSON-LDで構造化データマークアップ(schema.org) | HAPPEN

コーポレートサイトをJSON-LDで構造化データマークアップ(schema.org)

JSON-LD

会社のコーポレートサイトをリニューアルするので、構造化マークアップを導入しようと思います。
下記は、Googleが推奨するJSONベースのデータ形式で記述できるJSON-LDのメモになります。

参考サイト
schema.org
構造化データテストツール
Search Gallery | Search | Google Developers

JSON-LDで構造化データマークアップのサンプル

OrganizationマークアップやLocalBusinessマークアップは、自社について直接説明しているページ(トップページ、企業情報ページ、問い合わせページなど)でのみ使用

HOMEサンプル

<script type="application/ld+json">
[
{
"@context" : "https://schema.org",
"@type" : "WebSite",
"name" : "株式会社○○○○○○ - ○○○○○○ ",
"description" : "○○○○○○○○○○○○○○○○○○○○○○○○",
"url" : "https://○○○○○○.jp/"
},
{
"@context" : "https://schema.org",
"@type" : "Organization",
"name" : "株式会社○○○○○○",
"url" : "https://○○○○○○.jp/",
"logo": "https://○○○○○○○○.jp/assets/img/common/logo.png",
"contactPoint" : [
{ "@type" : "ContactPoint",
"telephone" : "+81-00-0000-0000",
"contactType" : "customer service"
} ],
"sameAs": [
"https://www.facebook.com/○○○○"
]
},
{
"@context": "http://schema.org",
"@type": "LocalBusiness",
"name": "株式会社○○○○○○",
"image": "https://○○○○○○○○.jp/assets/img/common/logo-icon.png",
"url": "https://○○○○○○.jp/",
"priceRange":"¥1,000,000~¥100,000,000",
"telephone": "+81-00-0000-0000",
"address": {
"@type": "PostalAddress",
"streetAddress": "南青山○-○-○ ○○ビル",
"addressLocality": "港区",
"addressRegion":"東京都",
"postalCode": "000-0000",
"addressCountry": "JP"
},
"hasMap": "https://www.google.co.jp/maps/place/○○○○○○○○○○○○○○○○",
"openingHours": "Mo-Fr 10:00-19:00",
"geo": {
    "@type": "GeoCoordinates",
    "latitude": "00.000000",
    "longitude": "000.000000"
}
},
{
"@context": "http://schema.org",
"@type": "BreadcrumbList",
"itemListElement": [
{
"@type": "ListItem",
"position": 1,
"item": {
"@id": "https://○○○○○○.jp/",
"name": "HOME"
}
}
]
},
{
"@context": "https://schema.org",
"@type": "SiteNavigationElement",
"name": [
"ホーム",
"サービス",
"制作実績",
"企業情報",
"会社概要",
"企業理念",
"沿革",
"代表挨拶",
"アクセス",
"採用情報",
"プライバシーポリシー",
"お問い合わせ"
],
"url": [
"https://○○○○○○.jp/",
"https://○○○○○○.jp/services/",
"https://○○○○○○.jp/works/",
"https://○○○○○○.jp/company/",
"https://○○○○○○.jp/company/profile/",
"https://○○○○○○.jp/company/philosophy/",
"https://○○○○○○.jp/company/history/",
"https://○○○○○○.jp/company/message/",
"https://○○○○○○.jp/company/access/",
"https://○○○○○○.jp/recruit/",
"https://○○○○○○.jp/privacy/",
"https://○○○○○○.jp/contact/"
]
}
]
</script>

下層ページ(サービスページ)サンプル

<script type="application/ld+json">
[
{
"@context": "http://schema.org",
"@type": "BreadcrumbList",
"itemListElement": [
{
"@type": "ListItem",
"position": 1,
"item": {
"@id": "https://○○○○○○.jp/",
"name": "HOME"
}
}, 
{
"@type": "ListItem",
"position": 2,
"item": {
"@id": "https://○○○○○○.jp/services/",
"name": "サービス"
}
}
]
},
{
"@context": "https://schema.org",
"@type": "SiteNavigationElement",
"name": [
"ホーム",
"サービス",
"制作実績",
"企業情報",
"会社概要",
"企業理念",
"沿革",
"代表挨拶",
"アクセス",
"採用情報",
"プライバシーポリシー",
"お問い合わせ"
],
"url": [
"https://○○○○○○.jp/",
"https://○○○○○○.jp/services/",
"https://○○○○○○.jp/works/",
"https://○○○○○○.jp/company/",
"https://○○○○○○.jp/company/profile/",
"https://○○○○○○.jp/company/philosophy/",
"https://○○○○○○.jp/company/history/",
"https://○○○○○○.jp/company/message/",
"https://○○○○○○.jp/company/access/",
"https://○○○○○○.jp/recruit/",
"https://○○○○○○.jp/privacy/",
"https://○○○○○○.jp/contact/"
]
},
{
"@context": "http://schema.org",
"@type": "WebSite",
"mainEntityOfPage": {
"@type": "WebPage",
"@id": "https://○○○○○○.jp/service/"
},
"headline": "サービス",
"description": "○○○○○○○○○○○○○○○○○○○○○○○○"
}
]
</script>

下層ページ(企業情報ページ)サンプル

<script type="application/ld+json">
[
{
"@context": "http://schema.org",
"@type": "BreadcrumbList",
"itemListElement": [
{
"@type": "ListItem",
"position": 1,
"item": {
"@id": "https://○○○○○○.jp/",
"name": "HOME"
}
}, 
{
"@type": "ListItem",
"position": 2,
"item": {
"@id": "https://○○○○○○.jp/company/",
"name": "企業情報"
}
}
]
},
{
"@context": "https://schema.org",
"@type": "SiteNavigationElement",
"name": [
"ホーム",
"サービス",
"制作実績",
"企業情報",
"会社概要",
"企業理念",
"沿革",
"代表挨拶",
"アクセス",
"採用情報",
"プライバシーポリシー",
"お問い合わせ"
],
"url": [
"https://○○○○○○.jp/",
"https://○○○○○○.jp/services/",
"https://○○○○○○.jp/works/",
"https://○○○○○○.jp/company/",
"https://○○○○○○.jp/company/profile/",
"https://○○○○○○.jp/company/philosophy/",
"https://○○○○○○.jp/company/history/",
"https://○○○○○○.jp/company/message/",
"https://○○○○○○.jp/company/access/",
"https://○○○○○○.jp/recruit/",
"https://○○○○○○.jp/privacy/",
"https://○○○○○○.jp/contact/"
]
},
{
"@context": "http://schema.org",
"@type": "WebSite",
"mainEntityOfPage": {
"@type": "WebPage",
"@id": "https://○○○○○○.jp/company/"
},
"headline": "企業情報",
"description": "○○○○○○○○○○○○○○○○○○○○○○○○。"
}
]
</script>