{ "data": { "id": "9", "type": "scholars", "attributes": { "name": "孔子", "pinyin": "Kongzi", "latinized": "Confucius" }, "relationships": { "works": { "data": [{"type": "works", "id": "11"}, {"type": "works", "id": "12"}] } }, "links": { "profile": "http://literature.example.com/profiles/scholar", "self": "http://literature.example.com/authors/kongzi", "http://literature.example.com/rels/quotes": "http://literature.example.com/quotes/?author=kongzi&q={query}" } }, "included": [ { "id": "11", "type": "works", "attributes": { "chinese_name": "論語", "english_name": "Analects" }, "relationships": { "quotes": { "data": [{"type": "quotes", "id": "17"}, {"type": "quotes", "id": "18"}] }, "era": {"data": {"type": "erae", "id": "99"}} }, "links": { "profile": "http://literature.example.com/profiles/work", "self": "http://literature.example.com/work/11" } }, { "id": "17", "type": "quotes", "attributes": { "chinese": "廄焚。子退朝,曰:“傷人乎?” 不問馬。" } }, { "id": "18", "type": "quotes", "attributes": { "chinese": "子曰:“其恕乎!己所不欲、勿施於人。”" } }, { "id": "99", "type": "erae", "attributes": { "name": "Zhou Dynasty" } }, { "id": "12", "type": "works", "attributes": { "chinese_name": "易經", "english_name": "Commentaries to the Yi-jing" }, "relationships": { "quotes": { "data": [] }, "era": { "data": null } }, "links": { "profile": "http://literature.example.com/profiles/work", "self": "http://literature.example.com/work/12" } } ] }