Mic*_*zyk 7 json structured-data schema.org json-ld
我目前正致力于在/ about-page中添加Web应用程序的结构化数据.我想在那里添加一个属性.在下面的代码中,我正在使用和(正如我在schema.org中看到的那样).namevalue
问:我必须只使用value不带name,并设置如Modularity为value拖放的描述?
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "product",
"name":"Product_name",
"additionalProperty":
{
"@type":"propertyValue",
"name":"Main features",
"value":
[
{
"@type":"propertyValue",
"name": "Detailed documentation",
"value": "description_of_the_documentation"
},
{
"@type":"propertyValue",
"name": "Fully responsive",
"value": "description_of_the_responsiveness"
}
],
"@type":"propertyValue",
"name":"Other features",
"value":
[
{
"@type":"propertyValue",
"name": "Modularity",
"value": "description_of_the_modularity"
},
{
"@type":"propertyValue",
"name": "Frequent updates",
"value": "description_of_the_updates"
}
]
}
}
</script>
Run Code Online (Sandbox Code Playgroud)
您可以使用Boolean该属性的值value。
{
"@type": "PropertyValue",
"name": "Modularity",
"value": true
}
Run Code Online (Sandbox Code Playgroud)
如果要描述该功能,请description另外使用该属性。
| 归档时间: |
|
| 查看次数: |
196 次 |
| 最近记录: |