私は、企業/子会社とそのWebサイトの機械理解可能な関係の説明を達成しようとしています。 2つの子会社を持つ親会社が1つあり、そのすべてが独自のWebサイトを所有しているとします。 1つのOrganization
スクリプトと1つのホームページに1つのWebSite
スクリプトをデプロイします。JSON-LD schema.orgを介して複数の組織とウェブサイトを接続する
親組織のJSON-LDは読む:
<script type="application/ld+json">
{
"@context": "http://www.schema.org",
"@type": "Organization",
"@id": "https://www.parentorg.com/#organization",
"name": "Parent Org",
"legalName": "Parent Org Inc.",
"description": "Description of company",
"foundingDate": "1978",
"logo": "https://www.parentorg.com/images/logo.png",
"image": "https://www.parentorg.com/de/images/outside.jpg",
"url": "https://www.parentorg.com/",
"address": {
"@type": "PostalAddress",
"streetAddress": "Street 110",
"addressLocality": "City",
"postalCode": "XX XXX",
"addressCountry": "XX"
},
"contactPoint": {
"@type": "ContactPoint",
"contactType": "customer support",
"telephone": "+12-345-678-91011",
"email": "[email protected]"
},
"sameAs": [
"https://twitter.com/parentorg/",
"https://www.instagram.com/parentorg/",
"https://www.youtube.com/user/parentorg/",
"https://plus.google.com/parentorg"
],
"subOrganization": [
{
"@type": "Organization",
"@id": "https://www.subsidiary-one.de/#organization",
"name": "Subsidiary One"
},
{
"@type": "Organization",
"@id": "https://www.subsidiary-two.de/#organization",
"name": "Subsidiary Two"
}
]
}
</script>
親のウェブサイトJSON-LDは次のとおりです。
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "WebSite",
"@id": "https://www.parentorg.com/#website",
"url": "https://www.parentorg.com/",
"author": {
"@type": "Organization",
"@id": "https://www.parentorg.com/#organization",
"name": "Parent Org"
}
}
</script>
そして今、子会社の組織JSON-LD parentOrganization
プロパティが含まれています。
"parentOrganization": {
"@type": "Organization",
"@id": "https://www.parentorg.com/#organization",
"name": "Parent Org"
}
これは、これらのエンティティを相互参照するのに適した方法ですか?また、name
のプロパティをsubOrganization
、parentOrganization
、およびauthor
の中に書き出す必要がありますか?URIが参照されていますか?