[問題]有關JSON-LD
跪求各位大大:
下面一段程式碼,是包覆在JSON-LD裡,做結構化
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type":"Person",
"name": "Keven Love",
"url": "http://builtvisible.com",
"image":"http://builtvisible.com/images/manu.png"
}
</script>
我想問的是 一個"@context"
可以有很多"@type"嗎?
例如 : 我現在定義一個
"@type" : "Person" ,再多定義一個 "@type" : "Event"
我的想法是.....
如果兩個不一樣的 attribute 在 schema.org 裡面所要求的屬性因該都不一樣!
是不是就只能放一個"@type"?
拜託各位大大解惑了!
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 61.63.49.133
※ 文章網址: https://www.ptt.cc/bbs/Web_Design/M.1456823673.A.B7C.html
→
03/01 18:07, , 1F
03/01 18:07, 1F
推
03/02 08:11, , 2F
03/02 08:11, 2F
→
03/03 13:46, , 3F
03/03 13:46, 3F