{"action":"created","issue":{"url":"https://api.github.com/repos/201-created/ember-data-hal-9000/issues/9","labels_url":"https://api.github.com/repos/201-created/ember-data-hal-9000/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/201-created/ember-data-hal-9000/issues/9/comments","events_url":"https://api.github.com/repos/201-created/ember-data-hal-9000/issues/9/events","html_url":"https://github.com/201-created/ember-data-hal-9000/issues/9","id":55785526,"number":9,"title":"handle CURIEs properly","user":{"login":"bantic","id":2023,"avatar_url":"https://avatars.githubusercontent.com/u/2023?v=3","gravatar_id":"","url":"https://api.github.com/users/bantic","html_url":"https://github.com/bantic","followers_url":"https://api.github.com/users/bantic/followers","following_url":"https://api.github.com/users/bantic/following{/other_user}","gists_url":"https://api.github.com/users/bantic/gists{/gist_id}","starred_url":"https://api.github.com/users/bantic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bantic/subscriptions","organizations_url":"https://api.github.com/users/bantic/orgs","repos_url":"https://api.github.com/users/bantic/repos","events_url":"https://api.github.com/users/bantic/events{/privacy}","received_events_url":"https://api.github.com/users/bantic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-28T17:12:39Z","updated_at":"2015-07-29T15:04:51Z","closed_at":null,"body":"Types prefaced with a curie should be handled. Presumably, since CURIEs are for documentation purposes, all that needs to happen here is to strip the curies, so property names with a colon can be split and discard the first part.\r\n\r\nI.e., if a property name is \"acme:widgets\", we transform it to, simply \"widgets\"."},"comment":{"url":"https://api.github.com/repos/201-created/ember-data-hal-9000/issues/comments/125982089","html_url":"https://github.com/201-created/ember-data-hal-9000/issues/9#issuecomment-125982089","issue_url":"https://api.github.com/repos/201-created/ember-data-hal-9000/issues/9","id":125982089,"user":{"login":"rwjblue","id":12637,"avatar_url":"https://avatars.githubusercontent.com/u/12637?v=3","gravatar_id":"","url":"https://api.github.com/users/rwjblue","html_url":"https://github.com/rwjblue","followers_url":"https://api.github.com/users/rwjblue/followers","following_url":"https://api.github.com/users/rwjblue/following{/other_user}","gists_url":"https://api.github.com/users/rwjblue/gists{/gist_id}","starred_url":"https://api.github.com/users/rwjblue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwjblue/subscriptions","organizations_url":"https://api.github.com/users/rwjblue/orgs","repos_url":"https://api.github.com/users/rwjblue/repos","events_url":"https://api.github.com/users/rwjblue/events{/privacy}","received_events_url":"https://api.github.com/users/rwjblue/received_events","type":"User","site_admin":false},"created_at":"2015-07-29T15:04:51Z","updated_at":"2015-07-29T15:04:51Z","body":"Took me a few minutes to figure out what a CURIE is, figured I'd share some info...\r\n\r\n> Custom link relation types (Extension Relation Types in [RFC5988])\r\n   SHOULD be URIs that when dereferenced in a web browser provide\r\n   relevant documentation, in the form of an HTML page, about the\r\n   meaning and/or behaviour of the target Resource.  This will improve\r\n   the discoverability of the API.\r\n\r\n>   The CURIE Syntax [W3C.NOTE-curie-20101216] MAY be used for brevity\r\n   for these URIs.  CURIEs are established within a HAL document via a\r\n   set of Link Objects with the relation type \"curies\" on the root\r\n   Resource Object.  These links contain a URI Template with the token\r\n   'rel', and are named via the \"name\" property.\r\n\r\n* http://www.w3.org/TR/2010/NOTE-curie-20101216/\r\n* https://tools.ietf.org/html/draft-kelly-json-hal-07#section-8.2 (where the quote above comes from)"}}