经过测试,我需要的所有元素目前都在以下JSON中。但是,根据架构标记测试器,“suborganization”和“parentorganization”不能嵌套在“webSite”架构下。同样,SearchAction功能和“inLanguage”也需要WebSite标记。
从理论上讲,我可以从组织开始架构,然后用嵌套在正确位置的每个内容来标识“网站”。任何人都能够快速复制并粘贴内容到正确的顺序来使其被识别吗?我一直在努力使所有内容都被识别。
信息:雪佛龙与泰克拥有雪佛龙ExtraMile品牌,那么“ExtraMile Extras”是雪佛龙ExtraMile的一个子网站
{
"@context": "https://schema.org",
"@graph": [
{
"@type": "WebPage",
"@id": "https://www.chevronextramile.com/",
"url": "https://www.chevronextramile.com/",
"name": "Chevron ExtraMile",
"alternateName": "Chevron ExtraMile Convenience Stores, Rewards & Gas Stations",
"isPartOf": {
"@id": "https://www.chevronextramile.com/#website"
},
"primaryImageOfPage": {
"@id": "https://www.chevronextramile.com/#primaryimage"
},
"image": {
"@id": "https://www.chevronextramile.com/#primaryimage"
},
"thumbnailUrl": "https://www.chevronextramile.com/content/uploads/2021/05/extramile-storefront.jpg",
"datePublished": "2021-01-15T05:53:47+00:00",
"dateModified": "2023-02-31T15:57:32+00:00",
"description": "Earn freebies with our huge selection of snacks, coffee, and food at your convenience. Or find information on stores, stations, and deals!",
"breadcrumb": {
"@id": "https://www.chevronextramile.com/#breadcrumb"
},
"inLanguage": "en-US",
"potentialAction": [
{
"@type": "ReadAction",
"target": [
"https://www.chevronextramile.com/"
]
}
]
},
{
"@type": "ImageObject",
"inLanguage": "en-US",
"@id": "https://www.chevronextramile.com/#primaryimage",
"url": "https://www.chevronextramile.com/content/uploads/2021/05/extramile-storefront.jpg",
"contentUrl": "https://www.chevronextramile.com/content/uploads/2021/05/extramile-storefront.jpg",
"width": 1280,
"height": 853,
"caption": "ExtraMile Storefront"
},
{
"@type": "BreadcrumbList",
"@id": "https://www.chevronextramile.com/#breadcrumb",
"itemListElement": [
{
"@type": "ListItem",
"position": 1,
"name": "Home"
}
]
},
{
"@type": "WebSite",
"@id": "https://www.chevronextramile.com/#website",
"url": "https://www.chevronextramile.com/",
"name": "ExtraMile",
"description": "Look through our assortment of snacks, coffee, or food at your convenience. Get information on stores, stations, deals, rewards programs and more!",
"sameAs": [
"https://www.facebook.com/ExtraMileExtras",
"https://www.instagram.com/chevronextramile/",
"https://extramileextras.com/"
],
"parentOrganization": {
"@type": "Organization",
"name": "Chevron with Techron",
"url": "https://www.chevronwithtechron.com/",
"logo": "https://www.chevronwithtechron.com/content/dam/external/chevron/en_us/marketing-support/web-images/chevron-with-techron/logo.svg"
},
"subOrganization": {
"@type": "Organization",
"name": "ExtraMile Extras",
"url": "https://extramileextras.com/"
},
"potentialAction": [{
"@type": "SearchAction",
"target": {
"@type": "EntryPoint",
"urlTemplate": "https://www.chevronextramile.com/?s={search_term_string}"
},
"query-input": "required name=search_term_string"
}],
"inLanguage": "en-US"
}
]
}
1条答案
按热度按时间guz6ccqo1#
它没有验证,因为
subOrganization
和parentOrganization
不是WebSite schema的属性。网站不是组织。但组织 * 可以 * 是网站的mainEntity
: