Object の JSON Representation に JSON-LD 形式の schema.org を付けたかった
schema.org 付けたいときに HTML テンプレートにマークアップ責務を持たせるのか Object 自身にマークアップをお願いするかどちらか
Object に JSON-LD 付いてればすごくセマンティックで良いけど別に今の所うれしいことないからいいや
やりたかったのは下みたいなこと
GET http://example.com/50415948-2570-43f6-8d5b-f5e8694c0b52.json
{ "name": "Foo Bar", "$uuid": "50415948-2570-43f6-8d5b-f5e8694c0b52", "$uri": "http://example.com/50415948-2570-43f6-8d5b-f5e8694c0b52.json", "$schema": { "@context": "http://schema.org/", "@type": "Person", "name": "Foo Bar" } }
オチ: なし。